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.
[07:41 pm]
Ultraviolet -- just sent you a message on Discord. I suspect you're probably trying to change unit speeds for units that don't use flingy.dat for movement (like any units that walk instead of hovering/flying). You can change their movement to flingy, but they unfortunately look more like they're gliding than walking when you do that.
[07:31 pm]
Symmetry -- EE2, I've been using setdatfile successfully for units.dat and weapons.dat but the flingy changes don't seem to happen
[05:25 pm]
Ultraviolet -- in EE2 you just open DatEdit, go to the flingy tab, and make whatever changes you want. Though if you want to do dynamic shit, you have to use the trigger editor with the setdatfile action. And of course you have to inject your changes when done. Can give more specific troubleshooting advice if you provide more details
[05:20 pm]
Ultraviolet -- Symmetry
Symmetry shouted: why can't I seem to make eud editor change flingy.dat D:
Are you using EE2 or EE3?
[04:57 pm]
Symmetry -- wdym
[02:24 pm]
Apos -- :wob:
[04:16 am]
NudeRaider -- files in c:\program files\ are protected
[2026-7-11. : 8:11 pm]
Symmetry -- why can't I seem to make eud editor change flingy.dat D:
[2026-7-11. : 4:33 pm]
Ultraviolet -- :wob:
[2026-7-10. : 11:00 pm]
Vrael -- :wob:
Please log in to shout.


Members Online: O)FaRTy1billion[MM], lil-Inferno, Symmetry