mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 05:55:42 +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)
|
- [Credits](#Credits)
|
||||||
|
|
||||||
## Features
|
## 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.
|
- 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
|
## Documentation
|
||||||
|
|
||||||
### Menu Usage
|
### 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
|
### DVARs
|
||||||
- bots_manage_add - an integer amount of bots to add to the game, resets to 0 once the bots have been added.
|
- 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 (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
self waittill("astar");
|
self waittill("astar");
|
||||||
|
|
||||||
|
if (1)
|
||||||
|
continue;
|
||||||
|
|
||||||
self iprintln("Start AStar");
|
self iprintln("Start AStar");
|
||||||
self.astar = undefined;
|
self.astar = undefined;
|
||||||
astar = spawnStruct();
|
astar = spawnStruct();
|
||||||
@ -136,7 +140,7 @@ watchAstarCommand()
|
|||||||
self iprintln("End AStar");
|
self iprintln("End AStar");
|
||||||
astar.goal = self.origin;
|
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 iprintln("AStar size: " + astar.nodes.size);
|
||||||
|
|
||||||
self.astar = astar;
|
self.astar = astar;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user