GtkRadiant Editor Manual


Appendix B: Entity Descriptions

Weapon Entities

weapon_bfg
Map Entity Color: blue
Dimensions: 32x32
Game Function: Big Freaking Gun. Default ammo load is 20.

weapon_gauntlet
Map Entity Color: blue
Dimensions: 32x32
Game Function: Melee weapon. No ammo. There is no reason to place this entity in a map.

weapon_ grapplinghook
Map Entity Color: blue
Dimensions: 32x32
Game Function: Grappling Hook. Spawns in the game and works but is unskinned. Does not use ammo.

weapon_grenadelauncher
Map Entity Color: blue
Dimensions: 32x32
Game Function: Lobs bouncing grenades. Comes with 10 grenades.

weapon_lightning
Map Entity Color: blue
Dimensions: 32x32
Game Function: Also called the "shaft" by some. Comes with 100 "shocks"

weapon_machinegun
Map Entity Color: blue
Dimensions: 32x32
Game Function: Player automatically starts with this. Comes with a default load of 100 "shots."

Design Tip: For a "Rocket Arena" type game, the designer may wish to use the target_give entity to "give" the player an ammo_bullets entity with a count of -100 to remove the machinegun from play.

weapon_plasmagun
Map Entity Color: blue
Dimensions: 32x32
Game Function: Comes with 50 shots.

weapon_railgun
Map Entity Color: blue
Dimensions: 32x32
Game Function: Comes with 10 slugs.

weapon_rocketlauncher
Map Entity Color: blue
Dimensions: 32x32
Game Function: Comes with 10 rockets.

weapon_shotgun
Map Entity Color: blue
Dimensions: 32x32
Game Function: Also called the "shaft" by some. Comes with 10 rockets.

Keys
wait: time in seconds before item respawns after being picked up (default 5, -1 = never respawn).
random: random time variance in seconds added or subtracted from "wait" delay (default 0 - see Notes).
count: sets the amount of ammo given to the player when weapon is picked up.
team: set this to team items. Teamed items will respawn randomly after team master is picked up (see Notes).
target: picking up the item will trigger the entity this points to.
targetname: a target_give entity can point to this for respawn freebies.
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
SUSPENDED : item will spawn where it was placed in map and won't drop to the floor. Bots will only be attracted to suspended entities if they are reachable by way of a jump pad or launch pad (trigger_push).

Notes
The amount of time it takes for an item in the team to respawn is determined by the "wait" value of the item that was picked up previously. So if one of the items in the team has it's "wait" key set to -1 (never respawn), the random respawning cycle of the teamed items will stop after that item is picked up.

When the random key is set, its value is used to calculate a minimum and a maximum delay. The final time delay will be a random value anywhere between the minimum and maximum values: (min delay = wait - random) (max delay = wait + random).

Worldspawn Entity

Worldspawn
Only used for the world. You access the worldspawn entity by selecting any non-entity brush in your map.

Keys
message: text to print at user logon. Used for name of level.
music: path/name of looping .wav file used for level's music (eg. music/sonic5.wav). This is for a piece of music with only one part. To make a song play with both an intro and a looping portion, the following is the correct form for the music value:

ambient: Adds a constant value to overall lighting. Use not recommended. Ambient light will have a tendency to flatten out variations in light and shade.
_color: This is the normalized formula for RGB values for ambient light. A value is considered normalized when it fits in a range between 0 and 1. If you are using a tool like the Windows color picker, divide the value for each component of the RGB values by 255. The result will be a normalized value.
gravity: gravity of level (default is normal gravity: 800).

Back | Home | Next