Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy to upgrade with cooldown and duration #12542

Closed
forcecore opened this issue Jan 4, 2017 · 4 comments
Closed

deploy to upgrade with cooldown and duration #12542

forcecore opened this issue Jan 4, 2017 · 4 comments
Labels

Comments

@forcecore
Copy link
Contributor

https://github.com/OpenRA/OpenRA/wiki/Actor-Upgrades

I have looked at upgrades and traits but it seems that I can't have a deploy special ability with cooldown, as in RA3.

What I have in mind is :
DeployToUpgrade:
DeployedUpgrades: invulnerability
Duration: 500
CanDeployOnRamps: yes
ChargeDelay: 1000
self iron curtain ability, which is a Soviet equivalent of self chronoshifting.

  • It has to have a Duration, otherwise the unit must "undeploy" to get un-ironcurtained.
  • It must have a charge delay, otherwise tanks can permanently re-ironcurtain itself as much as the player wants.

This feature may support many other features such as

  • Over-charging tanks so that they may gain rate of fire bonus for a brief moment
  • Transform into something for a while
  • Self heal rapidly for a few seconds, like Tsunami tanks in RA3
@forcecore forcecore changed the title Mod support for deploy to upgrade with cooldown and duration Feature request: deploy to upgrade with cooldown and duration Jan 4, 2017
@GraionDilach
Copy link
Contributor

I am okay with anyone shifting https://github.com/GraionDilach/OpenRA.Mods.AS/blob/master/Traits/Conditions/GrantTimedConditionOnDeploy.cs to upstream to fulfill this request. I won't do it myself though.

@GraionDilach
Copy link
Contributor

GraionDilach commented Jan 4, 2017

Note to whoever who would do this c'n'p-styled inclusion - it currently uses GrantConditionToDeploy as it's internal order name because I didn't wanted to duplicate UnitCommandWidget for this, so you have to fix that and include the unique order name in UCW's PerformDeploy list.

That, the change of headers and a short trait summary is all what needs to be done though.

@Mailaender Mailaender changed the title Feature request: deploy to upgrade with cooldown and duration deploy to upgrade with cooldown and duration Jan 5, 2017
@MustaphaTR
Copy link
Member

This i think is also required for Timed Cloak ability of D2K's Ordos Saboteurs.

@abcdefg30
Copy link
Member

Should be closed by #20824.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants