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

Forum Info
Forum Members: 18,679
Total Threads: 8,804
Posts: 95,887

Administrators:
DeeZire, Redemption

There are currently 16 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 03-14-2003, 11:37 AM   #1 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: Look Behind you
Posts: 211
Send a message via MSN to Goketa Send a message via Yahoo to Goketa
Default TerrorCell & POW Trucks

Is it possible to enable them?
Goketa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-14-2003, 11:56 AM   #2 (permalink)
Guest
 
Posts: n/a
Default

Terror Cell is Rebel Ambush with Terrorists.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-14-2003, 01:09 PM   #3 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: Look Behind you
Posts: 211
Send a message via MSN to Goketa Send a message via Yahoo to Goketa
Default

i kinda knew that but i want it and then change it into Col Burtons
Goketa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-14-2003, 03:57 PM   #4 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: Netherlands
Posts: 139
Default

I was wondering how you can actually implement the Terror Cell and give it to GLA. I tried some code similar to what I learned from the Carpet Bomb thread, but unlike carpetbomb, TerrorCell has no definitions in the FactionBuilding.ini.

As a result, I was able to get the Terror Cell to "appear" in the desired building of my choice, but once trying to activate, I get the infamous annoying "can't go there" cursor.

My self added code to try and define the Terror Cell inspired by the Ambush code:

Quote:
Object GLACommandCenter

AddModule
Behavior = OCLSpecialPower ModuleTag_88
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End
End
Nvrmnd, it works now... With the help of the above given TerrorCell definition. It seemed that the thing screwing up, was nothing more than that I tried to add the button to an American Airfield for testing purposes (so I could easily test multiple new SWs), but I didn't define American Airfield as a valid holder of the TerrorCell...now it works though *soft cheer*

In case ppl need the entire code I have in my map.ini for this TerrorCell:

Quote:
;;;And trying out TerrorCell as well

Object GLACommandCenter

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

End
SpecialPower SuperweaponTerrorCell
Enum = SPECIAL_TERROR_CELL
ReloadTime = 600000 ; in milliseconds
RequiredScience = SCIENCE_TerrorCell
PublicTimer = No
InitiateSound = TerrorCellActivated
End

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

ObjectCreationList SUPERWEAPON_TerrorCell
CreateObject
ObjectNames = GLAInfantryTerrorist
Count = 5
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
FadeSound = TerrorCellActivated
End
End

Science SCIENCE_TerrorCell
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = Yes
DisplayName = SCIENCE:TempName
Description = SCIENCE:TempDescription
End

;;;Used to give GLA the Terrorcell button

CommandSet GLACommandCenterCommandSet
1 = Command_ConstructGLAWorker
5 = Command_Ambush
6 = Command_EmergencyRepair
7 = Command_AnthraxBomb
8 = Command_TerrorCell
11 = Command_SetRallyPoint
12 = Command_Sell
End
Don't forget to grant the science via regular scripting though..

Now, if I only could get a decent button for the TerrorCell....
CopyKat 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
questions about the Iron Dragon aircraft and the POW trucks 4hammer Generals & Zero Hour Editing 13 02-03-2004 07:50 AM
American UN supply drop...but with trucks. smurfbizkit Generals & Zero Hour Editing 5 07-17-2003 12:22 PM
supply trucks... CarmaPlayer Generals & Zero Hour Editing 2 04-12-2003 05:33 PM
POW trucks? OllBollen Generals & Zero Hour Editing 7 03-24-2003 07:13 AM


All times are GMT -4. The time now is 07:45 AM.


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