EntitiesProjectile
click for full size image in pop-up window Projectile_Betty
 
Description
 
Bouncing Betty Projectile. This isn't an exploding mine trap, just a static model with a choice of 2 animations. It can, however, be used to create the illusion of a mine trap with the aid of triggers and scripting (see Notes below).
 
Keys
 
angle: initial orientation of model in game (default: 0).
angles: pitch, yaw, roll method of 3D orientation for model (default: 0 0 0).
model: name of entity's model definition file (betty.def). Do not change.
anim:
default "Idle" animation alias name of model. Points to a .sam animation file in the model's .def file. See Notes below.
scale: controls size of model in the game (ex: 1.0).
alpha: translucency of model in game. Values are from 0-1 (default: 1).
target: the entity this points to will be triggered when object is destroyed.
killtarget: the entity this points to will be removed when object is destroyed.
targetname:
name referred to when controlled by a script.

Spawnflags
 
1 NOT SOLID
2 NOT DAMAGEABLE

Notes

The anim key cannot be used directly to change the model's initial animation in the game. A script with animation commands (anim, nextanim, animate, etc.) must be used for this. For this particular model, there are 2 possible animations: idle and detonate.

However, changing the value of the anim key in SinEd by using the + and - buttons in the entity dialog and using the "Toggle animations" feature (CTRL-A) can be useful for browsing the model's different animations directly in the 3D view. This information can then be used to set the animation commands in the script to the desired animations.

Here's a simple way to create a mine trap with this model:

  1. Give it a targetname and set the anim key to "detonate". Make sure the NOT DAMAGEABLE spawnflag is NOT set.


  2. Create a trigger_once brush and place it somewhere near the mine or simply around it.


  3. Set the trigger's "thread" key to the name of a thread (explode_mine in this example) which contain the following commands:
explode_mine:
$mine flags +explode
$mine animate
wait 2
$mine kill
end


click for full size image in pop-up window Projectile_BettySpike
 
Description
 
Small spike projectile. Static model.
 
Keys
 
angle: initial orientation of model in game (default: 0).
angles: pitch, yaw, roll method of 3D orientation for model (default: 0 0 0).
model: name of entity's model definition file (bettyspike.def). Do not change.
scale: controls size of model in the game (ex: 1.0).
alpha: translucency of model in game. Values are from 0-1 (default: 1).
target: the entity this points to will be triggered when object is destroyed.
killtarget: the entity this points to will be removed when object is destroyed.
targetname:
name referred to when controlled by a script.

Spawnflags
 
1 NOT SOLID
2 NOT DAMAGEABLE

Notes


click for full size image in pop-up window Projectile_BulletShell
 
Description
 
Shell - Normal Bullet Casing. Static model.
 
Keys
 
angle: initial orientation of model in game (default: 0).
angles: pitch, yaw, roll method of 3D orientation for model (default: 0 0 0).
model: name of entity's model definition file (shell.def). Do not change.
scale: controls size of model in the game (ex: 1.0).
alpha: translucency of model in game. Values are from 0-1 (default: 1).
target: the entity this points to will be triggered when object is destroyed.
killtarget: the entity this points to will be removed when object is destroyed.
targetname:
name referred to when controlled by a script.

Spawnflags
 
1 NOT SOLID
2 NOT DAMAGEABLE

Notes


click for full size image in pop-up window Projectile_DrunkMissile
 
Description
 
Rocket. Static model with only one animation (idle) which make the rear fins revolve around the body of the rocket. The animation also produces a smoke effect coming from the rocket's exhaust. See Notes below.
 
Keys
 
angle: initial orientation of model in game (default: 0).
angles: pitch, yaw, roll method of 3D orientation for model (default: 0 0 0).
model: name of entity's model definition file (trocket.def). Do not change.
scale: controls size of model in the game (ex: 1.0).
alpha: translucency of model in game. Values are from 0-1 (default: 1).
target: the entity this points to will be triggered when object is destroyed.
killtarget: the entity this points to will be removed when object is destroyed.
targetname:
name referred to when controlled by a script.

Spawnflags
 
1 NOT SOLID
2 NOT DAMAGEABLE

Notes

Even though this model's idle animation is a moving animation (fins revoving around the rocket's body) and that the anim key is set to 'idle' by default when inserting the entity in a map, the model's animation will be frozen in the game until an 'animate' command is issued for it in the script. To start the animation, give the model a targetname and simply use the command:

$rocket animate


click for full size image in pop-up window Projectile_Grenade
 
Description
 
Grenade. Static model.
 
Keys
 
angle: initial orientation of model in game (default: 0).
angles: pitch, yaw, roll method of 3D orientation for model (default: 0 0 0).
model: name of entity's model definition file (grenade.def). Do not change.
scale: controls size of model in the game (ex: 1.0).
alpha: translucency of model in game. Values are from 0-1 (default: 1).
target: the entity this points to will be triggered when object is destroyed.
killtarget: the entity this points to will be removed when object is destroyed.
targetname:
name referred to when controlled by a script.

Spawnflags
 
1 NOT SOLID
2 NOT DAMAGEABLE

Notes


click for full size image in pop-up window Projectile_HVShell
 
Description
 
HV Chain Gun Shell. Static model
 
Keys
 
angle: initial orientation of model in game (default: 0).
angles: pitch, yaw, roll method of 3D orientation for model (default: 0 0 0).
model: name of entity's model definition file (hvshell.def). Do not change.
scale: controls size of model in the game (ex: 1.0).
alpha: translucency of model in game. Values are from 0-1 (default: 1).
target: the entity this points to will be triggered when object is destroyed.
killtarget: the entity this points to will be removed when object is destroyed.
targetname:
name referred to when controlled by a script.

Spawnflags
 
1 NOT SOLID
2 NOT DAMAGEABLE

Notes


click for full size image in pop-up window Projectile_Rocket
 
Description
 
Rocket. Static model.
 
Keys
 
angle: initial orientation of model in game (default: 0).
angles: pitch, yaw, roll method of 3D orientation for model (default: 0 0 0).
model: name of entity's model definition file (rocket.def). Do not change.
scale: controls size of model in the game (ex: 1.0).
alpha: translucency of model in game. Values are from 0-1 (default: 1).
target: the entity this points to will be triggered when object is destroyed.
killtarget: the entity this points to will be removed when object is destroyed.
targetname:
name referred to when controlled by a script.

Spawnflags
 
1 NOT SOLID
2 NOT DAMAGEABLE

Notes


click for full size image in pop-up window Projectile_ShotgunShell
 
Description
 
Shotgun Shell - Shotgun Casing. Static model.
 
Keys
 
angle: initial orientation of model in game (default: 0).
angles: pitch, yaw, roll method of 3D orientation for model (default: 0 0 0).
model: name of entity's model definition file (sgshell.def). Do not change.
scale: controls size of model in the game (ex: 1.0).
alpha: translucency of model in game. Values are from 0-1 (default: 1).
target: the entity this points to will be triggered when object is destroyed.
killtarget: the entity this points to will be removed when object is destroyed.
targetname:
name referred to when controlled by a script.

Spawnflags
 
1 NOT SOLID
2 NOT DAMAGEABLE

Notes


click for full size image in pop-up window Projectile_Skeet
 
Description
 
Skeet - Clay pigeon. Static model.
 
Keys
 
angle: initial orientation of model in game (default: 0).
angles: pitch, yaw, roll method of 3D orientation for model (default: 0 0 0).
model: name of entity's model definition file (skeet.def). Do not change.
scale: controls size of model in the game (ex: 1.0).
alpha: translucency of model in game. Values are from 0-1 (default: 1).
target: the entity this points to will be triggered when object is destroyed.
killtarget: the entity this points to will be removed when object is destroyed.
targetname:
name referred to when controlled by a script.

Spawnflags
 
1 NOT SOLID
2 NOT DAMAGEABLE

Notes


click for full size image in pop-up window Projectile_Spear
 
Description
 
Full size spear. Static model.
 
Keys
 
angle: initial orientation of model in game (default: 0).
angles: pitch, yaw, roll method of 3D orientation for model (default: 0 0 0).
model: name of entity's model definition file (spear.def). Do not change.
scale: controls size of model in the game (ex: 1.0).
alpha: translucency of model in game. Values are from 0-1 (default: 1).
target: the entity this points to will be triggered when object is destroyed.
killtarget: the entity this points to will be removed when object is destroyed.
targetname:
name referred to when controlled by a script.

Spawnflags
 
1 NOT SOLID
2 NOT DAMAGEABLE

Notes