env_shooter #
env_shooter is capable of shooting two types of objects - gibs and shots. The latter is an addition from Spirit of Half-Life and usually is used with sprites (although not necessary), while the former is designed to work with models.
Set the
Delay between shotsto negative value to makeenv_shooterproduce the specified number of projectiles on the same frame.
To set a sprite you may need to specify the path manually instead of relying on the open file dialog in the level editor.
New parameters #
Gib/Shot physics- define the physics of the projectile. Also this determines whetherenv_shootershots gibs or shots.
Start frame (shot)- start sprite frame. Only for shots.
Framerate (shot)- sprite framerate. Only for shots. Set to 10 or other value for animated sprites.
Bounce friction (shot)- friction when the projectile touches the ground. Only for shots.
Fire on collision (shot) (locus = shot)- a target to fire on collision, with shot acting as an activator.
Fire on collision (shot) (locus = wall)- a targer to fire on collision, with the collided entity acting as an activator.
Shot size (X Y Z)- the shot size. Must be 3 positive numbers.
New spawnflags #
Scale models- whether scaling is applied to the models. The reason why this behavior is not enabled by default is that some env_shooters in Half-Life set big scales, but model scaling is not implemented in Half-Life.Don't wait till land. By default gibs won’t start their lifetime countdown until they land on the ground. Tick this flag to start countdown right away, without waiting for landing.Start instantly- start producing projectile on the same frame it was called. By default in Half-Life it starts producing gibs/shots only on the next frame which may cause some problems.