Jump to content


Photo

GLA Stealth Upgrade


  • Please log in to reply
1 reply to this topic

#1 BlitzKrieg

BlitzKrieg
  • Members
  • 55 posts
  • Projects:C&C Generals Destructive Hour; YR: Riot

Posted 05 March 2008 - 05:04 PM

Well I'm working on an upgrade that makes all units that I have Choosen to become stealth....But I get an Error everytime I try Starting Generals....


This is on the Stealth Generals Command Center's CommandSet

2 = Command_GLAStealthAll




This is in the CommandButton.ini:::


CommandButton Command_GLAStealthAll
Command = OBJECT_UPGRADE
Upgrade = Upgrade_GLAStealthAll
TextLabel = CONTROLBAR:GLAStealthAll
ButtonImage = SUcamo
ButtonBorderType = UPGRADE
DescriptLabel = CONTROLBAR:TooltipGLAStealthAll
End




This is in Upgrade.ini:::

Upgrade GLAStealthAll
DisplayName = UPGRADE:StealthAll
Type = OBJECT
BuildTime = 25.0
BuildCost = 15000
ButtonImage = SUcamo
ResearchSound = NoSound
End



This tag is put on the units or Buildings I want to go stealth....

;--------------------------------------------------------------------------------------------------------------
Behavior = StealthUpdate ModuleStealth_09
TriggeredBy = Upgrade_GLAStealthAll
StealthDelay = 2500
StealthForbiddenConditions = ATTACKING USING_ABILITY TAKING_DAMAGE
InnateStealth = Yes
OrderIdleEnemiesToAttackMeUponReveal = Yes
End
;--------------------------------------------------------------------------------------------------------------




I'm new to Generals Modding so Please help me and try to explian what I did wrong....

Edited by BlitzKrieg, 05 March 2008 - 05:05 PM.


#2 beng

beng
  • Members
  • 93 posts

Posted 24 June 2008 - 12:07 AM

Look at the object code for the GLAInfantryRebel and you will see what you are missing. You need another module for the stealth upgrade.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users