Using Loc Files
Ever wished you could tell your teammates exactly where you are and exactly where you are going? Without all the trouble of typing it all up? Well, with locs (location identifiers) and binded messages, it is just a matter of pressing a key.
Loc files allow you to name certain areas of a map. These names can be retrieved dynamically with the
$loc_here and $loc_there variables. $loc_here will equal the name of the closest loc to where you stand. $loc_there will equal the name of the closest loc to where you are looking at.
Adding a loc
- Visit the location that you want to mark on the map in the game;
- Think of a good name (like "red base flag");
- Open the console and execute: loc_add "red base flag" (replace "red base flag" with the name you thought of);
- Repeat for every other location you want to use it at;
- After you are done, run loc_save or all your work goes to waste after you quit (note: if the save fails, and the map is in a subdirectory of the main maps folder, you need to make that subdirectory in
%PBALL%/locs)
Using the locs
- Execute the following binds in the console:
- To bind the key Q to say your current location: bind q say_team $$loc_here
- To bind the key E to say the location that you are looking at: bind e say_team $$loc_there
- Change Q and E to whatever keys you want it to be;
- Change "say_team" to "say" if you want to say your location to everyone instead of just your teammates.
NOTE: Notice that two dollar signs are used when you are binding it.
Have the locs show up in the game
You can have the locs you have created show in the game by executing cl_drawlocs 1 in the console. The locs will show as grey diamonds. The bouncing diamond is the loc that the game considers currently closest to you. If you are too far from a loc, it will not show. To have them all disappear again, execute cl_drawlocs 0 in the console.
Deleting locs
Go near the loc (you may want to turn on showing locs in-game) and execute loc_del in the console. Don't forget to do loc_save.
Sharing loc information
All the loc files are saved in %PBALL%/locs (that is the "locs" folder in the Paintball game folder). You can share the loc files for each map with other clan members and friends.

add_loc does not work
in anothe rpart of your site it says loc_add
Fixed.