Hi Sc2mapster community,
i am currently working on a first person shooter, and i just cant get my marine to shoot while moving.
I use the WASD engine and Traceline engine from rrowland and use Dummies for my combat system; id like to get my marine to continue shooting when i move it via WASD.
I tried setting weapon to moving and unchecking the 2 boxes with the firing at attack thingy, but nothing helped.
If its not possible at all, i could also use an animation-based combat system, although id prefer using my 'attack dummy' system.
Either way, i need help from some1!!! TYVM!!!
He already mentioned the •Only Fire At Attack Target and •Only Fire While Attacking fields. He is aiming to use the wasd system which involves triggers so this post should probably be moved to the trigger forum.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Sounds to me like the dummy weapon actor will only turn when the unit isn't moving. I would look into the actors maybe, they are usually the root of all visual problems...
However it does sound like one of the flags in the weapon is turned off, so I would keep looking into that. Maybe look into the effects as well, just in case there is a problem with those.
ty, looking forward to more infos, Data editor would be the ideal solution
@DrSuperEvil
Does the wasd movement really affect the way of getting a unit to shoot and move at the same time?
@TacoManStan
I dont think there is a problem with the dummy, but ill test the 'standard flags' (weapon on 'moving' and target thingy) again in a new map with a clean data editor
Another idea i had: is it possible to create an ability that makes the unit shoot once and that can be casted while moving? Cuz then u could just use that instead of ordering the marine to attack..
EDIT:
Ok so i tested the standard flags mentioned above, and they do work, but only if the target unit moves, so that the marine kinda slides behind his target and keeps shooting. But if i want to move the marine, it stops shooting, probably cuz u replace the order 'Attack' with 'Move'. Is there a way of making the unit separate the two orders like: 'You attack when I tell u to attack, no matter what else ur doing!' so that he can do both? Or is the only solution to order him to move and just animate the attacking?
This doesn't solve the two orders thing, but another thing you could do is simulating the attack order by some actor work and applying the weapon damage effect via trigger (and turn the trigger of for the weapons reload time).
This would require 5 actions instead of the 1 order action:
Hi Sc2mapster community, i am currently working on a first person shooter, and i just cant get my marine to shoot while moving. I use the WASD engine and Traceline engine from rrowland and use Dummies for my combat system; id like to get my marine to continue shooting when i move it via WASD. I tried setting weapon to moving and unchecking the 2 boxes with the firing at attack thingy, but nothing helped. If its not possible at all, i could also use an animation-based combat system, although id prefer using my 'attack dummy' system. Either way, i need help from some1!!! TYVM!!!
@SilentStormXx: Go in the data editor weapons you should find ways to turn that off.
hang on ill give you more info in a second...
He already mentioned the •Only Fire At Attack Target and •Only Fire While Attacking fields. He is aiming to use the wasd system which involves triggers so this post should probably be moved to the trigger forum.
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
Sounds to me like the dummy weapon actor will only turn when the unit isn't moving. I would look into the actors maybe, they are usually the root of all visual problems...
However it does sound like one of the flags in the weapon is turned off, so I would keep looking into that. Maybe look into the effects as well, just in case there is a problem with those.
Great to be back and part of the community again!
Thanks for fast responses!!!!
Another idea i had: is it possible to create an ability that makes the unit shoot once and that can be casted while moving? Cuz then u could just use that instead of ordering the marine to attack..
EDIT: Ok so i tested the standard flags mentioned above, and they do work, but only if the target unit moves, so that the marine kinda slides behind his target and keeps shooting. But if i want to move the marine, it stops shooting, probably cuz u replace the order 'Attack' with 'Move'. Is there a way of making the unit separate the two orders like: 'You attack when I tell u to attack, no matter what else ur doing!' so that he can do both? Or is the only solution to order him to move and just animate the attacking?
This doesn't solve the two orders thing, but another thing you could do is simulating the attack order by some actor work and applying the weapon damage effect via trigger (and turn the trigger of for the weapons reload time). This would require 5 actions instead of the 1 order action:
Tested this with the map you uploaded and it seemded to work. Attached an image with the modified version of your attack trigger.
Thank you so much!!!! ill try it soon and let u know if it works
EDIT: OMFG! TYVM! it works perfectly!!!!! :D :D :D