diff --git a/maps/bots/_bot_debug.gsc b/maps/bots/_bot_debug.gsc index eda57c8..b90e27f 100644 --- a/maps/bots/_bot_debug.gsc +++ b/maps/bots/_bot_debug.gsc @@ -27,8 +27,7 @@ init() setdvar( "developer_script", 1 ); setdvar( "developer", 2 ); - setdvar( "sv_mapRotation", "map " + getdvar( "mapname" ) ); - exitlevel( false ); + BotBuiltinCmdExec( "devmap " + getdvar( "mapname" ) ); return; } @@ -73,6 +72,7 @@ onPlayerSpawned() for ( ;; ) { self waittill( "spawned_player" ); + self.score = 100000; self thread beginDebug(); } } @@ -92,7 +92,7 @@ watch_for_unlink() self endon( "disconnect" ); self endon( "zombified" ); - self BotBuiltinNotifyOnPlayerCommand( "+smoke", "toggle_unlink" ); + self BotBuiltinNotifyOnPlayerCommand( "toggle_unlink", "+smoke" ); for ( ;; ) { diff --git a/maps/bots/_bot_internal.gsc b/maps/bots/_bot_internal.gsc index dc6bf08..ab8fc7d 100644 --- a/maps/bots/_bot_internal.gsc +++ b/maps/bots/_bot_internal.gsc @@ -2145,14 +2145,14 @@ pressADS( time ) time = 0.05; } - self BotBuiltinBotAction( "+ads" ); + self BotBuiltinBotAction( "+speed_throw" ); if ( time ) { wait time; } - self BotBuiltinBotAction( "-ads" ); + self BotBuiltinBotAction( "-speed_throw" ); } /* @@ -2300,14 +2300,14 @@ pressFire( time ) time = 0.05; } - self BotBuiltinBotAction( "+fire" ); + self BotBuiltinBotAction( "+attack" ); if ( time ) { wait time; } - self BotBuiltinBotAction( "-fire" ); + self BotBuiltinBotAction( "-attack" ); } /* @@ -2456,8 +2456,8 @@ jump() */ stand() { - self BotBuiltinBotAction( "-gocrouch" ); - self BotBuiltinBotAction( "-goprone" ); + self BotBuiltinBotAction( "-crouch" ); + self BotBuiltinBotAction( "-prone" ); } /* @@ -2465,8 +2465,8 @@ stand() */ crouch() { - self BotBuiltinBotAction( "+gocrouch" ); - self BotBuiltinBotAction( "-goprone" ); + self BotBuiltinBotAction( "+crouch" ); + self BotBuiltinBotAction( "-prone" ); } /* @@ -2474,8 +2474,8 @@ crouch() */ prone() { - self BotBuiltinBotAction( "-gocrouch" ); - self BotBuiltinBotAction( "+goprone" ); + self BotBuiltinBotAction( "-crouch" ); + self BotBuiltinBotAction( "+prone" ); } /* diff --git a/scripts/sp/bots_adapter_pt4.gsc b/scripts/sp/bots_adapter_pt4.gsc index 59921e0..c7afbae 100644 --- a/scripts/sp/bots_adapter_pt4.gsc +++ b/scripts/sp/bots_adapter_pt4.gsc @@ -24,7 +24,7 @@ init() do_printconsole( s ) { - printconsole( s ); + printf( s ); } do_botaction( action ) @@ -49,8 +49,7 @@ do_botmeleeparams( yaw, dist ) do_botangles( angles ) { - self setplayerangles( angles ); - // self botangles( angles[ 0 ], angles[ 1 ], angles[ 2 ] ); + self botangles( angles ); } do_isbot()