Waypoint Editor.....................................................................
..............
In order to use the waypoint editor you must start PeZBOT in dev mode by putting "+set svr_pezbots_mode dev" on your
command line. Waypoints are represented by a colored vertical line, links between waypoints are represented by blue
lines. All waypoints have a radius around them which you have to be within to modify them. When you are in
range of a waypoint the line color will pulse to let you know you are in range.
Controls:
Attack Button:--- Add waypoint.
Ads Button:------ Delete waypoint.
Use Button:------ Start Link/Confirm Link.
Frag Button:----- Start Link/Remove Link.
Melee Button:---- Save waypoints to console_mp.log in PeZBOT mod folder.
Waypoint Colors:
Red:------------- Waypoint with no children, this is bad, link it to another waypoint.
Purple:---------- Waypoint with one child, this is not so bad however it is a dead end, these are especially good for
getting the bots to go to the right place up next to the radios in headquarters.
Green:----------- Waypoint with more than one child, these are safe.
Usage:
Before you start, keep in mind that due to technical difficulties with cod4 you will NEED to send me your waypoint
files to patch them into the mod.ff.
I find the easiest way to use the editor is to first Add a waypoint, then press the Use Button while standing over
the waypoint, to start a link. Move to the position you would like to place the next waypoint, Add another waypoint,
then press the Use Button while standing over the waypoint to Confirm the Link. You should now see a blue line between
the two waypoints.
If you wish to remove a link between two waypoints; Stand over the first waypoint, press the frag button, move over
to the second waypoint and press the frag button again. The link is now removed.
To delete a waypoint, move over to it and press the Ads Button, the waypoint is now deleted, Note: deleting waypoints
also removes the links to all of the deleted waypoint's children.
Before saving look around the map and make sure that there a NO RED WAYPOINTS. There should be 99% green waypoints,
and some dead ends (mostly placed for specific reasons like getting close to typical camping spots)
To save waypoints to your mods/PeZBOT/console_mp.log, press the Melee Button. Usually you will need to press the save
button a few times for the log to output the entire buffer. You will see "Save Successful" on the bottom left of the
screen, this means some if not all waypoints were written to console_mp.log. Check to make sure all waypoints were written.
You can tell if they were all written by looking for a line starting with a number followed by a comma and the word end.
For example "169,end". The start of the waypoint list starts at the line beginning with "0," it should look something like
"0,1774.5 834.7 67.6,1 6,stand". The line above this has the name of the file you need to copy and paste the waypoints into.
Create a file with this name and copy all the lines from "0," through to "whatever,end", and paste them into the new file.
Final step is emailing the file to me at "perry_hart@hotmail.com". I'll patch the waypoints into the mod.ff and send you a
new mod.ff asap. It will probably contain a bunch of other waypoints for other custom maps also.
Appologies for such a difficult save method, however it was the only way to get data out of cod4, all files are loaded
AND saved into FF format. Meaning that if you want to save to a file, it is saved into the mod.ff, and you need to have an
empty file with that name in there already.. Which is just rediculous. Anyway.. there it is