FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   CnC Modding, Mapping and Editing (http://forums.filefront.com/cnc-modding-mapping-editing-273/)
-   -   Carpet Bomb (http://forums.filefront.com/cnc-modding-mapping-editing/145490-carpet-bomb.html)

gforce0909 September 1st, 2004 07:38 PM

Carpet Bomb
 
k, im editing generals (not zh)

i went into commandset.ini, edited the usa airfield and put in the carpet bomb

when i click on it, the 'cursor' shows up, but the red x shows up, and i cant click to attack

also, i noticed this

; 9 = Command_UpgradeAmericaTomahawkRemoteControl ***CUT***

it says cut, obviously, was it just cut from the game, or is it actually available

Tha_Scorpion_King September 2nd, 2004 05:46 AM

Re: Carpet Bomb
 
9 = Command_UpgradeAmericaTomahawkRemoteControl

just take this line... (if thats the one you need) but , you maked it an upgrade right???? well i advice to make it a shortcut to fire, not a upgrade

AzH September 2nd, 2004 05:55 AM

Re: Carpet Bomb
 
use this handy guide to add US Carpet Bomber:

open the file FactionBuilding.ini located in Data\INI\Object. 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 Data\INI. 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 Data\INI. 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

You need to do this otherwise a game bug displays the countdown timer for the weapon as being ready at the start of every game before the Airfield is built.

You might also want to adjust the recharging time for the Carpet Bombs as by default the recharge time is set to two and a half minutes, which isn't a lot for a weapon which does a fair amount of damage. If you want to set the recharge time to something higher like five minutes, then under the same section (where the PublicTimer tag was replaced) find this line:

ReloadTime = 150000 ; in milliseconds

Replace it with:

ReloadTime = 300000

Done. You can now use Carpet Bombing which you deploy from the American Airfield.








EDIT: this line, "Command_UpgradeAmericaTomahawkRemoteControl" was cut. it was an option to allow you to guide a Tomahawk Missile to it;s target, but it was dropped from the game prior to release. it isn't linked to Carpet Bomber (you didn't think it was, right?).

gforce0909 September 2nd, 2004 05:37 PM

Re: Carpet Bomb
 
k thx for the help

and no, i was just curious about it =)


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.