• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] fps

Status
Not open for further replies.
Level 2
Joined
Nov 14, 2008
Messages
21
So im makeing a fps i got the camera movement and stuff done but im not sure how to set up the shooting system. I want it to be so u push the button and if the other perosn is infront of u it hits them (up to certian distance)

basically so u can shoot and kill without selecting ppl any ideas?
 
Level 2
Joined
Nov 14, 2008
Messages
21
i set up the ability and it works except u have to select where to cast i want it to just be auto like u hit the button and it does it starting from the hero out to certian distance
 
Level 2
Joined
May 21, 2007
Messages
14
Just straight trigger it from a dummy ability that's instant cast, possible something off of channel, as that's my general fallback. Then just use triggers to check within a certain distance in front of the unit.
 
Level 10
Joined
Sep 21, 2007
Messages
517
Thing is, if you want it to look good you have to include a physics engine, spells like breath and wave wont make the bullet look good and just pass through unpassable terrain and walls or doodads. I also suggest, from experience, for you to let a player press a hotkez for a point targeting spell each time the player selects his shooter, and whenever it is used to let the player press the hotkey again so the ability doesnt deselect. Bnets cursor is especially good for this (the targeting one) so itll be no problem. I actually was doing an fps with a friend just a while ago and we had to stop so hope this advice was helpful Rep plx )
 
Status
Not open for further replies.
Top