jleips2600
New Member
- Reaction score
- 4
I know this is a bit of a hot topic (especially with all the TPS/FPS games being developed) but I still cant seem to find a good tutorial/information on this topic.
To explain in detail, I want to make a weapon that you press say the space bar, and your unit fires a weapon that shoots a projectile that goes straight until it hits something.
I also want to make this weapon/ability/effect through the data editor and not through triggers (as that seems to me to be the 'right' way of doing it now).
I understand the concept that it should be something along these lines:
With this, my unit doesn't fire anything, doesn't turn, no animation, no projectile create, nothing.
I basically tried to replicate what overload119 did here so I could alter it as I need:
http://www.thehelper.net/forums/showpost.php?p=1238361&postcount=31
If anyone could help explain his ability (or if overload119 himself would like to chime in ^^) I'd be very appreciative.
---Also---
I realize there should be a Mover to denote how the projectile moves, but I am unsure if the Mover should be under the Shoot Effect or the Bullet Unit.
To explain in detail, I want to make a weapon that you press say the space bar, and your unit fires a weapon that shoots a projectile that goes straight until it hits something.
I also want to make this weapon/ability/effect through the data editor and not through triggers (as that seems to me to be the 'right' way of doing it now).
I understand the concept that it should be something along these lines:
Code:
Shoot Ability (Effect Target)
-> Shoot Effect (EffectType: Launch Missile)
-> Button (so you can put it in command card)
Shoot Effect
-> Ammo Unit (the actual projectile or 'bullet')
Ammo Unit
-> Actor for the bullet
-> A Model to display
-> A Buff Type Behavior
-> Periodic Effect (Search area for targets)
-> Impact Effect (Do damage when target found)
and then have a trigger so when you press space bar, it orders the unit to use ability targeting the ground at point of unit with polar offset of unit's facing angle.
With this, my unit doesn't fire anything, doesn't turn, no animation, no projectile create, nothing.
I basically tried to replicate what overload119 did here so I could alter it as I need:
http://www.thehelper.net/forums/showpost.php?p=1238361&postcount=31
If anyone could help explain his ability (or if overload119 himself would like to chime in ^^) I'd be very appreciative.
---Also---
I realize there should be a Mover to denote how the projectile moves, but I am unsure if the Mover should be under the Shoot Effect or the Bullet Unit.