![]() |
crowbars and botman's "bot 10"
Hi, I haven't got a clue about bots but I have put the bot code from botman's "bot 10" in my MOD. I need to make the bots use the crowbar across all skill levels(the 3 lowest ones dont use it at all) but can't figure out how to make it do that. I think it's in this part of bot_combat.cpp
Code:
// if bot is carrying the crowbar... |
Re: crowbars and botman's "bot 10"
The code you posted doesn't contain anything that checks the skill level. Here is the original code from bot10 in bot_combat.cpp...
Code:
// if close to enemy, and skill level is 1, 2 or 3, use the crowbar Code:
// if close to enemy, use the crowbar botman |
Re: crowbars and botman's "bot 10"
Strange, that change is alrready in the code and it seems that all skill levels don't use crowbar. Because my MOD spawns players with only the crowbar I am just going to make them ignore targets untill they find a crowbar. Thanks for your reply Botman:)
|
All times are GMT +2. The time now is 09:30. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.