Yeah, you can put any type of code from the INI files into a Map.ini file. But discriptions from the general.csf need to me in a Map.str instead. But it doesn't work to modify discriptions for Generals Powers for some reason.
But if you want to modify a module tag this way, you have to add
ReplaceModule ModuleTag_## (## just being the number of the module tag) & a End. You also need to add,
_Override to the module tag number. For an example, if you just wanted to modify the containers from the Helix, you first copy & paste this:
Behavior = HelixContain ModuleTag_29
Slots = 5
DamagePercentToUnits = 100%
AllowInsideKindOf = INFANTRY VEHICLE PORTABLE_STRUCTURE
ForbidInsideKindOf = AIRCRAFT
ExitDelay = 100
NumberOfExitPaths = 1
PassengersAllowedToFire = No
End
Add the ReplaceModule stuff:
🅱ReplaceModule ModuleTag_29[/b]
Behavior = HelixContain ModuleTag_29🅱_Override[/b]
Slots = 5
DamagePercentToUnits = 100%
AllowInsideKindOf = INFANTRY VEHICLE PORTABLE_STRUCTURE
ForbidInsideKindOf = AIRCRAFT
ExitDelay = 100
NumberOfExitPaths = 1
PassengersAllowedToFire = No
End
🅱End[/b]
Now add the Object name that will use this code:
🅱Object ChinaVehicleHelix[/b]
ReplaceModule ModuleTag_29
Behavior = HelixContain ModuleTag_29🅱_Override[/b]
Slots = 5
DamagePercentToUnits = 100%
AllowInsideKindOf = INFANTRY VEHICLE PORTABLE_STRUCTURE
ForbidInsideKindOf = AIRCRAFT
ExitDelay = 100
NumberOfExitPaths = 1
PassengersAllowedToFire = No
End
End
🅱End[/b]
Now you can do your modifactions to it!
If you just wanted to remove this module completely, then the code would look like this:
Object ChinaVehicleHelix
🅱RemoveModule ModuleTag_29[/b]
End
If you wanted to add this module tag to, lets say, the mig fighter, Then it would look like this:
Object 🅱ChinaJetMig[/b]
🅱AddModule[/b] ModuleTag_🅱X[/b]
Behavior = HelixContain ModuleTag_🅱X[/b]
Slots = 5
DamagePercentToUnits = 100%
AllowInsideKindOf = INFANTRY VEHICLE PORTABLE_STRUCTURE
ForbidInsideKindOf = AIRCRAFT
ExitDelay = 100
NumberOfExitPaths = 1
PassengersAllowedToFire = No
End
End
End
Since you're adding the module, it doesn't need to put number 29. The module tags can be spcified by any character.