This tutorial is NOT done by me, instead it is done by a great modder called Acid. Here it is
~C
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.
[GEN - ZH] Carpet Bombing
Started by Skywaters, Jan 22 2004 03:39 AM
3 replies to this topic
#1
Posted 22 January 2004 - 03:39 AM
#2
Posted 24 January 2005 - 09:27 AM
I would like this as a super weapon for my mod, how do I make it so this is commanded from a specific superweapon building?
#3
Posted 24 January 2005 - 07:14 PM
Put the OCL and command button on that specific building.
Too cute! | Server Status: If you can read this, it's up |Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.
#4
Posted 25 January 2005 - 05:25 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users