Hi there!
I have found alot of useful scripts here by looking in the forums, so I decided to join!
And if this is the wrong part of the forum to post it in, I'm sorry.
Now to my problem, I'm making a generals challenge where you battle against Mohmar 'Deathstrike'.
I'm new to this with altering structures in the map.ini, but as far as I have understodd I just need to copy the piece of code of 'Object GC_Chem_GLATunnelNetwork' from 'GC_Chem_GLABuildings.ini' into 'map.ini' to begin to alter it in my challenge. Since Mohmar 'Deathstrike' uses the combined powers of his three generals together, I want to alter the 'Object GC_Chem_GLATunnelNetwork' to be able to get the Camo Netting upgrade. So I added this to 'Object GC_Chem_GLATunnelNetwork' in my 'map.ini':
UpgradeCameoX = Upgrade_GLACamoNetting (I wrote X because I don't remember number)
and this:
Behavior = StealthUpdate ModuleTag_13
StealthDelay = 2500 ; msec
StealthForbiddenConditions = ATTACKING USING_ABILITY TAKING_DAMAGE
MoveThresholdSpeed = 3
InnateStealth = No ;Requires upgrade first
OrderIdleEnemiesToAttackMeUponReveal = Yes
End
Behavior = StealthUpgrade ModuleTag_14
TriggeredBy = Upgrade_GLACamoNetting
End
Behavior = ProductionUpdate ModuleTag_15
End
Now is this correct, or am I completely wrong here? When I try to start the game it crashes. I Will upload the 'map.ini' too. Help appreciated!
PS: I've also altered the GLACommandCenter, GC_Chem_GLAStingerSite, GC_Chem_InfantryRebel and GC_Chem_InfantryRebel.
File Attachment(s):
map.zip (13kb) downloaded 104 time(s).