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.
[02:43 am]
Symmetry -- I'm doing my best, damn it
[2026-9-28. : 4:46 pm]
Ultraviolet -- @:@
@:@ shouted: this community still going strong?
Still going.. strong is debatable though.
[2026-9-28. : 4:13 pm]
WeirdoX4857 -- I can't believe this is really been around since 2003 but it does look classic and old asf still better than talking to kids on discord ranting about skibidi toilet and sexuality or whatever mental illness is going on in their heads
[2026-9-28. : 4:11 pm]
WeirdoX4857 -- Nigga how you ask is it still going strong when you get a text every 3 miles per hour or something
[2026-9-28. : 4:10 pm]
WeirdoX4857 -- Where is everybody
[2026-9-28. : 1:21 pm]
@:@ -- this community still going strong?
[2026-9-27. : 4:30 pm]
Oh_Man -- yeah, probs
[2026-9-27. : 3:11 pm]
NudeRaider -- I bet it just needs another training session against pros instead of only against itself and nobody will be able to stop it anymore.
[2026-9-27. : 3:09 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
so it can be beaten by a prepared pro, even in macro games, if only barely. the muta micro in particular seems really hard to handle for protoss ground though. In the open goons can't catch them, in the base they trip over buildings, it just instantly flies out of storms and they fly circles around archons. Mass cannons do work, but can't cover the whole map with it. Probably need mass corsair to counter and hope you can outmaneuver all the scourge.
[2026-9-27. : 2:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
Please log in to shout.


Members Online: O)FaRTy1billion[MM]