Misc. Apocalypse Stuff Index
"color" is the palette color of the particles
"count" is the number of particles to make each time
"delay" is the delay between each triggering
"noise" is the name of the wav file to play when triggered
"movedir" is the vector distance that the particles will travel before disappearing.
"duration" is the amount of time that the it will continue to release particles so that it can release a long stream of particles with only one triggering.
RCAM_FREEZE forces the player to face in the direction of the camera's angles at all times and does not allow then to look around. The player's view direction is by default free to look around, but not if this is set.
RCAM_ALL makes all player in the level use the camera when it is triggered instead of just the player that activates the triggering. Can be used in simgle player to activate a camera when the player was not the activator of the triggering, allowing for several different triggering possibilities.
RCAM_TRACKING makes the camera view track its "target" entity. Allows panning scenes and turning security cameras. A good entity to use for the target entity for panning shots is the func_moving_light.
RCAM_SMOOTH makes the camera tracking smoother, but at the cost of doubling the number of calculation per second that it must do. Don't bother using if doing still or slow panning scenes.
RCAM_ALOWIMP allows the player to use impulses to activate trigger_impulse entities. Should allow for things like interactive cut scenes in mid-level. Does not enable any other impulse actions like weapons fire or weapon selection.
RCAM_MOVING makes the camera move along with the entity named in its "path" variable. It follows the target entities origin offset by "pos1".
RCAM_EXITABLE allows players to exit the remote camera view by pressing the fire button. This has no effect for a camera that's in a loop since the player must press the button to switch between the different cameras.
"model" is the model that the camera will be set to use. The camera defaults to using no model.
"target" is the entity that the camera will point at. If not used, then the camera's angles value is used.
"angles" sets the view angle of the camera if there is no "target" specified.
"spawnmodel" allows you to specify a weaponmodel to use. Doing this will allow for adding in things like monitor frames to make it appear that the player is looking at a computer monitor. If a "spawnmodel" is not specified, then no weaponmodel is displayed at all.
"path" is the name of the entity to move along with. RCAM_MOVING must also be set for this to work.
"pos1" is used while moving with another entity. It is the offset that the camera will be at relative to the other entity's origin. If set to '-1 -1 -1', it will be automatically calculated from the camera's starting position relative to the "path" entity's starting position. This allows for visual placement of the camera.
"target2" is not to be confused with "target". "target2" is used to specify that the camera is in a loop, and also the name of the next camera in that loop. This should be set to the "targetname" of the next camera in the loop for it to work properly. To designate the last camera in the loop, set this to "end". This will make the player exit the camera loop after pressing the fire button while using this last camera.
"message" is the message to display to the player when he uses the camera.
GLASS_SMOOTH is used when it moves like a train. This makes it move like a smooth train instead of a regular train.
GLASS_BLOCKABLE is used when it moves like a train. This makes it blockable when it's a smooth train.
GLASS_STARTOFF is used for when it is moving like a func_togglewall. This makes it start in the off position so that it is not there when the level begins.
GLASS_ONEHIT is for when the glass is destroyable. It makes it like a trigger_damage threshold in that it requires a single hit of "health" damage to destroy it. Damage taken is not acumulated.
"health" when set, the glass is destroyable and requires this amount of damage to destroy. The "event" will be triggered when the func_glass is destroyed.
"color" is the number of shards of glass to throw out when it is destroyed. The default number is set according to the size of the entity's brush model. Set this to -1 to make no pieces come out at all when it is destroyed. I would have used "count" for this like the rubble throwers do, but it's used for making clones when the glass entity is moving like a train. Yes, glass supports cloning too. :)
"event" is the targetname to trigger when the func_glass is destroyed.
"noise2" is the sound to play when it is destryoed. This defaults to a glass shattering sound.
ANIMATED makes it animate through a few specified frames.
STILLSTART will make an animating one start with its animation off.
"model" is the file name of the model to use. This can be either an actual model, or a sprite.
"angles" specified the pitch, yaw, and roll to place the model with.
"wait" is the delay between the different frames when being animated. Default value is 0.1.
"walkframe" is the number of the first frame to start animating at. Default is 0.
"count" is the number of frames to animate through. Default is 2.
"weaponframe" is the frame number to use when not animating. If this is not set, it will just stay with the frame that it was using when it was triggered to stop. To use frame 0 as the still frame, set this to - 1.
SITTING makes the player appear to be sitting while using the servomech. (currently makes the player stand with a gun instead of an axe)
NODMG makes the player impervious to damage while using this trigger_servomech.
"target" is the "target" value assigned to all the servomechs that are accessable through this trigger_servomech.
"targetname" is what must be used to specify the name for it to be targeted by. You can not use any of the other targetname variables.
"skin" sets the skin to use for the servomech.
SPAWN_SLEEPING makes the zombie start out lying down and asleep. It will get up and attack if the player gets near it.
SPAWN_DEAD makes the zombie start lying down and escentially dead. It will be changed to a sleeping state when triggered so that it can come to life.
TUR_STARTOFF makes the turret start out as inactive.
TUR_RETRACT makes the turret retract up into the ceiling when it is inactive and when it currently has no target.
TUR_OFFRET makes the turret retract into the ceiling only when it is inactive. It remain as normal when it has no enemy.
TUR_LASERS makes the turret fire lasers.
TUR_ROCKETS makes the turret fire rockets.
TUR_PPC makes the turret fire a phased plasma cannon.
"health" is the amount of health that the turret will have. Default is 100.
"rotate_type" is the starting tile angle of the gun. Default is 0, which is in a horizontal position. Valid values are from 0 to 90.
"skin" specifies the skin color that you want for the turret. Here's a list.
SPAWN_SLEEPING makes the zombie start out lying down and asleep. it will get up and attack if the player gets near it.
SPAWN_DEAD makes the zombie start lying down and escentially dead. It will be changed to a sleeping state when triggered so that it can come to life.