This entity allows you to create highly customisable shooters along the lines of the spikeshooter in regular Quake.
targetname
if set, will not start until triggered. Will also turn off when triggered again.
target
name of an entity (i.e. an info_notnull) to shoot towards. Theoretically, you could target monsters or func_trains… This is only the initial direction. If “tracking” is set, projectiles will eventually curve toward the activator.
wait
delay between shots
delay
delay for first shot
speed
determines the speed of the projectile
modelpath
specifies the model to use as a projectile. e.g “progs/gib.mdl”
tracking
0 = None, 1 = Vore style, 2 = Death Lord/Rocketeer style
style
0 = Flying, 1 = Ballistic (Explode on Impact), 2 = Bounce (noise2 sets bounce sound, duration sets fuse time)
mindamage
Defaults to 1. This is the least amount of damage the projectile will cause
maxdamage
If set, damage will be between ‘mindamage’ and ‘maxdamage’. Maxdamage is at least mindamage
dmg
Makes this projectile explode. Higher values increase radius and damage. (Player rockets are 120 for reference)
noise
Sets the sound to play when firing
noise1
Sets the sound to play when hitting
noise2
Sets the sound to play when bouncing (only applicable with style=2)
duration
How long the fuse should burn before exploding
multiplier
This is how much damage will be multiplied when the shooter hits func_breakables. This is so shooters can break func_breakables fast, without needed to be overpowering strong and kill the player in one shot.
flashlight
Whether projectile should glow, 0 = Don’t glow, 1 = glow
deathtype
String for obituary message, “was zapped by a trap” outputs “Player was zapped by a trap”
preset
Various preset values for common projectile settings. Preset settings simply replace default settings. Can be overridden selectively.
0 – No preset
1 – Player Rockets
2 – Player Grenades
3 – Player Plasma
4 – Player Nails
5 – Player Super Nails
Use key pair “modelpath” “progs/yourmodel.***” to set the projectile model. Sure to be corrected in the next release.
Well spotted, I’ll add that to the body now.
Trying to understand using tracking 1 and 2. Tracking 0 fires at the target, tracking 1 or 2 ignores the target and goes after the player. “If “tracking” is set, projectiles will eventually curve toward the activator.” Does this mean player only?
Another question. Is there a way to use the tarbaby explosion or info_bomb?
For an info_trap to fire, something has to trigger it. In Quake, the entity that touches a trigger or shoots a button is called the Activator – this is almost always one of the players. If you have a trigger that fires another trigger, the original player still counts as the Activator. This helps the tracking behave properly in Co-op mode,
You can get the explosive damage of the Tarbaby or The Bomb, but the visual effects are not available.