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

Forum Info
Forum Members: 18,617
Total Threads: 8,723
Posts: 95,217

Administrators:
DeeZire, Redemption

There are currently 33 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 » Help, Adding an Object Upgrade to the Terrorist..

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

Reply
 
LinkBack Thread Tools
Old 06-13-2003, 07:19 PM   #1 (permalink)
ice
Senior Member
 
Join Date: Jan 2003
Location: Sweden
Posts: 232
Send a message via ICQ to ice Send a message via AIM to ice Send a message via MSN to ice
Default Help, Adding an Object Upgrade to the Terrorist..

What can be the problem when I get a greyed out upgrade button for my terrorists? I've done pretty much exact the same as the Bombtruck's ini code for their upgrades.. But still I can't upgrade my terrorist..

I've inlcuded the sections where the problem could be..

=====================
FACTIONUNIT.INI
=====================

Behavior = FireWeaponWhenDeadBehavior ModuleTag_Death04 ; Could this be the problem? That it is _Death ??
DeathWeapon = SuicideDynamitePack
StartsActive = Yes ; turned on by upgrade
DeathTypes = NONE +SUICIDED +CRUSHED +SPLATTED +LASERED +BURNED +EXPLODED
ConflictsWith = Upgrade_GLATerroristBioBomb
End

Behavior = FireWeaponWhenDeadBehavior ModuleTag_Death05
DeathWeapon = SuicideBioWeaponBomb
StartsActive = No ; turned on by upgrade
DeathTypes = NONE +SUICIDED +CRUSHED +SPLATTED +LASERED +BURNED +EXPLODED
TriggeredBy = Upgrade_GLATerroristBioBomb
End

=====================
COMMANDBUTTON.INI
=====================

CommandButton Command_UpgradeGLATerroristBioBomb
Command = OBJECT_UPGRADE
Upgrade = Upgrade_GLATerroristBioBomb
Options = NEED_SPECIAL_POWER_SCIENCE OK_FOR_MULTI_SELECT;NOT_QUEUEABLE
SpecialPower = GLAGeneralBioWeapons
TextLabel = CONTROLBAR:UpgradeGLATerroristBioBomb
ButtonImage = SSTerroristBioBomb
ButtonBorderType = BUILD;UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipGLAUpgradeTerroristBioBomb
End

=====================
UPGRADE.INI
=====================

Upgrade Upgrade_GLATerroristBioBomb
DisplayName = UPGRADE:TerroristBioBomb
Type = OBJECT
BuildTime = 5.0
BuildCost = 500
ButtonImage = SSTerroristBioBomb
End
ice is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-13-2003, 07:24 PM   #2 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 113
Default Re: Help, Adding an Object Upgrade to the Terrorist..

Quote:
Originally Posted by ice
StartsActive = Yes ; turned on by upgrade
DeathTypes = NONE +SUICIDED +CRUSHED +SPLATTED +LASERED +BURNED +EXPLODED


StartsActive = No ; turned on by upgrade
DeathTypes = NONE +SUICIDED +CRUSHED +SPLATTED +LASERED +BURNED +EXPLODED
End

this caught my eye. why is 1 active at start and another isnt? also, couldnt u just say DeathTypes = All -whatever??? it makes a bit less typing to do .
evilbutterfly is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-13-2003, 07:36 PM   #3 (permalink)
Member
 
Join Date: May 2003
Location: USA
Posts: 83
Send a message via AIM to Syndicate
Default

I don't know what the problem is, but usually when I get greyed out buttons it's because the commandbutton is not linked to the upgrade.
Syndicate is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-13-2003, 07:39 PM   #4 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Canada
Posts: 968
Send a message via MSN to Eradicator
Default Re: Help, Adding an Object Upgrade to the Terrorist..

Quote:
Originally Posted by evilbutterfly
this caught my eye. why is 1 active at start and another isnt? also, couldnt u just say DeathTypes = All -whatever??? it makes a bit less typing to do .
Because one is the default death and the other is the upgraded. Look at the conflicts with.
Quote:
Originally Posted by ice
Options = NEED_SPECIAL_POWER_SCIENCE OK_FOR_MULTI_SELECT;NOT_QUEUEABLE
SpecialPower = GLAGeneralBioWeapons
Those two lines look suspect. Try removing NEED_SPECIAL_POWER_SCIENCE and the SpecialPower line.
Eradicator is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-14-2003, 07:21 AM   #5 (permalink)
ice
Senior Member
 
Join Date: Jan 2003
Location: Sweden
Posts: 232
Send a message via ICQ to ice Send a message via AIM to ice Send a message via MSN to ice
Default Re: Help, Adding an Object Upgrade to the Terrorist..

Quote:
Originally Posted by Eradicator
Quote:
Originally Posted by ice
Options = NEED_SPECIAL_POWER_SCIENCE OK_FOR_MULTI_SELECT;NOT_QUEUEABLE
SpecialPower = GLAGeneralBioWeapons
Those two lines look suspect. Try removing NEED_SPECIAL_POWER_SCIENCE and the SpecialPower line.
I will try, but I don't think that's the problem since that only makes the button invisible until you have chosen a specific science, you don't want the Terrorist to be able to upgrade using another general then the Bio-Command General

I will keep looking in why I have this problem.. I'm pretty sure I've linked the button correctly, but I will look into it..
ice is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-14-2003, 08:35 AM   #6 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Asia, Philippines
Posts: 311
Send a message via ICQ to Cold-Blooded Send a message via AIM to Cold-Blooded Send a message via Yahoo to Cold-Blooded
Default

the code is not complete, you need to add this:

Behavior = SubObjectsUpgrade ModuleTag_17
;*** Bio bomb load ***
TriggeredBy = Upgrade_GLABombTruckBioBomb
ConflictsWith = Upgrade_GLABombTruckHighExplosiveBomb
ShowSubObjects = Bombload02
HideSubObjects = Bombload01 Bombload03 Bombload04
End
Behavior = SubObjectsUpgrade ModuleTag_18
;*** High-explosive bomb load ***
TriggeredBy = Upgrade_GLABombTruckHighExplosiveBomb
ConflictsWith = Upgrade_GLABombTruckBioBomb
ShowSubObjects = Bombload03
HideSubObjects = Bombload01 Bombload02 Bombload04
End
Behavior = SubObjectsUpgrade ModuleTag_19
;*** High-explosive bio bomb load ***
TriggeredBy = Upgrade_GLABombTruckBioBomb Upgrade_GLABombTruckHighExplosiveBomb
ShowSubObjects = Bombload04
HideSubObjects = Bombload01 Bombload02 Bombload03
RequiresAllTriggers = Yes
End
Cold-Blooded is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-14-2003, 11:26 AM   #7 (permalink)
ice
Senior Member
 
Join Date: Jan 2003
Location: Sweden
Posts: 232
Send a message via ICQ to ice Send a message via AIM to ice Send a message via MSN to ice
Default

Quote:
Originally Posted by Cold-Blooded
the code is not complete, you need to add this:

Behavior = SubObjectsUpgrade ModuleTag_17
;*** Bio bomb load ***
TriggeredBy = Upgrade_GLABombTruckBioBomb
ConflictsWith = Upgrade_GLABombTruckHighExplosiveBomb
ShowSubObjects = Bombload02
HideSubObjects = Bombload01 Bombload03 Bombload04
End
Behavior = SubObjectsUpgrade ModuleTag_18
;*** High-explosive bomb load ***
TriggeredBy = Upgrade_GLABombTruckHighExplosiveBomb
ConflictsWith = Upgrade_GLABombTruckBioBomb
ShowSubObjects = Bombload03
HideSubObjects = Bombload01 Bombload02 Bombload04
End
Behavior = SubObjectsUpgrade ModuleTag_19
;*** High-explosive bio bomb load ***
TriggeredBy = Upgrade_GLABombTruckBioBomb Upgrade_GLABombTruckHighExplosiveBomb
ShowSubObjects = Bombload04
HideSubObjects = Bombload01 Bombload02 Bombload03
RequiresAllTriggers = Yes
End
Nonono.. Only if I want to change what to show on the model.. Theese are just to show different subobjects on the bombtruck, I'm adding an upgrade to the Terrorist.. thanks anyway
ice is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-14-2003, 01:50 PM   #8 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Canada
Posts: 968
Send a message via MSN to Eradicator
Default Re: Help, Adding an Object Upgrade to the Terrorist..

Quote:
Originally Posted by ice
I will try, but I don't think that's the problem since that only makes the button invisible until you have chosen a specific science, you don't want the Terrorist to be able to upgrade using another general then the Bio-Command General

I will keep looking in why I have this problem.. I'm pretty sure I've linked the button correctly, but I will look into it..
Hmm... I didn't realise your not making a mod on base Generals. Seems you are modding Pro:Gen. That is not a good idea.
Eradicator is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-14-2003, 06:50 PM   #9 (permalink)
ice
Senior Member
 
Join Date: Jan 2003
Location: Sweden
Posts: 232
Send a message via ICQ to ice Send a message via AIM to ice Send a message via MSN to ice
Default Re: Help, Adding an Object Upgrade to the Terrorist..

Quote:
Originally Posted by Eradicator
Quote:
Originally Posted by ice
I will try, but I don't think that's the problem since that only makes the button invisible until you have chosen a specific science, you don't want the Terrorist to be able to upgrade using another general then the Bio-Command General

I will keep looking in why I have this problem.. I'm pretty sure I've linked the button correctly, but I will look into it..
Hmm... I didn't realise your not making a mod on base Generals. Seems you are modding Pro:Gen. That is not a good idea.
Well, I have always wanted to re-enable them and I also like to mod, so I started to work on this mod some time ago, and started to plan it a long long time ago.. I don't care if anyone will play it at all, I just make what I would like to see in Generals, and if anyone else likes it then great
ice is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-15-2003, 05:56 AM   #10 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Asia, Philippines
Posts: 311
Send a message via ICQ to Cold-Blooded Send a message via AIM to Cold-Blooded Send a message via Yahoo to Cold-Blooded
Default

ok noprob
Cold-Blooded 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
Adding upgrade to heroes? Nertea LOTR: Battle For Middle Earth I & II Editing 0 01-06-2005 01:17 AM
OBJECT UPGRADE VS PLAYER UPGRADE Hostile Generals & Zero Hour Editing 2 05-24-2004 04:58 AM
Adding Prop tower as an object upgrade? Hostile Generals & Zero Hour Editing 2 05-22-2004 10:22 AM
adding smoke trail to animated object ? DeathAngel Generals & Zero Hour Editing 7 09-16-2003 05:14 PM
How to Destroy Object with Upgrade? Panzerfather Generals & Zero Hour Editing 9 08-20-2003 05:47 AM


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


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