mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2025-04-22 15: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
|
// climb through windows
|
||||||
/* if (self isMantling())
|
if ( self isMantling() )
|
||||||
{
|
{
|
||||||
data.wasMantling = true;
|
data.wasMantling = true;
|
||||||
self crouch();
|
self crouch();
|
||||||
}
|
}
|
||||||
else if (data.wasMantling)
|
else if ( data.wasMantling )
|
||||||
{
|
{
|
||||||
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" )
|
||||||
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user