Waypoint files ( *.wpj ) contain the
knowledge of each bot of a map. The Joebot is able to play CS without waypoints,
but it'll just run to the next wall and follow the wall . A good waypoint file
is therefore the basis for a good CS - match.
Till now all the waypoint stuff has to be done manually axcept adding starting
points. In the next time, I'll try to implementate a system, which can learn
the map.
| Commands | |
|---|---|
| waypoint on/off | Displays/Hides Waypoints |
| waypoint add | adds waypoint with no special flags, if there aren't any special entities around |
| waypoint addstdwp | This command adds wp to the places, where the starting points are. u just have to connect them to the others |
| waypoint delete | Removes Waypoint |
| waypoint crouch | Toggles a flag to crouch here.
The main line of the WP is a bit more green.
|
| waypoint hostage/bomb | Toggles (XOR) a flag, that you'll
find the target there. A red cross over the WP is created.
|
| waypoint rescue | Toggles (XOR) a flag for rescue
zone. A green cross over the WP is created.
|
| waypoint sniper | Toggles (XOR) a flag to camp at
this location. The set flag results in two blue lines displayed on top of
the WP
|
| waypoint dontavoid | Toggles (XOR) a flag to supress
the avoid behavior, which makes the bot avoid obstacles.
|
| waypoint visit | Toggles (XOR) a flag to visit this location once in a while. The set flag results in four green lines on top of
the WP
|
| waypoint te/terror | Sets the next wp within 100 units
to team specific for the terrorist force. The WP contains now a light red
line perpendicular to the ground on the top.
|
| waypoint ct/counter | Sets the next wp within 100 units to team specific for the counter - terrorist force. The WP contains now a light blue line perpendicular to the ground on the top. ( see picture of waypoint sniper ) |
| waypoint nt/noteam | Resets any changes made by waypoint ct/te. Now a blue line is shown at top (see picture of waypoint rescue ) |
| pathwaypoint create1/create2 | Using this command you've to type pathwaypoint create1 at the beginning of your new path and mark the end of this path by typing pathwaypoint create2. Note that paths are NOT bidirectional ! |
| pathwaypoint remove1/remove2 | You'll know, if you've read pathwaypoint create1/create2 |