Jump to content


Photo

Deploying Units


  • Please log in to reply
3 replies to this topic

#1 Slye_Fox

Slye_Fox

    ConRed Mod Leader

  • Hosted
  • 1,357 posts
  • Location:London, UK
  • Projects:Sigma Invasion, CnC: Condition Red, Armoured Sky: Ethereal Dawn
  •  The fluffy fox of Revora.

Posted 05 July 2004 - 10:40 PM

How do I change this,
Posted Image
Into this
Posted Image

Any ideas?

#2 Dark Ruler of Chaos

Dark Ruler of Chaos
  • New Members
  • 56 posts
  • Location:In my Mind

Posted 21 July 2004 - 05:17 AM

Wont you need a deploying animation first?

#3 Corporal Upham

Corporal Upham
  • New Members
  • 17 posts

Posted 21 July 2004 - 05:44 AM

Perhaps this might help you:

Manual Deploy

For units to deploy like Siege tanks (from Starcraft) or TS Nod artillery:

;;In object.ini (or whatever other object INI)
  CommandSet = NemoraVehicleDefenderCommandSet

  Locomotor = SET_NORMAL InfernoLocomotor
  Locomotor = SET_NORMAL_UPGRADED None

  Behavior = ProductionUpdate ModuleTag_11
    ;nothing here
  End
  Behavior = WeaponSetUpgrade ModuleTag_12
    TriggeredBy = Upgrade_Deploy
  End
  Behavior = LocomotorSetUpgrade ModuleTag_13
    TriggeredBy = Upgrade_Deploy
  End
  Behavior = CommandSetUpgrade ModuleTag_14
    CommandSet = NemoraVehicleDefenderCommandSet_2
    TriggeredBy = Upgrade_UnDeploy
    RemoveUpgrades = Upgrade_Deploy
  End
  Behavior = CommandSetUpgrade ModuleTag_15
    CommandSet = NemoraVehicleDefenderCommandSet
    TriggeredBy = Upgrade_Deploy
    RemoveUpgrades = Upgrade_UnDeploy
  End


;;In Upgrade.ini
; deployment
Upgrade Upgrade_Deploy
  Type              = OBJECT
  BuildTime          = 0
  BuildCost          = 0
  ButtonImage        = SARadarUpgrade
End
Upgrade Upgrade_UnDeploy
  Type              = OBJECT
  BuildTime          = 0
  BuildCost          = 0
  ButtonImage        = SARadarUpgrade
End


;In CommandSet.ini
;-----
CommandSet NemoraVehicleDefenderCommandSet
  1 = Command_AttackMove
  2 = Command_Guard
  3 = Command_Stop
  5 = Command_Deploy
End

;-----
CommandSet NemoraVehicleDefenderCommandSet_2
  1 = Command_AttackMove
  2 = Command_Guard
  3 = Command_Stop
  5 = Command_UnDeploy
End


;In CommandButton.ini
CommandButton Command_Deploy
  Command          = OBJECT_UPGRADE
  Upgrade          = Upgrade_Deploy
  TextLabel        = CONTROLBAR:Stop
  DescriptLabel    = CONTROLBAR:Stop
  ButtonImage      = SACDozer
  ButtonBorderType = BUILD
End

CommandButton Command_UnDeploy
  Command          = OBJECT_UPGRADE
  Upgrade          = Upgrade_UnDeploy
  TextLabel        = CONTROLBAR:Stop
  DescriptLabel    = CONTROLBAR:Stop
  ButtonImage      = SACDozer
  ButtonBorderType = BUILD
End


If you want, you can give it a weaponset only available with PLAYER_UPGRADE, equating to a deploy-only weapon, like TS artillery or the seige tank's shock cannon.


Posted by kornlord283, at the DeeZire.net forums - http://www.deezire.n...t=6962&start=15

#4 GeneralValentine

GeneralValentine
  • New Members
  • 1 posts

Posted 29 May 2017 - 09:02 AM

Hey guys!

I was following the steps for a Deploy-Button, but it's not working.

In the game, the unit with the button: "Stopp - can't buy this upgrade" and i can't click the button.

 

What is to do that is works?






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users