Alpha Centauri 2

Sid Meier's Alpha Centauri & Alien Crossfire => Modding => Topic started by: Eadee on February 28, 2016, 06:10:04 PM

Title: Mod-idea: Icognito-mindworms. Would that be doable with a reasonable effort?
Post by: Eadee on February 28, 2016, 06:10:04 PM
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?
Title: Re: Mod-idea: Icognito-mindworms. Would that be doable with a reasonable effort?
Post by: Buster's Uncle on February 28, 2016, 06:19:44 PM
I can only say that that makes a lot of sense in the world of the game.  Interesting notion.
Title: Re: Mod-idea: Icognito-mindworms. Would that be doable with a reasonable effort?
Post by: Dio on February 28, 2016, 07:36:26 PM
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.
Title: Re: Mod-idea: Icognito-mindworms. Would that be doable with a reasonable effort?
Post by: Eadee on February 28, 2016, 08:04:28 PM
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?
Title: Re: Mod-idea: Icognito-mindworms. Would that be doable with a reasonable effort?
Post by: Yitzi on March 08, 2016, 05:41:49 PM
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.
Title: Re: Mod-idea: Icognito-mindworms. Would that be doable with a reasonable effort?
Post by: Eadee on March 18, 2016, 10:52:46 AM
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.
Title: Re: Mod-idea: Icognito-mindworms. Would that be doable with a reasonable effort?
Post by: Yitzi on March 22, 2016, 09:40:43 PM
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.)
Title: Re: Mod-idea: Icognito-mindworms. Would that be doable with a reasonable effort?
Post by: Eadee on March 22, 2016, 09:47:42 PM
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.
Title: Re: Mod-idea: Icognito-mindworms. Would that be doable with a reasonable effort?
Post by: Dio on March 23, 2016, 02:15:43 PM
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.
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 33 - 892KB. (show)
Queries used: 19.

[Show Queries]