Staredit Network > Forums > SC2 Assistance > Topic: Combat Shield Apply lvl
Combat Shield Apply lvl
Jul 31 2011, 5:44 am
By: Septhiroth  

Jul 31 2011, 5:44 am Septhiroth Post #1



I am trying to give my Marine a Combat shield when he becomes level 2 veterancy. Currently I have tried changing the 'use shieldwall' requirements to counting my veterancy behavior, but its not working. Do anyone of you guys have any ideas how i can accomplish this?



None.

Jul 31 2011, 1:25 pm NicholasBeige Post #2



It's tricky to enable an upgrade for a unit through veterancy since upgrades apply to all units.

Your best bet would be to recreate the Combat Shield as a behaviour (Buff). Simply make it a buff that lasts forever, increases hitpoints by 10. You will need to modify the Combat Shield actor/model by creating a new actor of type ModelStyleContinuous (or something, don't have the editor open at the moment), so that this new actor has the 'birth' event triggered when the buff is applied to the marine. Then you simply add the buff to the unit once veterancy hits level 2.

If you need more help with this, just let me know and I'll fire open the editor.



None.

Aug 1 2011, 5:26 pm Septhiroth Post #3



Sorry, I dont really get it. XD



None.

Aug 1 2011, 5:28 pm NicholasBeige Post #4



Okay I'll spoon feed you.

*making video to upload now - will edit post in about 20 minutes*



None.

Aug 1 2011, 5:53 pm Septhiroth Post #5



Thank you. ^^



None.

Aug 1 2011, 6:32 pm NicholasBeige Post #6



Quote from name:Cardinal
Okay I'll spoon feed you.

*making video to upload now - will edit post in about 20 minutes*

Edit: I've got it working but I need to go make dinner now. Will post the solution soon.

Text version so long:
Create your veterancy behaviour (veterancy).
Create a Veterancy Combat Shield behaviour (buff) that modifies your units hitpoints and maybe armor.
Set your veterancy behaviour to enable the veterancy combat shield behaviour at your desired level.
Give both behaviours to your unit (marine I presume).
Add a validator to the Combat Shield behaviour that removes the behaviour unless the veterancy is at the desired level.
Create a trigger that fires when a unit gains a level.
Conditions check triggering behaviour == Veterancy Behaviour
Also check experience level of triggering unit (to your desired level)
Actions: send actor message to triggering unit "AnimClear Cover".

Basically, Marines use the shield as part of their base model file but it is hidden through an animation sequence called 'Cover'. When the upgrade is researched, the units are told to stop using the 'cover' animation, and then the shield appears.



None.

Aug 4 2011, 4:23 am Septhiroth Post #7



Ok i got it thanks.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[2024-4-19. : 1:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
[2024-4-18. : 10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
Please log in to shout.


Members Online: Oh_Man