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

Forum Info
Forum Members: 19,148
Total Threads: 9,052
Posts: 97,522

Administrators:
DeeZire, Redemption

There are currently 25 users online.
Partner Links
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, 12:50 PM   #1 (permalink)
Member
 
Join Date: Feb 2003
Location: Newcastle, UK
Posts: 81
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
Old 06-12-2009, 10:59 AM   #2 (permalink)
Member
 
Join Date: Feb 2009
Location: Southwest Germany
Posts: 30
Default

Thanks for the tutorial but the commandbutton from the the terrorcell is uncomplete. I use the ambush powershortcut from the Toxin General from Generals Challenge and combinied with the terror cell superpower.

Quote:
;-----------------------------------------------------------------------------
SpecialPower SuperweaponTerrorCell
Enum = SPECIAL_TERROR_CELL
ReloadTime = 240000 ; in milliseconds
RequiredScience = SCIENCE_TerrorCell
PublicTimer = Yes
InitiateSound = TerrorCellActivated
End

CommandButton GC_Chem_Command_AmbushFromShortcut
Command = SPECIAL_POWER_FROM_SHORTCUT
SpecialPower = SuperweaponTerrorCell
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
Science = SCIENCE_TerrorCell
TextLabel = GUI:TerrorCell
ButtonImage = SUToxAmbsh1
;ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TerrorCellDesc
RadiusCursorType = AMBUSH
InvalidCursorName = GenericInvalid
End

CommandSet SpecialPowerShortcutGLA
1 = Command_AmbushFromShortcut
2 = Command_EmergencyRepairFromShortcut
3 = Command_AnthraxBombFromShortcut
4 = Command_ScudStormFromShortcut
5 = Command_RadarVanScanFromShortcut
6 = Command_SneakAttackFromShortcut
7 = Command_GPSScramblerFromShortcut
8 = GC_Chem_Command_AmbushFromShortcut
END

CommandSet Demo_SpecialPowerShortcutGLA
1 = Command_AmbushFromShortcut
2 = Command_EmergencyRepairFromShortcut
3 = Command_AnthraxBombFromShortcut
4 = Command_ScudStormFromShortcut
5 = Command_RadarVanScanFromShortcut
6 = Command_SneakAttackFromShortcut
7 = Command_GPSScramblerFromShortcut
8 = GC_Chem_Command_AmbushFromShortcut
END

CommandSet Slth_SpecialPowerShortcutGLA
1 = Command_AmbushFromShortcut
2 = Early_Command_EmergencyRepairFromShortcut
3 = Command_AnthraxBombFromShortcut
4 = Command_ScudStormFromShortcut
5 = Command_RadarVanScanFromShortcut
6 = Command_SneakAttackFromShortcut
7 = Slth_Command_GPSScramblerFromShortcut
8 = GC_Chem_Command_AmbushFromShortcut
END

CommandSet Chem_SpecialPowerShortcutGLA
1 = Chem_Command_AmbushFromShortcut
2 = Command_EmergencyRepairFromShortcut
3 = Command_AnthraxBombFromShortcut
4 = Command_ScudStormFromShortcut
5 = Command_RadarVanScanFromShortcut
6 = Command_SneakAttackFromShortcut
7 = GC_Chem_Command_AmbushFromShortcut
END

PlayerTemplate FactionGLA
SpecialPowerShortcutButtonCount = 8
End

PlayerTemplate GLADemolitionGeneral
SpecialPowerShortcutButtonCount = 8
End

PlayerTemplate FactionGLAStealthGeneral
SpecialPowerShortcutButtonCount = 8
End

PlayerTemplate FactionGLAToxinGeneral
SpecialPowerShortcutButtonCount = 7
End

;------------------------------------------------------------------------------

Object GLAPalace

AddModule
Behavior = OCLSpecialPower ModuleTag_18
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End
End

MaxSimultaneousOfType = 1

End

;------------------------------------------------------------------------------

Object Demo_GLAPalace

AddModule
Behavior = OCLSpecialPower ModuleTag_18
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End
End

MaxSimultaneousOfType = 1

End

;------------------------------------------------------------------------------

Object Slth_GLAPalace

AddModule
Behavior = OCLSpecialPower ModuleTag_18
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End
End

MaxSimultaneousOfType = 1

End

;------------------------------------------------------------------------------

Object Chem_GLAPalace

AddModule
Behavior = OCLSpecialPower ModuleTag_18
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End
End

MaxSimultaneousOfType = 1

End

;------------------------------------------------------------------------------

ObjectCreationList SUPERWEAPON_TerrorCell
CreateObject
ObjectNames = GLAInfantryTerrorist
Count = 3
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
FadeSound = TerrorCellActivated
End
End
Crystal-Nova 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 11:44 AM
Enable Terror Cell Tutorial from Acid goblinsleez Generals & Zero Hour Editing 3 03-12-2005 10:09 AM
Terror Cell Tutorial messed up?? ziggy78 Generals & Zero Hour Editing 0 12-30-2004 07:28 PM
terror cell mr1pants Generals & Zero Hour Editing 22 04-23-2003 10:35 AM
N00b has Problems with Terror Cell....full code inside General-Pain Generals & Zero Hour Editing 8 04-02-2003 04:38 AM


All times are GMT -4. The time now is 08:56 PM.


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