mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-26 07:34:50 +00:00
formatting
This commit is contained in:
parent
54ad387568
commit
a14f7233b9
@ -12,16 +12,16 @@ Now if you want to modify existing or create new waypoints for PlutoniumIW5 maps
|
|||||||
## Setting up the Waypoint Editor
|
## Setting up the Waypoint Editor
|
||||||
The Bot Warfare mod comes with the Waypoint Editor out of the box, so its just a matter of telling the mod you want to use it. Its a matter of setting the 'bots_main_debug' DVAR to '1'.
|
The Bot Warfare mod comes with the Waypoint Editor out of the box, so its just a matter of telling the mod you want to use it. Its a matter of setting the 'bots_main_debug' DVAR to '1'.
|
||||||
|
|
||||||
Start your game, and load up the Bot Warfare mod. Now open your console with tilde(~).
|
Start your game, and load up the Bot Warfare mod. Now open your console with tilde(~).<br>
|
||||||

|

|
||||||
|
|
||||||
In the console, type in ```set bots_main_debug 1```
|
In the console, type in ```set bots_main_debug 1```<br>
|
||||||

|

|
||||||
|
|
||||||
Now start a match with the map you want to edit.
|
Now start a match with the map you want to edit.
|
||||||
|
|
||||||
## The Editor
|
## The Editor
|
||||||

|
<br>
|
||||||
This is the Waypoint Editor. You can view, edit and create the waypoint graph.
|
This is the Waypoint Editor. You can view, edit and create the waypoint graph.
|
||||||
- Each death icons you see are waypoints.
|
- Each death icons you see are waypoints.
|
||||||
- Each line of knives show the links between the waypoints, a link defines that a bot can walk from A to B.
|
- Each line of knives show the links between the waypoints, a link defines that a bot can walk from A to B.
|
||||||
@ -58,10 +58,10 @@ Pressing any of these buttons will initiate a command to the Waypoint Editor.
|
|||||||
|
|
||||||
Okay, now that you know how to control the Editor, lets now goahead and create some waypoints.
|
Okay, now that you know how to control the Editor, lets now goahead and create some waypoints.
|
||||||
|
|
||||||
Here I added a waypoint.
|
Here I added a waypoint.<br>
|
||||||

|

|
||||||
|
|
||||||
And I added a second waypoint.
|
And I added a second waypoint.<br>
|
||||||

|

|
||||||
|
|
||||||
There are several types of waypoints, holding a modifier button before pressing the add waypoint button will create a special type of waypoint.
|
There are several types of waypoints, holding a modifier button before pressing the add waypoint button will create a special type of waypoint.
|
||||||
@ -74,7 +74,7 @@ There are several types of waypoints, holding a modifier button before pressing
|
|||||||
- climb - bots will look at the angles you were looking at when you made the waypoint and climb (use this for ladders and mantles)
|
- climb - bots will look at the angles you were looking at when you made the waypoint and climb (use this for ladders and mantles)
|
||||||
- javelin - bots will use the javelin and lockon at the target location
|
- javelin - bots will use the javelin and lockon at the target location
|
||||||
|
|
||||||
Here I linked the two waypoints together.
|
Here I linked the two waypoints together.<br>
|
||||||

|

|
||||||
|
|
||||||
Linking waypoints are very important, it tells the bots that they can reach waypoint 1 from waypoint 0, and vice versa.
|
Linking waypoints are very important, it tells the bots that they can reach waypoint 1 from waypoint 0, and vice versa.
|
||||||
@ -83,19 +83,19 @@ Now go and waypoint the whole map out. This may take awhile and can be pretty te
|
|||||||
|
|
||||||
Once you feel like you are done, press the Save button. This will output the waypoints to your `games_mp.log` file.
|
Once you feel like you are done, press the Save button. This will output the waypoints to your `games_mp.log` file.
|
||||||
|
|
||||||
Your `games_mp.log` can be located at the `C:\Users\<LOGINNAME>\AppData\Plutonium\storage\iw5` folder.
|
Your `games_mp.log` can be located at the `C:\Users\<LOGINNAME>\AppData\Plutonium\storage\iw5` folder.<br>
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
The editor will generate some GSC code for the waypoints.
|
The editor will generate some GSC code for the waypoints.<br>
|
||||||
<br>
|
<br>
|
||||||
This is the GSC function that will generate the waypoints for the map. If you have trouble beyond this point, simply create a Issue and provide the output from here, I can do the rest from there.
|
This is the GSC function that will generate the waypoints for the map. If you have trouble beyond this point, simply create a Issue and provide the output from here, I can do the rest from there.
|
||||||
|
|
||||||
You can create/replace the map's waypoints GSC file with the function in `games_mp.log`. Just copy and paste the function into the `maps\mp\bots\waypoints\<MAPNAME>.gsc` file.
|
You can create/replace the map's waypoints GSC file with the function in `games_mp.log`. Just copy and paste the function into the `maps\mp\bots\waypoints\<MAPNAME>.gsc` file.<br>
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
The waypoints are loaded in the `maps\mp\bots\_bot_utility::load_waypoints()` function. Make changes accordingly to have Bot Warfare load your waypoints.
|
The waypoints are loaded in the `maps\mp\bots\_bot_utility::load_waypoints()` function. Make changes accordingly to have Bot Warfare load your waypoints.<br>
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user