Bullet Damage with Ranking v3.0.2
For the
Day of Defeat 1.3 version click
here.
What's new?
Code:
+ Added feature or noticeable improvement
- Bug fix or something removed
* Changed or Information
! Important - Take note!
* v3.0.2: (12th Jul 2012)
! FPS drop with HUD Sync Objects
! Unique crash on private data
- Records/configs not being saved on windows (hopefully)
Description:
Display single, multiple, grenade or take Damage via Hud message.
Can give a Chat announce, if you score a new weapon/personal record.
The Chat command /bd show up a menu to configuration your bd.
Plugin Features:
- Support for multiple languages
- Support Lan Server
- Support FFA (Free For All) server
- Support Zombie Plague 4.3 (look Plugin Customization section)
- Support Zombie Plague Advance 1.6 (look Plugin Customization section)
- Player and admin menu
- Records are stored by Steam ID
- Only authorized Steam players can made records
- HUD-Damage indicator can distinguish whether the shot was visible or behind a wall
- Better settings on the bulletdamage.cfg
- Server admins can reset all the records about a command or only a certain weapon record (bd_reset "argument")
- The time of the weapons firing rate is adjustable, for the calculation of the record task (look Plugin Customization section)
- And much more...
Requirements:
Mods: Counter-Strike 1.6 or Condition Zero
AMXX: Version 1.8.0 or later
Module: cstrike, fakemeta, hamsandwich
Commands:
say: /bd - open bd menu
con: bd_reset "argument" - look bd_reset.txt for all possible bd_reset commands!
Cvars:
// General
bd_on 1 // enable plugin [0-disabled / 1-enabled]
bd_save_bots 1 // bots can made records? [0-disabled / 1-enabled]
bd_save_stats 1 // save all records [0-disabled / 1-enabled]
bd_save_stats_personal 1 // save personal records [0-disabled / 1-enabled]
bd_chat_weapon 1 // display to all a chat record announce [0-disabled / 1-enabled]
bd_chat_personal 1 // display a chat personal record announce [0-disabled / 1-enabled]
bd_motd_sorting 0 // setup motd sorting method [0-by weapon id / 1-by most damage]
bd_ffa_dmg 0 // enable "free for all" damage for FFA servers [0-disabled / 1-enabled]
bd_no_over_dmg 0 // damage can not higher as enemy left healths [0-disabled / 1-enabled]
bd_more_time 1.0 // give more time befor the task calculate the total damage in seconds
// Admins
bd_hud_flag "c" // Access flag for bd_hud_dmg(_wall) only with admin flag
bd_reset_flag "g" // Access flag for bd_reset command and admin menu
// more flags possible! bd_hud_flag "cde" admin have 'c' or 'd' or 'e' flag!
// HUD Messages
bd_hud_dmg 1 // show HUD-Damage [0-disabled / 1-for all / 2-only admins]
bd_hud_dmg_wall 0 // show HUD-Damage when you hit the enemy and he is behind a wall [0-disabled / 1-for all / 2-only admins]
bd_single_dmg 1 // allow to show single damage [0-disabled / 1-enabled]
bd_multiple_dmg 1 // allow to show multiple damage [0-disabled / 1-enabled]
bd_grenade_dmg 1 // allow to show grenade damage [0-disabled / 1-enabled]
bd_take_dmg 1 // allow to show take damage [0-disabled / 1-enabled]
// Zombie Plague
//bd_nem_dmg_record 0 // Nemesis can made records? [0-disabled / 1-enabled]
//bd_surv_dmg_record 0 // Survivor can made records? [0-disabled / 1-enabled]
// Zombie Plague Advance
//bd_assa_dmg_record 0 // Assassin can made records? [0-disabled / 1-enabled]
//bd_snip_dmg_record 0 // Sniper can made records? [0-disabled / 1-enabled]
Credits:
MeRcyLeZZ: for some useful stuff
worldspawn: for few ideas - motd style, damage sorting, new command and bd_no_over_dmg ;)
Pneumatic: for the "bd_multi_dmg 2" idea
ConnorMcLeod: for Ham_TakeDamage forward idea (v2.2.0 -> HE-Grenade compatibility)
Alucard^: for the enable/disable (global) HUD-Damage idea
Hawk552: for approve and optimization plugin
GAARA54: for colored chat idea and Zombie Plague Advance 1.6 Compatibility request
ML Translations:
[fr] -
ANTICHRISTUS, [ro] -
georgik57, [bp] -
.MMYTH.,
[pl] -
naven, [lt] -
tomax079, [es] -
makiza, [ru] -
LaFA,
[sk] -
majsky, [cz] -
miRRa, [hu] -
banci, [bg] -
shadybg,
[tr] -
YaHSi, [de] -
Torge
Changelog:
Code:
+ Added feature or noticeable improvement
- Bug fix or something removed
* Changed or Information
! Important - Take note!
* v1.1: (?)
+ display multiple damage
* v1.2: (?)
+ new cvar bd_more_time
+ announce (name, damage, weapon) in chat
+ anti cheat (ARC) if u change your weapon in a long task like awp
* v1.3: (21st Dec 2009)
+ new cvar bd_chat
+ new command /top
+ save and load records
+ motd to show the records in table style
* announce (name, damage, weapon and hits) in chat
* v1.4: (22nd Dec 2009)
+ new cvars bd_multi_dmg, bd_save_stats, bd_save_bots, bd_motd_method
+ new motd sytle like top15 from statsx.sma
* chat command from /top to /bdtop
* v1.5: (23rd Dec 2009)
+ new cvars bd_color, bd_color_style, bd_color_holdtime, bd_motd_sorting
+ new motd sorting method
* some stuff
* v1.5.1: (24th Dec 2009)
* show_top
* v2.0: (25th Jan 2010)
! teammate attack protection (record cheat)
+ new command to reset all records
* plugin name from achievement to ranking
* some stuff
* v2.1: (16th Feb 2010)
+ bd_multi_dmg 2 = display single & multiple damage together
* some stuff
* v2.1.1: (17th Feb 2010)
+ firerate time multiply for record task (look Plugin Customization section)
+ full knife atk1 & atk2 compatible
* weapon firerate using fastest orginal rates
- query player zooming
* v2.1.2: (2nd Mar 2010)
+ multi language support
* v2.1.3: (12th Mar 2010)
+ cvar bd_no_over_dmg
* v2.2.0: (30th Mar 2010)
+ HE-Grenade compatibility
+ HE-Grenade has now a own record task
* some stuff
* v2.3.0: (30th Mar 2010)
+ RC1 new client command to enable/disable HUD-Damage
+ RC1 new cvar to enable/disable global HUD-Damage
* RC2 HE-Grenade HUD-Damage Sync Object
- RC3 /bdhud showing wrong chat info (enable/disable print)
* v2.3.1: (3rd Apr 2010)
+ more Customization
+ bulletdamage.cfg file
* some stuff (lower CPU usage)
* admin console command bd_reset
- /bdtop not showing all weapons
* v2.4.0: (5th Apr 2010)
+ cvar bd_hud_dmg_wall
+ show HUD-Damage when you hit the enemy and he is behind a wall
+ cvar bd_ffa_dmg enable "free for all" damage for FFA servers
* damage stuff
* v2.4.1: (7th Apr 2010)
+ Shield support
- clear unusing stuff
* v2.4.2: (18th Apr 2010)
* Knife attack 2 is now _Post not _Pre
* damage stuff (timers)
- fixing read/save/reset "top bullet damage"
* v2.5.0: (23rd Apr 2010)
! Knife attack 2 is again _Pre forward
+ Zombie Plague 4.3 Compatibility
+ records now saved by Steam ID, only steam authorized players can made records
* motd misstep, when it calls 2 times to fast
* v2.5.1: (24th Apr 2010)
! Damage vars not reseting for non-steam players
* v2.5.2: (17th Jun 2010)
* ARC and some stuff
- wrong counting of hits, most by HE-Grenade (CZ)
- Remove ML 'BDwR_CHEAT'
* v2.5.3: (26th Jun 2010)
! new ARC system
+ admin reset and hud flag cvar
+ admin show HUD-Damage
+ admin show HUD-Damage when you hit the enemy and he is behind a wall
+ Lan Server support
- bd_motd_method only Top15 style possible
* v2.5.4: (27th Jun 2010)
- HUD-Damage for HE-Grenade with the new cvars
- fix cvar combination bd_hud_dmg 1 and bd_hud_dmg_wall 2 not showing HUD-Damage for normal players
- Remove scripter query in fwd_TraceAttack (plugin test query)
* v2.5.5: (3rd Jul 2010)
+ Zombie Plague Advance 1.6 Compatibility
+ colored chat
- Remove zp4.3 infect querys, not need more with the new ARC system
* v2.5.6: (21st Jul 2010)
* clearing the code
* v2.5.7: (29th Jul 2010)
! fix authorized bug (thanks craigy09)
* v2.5.8: (5th Sep 2010)
! showing fault overpower damage on zombie servers
* v2.5.9: (13th Sep 2010)
- damage not showing through glass and players
* v3.0.0: (27th Jan 2011)
+ Menu to configurate own player hud messages for
+ colors
+ position (x,y)
+ flicker
+ holdtime
+ personal records
+ all weapon records
+ admin menu
* v3.0.1: (31st Jan 2011)
! admin menu (bug found, by converting this plugin to DoD)
* v3.0.2: (12th Jul 2012)
! FPS drop with HUD Sync Objects
! Unique crash on private data
- Records/configs not being saved on windows (hopefully)
Other Information:
Code:
/*=======================================
[Plugin Customization]
=======================================*/
// Save Records File
new const BD_RECORD_FILE[] = "bullet_damage_ranks"
// Firerate Time Multiply for Record Task
// 1.0 is normal | 2.0 is double
const Float:FIRERATE_MULTI = 1.5
// uncomment the line to have Zombie Plague 4.3 Compatibility
//#define ZOMBIE_PLAGUE_MOD
// uncomment the line to have Zombie Plague Advance 1.6 Compatibility
//#define ZOMBIE_PLAGUE_ADVANCE_MOD
New lang file need translations.
Supported Languages: [en] [fr] [ro] [bp] [pl] [lt] [es] [ru] [sk] [cz] [hu] [bg] [tr] [de]
[new] - If your language is missing, look
here.
Please post all bugs, feedbacks, suggestions, comments or improvements you may have.
v1.0.0 - 3.0.1 views 13420