Quote:I want it to replace the chinook model in one of the USA missions. but everytime I try I get the serius error messages which is started to annoy me.
it works fine in skirmish when I replace the model with a chinook but it doesn't work for map.ini
any Idea why??
Map.ini code works differently from normal INI code.
Modules have to be added, replaced, or removed, like so:
Code: AddModule ModuleTag_99_Override
Behavior = FireWeaponWhenDeadBehavior ModuleTag_99
DeathWeapon = SmallFireFieldCreationWeapon
StartsActive = Yes
ConflictsWith = Upgrade_ChinaBlackNapalm
End; Behavior
End; AddModule
Code: ReplaceModule ModuleTag_99
Behavior = FireWeaponWhenDeadBehavior ModuleTag_99_Override
DeathWeapon = SmallFireFieldCreationWeapon
StartsActive = Yes
ConflictsWith = Upgrade_ChinaBlackNapalm
End; Behavior
End; ReplaceModule
Replace is very specific. You can't replace a FireWeaponWhenDeadBehavior with a PhysicsBehavior for example. You have to replace it with another FireWeaponWhenDeadBehavior.
Code: RemoveModule ModuleTag_99
Most map.ini crashes are caused by having too many Ends, too few Ends, or just Ends in the wrong place. ReplaceModule and AddModule both need an End, but RemoveModule doesn't. Quite often, you'll have 3 Ends in a row as you close Behavior, ReplaceModule and finally Object.
Quote:and also
I have beaten every official map against maximum medium player in ZH. why don't I ever get this medal that I am supposed to get?
Go into SkirmishStats.ini in Documents\Command and Conquer Generals Zero Hour Data and add this to the bottom:
Code:maps\armored fury\armored fury.map_4 = 5
maps\scorched earth\scorched earth.map_4 = 1
Long story short, there are two maps that are required for the medal that don't actually exist in the game. Thus, to get the medal, you have add them manually.
Edited by user Monday, July 18, 2011 11:38:31 AM(UTC)
| Reason: Not specified