Posted: Fri Jun 27, 2014 10:32 am Post subject:
Larger radius cursor for upgraded Special power?
Subject description: What is a good way to do this?
I have a super weapon that upgrades itself so it can deliver stronger attacks over time. I am using the 'SpecialPowerDispatchSpecialPower' module along with upgrade requirements to do this.
The issue I am having is that if I want the attack to have a larger radius when upgraded, has far has I can tell there is no way to show that the radius is larger because the parent special power (which dispatches the child special powers which are divided and controlled via upgrades) controls the radius cursor. The child special powers having an increased radius cursor will make no difference, the parent special power takes precedent.
So a larger attack is possible, it is just that the players radius cursor will not show it has larger.
Is there a better way of achieving this?
I want the super weapon charge time to be continuous, which is to say that I do not believe that I can use a method that swaps the 'Gameobject' with another 'Gameobject' that looks the same via a 'ReplaceSelfUpgrade', because while this would allow for a complete new set of commands and special powers, it would also mean that the special powers timer would change (has far has I am aware, it would be a completely different special power after all).
Set up the special power which holds the timer in either your spellbook or the sw (might actually not be needed), then let the sw spawn a dummy (which gets replaced through the upgrades) which holds the actual usable special power and sync that up with the SHARED_SYNC flag (use a chained SP)
Works well except that there is a problem if it is a super weapon with a public timer (The timer will always show 'oo:oo' presumably because it cannot read the Define).
I guess there is no way around this using this method? _________________
You have to give the public timer to what in my example is SpecialPower__NodCommanderLaunchCloakingFieldTimer, not the power you want to actually launch.
The power with the weapon does not have a timer (so it displays 00:00). The command button only displays the time because of the timer power which is bound to it via the ChainedButton.
(btw if you want to ask a lot more questions you can add me on Skype (megumiazusa), might get faster that way) _________________ QUICK_EDIT
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum