1) I want to make an ability i call 'lick wounds' for my zergling ... how do i make an actor of him dancing (or something that looks like a lick) ? All i can found are effects models ... How can i also make a ZZZZZZ over a target unit if i cast a 'sleepy ability' ?
2) I would like my Zergling hero to jump cliffs when he reaches his last level.
a) How can i change his model to a zergling with wings ?
b) If i want him to be able to jump cliffs, do i just have to add the reaper's behavior ??? If not, could you explain how to do it ???
1) Does the zergling model have an animation that you want? If not then make a .m3a file with it using the tutorial in the tutorials forum. If it does you need to go to the events of the Unit model for the zergling and get it to play the animation when you use the ability/effect of the ability.
For your second one there are two options. First you have have a Text actor attached to a Site (Mover) that moves up before fading (like resources when gathered). Second you ue a particle emmitter and retexture the emmitted particles (look at tutorial on the Texture Select By Id event action on the last few pages).
2) Give it a Jump behaviour and mover but use a requirement to disable the behaviour until you are the right level.
a) Use the Model Swap event action
b) The reaper uses a mover designed for the jump behaviour, trouble is when the behaviour is disabled it sometimes tries to go up cliffs even if it cant. One solution might be triggers or an upgrade to change the mover.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
For the 'lick' ability, i added the animation, but the problem is now that i don't know how to destroy the first zergling model, because when i cast the ability and even after that, there are multiple zergling models O.o
Oh and also ... can i hide the cost from the button for an 'instant-action' ability ? 3:
and for the jumping zergling, how can i replace the movers when the player learns the ability ?
For the 'lick' ability, i added the animation, but the problem is now that i don't know how to destroy the first zergling model, because when i cast the ability and even after that, there are multiple zergling models O.o
Oh and also ... can i hide the cost from the button for an 'instant-action' ability ? 3:
How did you do it? There shouldn't be multiple Zergling Models at all.
You just have to go to your Zergling actor, go into Events and depending on how your Lick Wounds ability works add a new event with Behavior.Lick.Start, Ability.Lick.SourceCastStart or Effect.Lick.Start and add Animation Play as an action to the event.
I know you are gonna tell me to make an 'animation done ==> Destroy', but it doesn't work either ... As soon as my ability is preparing (i have a 10s prepare time), the double model is here, and if i redo the model, i have 3 models etc ... 3:
I know you are gonna tell me to make an 'animation done ==> Destroy', but it doesn't work either ... As soon as my ability is preparing (i have a 10s prepare time), the double model is here, and if i redo the model, i have 3 models etc ... 3:
"Create" and "Destroy" are the actions that create/destroy the entire actor. This means every time you use "Create" more than once (for unit actors "Create" should pretty much only be used on Unit.Birth events) you will have multiple Zerglings.
Swap the Animation Play action with create and just delete the Actor Creation Event completely and it should work.
You don't need the second event, you don't have to use create at all for this. As I already said earlier, in case you have a Unit actor (like the Zergling) pretty much the only Event you will ever need "Create" for is Unit.Birth. Or if you want multiple stacked Zerglings on top of each other like you currently have.
Just get rid of "Create" and go for "Abil.SelfLick.SourcePrepStart" -> "Animplay Lick Fidget" and delete the whole second event.
Edit:
Sry in case I was misleading in the first post.
2 Questions :
1) I want to make an ability i call 'lick wounds' for my zergling ... how do i make an actor of him dancing (or something that looks like a lick) ? All i can found are effects models ... How can i also make a ZZZZZZ over a target unit if i cast a 'sleepy ability' ?
2) I would like my Zergling hero to jump cliffs when he reaches his last level.
a) How can i change his model to a zergling with wings ?
b) If i want him to be able to jump cliffs, do i just have to add the reaper's behavior ??? If not, could you explain how to do it ???
1) Does the zergling model have an animation that you want? If not then make a .m3a file with it using the tutorial in the tutorials forum. If it does you need to go to the events of the Unit model for the zergling and get it to play the animation when you use the ability/effect of the ability.
For your second one there are two options. First you have have a Text actor attached to a Site (Mover) that moves up before fading (like resources when gathered). Second you ue a particle emmitter and retexture the emmitted particles (look at tutorial on the Texture Select By Id event action on the last few pages).
2) Give it a Jump behaviour and mover but use a requirement to disable the behaviour until you are the right level.
a) Use the Model Swap event action
b) The reaper uses a mover designed for the jump behaviour, trouble is when the behaviour is disabled it sometimes tries to go up cliffs even if it cant. One solution might be triggers or an upgrade to change the mover.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
For the 'lick' ability, i added the animation, but the problem is now that i don't know how to destroy the first zergling model, because when i cast the ability and even after that, there are multiple zergling models O.o
Oh and also ... can i hide the cost from the button for an 'instant-action' ability ? 3:
and for the jumping zergling, how can i replace the movers when the player learns the ability ?
How did you do it? There shouldn't be multiple Zergling Models at all.
You just have to go to your Zergling actor, go into Events and depending on how your Lick Wounds ability works add a new event with Behavior.Lick.Start, Ability.Lick.SourceCastStart or Effect.Lick.Start and add Animation Play as an action to the event.
The action i want my zergling to perform is part of the zergling model (Fidget) ...
Here is a pic of my events : http://imgur.com/TBZRh
I know you are gonna tell me to make an 'animation done ==> Destroy', but it doesn't work either ... As soon as my ability is preparing (i have a 10s prepare time), the double model is here, and if i redo the model, i have 3 models etc ... 3:
"Create" and "Destroy" are the actions that create/destroy the entire actor. This means every time you use "Create" more than once (for unit actors "Create" should pretty much only be used on Unit.Birth events) you will have multiple Zerglings.
Swap the Animation Play action with create and just delete the Actor Creation Event completely and it should work.
@Bommes: Go
Hmmm tell me if what i did is ok because it still makes couple zerglings.
Events : http://imgur.com/u48NK
Result : http://imgur.com/QREtr
@MacSC2: Go
You don't need the second event, you don't have to use create at all for this. As I already said earlier, in case you have a Unit actor (like the Zergling) pretty much the only Event you will ever need "Create" for is Unit.Birth. Or if you want multiple stacked Zerglings on top of each other like you currently have.
Just get rid of "Create" and go for "Abil.SelfLick.SourcePrepStart" -> "Animplay Lick Fidget" and delete the whole second event.
Edit:
Sry in case I was misleading in the first post.
Thanks a lot for the help bro it works perfectly now :)
Btw ... do you know why my zergling hero portrait don't show up ? (it's a light pink square)
I have never used Heroes in a map, sorry :)
Ok thanks anyway for your help, you also learned me important things on actors :p
Zerg race hero portraits are bugged. There is a tutorial and fixed UI assets on how to fix it.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg