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

Forum Info
Forum Members: 18,644
Total Threads: 8,746
Posts: 95,530

Administrators:
DeeZire, Redemption

There are currently 27 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Member Written Tutorials » [GEN/ZH] Enable Terror Cell

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, 11:50 AM   #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 Terror Cell

This tutorial will show you how to enable the Terror Cell 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                = GLA
Under that entry find this line:

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

Code:
  Behavior = OCLSpecialPower ModuleTag_18
    SpecialPowerTemplate    = SuperweaponTerrorCell
    OCL                     = SUPERWEAPON_TerrorCell
    CreateLocation          = CREATE_AT_LOCATION
  End 

  Behavior = CommandSetUpgrade ModuleTag_21
    CommandSet  = GLACommandCenterTerrorCellCommandSet
    TriggeredBy = Upgrade_GLATerrorCell
  End
Save the file and close it. Now open CommandSet.ini located in Data\INI. Add this

Code:
CommandSet GLACommandCenterTerrorCellCommandSet
  1  = Command_ConstructGLAWorker
  5  = Command_Ambush
  6  = Command_TerrorCell
  7  = Command_AnthraxBomb
  9  = Command_EmergencyRepair
  11 = Command_SetRallyPoint
  12 = Command_Sell
End
Now find this:

Code:
CommandSet GLABlackMarketCommandSet
  1  = Command_UpgradeGLAAPBullets
  2  = Command_UpgradeGLAAPRockets
  3  = Command_UpgradeGLAJunkRepair
  4  = Command_UpgradeGLABuggyAmmo
  5 = Command_UpgradeGLARadarVanScan
  12 = Command_Sell
End
Change it to:

Code:
CommandSet GLABlackMarketCommandSet
  1  = Command_UpgradeGLAAPBullets
  2  = Command_UpgradeGLAAPRockets
  3  = Command_UpgradeGLAJunkRepair
  4  = Command_UpgradeGLABuggyAmmo
  5  = Command_UpgradeGLARadarVanScan
  6  = Command_UpgradeGLATerrorCell
  12 = Command_Sell
End
Save the file and close it. Now open CommandButton.ini located in Data\INI. Find this:

Code:
CommandButton Command_TerrorCell
  Command                 = SPECIAL_POWER
  SpecialPower            = SuperweaponTerrorCell
  Options                 = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel               = CONTROLBAR:TerrorCell
  ButtonImage             = SCTempDefaultCommand
  ButtonBorderType        = ACTION ; Identifier for the User as to what kind of button this is
  DescriptLabel           = CONTROLBAR:TempDescription
  RadiusCursorType        = AMBUSH
  InvalidCursorName       = GenericInvalid
End
Change it to:

Code:
CommandButton Command_TerrorCell
  Command           = SPECIAL_POWER
  SpecialPower      = SuperweaponTerrorCell
  Options           = NEED_TARGET_POS CONTEXTMODE_COMMAND NEED_UPGRADE
  Upgrade           = Upgrade_GLATerrorCell
  TextLabel         = GUI:SuperweaponTerrorCell
  ButtonImage       = SUTerrorist
  ButtonBorderType  = ACTION
  DescriptLabel     = CONTROLBAR:TooltipFireTerrorCell
  RadiusCursorType  = AMBUSH
  InvalidCursorName = GenericInvalid
End
Now add this:

Code:
CommandButton Command_UpgradeGLATerrorCell
  Command           = PLAYER_UPGRADE
  Upgrade           = Upgrade_GLATerrorCell
  TextLabel         = CONTROLBAR:UpgradeGLATerrorCell
  ButtonImage       = SUTerrorist
  ButtonBorderType  = UPGRADE
  DescriptLabel     = CONTROLBAR:ToolTipGLAUpgradeTerrorCell
End
Save the file and close it. Now open SpecialPower.ini located in Data\INI. Find this:

Code:
SpecialPower SuperweaponTerrorCell
  Enum              = SPECIAL_TERROR_CELL
  ReloadTime        = 600000   ; in milliseconds
  RequiredScience   = SCIENCE_TerrorCell
  PublicTimer       = Yes
  InitiateSound     = TerrorCellActivated
End
Change it to:

Code:
SpecialPower SuperweaponTerrorCell
  Enum                    = SPECIAL_TERROR_CELL
  ReloadTime              = 240000
  PublicTimer             = No
  InitiateSound           = RebelAmbushActivated
  SharedSyncedTimer       = Yes
  RadiusCursorRadius      = 50
End
Save the file and close it. Now open Upgrade.ini located in Data\INI. Add this

Code:
Upgrade Upgrade_GLATerrorCell
  DisplayName       = UPGRADE:TerrorCell
  BuildTime         = 60.0
  BuildCost         = 1500
  ButtonImage       = SUTerrorist
End
Save the file, close it and you're done. You have now successfully enabled the Terror Cell 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
Terror Drones NukeWinter Generals & Zero Hour Editing 8 08-01-2005 10:44 AM
Enable Terror Cell Tutorial from Acid goblinsleez Generals & Zero Hour Editing 3 03-12-2005 09:09 AM
Terror Cell Tutorial messed up?? ziggy78 Generals & Zero Hour Editing 0 12-30-2004 06:28 PM
terror cell mr1pants Generals & Zero Hour Editing 22 04-23-2003 09:35 AM
N00b has Problems with Terror Cell....full code inside General-Pain Generals & Zero Hour Editing 8 04-02-2003 03:38 AM


All times are GMT -4. The time now is 06:30 PM.


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