This tutorial will show you how to enable the Napalm Strike superweapon in Generals.
First of all open the file FactionBuilding.ini located in Data\INI\Object. Find this bit of
Code:
DisplayName = OBJECT:CommandCenter
Side = China
Under that entry find this line:
Code:
; *** ENGINEERING Parameters ***
This defines the special parameters for this building. Under this section find:
Code:
Behavior = OCLSpecialPower ModuleTag_16
SpecialPowerTemplate = SuperweaponNapalmStrike
OCL = SUPERWEAPON_NapalmStrike
End
Delete it.
Now find this:
Code:
DisplayName = OBJECT:Airfield
Side = China
Under that entry find this line:
Code:
; *** ENGINEERING Parameters ***
Under this section add this:
Code:
Behavior = OCLSpecialPower ModuleTag_16
SpecialPowerTemplate = SuperweaponNapalmStrike
OCL = SUPERWEAPON_NapalmStrike
End
Save the file and close it. Now open CommandSet.ini located in Data\INI. Find this:
Code:
CommandSet ChinaAirfieldCommandSet
Under that entry add this line:
Code:
7 = Command_NapalmStrike
Save the file and close it. Now open SpecialPower.ini located in Data\INI. Find this:
Code:
SpecialPower SuperweaponNapalmStrike
Enum = SPECIAL_NAPALM_STRIKE
ReloadTime = 600000 ; in milliseconds
RequiredScience = SCIENCE_NapalmStrike
PublicTimer = Yes
SharedSyncedTimer = Yes
ViewObjectDuration = 30000
ViewObjectRange = 250
RadiusCursorRadius = 100
End
Replace it with this:
Code:
SpecialPower SuperweaponNapalmStrike
Enum = SPECIAL_NAPALM_STRIKE
ReloadTime = 150000
PublicTimer = No
SharedSyncedTimer = Yes
ViewObjectDuration = 30000
ViewObjectRange = 250
RadiusCursorRadius = 100
End
Save the file and close it. Now open ObjectCreationList.ini located in Data\INI. Find this:
Code:
ObjectCreationList SUPERWEAPON_NapalmStrike
Under that entry find this line:
Change it to:
Save the file, close it and you're done. You have now successfully enabled the Napalm Strike superweapon.
Bookmarks