mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-21 21:45:43 +00:00
wpedit md
This commit is contained in:
parent
59864b8fea
commit
810e2ee9c8
@ -15,7 +15,7 @@ You can find the ModDB release post [here](https://www.moddb.com/mods/bot-warfar
|
||||
- [Credits](#Credits)
|
||||
|
||||
## Features
|
||||
- A Waypoint Editor for creating and modifying bot's waypoints of traversing the map. Have a look at [Using the Waypoint editor]().
|
||||
- A Waypoint Editor for creating and modifying bot's waypoints of traversing the map. Have a look at [Using the Waypoint editor](/userraw/bw-assets/wpedit.md).
|
||||
|
||||
- A clean and nice menu, you can edit every bot DVAR within in-game.
|
||||
|
||||
@ -65,11 +65,11 @@ You can find the ModDB release post [here](https://www.moddb.com/mods/bot-warfar
|
||||
## Documentation
|
||||
|
||||
### Menu Usage
|
||||
You can open the menu by pressing the Action Slot 2 key (default '5').
|
||||
- You can open the menu by pressing the Action Slot 2 key (default '5').
|
||||
|
||||
You can navigate the options by pressing your movement keys (default WASD), and you can select options by pressing your jump key (default SPACE).
|
||||
- You can navigate the options by pressing your movement keys (default WASD), and you can select options by pressing your jump key (default SPACE).
|
||||
|
||||
Pressing the menu button again closes menus.
|
||||
- Pressing the menu button again closes menus.
|
||||
|
||||
### DVARs
|
||||
- bots_manage_add - an integer amount of bots to add to the game, resets to 0 once the bots have been added.
|
||||
|
0
userraw/bw-assets/wpedit.md
Normal file
0
userraw/bw-assets/wpedit.md
Normal file
@ -127,6 +127,10 @@ watchAstarCommand()
|
||||
for (;;)
|
||||
{
|
||||
self waittill("astar");
|
||||
|
||||
if (1)
|
||||
continue;
|
||||
|
||||
self iprintln("Start AStar");
|
||||
self.astar = undefined;
|
||||
astar = spawnStruct();
|
||||
@ -136,7 +140,7 @@ watchAstarCommand()
|
||||
self iprintln("End AStar");
|
||||
astar.goal = self.origin;
|
||||
|
||||
astar.nodes = AStarSearch(astar.start, astar.goal, self.team, false);
|
||||
astar.nodes = AStarSearch(astar.start, astar.goal, undefined, true);
|
||||
self iprintln("AStar size: " + astar.nodes.size);
|
||||
|
||||
self.astar = astar;
|
||||
|
Loading…
x
Reference in New Issue
Block a user