Author Topic: Mod-idea: Icognito-mindworms. Would that be doable with a reasonable effort?  (Read 2157 times)

0 Members and 1 Guest are viewing this topic.

Offline Eadee

Hi, I haven't done any smac-modding so far so I have no idea how things work in this game.
However there is a feature I'd really like to have in smac/x and I'm even thinking about start modding myself if there is a chance to do this with a reasonable amount of work.

So, here's the idea. Mindworms (and other native life), even captured ones are shown to every player in the color red without information to which faction they belong, except for the faction that comtrols them, this faction alone sees the affiliation and can move them as usual.

Its some kinda the way privateers work in sid meiers colonization (this is where my inspiration came from).

So, as a question to all you modders out there, is that a feature that would be possible in a game like smac/x?
Disclaimer: No mind worms were harmed in the making of this post.

Online Buster's Uncle

  • With community service, I
  • Ascend
  • *
  • Posts: 49444
  • €205
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
    • View Profile
    • My Custom Factions
    • Awards
I can only say that that makes a lot of sense in the world of the game.  Interesting notion.

Offline Dio

Hi, I haven't done any smac-modding so far so I have no idea how things work in this game.
However there is a feature I'd really like to have in smac/x and I'm even thinking about start modding myself if there is a chance to do this with a reasonable amount of work.

So, here's the idea. Mindworms (and other native life), even captured ones are shown to every player in the color red without information to which faction they belong, except for the faction that comtrols them, this faction alone sees the affiliation and can move them as usual.

Its some kinda the way privateers work in sid meiers colonization (this is where my inspiration came from).

So, as a question to all you modders out there, is that a feature that would be possible in a game like smac/x?
I do not know. I know a few potential challenges with this change involve the fact that the game associates the owner of a unit with the colored flag of the faction. The alien units remain under the control of the "Alien" faction. The disapperance of the faction flag with probe teams simply occurs as the game checks the owner of the unit against the other players and skips the flag display section unless the current owner views the unit.

Offline Eadee

I do not know. I know a few potential challenges with this change involve the fact that the game associates the owner of a unit with the colored flag of the faction. The alien units remain under the control of the "Alien" faction. The disapperance of the faction flag with probe teams simply occurs as the game checks the owner of the unit against the other players and skips the flag display section unless the current owner views the unit.
So if one would disable the Flags like it is with probe teams on all alien units, and change the graphics of native lifeforms to already contain a red Flag of the correct type one would get a red flag visible for everyone and the owner gets his own flag shown as overlay?
Disclaimer: No mind worms were harmed in the making of this post.

Offline Yitzi

Hi, I haven't done any smac-modding so far so I have no idea how things work in this game.
However there is a feature I'd really like to have in smac/x and I'm even thinking about start modding myself if there is a chance to do this with a reasonable amount of work.

So, here's the idea. Mindworms (and other native life), even captured ones are shown to every player in the color red without information to which faction they belong, except for the faction that comtrols them, this faction alone sees the affiliation and can move them as usual.

Its some kinda the way privateers work in sid meiers colonization (this is where my inspiration came from).

So, as a question to all you modders out there, is that a feature that would be possible in a game like smac/x?

Should be.

Offline Eadee

Okay, I skimmed through the txt files and tried to decompile the .exe when I was sure I can't do anything like that with the txt-files.
Had no success with decompiling either and found no hints on the web how to do it properly.

Can anyone help me out how to start? Which tools to use?

Any help or suggestions appreciated.
Disclaimer: No mind worms were harmed in the making of this post.

Offline Yitzi

Okay, I skimmed through the txt files and tried to decompile the .exe when I was sure I can't do anything like that with the txt-files.
Had no success with decompiling either and found no hints on the web how to do it properly.

Can anyone help me out how to start? Which tools to use?

Any help or suggestions appreciated.

The program is too big to decompile (except as a long process by hand); instead, the way to do it is to get ollydbg (a disassembler/debugger) and use that to figure out what is done where (mainly using plaintext things like alphax.txt to get a "handle" through knowledge of what certain variables and functions do, and using those to get more, etc...I've built up a fairly significant list by this point, with some help from Dio.)

Offline Eadee

Thanks for the hint Yitzi!

Sounds like a lot of effort. I'm afraid I won't get far atm since I'm quite busy with family stuff right now. No idea how long it'll take until I have more time to spare. However I'm going to look at ollydbg when the opportunity arises asap I'm just curious about how it works.
Disclaimer: No mind worms were harmed in the making of this post.

Offline Dio

Thanks for the hint Yitzi!

Sounds like a lot of effort. I'm afraid I won't get far atm since I'm quite busy with family stuff right now. No idea how long it'll take until I have more time to spare. However I'm going to look at ollydbg when the opportunity arises asap I'm just curious about how it works.
If you have questions about the variables in the memory addresses, than send me a Private Message and I can more than likely provide information on the question.

 

* User

Welcome, Guest. Please login or register.

Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
103 (32%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 314
AC2 Wiki Logo
-click pic for wik-

* Random quote

That sunny dome! Those caves of ice! And all who heard should see them there, And all should cry, Beware! Beware! His flashing eyes, his floating hair! Weave a circle round him thrice, And close your eyes with holy dread, For he on honey-dew hath fed, And drunk the milk of Paradise.
~Samuel Taylor Coleridge, Datalinks

* Select your theme

*
Templates: 5: index (default), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 45 - 1228KB. (show)
Queries used: 39.

[Show Queries]