Dr.G
01-23-2009, 11:47 PM
//////////////////////////////////////////////////////////////////////////////////
//
// Information:
//
// This plugin will allow you to adjust how much damage bots will do..
// Note that damage are set for ALL weapons used by bots! Your bots will still
// be damn stupid and weird, but they wont do as much damage to you..
//
// Thanks to diamond-optic(www.avamods.com) for DoD stronger rifles!
// Everything in this code is from the stronger rifles plugin... I didnt even
// bother to change any pointer lol no need to...
//
//
/////////////////////////////////////////////////////////////////////////////////
//
// CVARs:
//
// dod_bot_dmg "1" //turn ON(1)/OFF(0)
//
// dod_bot_dmg_head "30" //Damage % for head shots
// dod_bot_dmg_chest "30" //Damage % for chest shots
// dod_bot_dmg_stomach "30" //Damage % for stomach shots
// dod_bot_dmg_arms "30" //Damage % for arm shots
// dod_bot_dmg_legs "30" //Damage % for leg shots
//
//////////////////////////////////////////////////////////////////////////////////
//
// Changelog:
//
// 01-28-2009
// stopped trace if !is_user_bot
// moved unneeded branch and return in func_TakeDamage :S
//
//////////////////////////////////////////////////////////////////////////////////
This will work with shrikebots and sturmbots, or any other bot... if there are any :)
NOTE the damage is set in % !!! Default all values is set to 30 %
Public Stats (http://www.game-monitor.com/search.php?search=dod_bot_dmg_stats&type=variable)
//
// Information:
//
// This plugin will allow you to adjust how much damage bots will do..
// Note that damage are set for ALL weapons used by bots! Your bots will still
// be damn stupid and weird, but they wont do as much damage to you..
//
// Thanks to diamond-optic(www.avamods.com) for DoD stronger rifles!
// Everything in this code is from the stronger rifles plugin... I didnt even
// bother to change any pointer lol no need to...
//
//
/////////////////////////////////////////////////////////////////////////////////
//
// CVARs:
//
// dod_bot_dmg "1" //turn ON(1)/OFF(0)
//
// dod_bot_dmg_head "30" //Damage % for head shots
// dod_bot_dmg_chest "30" //Damage % for chest shots
// dod_bot_dmg_stomach "30" //Damage % for stomach shots
// dod_bot_dmg_arms "30" //Damage % for arm shots
// dod_bot_dmg_legs "30" //Damage % for leg shots
//
//////////////////////////////////////////////////////////////////////////////////
//
// Changelog:
//
// 01-28-2009
// stopped trace if !is_user_bot
// moved unneeded branch and return in func_TakeDamage :S
//
//////////////////////////////////////////////////////////////////////////////////
This will work with shrikebots and sturmbots, or any other bot... if there are any :)
NOTE the damage is set in % !!! Default all values is set to 30 %
Public Stats (http://www.game-monitor.com/search.php?search=dod_bot_dmg_stats&type=variable)