Carpet Bombing
|
|
This tutorial will show you how to enable the Carpet Bombing superweapon in Generals.
First of all open the file FactionBuilding.ini located in DataINIObject. Find this bit of code:
DisplayName = OBJECT:Airfield
Side = America
Under that entry find this line:
; *** ENGINEERING Parameters ***
This defines the special parameters for this building. Under this section find:
RadarPriority = STRUCTURE
KindOf = PRELOAD STRUCTURE SELECTABLE IMMOBILE AIRFIELD SCORE CAPTURABLE FS_FACTORY MP_COUNT_FOR_VICTORY AUTO_RALLYPOINT
Body = StructureBody ModuleTag_10
MaxHealth = 1500.0
InitialHealth = 1500.0
End
Add this after it:
Behavior = OCLSpecialPower ModuleTag_23
SpecialPowerTemplate = SuperweaponCarpetBomb
OCL = SUPERWEAPON_CarpetBomb
End
Now find this:
; Behavior = OCLSpecialPower ModuleTag_23;this has been removed from everywhere but the ChinaAirfield in CHI05
; SpecialPowerTemplate = SuperweaponCarpetBomb
; OCL = SUPERWEAPON_CarpetBomb
; CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE
; End
Replace it with this:
Behavior = OCLSpecialPower ModuleTag_23
SpecialPowerTemplate = SuperweaponCarpetBomb
OCL = SUPERWEAPON_CarpetBomb
CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE
End
Save the file and close it. Now open CommandSet.ini located in DataINI. Find this:
CommandSet AmericaAirfieldCommandSet
Under that entry find this line:
8 = Command_UpgradeAmericaLaserMissiles
Add this line after it:
9 = Command_CarpetBomb
Save the file and close it. Now open SpecialPower.ini located in DataINI. Find this:
SpecialPower SuperweaponCarpetBomb
Under that entry find this line:
;;;RequiredScience = SCIENCE_CarpetBomb;;; Never ever ever use a required science with a public timer, since the hiddenbyscience never clears
Delete it.
Now find this line under the same entry:
PublicTimer = Yes
Change it to:
PublicTimer = No
Done. You have now successfully enabled the Carpet Bombing superweapon.
First of all open the file FactionBuilding.ini located in DataINIObject. Find this bit of code:
DisplayName = OBJECT:Airfield
Side = America
Under that entry find this line:
; *** ENGINEERING Parameters ***
This defines the special parameters for this building. Under this section find:
RadarPriority = STRUCTURE
KindOf = PRELOAD STRUCTURE SELECTABLE IMMOBILE AIRFIELD SCORE CAPTURABLE FS_FACTORY MP_COUNT_FOR_VICTORY AUTO_RALLYPOINT
Body = StructureBody ModuleTag_10
MaxHealth = 1500.0
InitialHealth = 1500.0
End
Add this after it:
Behavior = OCLSpecialPower ModuleTag_23
SpecialPowerTemplate = SuperweaponCarpetBomb
OCL = SUPERWEAPON_CarpetBomb
End
Now find this:
; Behavior = OCLSpecialPower ModuleTag_23;this has been removed from everywhere but the ChinaAirfield in CHI05
; SpecialPowerTemplate = SuperweaponCarpetBomb
; OCL = SUPERWEAPON_CarpetBomb
; CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE
; End
Replace it with this:
Behavior = OCLSpecialPower ModuleTag_23
SpecialPowerTemplate = SuperweaponCarpetBomb
OCL = SUPERWEAPON_CarpetBomb
CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE
End
Save the file and close it. Now open CommandSet.ini located in DataINI. Find this:
CommandSet AmericaAirfieldCommandSet
Under that entry find this line:
8 = Command_UpgradeAmericaLaserMissiles
Add this line after it:
9 = Command_CarpetBomb
Save the file and close it. Now open SpecialPower.ini located in DataINI. Find this:
SpecialPower SuperweaponCarpetBomb
Under that entry find this line:
;;;RequiredScience = SCIENCE_CarpetBomb;;; Never ever ever use a required science with a public timer, since the hiddenbyscience never clears
Delete it.
Now find this line under the same entry:
PublicTimer = Yes
Change it to:
PublicTimer = No
Done. You have now successfully enabled the Carpet Bombing superweapon.
Credits
Original Material | Acid |