GtkRadiant Editor Manual: Appendix B6

# GtkRadiant Editor Manual

# Appendix B: Entity Descriptions

## Misc_* Entities

misc_model
Map Entity Color: red
Dimensions: (-16 -16 -16) (16 16 16)
Game Function: Generic, one-size-fits-all placeholder for inserting .md3 models in game. Requires compilation of map geometry to be added to level.

Keys
angle: direction in which model will be oriented.
model : path/name of model to use (eg: models/mapobjects/teleporter/teleporter.md3).*/

Notes
This is a premade mesh model, created in a program like Kinetix's 3d Studio Max. It is a static (non-animating) model. Shaders can give it the appearance of motion, but no animation. The models should be stored in a directory with the pathname: models/mapobjects. The process by which models are made is not a part of this document. Currently, models only have rotation on the Z axis.

Models do not "clip" against players or weapon hits. They are entirely non-solid. If clipping is important, The user will need to build clip brushes that are roughly the size and shape of the models.

Do not use the flip or rotate tools on models. Only use the entity facing buttons or manually change the angle value. The purple "3d crosshair" is the origin point of the model.

Make it: Right mouse press on a map window to bring up the floating entity selector. Select misc_model. A selection dialogue box will open giving access to available .md3 files. Select the one you want and it will load into the map. Now, hit "n" to open the entity window. Click on the "model" key in the key list box. Now edit the value field to remove part of the line.

Example: "c://program files/quake III arena/baseq3/models/mapobjects/storch.md3"

… should be edited to read:

"models/mapobjects/storch.md3"

misc_portal_camera
Map Entity Color: light orange
Dimensions: (-8 -8 -8) (8 8 8)
Game Function: Portal camera. This camera is used to project its view onto a portal surface in the level through the intermediary of a misc_portal_surface entity. Use the "angles" key or target a target_position or info_notnull entity to set the camera's pointing direction.

Keys
angles: this sets the pitch and yaw aiming angles of the portal camera (default 0 0). Use "roll" key to set roll angle.
target: point this to a target_position entity to set the camera's pointing direction.
targetname: a misc_portal_surface portal surface indicator must point to this.
roll: roll angle of camera. A value of 0 is upside down and 180 is the same as the player's view.
notfree: when set to 1, entity will not spawn in "Free for all" and "Tournament" modes.
notteam: when set to 1, entity will not spawn in "Teamplay" and "CTF" modes.
notsingle: when set to 1, entity will not spawn in Single Player mode (bot play mode).

Check Boxes/Spawnflags
SLOWROTATE : makes the portal camera rotate slowly along the axis of camera to target or (selected direction).
FASTROTATE : makes the portal camera rotate faster along the axis of camera to target or (selected direction)..

Notes

- Both the setting "angles" key or "targeting a target_position" methods can be used to aim the camera. However, the target_position method is simpler. In both cases, the "roll" key must be used to set the roll angle. Generally, this is adjusted after compiling the map at least once.
- If either the SLOWROTATE or FASTROTATE spawnflag is set, then the "roll" value is irrelevant.

misc_portal_surface
Map Entity Color: light orange
Dimensions: (-8 -8 -8) (8 8 8)
Game Function: Portal surface indicator. This will "lock on" the brush face closest to it and identify as a portal. The view displayed on the portal surface is the view of the misc_portal_camera that this entity targets. Also used for mirrors (see Notes).

Keys
target: point this to a misc_portal_camera that "sees" the view you want to display on the portal.
notfree: when set to 1, entity will not spawn in "Free for all" and "Tournament" modes.
notteam: when set to 1, entity will not spawn in "Teamplay" and "CTF" modes.
notsingle: when set to 1, entity will not spawn in Single Player mode (bot play mode).

Notes

- The entity must be no farther than 64 units away from the portal surface to lock onto it.
- To make a mirror, apply the common/mirror shader to the surface, place this entity near it but don't target a misc_portal_camera.
- When used as a mirror, the mirror surface will display what the entity can "see."

misc_teleporter_dest
Map Entity Color: red
Dimensions: (-32 -32 -24) (32 32 -16)
Game Function: Teleport destination location point for trigger_teleporter entities. A "target_position" can also be used for this.

Keys
angle: direction in which player will look when teleported.
targetname: make the trigger_teleporter point to this.
notfree: when set to 1, entity will not spawn in "Free for all" and "Tournament" modes.
notteam: when set to 1, entity will not spawn in "Teamplay" and "CTF" modes.
notsingle: when set to 1, entity will not spawn in Single Player mode (bot play mode).

Notes
In most cases, this is replaced by the "target_position" entity.

## Path_* Entities

path_corner
Map Entity Color: brown
Dimensions: (-8 -8 -8) (8 8 8)
Game Function: Path corner entity that define the routes that func_trains can be made to follow.

Keys
target: point to next path_corner in the path.
targetname: the train following the path or the previous path_corner in the path points to this.
speed: speed of func_train (in game units per second) while moving to the next path corner. This will override the speed value of the train.
wait: number of seconds func_train will pause on path corner before moving to next path corner (default 0 - see Notes).
notfree: when set to 1, entity will not spawn in "Free for all" and "Tournament" modes.
notteam: when set to 1, entity will not spawn in "Teamplay" and "CTF" modes.
notsingle: when set to 1, entity will not spawn in Single Player mode (bot play mode).

Notes

- Setting the wait key to -1 will not make the train stop on the path corner, it will simply default to 0.
- The center of the origin brush in the func_train follows the path.

## Shooter_* Entities

shooter_grenade
Map Entity Color: red-violet
Dimensions: (-8 -8 -8) (8 8 8)
Game Function: This will shoot a grenade each time it's triggered. Aiming is done by setting the "angles" key or by targeting an info_notnull or target_position entity.

shooter_plasma
Map Entity Color: red-violet
Dimensions: (-8 -8 -8) (8 8 8)
Game Function: This will shoot a plasma ball each time it's triggered. Aiming is done by setting the "angles" key or by targeting an info_notnull or target_position entity.

shooter_rocket
Map Entity Color: red-violet
Dimensions: (-8 -8 -8) (8 8 8)
Game Function: This will shoot a rocket each time it's triggered. Aiming is done by setting the "angles" key or by targeting an info_notnull or target_position entity.

Keys
angles: this sets the pitch and yaw aiming angles of shooter (default 0 0). The roll angle does not apply.
targetname: activating trigger points to this.
target: this points to a target_position entity for aiming the grenades.
random: random aiming variance in degrees from the straight line to the targeted entity (default 0 - see Notes).
notfree: when set to 1, entity will not spawn in "Free for all" and "Tournament" modes.
notteam: when set to 1, entity will not spawn in "Teamplay" and "CTF" modes.
notsingle: when set to 1, entity will not spawn in Single Player mode (bot play mode).

Notes

- When the random key is set, its value is used to calculate a maximum angle deviation from the normal trajectory formed by a straight line between the shooter and the aiming entity it targets. The final trajectory will be a random value anywhere between no deviation at all (0) to maximum deviation (value of the random key).
- Both the setting "angles" key or "targeting a target_position" methods can be used to aim the shooter. However, the target_position method is simpler.*/

Back | Home | Next