Show in hint window the information on the damages put to the player during his life and during death of the player or in the end of a round show on in-game panels the information on the total put and received damages.
User displays mode settings in in-game menu (!did_mode in the chat).
sm_did_version - Version of Display Damage plugin
sm_did_enabled - Enables Display Damage to players
sm_did_defhint - Default Display Damage mode for enter on a server of players.
sm_did_deftotal - Default Display Damage on Death mode. 1 = Display Total Damage; 2 = Display Damage Since Last Spawn; any other = no display.
sm_did_survivor_block - Block HintInfo about infected damages for survivor.
sm_did_announce - Enables Display Damage to advertise to players
sm_did_hmode (!did_hmode in chat) - client command for call select Display Damage mode in-game menu
sm_did_tmode (!did_tmode in chat) - client command for call select Display Damage type at player death in-game menu
sm_did (!did in chat) - client command for DID Total Panel
sm_did_clear (!did_zero in chat) - client command for Clear all Damages
Autostart of a configuration and file of language support (current Russian, English, German, Spanish and Polish).
[IMG]http://img218.**************/img218/6127/didhurtal6.th.jpg[/IMG] [IMG]http://img7.**************/img7/6369/diddisplay01wm6.th.jpg[/IMG] [IMG]http://img165.**************/img165/5495/diddisplay02mu2.th.jpg[/IMG] [IMG]http://img165.**************/img165/3159/didhmodefd8.th.jpg[/IMG] [IMG]http://img165.**************/img165/6964/didtmodehy8.th.jpg[/IMG]
Portuguese support is added
Ready for L4D version 220.127.116.11
Fix hook/unhook events when players abandons a server.
Fix hook/unhook events should now work properly.
Save user settings on server side is added.
Total Damage will always display at end of round, unless you are infected, recently died, and already saw your total damage.
Fix display not showing up when a player dies from common infected or entities (fire, fall damage, etc).
improved round end detection in coop mode, no longer using door_close events.
Fix menu "array index out of bounds" error when pressing menu exit button.
removed cvar sm_did_gmode (autodetect gamemode now)
: need use new sm_did.cfg
Command !did will now ask which damage to display TOTAL DAMAGE or DAMAGE SINCE SPAWN
removed comand sm_did_default (use sm_did_hmode instead)
command sm_did_tmode is added
Fix door_close bug in coop mode.
Fix duplicate RoundEnd events in versus mode, which caused stats to show up empty for 10 seconds.
Fix finale now triggers damage display at end of round (vehicle ready event).
Added menu mode Display on Death. 1=Total Damage, 2=Damage Since Last Spawn, 3=Disabled.
cvar sm_did_deftotal is added to support future possibilities
removed cvar sm_did_total_onlyrend (use sm_did_deftotal instead)
removed cvar sm_did_mode (use sm_did_defhint instead)
find bug in previous version is fixed
cvar sm_did_total_onlyrend (Show DID Total Panel only in a RoundEnd. 0 = off; 1 = on.) is added
1.2.3 fixed (2009.02.02)
find bug 1.2.2 version is fixed (THX: -pk-
for bug hunting)
Func Block HintInfo about infected damages for survivor is added (thx headseeker
cvar sm_did_survivor_block is added
Fix incorrect info in DID Total Panel if client Display Mode != 1
display of damages from infected is added
display of quantity killed infected is added
display of quantity killed players is added
client chat command !did (Call DID Total Panel) is added
client chat command !did_zero (Clear all Damages) is added
small errors are corrected
Really fixed wrong calculation of TA current damages.
Support coop mode is added (In a coop mode the counter of damages is nulled at safe room door closing).
new cvar is added.
Wrong calculation of current damages at round start is corrected.
Wrong calculation of current damages at change map is corrected.
Wrong calculation of total damages is corrected.
- DDR Khat
(thx for interesting idea of a show in a real-time information about damages in hint window)
(thx for english lang adaptation)
(thx for german lang support)
(thx for german and spanish lang support)
(thx for polish lang support)
(thx for portuguese lang support)
I ask not to suggest to change a code (there is no free time it to do) a plug-in works perfectly. Use as is. There is a desire to change code - make it - I not against. In a this topic I ask to write only about the found errors.
Дополнительная информация для русскоязычных серверов:
для включения поддержки русского языка в сурсмоде:
- в настройках сурсмода в language.cfg добавить
- в настройках сурсмода в core.cfg изменить
- если не помогло:
удалить из языкового файла plugin.sm_did.txt
все языки кроме русского
файл должен быть сохранен в формате utf (без тега BOM), лучше использовать для этого notepad++