Description
Options:[syntax="es"]// CritHits release 1 options
// ./addons/eventscripts/crithits/crithits.cfg
// http://addons.eventscripts.com/addons/view/crithits
// Load this addon with: es_load crithits
// This addon turns on eventscripts_noisy. More information on eventscripts_noisy can be found here:
// http://www.eventscripts.com/pages/Eventscripts_noisy
// ***** Base critical hit options *****
// Percent chance of inflicting critical damage [TF2 value: 2]
crithits_base_percent 10
// Percent chance of inflicting critical damage with a melee weapon [TF2 value: 15]
crithits_base_percent_melee 35
// Percent chance of inflicting critical damage for members of the winner team, after round end [TF2 value: 100]
crithits_base_percent_endround 100
// Minimum damage modifier for critical hits [TF2 value: presumed to be around 3.0]
crithits_base_modifier_min 2.5
// Maximum damage modifier for critical hits [TF2 value: presumed to be around 3.0]
crithits_base_modifier_max 3.2
// Maximum number of seconds a player can be blinded by a critical flashbang
crithits_base_flashbang_max 10
// ***** Rolling critical hit options *****
// Maximum chance-to-crit percentage increase [TF2 value: 10]
crithits_rolling_maxpercent 70
// Number of seconds to retain damage information [TF2 value: 20]
crithits_rolling_time 15
// Amount of damage that will yeild the maximum chance-to-crit increase [TF2 value: 800]
crithits_rolling_damage 500
// ***** Rapid-fire critical hit options *****
// Weapons that are NOT rapid-fire (should have crit chance every shot), separated with ";"
crithits_rapidfire_exempt "knife;deagle;scout;awp;sg550;g3sg1;hegrenade;smokegrenade;flashbang"
// Number of seconds between calculating critical hit chance on rapid-fire weapons [TF2 value: 1]
crithits_rapidfire_chancerate 1
// Number of seconds rapid-fire weapons retain critical hit damage [TF2 value: 2]
crithits_rapidfire_duration 3
// ***** Announcement options *****
// 1 = announce in center text, 0 = no center text announcements
crithits_announce_center 1
// 1 = announce in console of attacker and victim, 2 = announce in console of all players, 0 = no console announcements
crithits_announce_echo 1
// ***** Critical fire/hit sound options *****
// Use the following server command to add critical fire/hit sounds:
// crithits_sound_add <fire/hit> <"sound relative to ./sound/">
// Place your crithits_sound_add commands below:
// Uncomment the following example options if you wish to use them:
// crithits_sound_add fire "weapons/stunstick/stunstick_fleshhit1.wav"
// crithits_sound_add fire "weapons/stunstick/stunstick_fleshhit2.wav"
// crithits_sound_add fire "weapons/stunstick/stunstick_impact1.wav"
// crithits_sound_add fire "weapons/stunstick/stunstick_impact2.wav"
// crithits_sound_add hit "npc/manhack/grind1.wav"
// crithits_sound_add hit "npc/manhack/grind2.wav"
// crithits_sound_add hit "npc/manhack/grind3.wav"
// crithits_sound_add hit "npc/manhack/grind4.wav"
// crithits_sound_add hit "npc/manhack/grind5.wav"
// Critical hit sounds can be removed with the following server command:
// crithits_sound_remove <fire/hit> <"sound relative to ./sound/">
// Due to the fact sounds can be added or removed removed above, this command will not be used by most users.
// ***** Custom critical hit options *****
// Use the following server command to give a custom critical damage chance to weapons:
// crithits_weapon_add <weapon> <percent>
// See the bottom of these options for a list of acceptable weapon names.
// Using -1 as for the critical damage percent will remove critical hits for the weapon.
// Place your crithits_weapon_add commands below:
// Uncomment the following example options if you wish to use them:
// crithits_weapon_add awp -1
// No critical hits for the AWP
// crithits_weapon_add tmp 5
// TMP starts with 5% chance of doing critical damage
// crithits_weapon_add mac10 5
// MAC10 starts with 5% chance of doing critical damage
// Weapon-specific critical hit chance can be removed with the following server command:
// crithits_weapon_remove <weapon>
// Due to the fact custom critical chance can be added or removed removed above, this command will not be used by most users.
// ***** Acceptable weapon names *****
// These are the weapon names acceptable for custom critical hit percentages along with their more common in-game names.
// This is just a reference--these are not options.
// deagle - Night Hawk .50C
// ak47 - CV-47
// scout - Schmidt Scout
// aug - Bullpup
// g3sg1 - D3/AU1
// galil - IDF Defender
// famas - Clarion 5.56
// m4a1 - Maverick M4A1 Carbine
// sg552 - Krieg 552
// sg550 - Krieg 550 Commando
// m249 - M249
// awp - Magnum Sniper Rifle
// tmp - Schmidt Machine Pistol
// mp5navy - KM Sub-Machine Gun
// glock - 9x19mm Sidearm
// elite - .40 Dual Elites
// m3 - Leone 12 Gauge Super
// xm1014 - Leone YG1265 Auto Shotgun
// usp - KM .45 Tactical
// mac10 - Ingram MAC-10
// ump45 - KM UMP45
// p228 - 228 Compact
// fiveseven - ES Five-Seven
// p90 - ES C90
// hegrenade - HE Grenade
// flashbang - Flashbang
// smokegrenade - Smoke Grenade
// knife - Knife[/syntax]