logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,677
Total Threads: 8,798
Posts: 95,842

Administrators:
DeeZire, Redemption

There are currently 38 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Member Written Tutorials » [GEN/ZH] Enable Carpet Bombing

Member Written Tutorials A compilation and archive of tutorials written by members. You cant post here, but you can read the threads.

Reply
 
LinkBack Thread Tools
Old 11-02-2004, 12:42 PM   #1 (permalink)
Member
 
Join Date: Feb 2003
Location: Newcastle, UK
Posts: 80
Send a message via ICQ to Acid Send a message via AIM to Acid Send a message via MSN to Acid
Default [GEN/ZH] Enable 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 Data\INI\Object. Find this bit of

Code:
  DisplayName      = OBJECT:Airfield
  Side             = America
Under that entry find this line:

Code:
  ; *** ENGINEERING Parameters ***
This defines the special parameters for this building. Under this section find:

Code:
  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:

Code:
  Behavior = OCLSpecialPower ModuleTag_23
    SpecialPowerTemplate = SuperweaponCarpetBomb
    OCL                  = SUPERWEAPON_CarpetBomb
  End
Now find this:

Code:
;  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
Delete it.

Save the file and close it. Now open CommandSet.ini located in Data\INI. Find this:

Code:
CommandSet AmericaAirfieldCommandSet
Under that entry find this line:

Code:
  8  = Command_UpgradeAmericaLaserMissiles
Add this line after it:

Code:
  9  = Command_CarpetBomb
Save the file and close it. Now open SpecialPower.ini located in Data\INI. Find this:

Code:
SpecialPower SuperweaponCarpetBomb
  Enum                = SPECIAL_CARPET_BOMB
  ReloadTime          = 150000   ; in milliseconds
  ;;;RequiredScience     = SCIENCE_CarpetBomb;;; Never ever ever use a required science with a public timer, since the hiddenbyscience never clears
  PublicTimer         = Yes
  SharedSyncedTimer   = Yes
  ViewObjectDuration  = 40000
  ViewObjectRange     = 250
  RadiusCursorRadius  = 100
End
Change it to:

Code:
SpecialPower SuperweaponCarpetBomb
  Enum                = SPECIAL_CARPET_BOMB
  ReloadTime          = 150000
  PublicTimer         = No
  SharedSyncedTimer   = Yes
  ViewObjectDuration  = 40000
  ViewObjectRange     = 250
  RadiusCursorRadius  = 100
End
Save the file, close it and you're done. You have now successfully enabled the Carpet Bombing superweapon.
Acid is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unit carpet bombing Syndicate Generals & Zero Hour Editing 0 03-05-2004 11:39 PM
Problems With Carpet Bombing Shortcut? Malc Generals & Zero Hour Editing 12 05-17-2003 08:56 AM
Carpet Bombing Goketa Generals & Zero Hour Editing 49 04-19-2003 06:31 AM
Adding Carpet bombing as a science Rubra Generals & Zero Hour Editing 1 04-09-2003 05:37 PM
Carpet Bombing socialburn Generals & Zero Hour Editing 7 02-22-2003 04:27 AM


All times are GMT -4. The time now is 03:39 AM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.