Posted by: SUPER-G - Thursday, August 30, 2012 4:07:34 PM
how can i make it so GLA terrorists have twice the amount of health?
thanks in advance
Posted by: NewNightmare - Thursday, August 30, 2012 6:19:05 PM
Body = ActiveBody ModuleTag_02
MaxHealth = 120.0
InitialHealth = 120.0
End
Posted by: SUPER-G - Thursday, August 30, 2012 7:20:48 PM
sorry, i forgot to mention it was for 1 map. This is what i have so far:
Object GLAInfantryTerrorist
ReplaceModule ModuleTag_XX_Override
Body = YYY ActiveBody ModuleTag_02
MaxHealth = 120.0
InitialHealth = 120.0
End
End
now keep in mind that this is the first time i am doing something related to modding.
all i need to know is what to do with the YYY and XX and if i have the layout right.
Posted by: Annihilationzh - Friday, August 31, 2012 2:52:58 AM
[code]Object GLAInfantryTerrorist
ReplaceModule ModuleTag_02_Override
Body = ActiveBody ModuleTag_02
MaxHealth = 120.0
InitialHealth = 120.0
End
End
End[/code]
Posted by: SUPER-G - Friday, August 31, 2012 10:02:48 AM
the game crashed when i tried to load it, idk how.
Posted by: NewNightmare - Friday, August 31, 2012 11:20:15 AM
Check annihi's code, make sure to have 3 ends:
1 for module, 1 for override, 1 for object
Post whole map.ini so we can see them errors :)
Posted by: SUPER-G - Friday, August 31, 2012 1:29:10 PM
[quote=newnightmare;125590]Check annihi's code, make sure to have 3 ends:
1 for module, 1 for override, 1 for object[/quote]
Check.
here you go: [ATTACH]1153[/Attach]
Posted by: Annihilationzh - Friday, August 31, 2012 5:59:11 PM
Well that's proof that I'm human and I make mistakes.
But I'm not sure what I did wrong. Gonna have to review this.
EDIT: I can find no apparent reason why that doesn't work. However, this is tried, tested and it works:
[code]Object GLAInfantryTerrorist
RemoveModule ModuleTag_02
AddModule ModuleTag_02
Body = ActiveBody ModuleTag_02_Override
MaxHealth = 2400.0
InitialHealth = 2400.0
End
End
End[/code]
Posted by: SUPER-G - Friday, August 31, 2012 8:03:54 PM
thanks! it works perfectly! that will definetly make the best Aod map a lot more challenging!
Posted by: NewNightmare - Saturday, September 1, 2012 9:35:44 AM
Well then I guess we have a new rule?
Dont replace Body modules, remove and re-add them! :)