

POPULAR

ReceivedDamage Announcer



I found myself playing some platoon battles and one of my squad mates was shot, due to the way the game works we had to wait until the end of the game to work out who was the team attacker. I decided from this to try and write a mod that announces to the team who actually attacked you during the game. During the development I actually found out that the server reports every bit of damage that happens in the game and so I also added a message (only visible to you) of who, and what tank, shot you. This is useful as it will tell you who shot you, even if they have not been spotted.



I will NOT be implementing a chat message when you are hit by gold rounds. I do not want to add to the spam already in the game.



If you are using someone else's mod that incorporates mine, please report problems to them. I don't really want this discussion filled with problems and support for other mods. If you are using my mod as part of a pack or your own mod, please send me an email with a link to your forum post and I will add a it to a list at the bottom of this post.



Features

Announces to the team who damaged you and how much when a team mate attacks you

Displays a message when you are hit of who attacked you

Displays a message when you bounce an enemy's shot with information about them

Gold Round Detector

To Be Implemented

Crew or Module damage

GUI Hitlog

Platoon Mode Announce to squad mates



Change Log

v2.5 Upgraded to work with 0.9.4



Spoiler v2.4 Upgraded to work with 0.9.3

v2.3 Upgraded to work with 0.9.2

v2.2 Upgraded to work with 0.9.1

v2.1 Fixed crew voice issues (Thanks to m_knox) New NA version Only spotted enemies Assumes a rammer and vents rather than checking

v2.0 Upgraded to work with 0.9.0

v1.9 Upgraded to work with 8.11 Fixed issue with self damage reporting to the team Updated the damage message to be friendlier Added shell cost variable Added shell penetration variable

v1.8 - Upgraded to work with 0.8.10

v1.7 - Upgraded to work with 0.8.9

v1.6

Bounced Shell information Message width formatting Damage Percentage Roll (+-25%)

v1.5

Updated to include path.xml support. Added support to rename shells (For international users). Added autoloader information variables. Added spectated player hit display.

v1.4 - Fixed unicode issues (Tanks such as the Lowe and Bat Chatillion).

v1.3 - Fixed issues with variable being unavailable.

v1.2 - Fixed reload time issue.

v1.1 - Added shell colors and fixed enemy's current health.

v1.0 - Added enemy's current and max health paramters. Added back shell type detection and added gold round detection.

v0.9 - Improved reload time estimation to be more pessimistic (Assume trained commander and loader with adrenaline perk)

v0.8 - Removed shell type until I can find a good way to implement it. Changed default message formatting.

v0.7 - Added error on config problem. Expanded formatting options.

v0.6 - Fixed national voice issues

v0.5 - Added reload time and short tank name as paramters

v0.4 - Added user configurable messages

v0.3 - Corrected configuration file

v0.2 - Configuration via file

v0.1 - Initial Version



Configuration

The mod is configured via the vehicle_damage.json file in res_mods/0.8.8/scripts/client.



Firstly the "hit_message" enabled option turns on or off the message when an enemy player hits your tank.



The "team_announce" enabled option turns on or off the announcing to your team feature, and the "team_announce" min_damage option controls how much damage is required before it announces to the team. This is done so that if people nudge you and do a small amount of damage you do not spam your team.



Both "hit_message" and "team_announce" now have a format option which allows you to customize the message. The insertable data items are:

{{user}} - Attacker Username

{{tier}} - Tank Tier

{{reload}} - Enemy Time to Reload

{{tank_long}} - Long Tank Name

{{tank_short}} - Short Tank Name

{{damage}} - Damage Recieved

{{cur_health}} - Enemy's Current Health

{{max_health}} - Enemy's Maximum Health

{{shell_type}} - Shell Type

{{if_shell_gold}}...{{endif}} - Inserts text between them if shell type is a gold round

{{c:shell}} - Shell Color Variable

{{shot_delay}} - Shortest time before an enemy can shoot, either clip_delay for semi/autoloaders or reload for normal tanks.

{{clip_size}} - Maximum amount of clips

{{burst_size}} - Maximum amount of ammo per clip

{{clip_delay}} - Reload time of all clips

{{burst_delay}} - Reload time of each shot within the clip

{{damage_roll}} - Percentage damage roll compared to average shell damage +-25%

{{shell_cost}} - Cost of shell

{{shell_penetration}} - Average penetration of the shell



All varables can now be postfixed to make limit their space to a fixed size. For example, you may want the damage variable to always take up 4 characters even if they only did 10 damage, to do this you would use {{damage:4}} as your variable. This allows for consistent formatting.

You can use HTML formatting in hit_announce's format section. However, you can NOT use HTML in team_announce's formatting.



Download (EU)

http://adf.ly/u8qhW

http://www.mediafire.com/download/9an1i98alz99cvf/ReceivedDamage-EU-v2.5.zip

Download (NA)

http://adf.ly/u8qmQ

http://www.mediafire.com/download/upm8d0mg6qfhoao/ReceivedDamage-NA-v2.5.zip

Screenshots

Left: Enemy Hit, Right: Friendly Hit



Edited by Omegaice, 14 November 2014 - 04:57 PM.