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 35 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Generals & Zero Hour Editing » N00b has Problems with Terror Cell....full code inside

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

Reply
 
LinkBack Thread Tools
Old 03-31-2003, 06:36 PM   #1 (permalink)
Junior Member
 
Join Date: Mar 2003
Posts: 22
Send a message via Yahoo to General-Pain
Default N00b has Problems with Terror Cell....full code inside

Hi @ all,
i am new to modding and currently re-activating all these nice little thingys like carpet bombing, napalm etc...

now i have a problem with terror cell...i have it activated, i can acquire it through the generals promo and i can select it in the command center, but i am not able to use it.
I have this large crosshair on the ground but i can't launch the terror cell (there is this red circle over the crosshair).

I think the code to access terror cell has been here in this forum, anyway, these are the pieces i used :

Quote:
SpecialPower.ini
SpecialPower SuperweaponTerrorCell
Enum = SPECIAL_TERROR_CELL
ReloadTime = 240000 ; in milliseconds
RequiredScience = SCIENCE_TerrorCell
PublicTimer = No
InitiateAtLocationSound = TerrorCellActivated
SharedSyncedTimer = Yes
RadiusCursorRadius = 50
End

Science.ini
Science SCIENCE_TerrorCell
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:TempName
Description = SCIENCE:TempDescription
End

CommandButton.ini
CommandButton Command_TerrorCell
Command = SPECIAL_POWER
SpecialPower = SuperweaponTerrorCell
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:TerrorCell
ButtonImage = SUTerrorist
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TempDescription
RadiusCursorType = AMBUSH
InvalidCursorName = GenericInvalid
End

CommandButton Command_PurchaseScienceTerrorCell
Command = PURCHASE_SCIENCE
Science = SCIENCE_TerrorCell
ButtonImage = SUTerrorist
ButtonBorderType = UPGRADE
End

CommandSet.ini
CommandSet GLACommandCenterCommandSet
1 = Command_ConstructGLAWorker
5 = Command_Ambush
6 = Command_EmergencyRepair
7 = Command_AnthraxBomb
8 = Command_TerrorCell
11 = Command_SetRallyPoint
12 = Command_Sell
End

CommandSet SCIENCE_GLA_CommandSetRank3
1 = Command_PurchaseScienceHijacker
2 = Command_PurchaseScienceTerrorCell
4 = Command_PurchaseScienceRebelAmbush1
5 = Command_PurchaseScienceRebelAmbush2
6 = Command_PurchaseScienceRebelAmbush3
7 = Command_PurchaseScienceCashBounty1
8 = Command_PurchaseScienceCashBounty2
9 = Command_PurchaseScienceCashBounty3
10 = Command_PurchaseScienceEmergencyRepair1
11 = Command_PurchaseScienceEmergencyRepair2
12 = Command_PurchaseScienceEmergencyRepair3
End

FactionBuilding.ini
Object GLACommandCenter
Behavior = OCLSpecialPower ModuleTag_21
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End

There you go. Note that there is no unique image for the terror cell, so I just gave it the terrorist's image. Also you'll have to put some descriptions in the csf file.
Would be cool if someone would have a look at it and tell me where my failure is !

thx a bunch,

General Pain
General-Pain is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-01-2003, 05:14 AM   #2 (permalink)
qis
Member
 
Join Date: Mar 2003
Location: The Netherlands
Posts: 38
Default

I compared it to my codes and they look the same... (Except for some Descriptions wich I've added in the csf file)
qis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-01-2003, 05:17 AM   #3 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: Netherlands
Posts: 139
Default

Hmmm...Can't see the problem so far...

I have succesfully enabled the TerrorCell for myself using similar codes.

Only thing I can think of that might be causing the problems, are either the code to enable the thing in FactionBuilding.ini (check if the number of the moduletag is unique for the GLA comm center and change it if it isn't).

Next up might be the fact that you misspelled something? Double-check ever name to ensure that EVERYTHING has the proper name... I had a problem with a new chinook that I couldn't build...turned out there was a little typo present...

If all of this does not work, move the factionbuilding.ini code (the one you posted here, not the full codes for the entire building) in a map.ini and put it in like this:

Quote:
Object GLACommandCenter

AddModule
Behavior = OCLSpecialPower ModuleTag_21
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End
Just noticed something in your code:

This is what you wrote down:

Quote:
Object GLACommandCenter
Behavior = OCLSpecialPower ModuleTag_21
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End
That might be your problem. First, where exactly did you put this code? You should put the code in FactionBuilding underneath an existing behavior of the GLA Command Center (so don't put it in at the bottom of the file, but make sure that it is a part of the GLA Command Center code). Next, make sure that you only have this in the Comm Center code of your own

Quote:
Behavior = OCLSpecialPower ModuleTag_21
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End
Notice the lack of "Object GLACommandCenter"

I don't know if you did indeed put the code in with the Object GLACommandCenter at the top of the behavior. If you did, that's what causing the problem....
CopyKat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-01-2003, 09:56 AM   #4 (permalink)
Junior Member
 
Join Date: Mar 2003
Posts: 22
Send a message via Yahoo to General-Pain
Default

thx, i had something wrong in the factionbuilding.ini, corrected it and now terror cell works..but i am disappointed, thought it would be better...

greetz
Pain
General-Pain is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-01-2003, 10:01 AM   #5 (permalink)
qis
Member
 
Join Date: Mar 2003
Location: The Netherlands
Posts: 38
Default

Change the part in ObjectCreationList.ini

to
Quote:
ObjectCreationList SUPERWEAPON_TerrorCell
CreateObject
ObjectNames = GLAInfantryTerrorist
Count = 8; instead of 5
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
FadeSound = TerrorCellActivated
End
End
qis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-01-2003, 08:47 PM   #6 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: USA
Posts: 671
Send a message via AIM to MetalSyren Send a message via MSN to MetalSyren Send a message via Yahoo to MetalSyren
Default

Would somone be willing to send me there copy of the INI for terror cell or an email on the specific things and I will chnage the code myself. Thanks.... If you can help me send me a message please.
MetalSyren is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-01-2003, 08:50 PM   #7 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: USA
Posts: 188
Send a message via MSN to Chronomaw
Default

MetalSyren all the code is right there and it's all listed all you gotta do is copy it to the INI's it lists and save em in the right dir and your done (well officially after you edit a picture and a discription of it).

Chrono
Chronomaw is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-02-2003, 02:59 AM   #8 (permalink)
Member
 
Join Date: Mar 2003
Location: Hong Kong
Posts: 99
Send a message via ICQ to eric Send a message via AIM to eric Send a message via MSN to eric
Default

yeah,the code is here....
eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-02-2003, 04:38 AM   #9 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: USA
Posts: 671
Send a message via AIM to MetalSyren Send a message via MSN to MetalSyren Send a message via Yahoo to MetalSyren
Default

Thanks, I generally like to make sure before I try it so I dont fubar up the game. I already reactivated naplam strike and carpet bombing... Im really looking forward to deezire's mod when it hits out here.
MetalSyren 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
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
[GEN/ZH] Enable Terror Cell Acid Member Written Tutorials 0 11-02-2004 12:50 PM
terror cell mr1pants Generals & Zero Hour Editing 22 04-23-2003 10:35 AM
The Defector....help needed now some code inside! General-Pain Generals & Zero Hour Editing 4 04-13-2003 05:45 PM


All times are GMT -4. The time now is 09:46 PM.


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