mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2025-04-22 07:25:42 +00:00
enable some stubs
This commit is contained in:
parent
1419089ff5
commit
4e78d52da3
@ -215,16 +215,16 @@ doBotMovement_loop( data )
|
||||
}
|
||||
|
||||
// climb through windows
|
||||
/* if (self isMantling())
|
||||
{
|
||||
if ( self isMantling() )
|
||||
{
|
||||
data.wasMantling = true;
|
||||
self crouch();
|
||||
}
|
||||
else if (data.wasMantling)
|
||||
{
|
||||
}
|
||||
else if ( data.wasMantling )
|
||||
{
|
||||
data.wasMantling = false;
|
||||
self stand();
|
||||
}*/
|
||||
}
|
||||
|
||||
startPos = self.origin + ( 0, 0, 50 );
|
||||
startPosForward = startPos + vector_scale( anglesToForward( ( 0, angles[1], 0 ) ), 25 );
|
||||
@ -235,11 +235,11 @@ doBotMovement_loop( data )
|
||||
// check if need to jump
|
||||
bt = bulletTrace( startPosForward, startPosForward - ( 0, 0, 40 ), false, self );
|
||||
|
||||
/* if (bt["fraction"] < 1 && bt["normal"][2] > 0.9 && data.i > 1.5 && !self isOnLadder())
|
||||
{
|
||||
if ( bt["fraction"] < 1 && bt["normal"][2] > 0.9 && data.i > 1.5 && !self isOnLadder() )
|
||||
{
|
||||
data.i = 0;
|
||||
self thread jump();
|
||||
}*/
|
||||
}
|
||||
}
|
||||
// check if need to knife glass
|
||||
else if ( bt["surfacetype"] == "glass" )
|
||||
|
@ -376,6 +376,22 @@ isSecondaryGrenade( nade )
|
||||
return isSubStr( nade, "smoke_grenade_" );
|
||||
}
|
||||
|
||||
/*
|
||||
CoD2
|
||||
*/
|
||||
isMantling()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
CoD2
|
||||
*/
|
||||
isOnLadder()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
CoD2
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user