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.
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Roy