1) I'm using WSAD and following camera for this map. W, A and D are ok but I'm not sure what is the best way to handle S (remember the camera is following the player character). Right now I made it such that S would turn the character 180 degree and the camera follow it slowly. Is there other way to handle the S key? (e.g. is it possible to walk backward like that in WoW?)
2) I see some maps have the health bar displayed on the top left corner. Is this done with Boss Bar trigger? I tried but it only display one health bar, which is combined from Shield and Life, and I failed to find a way to display Energy. How to make it display all three Shield, Life and Energy bar separately.
[solved] 3) I tried to create a cleave like ability that does damage to enemy units in front of the player character. In the Effect: Cleave (search), I set the Arc to 180. However, when tested the cleave always damage the enemy units on the "west side" of the player character. (i.e. when the character is facing north, units on his left hand side are damaged). What did I miss?
4) I added the attack animation to the cleave abiliy. As a result, the animation becomes crappy when I move the character and use Cleave at the same time. It will be frozen in the last frame of the attack animation and skate forward until I release the W key. What did I miss?
Actually I had read that tutorial before and my S movement was something similar to the reverse part of the tutorial. The effect is the unit will turn 180 degree. What I would like to do is the unit move backward without turning. Though I believe by now this is probably impossible unless Blizzard adds a movement backward animation in the future....
Unfortunately, the result of using that method isn't satisfactory. It uses trigger to force the unit to face forward at high frequency but the unit at the same time struggles to turn. The result is that the unit looks like it is shivering. Besides, since there is no animation for walking backward, the unit basically is doing MJ's moonwalk i.e. legs move like walking forward but the whole body is actually moving backward.
About the cleave ability. I think you can attach a region to you unit (and offset). So when you use the ability, you can do a "If Then Else" to see if any units are in the region. If then are, then do 10 dmg for example.
Thanks Neox. Actually I found a better solution but forgot to update the first post. All I needed to do was going to the Effect => Cleave (search) => Impact location => change the value to Source Unit
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I encountered a few problem making my new maps:
1) I'm using WSAD and following camera for this map. W, A and D are ok but I'm not sure what is the best way to handle S (remember the camera is following the player character). Right now I made it such that S would turn the character 180 degree and the camera follow it slowly. Is there other way to handle the S key? (e.g. is it possible to walk backward like that in WoW?)
2) I see some maps have the health bar displayed on the top left corner. Is this done with Boss Bar trigger? I tried but it only display one health bar, which is combined from Shield and Life, and I failed to find a way to display Energy. How to make it display all three Shield, Life and Energy bar separately.
[solved] 3) I tried to create a cleave like ability that does damage to enemy units in front of the player character. In the Effect: Cleave (search), I set the Arc to 180. However, when tested the cleave always damage the enemy units on the "west side" of the player character. (i.e. when the character is facing north, units on his left hand side are damaged). What did I miss?
4) I added the attack animation to the cleave abiliy. As a result, the animation becomes crappy when I move the character and use Cleave at the same time. It will be frozen in the last frame of the attack animation and skate forward until I release the W key. What did I miss?
Thanks in advance!
@Wakeman: Go
1) http://forums.sc2mapster.com/development/tutorials/1279-trigger-wasd-movement-the-s-key-and-you/ Look to the very bottom of the this tutorial under reverse.
2) You have to do dialogs for the separate bars. Learning how to do this is still on my to do list.
3 and 4 I don't know.
Thanks voodude.
Actually I had read that tutorial before and my S movement was something similar to the reverse part of the tutorial. The effect is the unit will turn 180 degree. What I would like to do is the unit move backward without turning. Though I believe by now this is probably impossible unless Blizzard adds a movement backward animation in the future....
How about 2) - 4) ? Anyone help?
@Wakeman: Go
Try here... http://forums.sc2mapster.com/development/tutorials/6223-trigger-default-minimap-and-commandcard-outside-the/
Thanks. I'll try to play with the dialog trigger thing.
@Wakeman: Go
Actually, there is a bit a little further up that explains how to keep the unit facing away from the screen while moving backwards.
@voodude2008: Go
Oh, indeed I missed that part.
Unfortunately, the result of using that method isn't satisfactory. It uses trigger to force the unit to face forward at high frequency but the unit at the same time struggles to turn. The result is that the unit looks like it is shivering. Besides, since there is no animation for walking backward, the unit basically is doing MJ's moonwalk i.e. legs move like walking forward but the whole body is actually moving backward.
@Wakeman: Go
About the cleave ability. I think you can attach a region to you unit (and offset). So when you use the ability, you can do a "If Then Else" to see if any units are in the region. If then are, then do 10 dmg for example.
-Neox
Thanks Neox. Actually I found a better solution but forgot to update the first post. All I needed to do was going to the Effect => Cleave (search) => Impact location => change the value to Source Unit