Page 1 of 1

[ANY] Bot Damage

Posted: Tue Apr 25, 2017 8:01 am
by iPlayer
[ANY] Bot Damage

https://github.com/KirillMysnik/SP-BotDamage/releases/latest

Description
This simple plugin is me practicing the new settings module. Basically it allows players to specify how they want to play with bots.
There're 2 player settings (damage dealt to and by the bots) with 3 options each: lower damage, usual and higher.

Also includes possibility to send settings popup every time a player connects to the server.

Config sample

Syntax: Select all

// ######################################################################### //
// GENERAL //
// ######################################################################### //

// Default Value: 1
// Send settings popup to players every time they connect
bot_damage_send_popup_on_connect 1


// ######################################################################### //
// DAMAGE TO BOTS //
// ######################################################################### //

// Default Value: 0.33
// Damage done to bots when the modifier is set to LOWER
bot_damage_damage_to_lower_multiplier 0.33


// Default Value: 3.0
// Damage done to bots when the modifier is set to HIGHER
bot_damage_damage_to_higher_multiplier 3.0


// ######################################################################### //
// DAMAGE FROM BOTS //
// ######################################################################### //

// Default Value: 0.33
// Damage received from bots when the modifier is set to LOWER
bot_damage_damage_from_lower_multiplier 0.33


// Default Value: 3.0
// Damage received from bots when the modifier is set to HIGHER
bot_damage_damage_from_higher_multiplier 3.0


Installation
  1. Install ControlledCvars custom package
  2. Download the latest release of the plugin
  3. Extract SP-BotDamage-x.x directory to your mod folder
  4. Add the following line to autoexec.cfg:
    sp plugin load bot_damage