AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   [DoD] Bullet Damage with Ranking 1.3.0 [01-31-11][ML 10-23-11] (https://forums.alliedmods.net/showthread.php?t=124018)

schmurgel1983 04-11-2010 11:41

[DoD] Bullet Damage with Ranking 1.3.0 [01-31-11][ML 10-23-11]
 
20 Attachment(s)
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.
https://forums.alliedmods.net/attach...1&d=1330508806
https://forums.alliedmods.net/attach...7&d=1325471397
http://picupload.org/i/ceddb7a34785.png1.0.0 - 1.3.0 views 668

HaLLoWeN 04-11-2010 15:17

Re: [DoD] Bullet Damage with Ranking 1.0.0 [04-11-10][ML 04-10-10]
 
Gj.. Man :)

schmurgel1983 04-11-2010 17:11

Re: [DoD] Bullet Damage with Ranking 1.0.0 [04-11-10][ML 04-10-10]
 
thanks my friend ^^

Zombiezzz 04-11-2010 20:06

Re: [DoD] Bullet Damage with Ranking 1.0.0 [04-11-10][ML 04-10-10]
 
אַסאַם פּלוגין! (thats "Yiddish" for awesome plugin)

schmurgel1983 04-12-2010 08:08

Re: [DoD] Bullet Damage with Ranking 1.0.1 [04-12-10][ML 04-10-10]
 
thanks? xD

Update v1.0.1:
- fixed: record motd sytle (top15 from statsx.sma)
- fixed: HUD-Damage positions
- fixed: read/save/reset top bullet damage
- fixed: maybe kill over damage when enemy are death (not work with sturmbots)

wrecked_ 04-12-2010 08:39

Re: [DoD] Bullet Damage with Ranking 1.0.1 [04-12-10][ML 04-10-10]
 
Great work, schmurgel. You don't get enough credit for the things you make.

schmurgel1983 04-12-2010 11:08

Re: [DoD] Bullet Damage with Ranking 1.0.1 [04-12-10][ML 04-10-10]
 
thanks wrecked_
my credit is your posting, plugin views and using of my plugins ^^

Update FIRST POST: known bugs -.-"

EDIT:
Update: v1.0.2
- fixed: blast weapon id bug (hand, stick, bazooka, pschreck, piat)

EDIT2:
Update: v1.1.0
- added: Records now saved by Steam ID
- added: Only Steam authorized players can made records
- fixed: Weapon Secondary Attack is again _Pre forward
- fixed: Motd misstep, when it calls 2 times to fast
- fixed: Finaly! Over damage when enemy are death (work with sturmbots)

EDIT3:
Update: v1.1.1
- fixed: Damage vars not reseting for non-steam players

pankeca 04-28-2010 17:39

Re: [DoD] Bullet Damage with Ranking 1.1.1 RC1 [04-24-10][ML 04-24-10]
 
Hello, I try it on cs 1.6 and have some problems. The knife kill don't work.

This only fod DOD???

Thanks

wrecked_ 04-28-2010 18:03

Re: [DoD] Bullet Damage with Ranking 1.1.1 RC1 [04-24-10][ML 04-24-10]
 
He made another one for CS/CZ which is in the Approved Plugins section. This is the DoD version.

schmurgel1983 04-30-2010 20:46

Re: [DoD] Bullet Damage with Ranking 1.1.1 RC1 [04-24-10][ML 04-24-10]
 
@ wrecked_ : Thanks for your help.

@
pankeca : first post, under the heading and over "What's new?" -> For the CS1.6 and CZ version click here.

EDIT: Update v1.1.1
- RC1 fixed: Damage vars not reseting for non-steam players
- RC2 rewrite: the damage deal blast tasks, converting to, all in one task
(reduce plugin size from 50,2 KB to 45,1 KB and lines from 1749 to 1553)


All times are GMT -4. The time now is 09:22.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.