enable some stubs

This commit is contained in:
ineedbots 2021-09-06 18:01:59 -06:00
parent 1419089ff5
commit 4e78d52da3
2 changed files with 25 additions and 9 deletions

View File

@ -215,7 +215,7 @@ doBotMovement_loop( data )
} }
// climb through windows // climb through windows
/* if (self isMantling()) if ( self isMantling() )
{ {
data.wasMantling = true; data.wasMantling = true;
self crouch(); self crouch();
@ -224,7 +224,7 @@ doBotMovement_loop( data )
{ {
data.wasMantling = false; data.wasMantling = false;
self stand(); self stand();
}*/ }
startPos = self.origin + ( 0, 0, 50 ); startPos = self.origin + ( 0, 0, 50 );
startPosForward = startPos + vector_scale( anglesToForward( ( 0, angles[1], 0 ) ), 25 ); startPosForward = startPos + vector_scale( anglesToForward( ( 0, angles[1], 0 ) ), 25 );
@ -235,11 +235,11 @@ doBotMovement_loop( data )
// check if need to jump // check if need to jump
bt = bulletTrace( startPosForward, startPosForward - ( 0, 0, 40 ), false, self ); 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; data.i = 0;
self thread jump(); self thread jump();
}*/ }
} }
// check if need to knife glass // check if need to knife glass
else if ( bt["surfacetype"] == "glass" ) else if ( bt["surfacetype"] == "glass" )

View File

@ -376,6 +376,22 @@ isSecondaryGrenade( nade )
return isSubStr( nade, "smoke_grenade_" ); return isSubStr( nade, "smoke_grenade_" );
} }
/*
CoD2
*/
isMantling()
{
return false;
}
/*
CoD2
*/
isOnLadder()
{
return false;
}
/* /*
CoD2 CoD2
*/ */