mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-21 21:45:43 +00:00
wp edit
This commit is contained in:
parent
7141857212
commit
f88b8295ca
@ -722,6 +722,8 @@ load_waypoints()
|
||||
level.waypoints[i].bots = [];
|
||||
level.waypoints[i].bots["allies"] = 1;
|
||||
level.waypoints[i].bots["axis"] = 1;
|
||||
|
||||
level.waypoints[i].childCount = level.waypoints[i].children.size;
|
||||
}
|
||||
|
||||
level.waypointsKDTree = WaypointsToKDTree();
|
||||
|
@ -36,10 +36,11 @@ init()
|
||||
setDvar("bots_main_debug_drawThrough", false);
|
||||
|
||||
setDvar("player_sustainAmmo", 1);
|
||||
|
||||
level.waypoints = [];
|
||||
level.waypointCount = 0;
|
||||
|
||||
level waittill( "connected", player);
|
||||
|
||||
DeleteAllWaypoints();
|
||||
player thread onPlayerSpawned();
|
||||
}
|
||||
|
||||
@ -63,7 +64,7 @@ StartDev()
|
||||
self.nearest = -1;
|
||||
|
||||
self takeAllWeapons();
|
||||
self giveWeapon("usp_tactical_mp");//to knife windows
|
||||
self giveWeapon("m16_gl_mp");//to knife windows
|
||||
self giveWeapon("javelin_mp");//to mark jav spots
|
||||
self SetOffhandPrimaryClass( "other" );
|
||||
self giveWeapon("semtex_mp");
|
||||
|
Loading…
x
Reference in New Issue
Block a user