|
Here's a quick tutorial on getting locations in your ctf maps.
Target_locations
are the entities that identify your position in a
ctf game.

Once
all of the geometry is complete, think of creative
names for the areas of your map i.e. red base, gun
room etc..

Once
you know what you want an area to be called create a
target_location entity.

Hit
N to bring up the entity window.

Message
is the name of the location. Count is the color of
the name in a say_team message.
The colours are:
 | 0
: white (default)
 | 1
: red
 | 2
: green
 | 3
: yellow
 | 4
: blue
 | 5
: cyan
 | 6
: magenta
 | 7
: white
 | |
| | | | | | | |
Once you've entered a name (and
color if you want) copy
the entity and put it around your room. In the
middle, in the corners and at any entrances to the
room.
The reason you do this is so that youre always in
the room it says you are. It goes by the closest
target_location eg. If you were in the blue base,
but kinda close to the neutral area it would say
that you were in the neutral zone.
MAKE SURE EVERY ROOM HAS TARGET_LOCATIONS IN THEM!
If not it will use the closest one instead.
Questions?
rucku5@hotmail.com
Further
Design Tips from the Radiant Manual: The target
locations are "line-of-sight." If a player
can "see" it, and that target is the
closest to the player, then that location message is
displayed. Be conservative in placing location
markers. Because of the way the location code is
implemented, it causes a large amount of data to be
transmitted regularly. It has been explained that
the game server has to constantly keep track of,
and update to the clients, a data table equal to all
the location markers multiplied by all the players.
Not only that, but it must calculate line of sight
from players to location markers and calculate the
distance from the location marker. Place the target
locations in such a way that the entity can be
"seen" from most, if not all, the
positions that a player can stand in when it is
inside that area. Fewer are better, even if it means
that occasionally, a team mate is in an unknown
location.
|