SC2Mapster Forums

Development > Data

How to apply unpowered death model?

  • 9 posts
    #1 Nov 30, 2012 at 05:29 UTC - 0 likes

    Hey!

    I made a tower that uses power like a protoss building would. I managed to disable its abilities when unpowered, but since its not a protoss structure it has no "unpowered" model. I was lookin at the fleet beacon for reference on how could I add 1 to it. So I duplicated "fleet beacon death unpowered" model added to my towers actor's "Custom Death-Model" than added "Variation2" in "Custome Death-Name" and added this event in the actor "even send" : Unit Death Customize ; term: ValidateUnit CasterIsUnpoweredAndNotUnderConstruction ; action: Death Customize Variation2. This is how the fleet beacon is set so i thought it would work (btw i checked stargate as well and its exactly the same only the model is different), but it did not. I looked around, but couldnt find how "Variation2" connects to the death model....

    #2 Nov 30, 2012 at 18:01 UTC - 0 likes

    You are aware the unpowered visuals and associated events come from an Event Macro type actor used by the protoss buildings called Unpowered Anim.

    The Variation2 is an alias set in the Combat: Custom Death - Name field that is used to refer to the value of the same index in the Combat: Custom Death - Model field. It could be whippedcream or any string you feel like.

    Have you tried without the validating term under your events for now since that is more likely to be the cause of the problem.

    #3 Nov 30, 2012 at 19:00 UTC - 0 likes

    @DrSuperEvil: Go

    Hi DSE!

    Thx for the tip. I removed the validator unfortunetly that didn't do anything. I found the mentioned actor and changed the Power User Queue Small to my power user behavior (thats the only power user behavior i use) but nothing happend. I'm not too familiar with actor events other then attaching, scaling, morph and such basics. What exactly I need to do with this actor to connect it to my unpowered visual?

    Last edited Nov 30, 2012 by ElBushido
    #4 Nov 30, 2012 at 20:15 UTC - 0 likes

    Add it to the field just below events. The Event Macro type actor supplements the events of the actor with those of the macro. It is a good for saving time if you have several actors using identical events.

    It also does the colour change when unpowered.

    #5 Nov 30, 2012 at 21:30 UTC - 0 likes

    @DrSuperEvil: Go

    Thx a lot I put it in there, but still nothing...:( .

    #6 Nov 30, 2012 at 21:35 UTC - 0 likes

    Did you alter the power behaviour in any way?

    #7 Dec 01, 2012 at 03:18 UTC - 0 likes

    @DrSuperEvil: Go

    Yes. I made my own because a made 3 pylons with different ranges and needed to make a power source of my own to do that. Now i have "Power Queue Small" duplicated which i linked to the same power source as the pylons.

    In the "unpowered Anim" I changed all that was "Power User Queue Small" to "Power User Queue Small Mine" but I guess I'm missing a crutial point...

    Last edited Dec 01, 2012 by ElBushido
    #8 Dec 01, 2012 at 14:56 UTC - 0 likes

    Probably the start and stops. When you alter the Source Name field the Subname automatically defaults to any

    #9 Dec 01, 2012 at 19:44 UTC - 0 likes

    @DrSuperEvil: Go

    I fixed al the Start/stop stuff but still nothing.. I dont get it.. Anyways if you got enough of this its fine ill skip on it lol.

    Thx very much you help!

  • 9 posts

You must login to post a comment. Don't have an account? Register to get one!