Bullet Damage with Ranking v1.3.0
For the CS1.6 and CZ version click
here.
What's new?
Code:
v1.3.0:
- Added: Menu to configurate own player hud messages for
colors, position (x,y), flicker, holdtime, personal
records, all weapon records and admin menu
- Fixed: damage not showing through glass and players
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 Sturmbot 1.7b
- Support FFA (Free For All) server
- Support Lan Server
- Player and admin menu
- Records are stored by Steam ID
- Only authorized Steam players can make 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 (see section Customization plugin)
- And much more ...
Requirements:
Mods: Day of Defeat 1.3
AMXX: Version 1.8.0 or later
Module: 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_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_blast_dmg 1 // allow to show grenade damage [0-disabled / 1-enabled]
bd_take_dmg 1 // allow to show take damage [0-disabled / 1-enabled]
Credits:
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
Alucard^: for the enable/disable (global) HUD-Damage idea
Hawk552: for optimization plugin
ML Translations:
[fr] -
ANTICHRISTUS, [ro] -
georgik57, [bp] -
.MMYTH.,
[pl] -
naven, [lt] -
tomax079, [es] -
makiza, [ru] -
LaFA,
[sk] -
majsky, [cz] -
miRRa, [hu] -
banci
Changelog:
Code:
v1.3.0: (31th Jan 2011)
- Added: Menu to configurate own player hud messages for
colors, position (x,y), flicker, holdtime, personal
records, all weapon records and admin menu
- Fixed: damage not showing through glass and players
v1.2.1: (29th Jul 2010)
- Rewrite: code (clearing)
- Fixed: authorized bug (thanks craigy09)
v1.2.0: (6th Jul 2010)
- Added: 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
- Rewrite: arc system and some stuff
- Fixed: wrong counting of hits
- Remove: ML 'BDwR_CHEAT' , bd_motd_method only Top15 style possible
v1.1.1: (25th May 2010)
- Fixed: Damage vars not reseting for non-steam players
- Rewrite: the damage deal blast tasks, converting to, all in one task
v1.1.0: (22th Apr 2010)
- Added: Records now saved by Steam ID, only Steam authorized players can
made records
- Fixed: Weapon Secondary Attack is again _Pre forward, Motd misstep when
it calls 2 times to fast, Finaly! Over damage when enemy are death
(work with sturmbots)
v1.0.2: (14th Apr 2010)
- Fixed: blast weapon id bug (hand, stick, bazooka, pschreck, piat)
v1.0.1: (12th Apr 2010)
- Fixed: record motd sytle (top15 from statsx.sma), HUD-Damage positions,
read/save/reset "top bullet damage", maybe kill over damage when enemy
are death (not work with sturmbots)
v1.0.0: (11th Apr 2010)
- initial release
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
New lang file need translations.
Known Bugs: fixed with v1.0.2
With all "blast" weapons like Bazooka, handgrenade, piat....
The offset to known weapon id of a blast entity only work when the victim not die from the blast (keep alive).
I try another method, by selfwriting or any suggestions?
Supported Languages: [en] [fr] [ro] [bp] [pl] [lt] [es] [ru] [sk] [cz] [hu]
[new] - If your language is missing, look
here.
Please post all bugs, feedbacks, suggestions, comments or improvements you may have.
1.0.0 - 1.3.0 views 668