diff --git a/mods/bots/maps/mp/bots/_bot_internal.gsc b/mods/bots/maps/mp/bots/_bot_internal.gsc index 43072d1..4bca3b7 100644 --- a/mods/bots/maps/mp/bots/_bot_internal.gsc +++ b/mods/bots/maps/mp/bots/_bot_internal.gsc @@ -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" ) diff --git a/mods/bots/maps/mp/bots/_bot_utility.gsc b/mods/bots/maps/mp/bots/_bot_utility.gsc index c7e60e9..910ad62 100644 --- a/mods/bots/maps/mp/bots/_bot_utility.gsc +++ b/mods/bots/maps/mp/bots/_bot_utility.gsc @@ -376,6 +376,22 @@ isSecondaryGrenade( nade ) return isSubStr( nade, "smoke_grenade_" ); } +/* + CoD2 +*/ +isMantling() +{ + return false; +} + +/* + CoD2 +*/ +isOnLadder() +{ + return false; +} + /* CoD2 */