Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Macros used in damageLog:
- * Макросы используемые в damageLog:
- {{number}} - line number
- {{dmg}} - received damage
- {{dmg-ratio}} - received damage in percent
- {{hit-effects}} - kind of hit
- {{dmg-kind}} - received damage kind (attack, fire, ramming, ...)
- {{team-dmg}} - source of damage (ally , enemy, self damage)
- {{c:hit-effects}} - color depending on hit kind (with damage, ricochet, no penetration, no damage)
- {{c:dmg-kind}} - color depending on received damage kind
- {{c:team-dmg}} - color depending on damage source (ally , enemy, self)
- {{critical-hit}} - critical hit
- {{splash-hit}} - text when hit by splash damage from shell (HE/HESH)
- {{comp-name}} - name part of vehicle that was hit (turret, body, suspension, gun)
- {{fire-duration}} - duration of fire ("groupDamagesFromFire" must be enabled to work)
- {{type-shell}} - shell kind
- {{costShell}} - text depending on shell cost (gold, credits)
- {{c:type-shell}} - color depending on shell kind
- {{c:costShell}} - color depending on shell cost (gold, credits)
- {{vtype}} - vehicle type
- {{vehicle}} - vehicle name
- {{level}} - vehicle level
- {{nation}} - vehicle nation
- {{diff-masses}} - vehicles weights difference during collision
- {{c:vtype}} - color depending on vehicle type
- {{reloadGun}} - reloading time of a gun
- {{gun-caliber}} - caliber of a gun
- {{name}} - nickname player who caused the damage
- {{clan}} - clan name with brackets (empty if no clan)
- {{clannb}} - clan name without brackets
- {{clanicon}} - macro with clan embed image path value
- {{squad-num}} - number of squad (1,2,...), empty if not in squad
- {{my-alive}} - value 'alive' if my vehicle is alive, '' for dead
- {{wn8}}, {{xwn8}}, {{eff}}, {{xeff}}, {{wgr}}, {{xwgr}}, {{xte}}
- {{c:wn8}}, {{c:xwn8}}, {{c:eff}}, {{c:xeff}}, {{c:wgr}}, {{c:xwgr}}, {{c:xte}}
- */
- {
- "damageLog": {
- "disabledDetailStats": true, // true - disable standard detailed damage.
- "disabledSummaryStats": true, // true - disable standard summarized damage.
- "saveLocationInBattle": false, // true - remember the location of the log in combat.
- "log": {
- "dmg-kind": { // Received damage kind (macro {{dmg-kind}}).
- "shot": "<font color='{{c:costShell}}'>{{type-shell}}</font>",
- "fire": "<font face='xvm'>Q</font>",
- "ramming": "<font face='xvm'>R</font>",
- "world_collision": "<font face='xvm'>S</font>",
- "drowning": "Dr",
- "overturn": "<font face='xvm'>Ē</font>",
- "death_zone": "DZ",
- "gas_attack": "GA",
- "art_attack": "<font face='xvm'>Đ</font>",
- "air_strike": "<font face='xvm'>đ</font>"
- },
- "c:dmg-kind": { // Color depending on received damage kind (macro {{c:dmg-kind}}).
- "shot": "{{c:hit-effects}}",
- "fire": "#FF6655", // red
- "ramming": "#998855", // brown
- "world_collision": "#99FF5C", // green
- "drowning": "#CCCCCC",
- "overturn": "#CCCCCC",
- "death_zone": "#CCCCCC",
- "gas_attack": "#CCCCCC",
- "art_attack": "{{c:hit-effects}}",
- "air_strike": "{{c:hit-effects}}"
- },
- "splash-hit":{
- "splash": "<font face='xvm'>,</font>",
- "no-splash": ""
- },
- "type-shell": { // Shell kind (macro {{type-shell}}).
- "armor_piercing": "AP", // "{{l10n:armor_piercing}}"
- "high_explosive": "HE", // "{{l10n:high_explosive}}"
- "armor_piercing_cr": "APCR", // "{{l10n:armor_piercing_cr}}"
- "armor_piercing_he": "HESH", // "{{l10n:armor_piercing_he}}" Not HESH, but not sure what it is. http://www.koreanrandom.com/forum/topic/35259-damagelog-issues-build-6602/
- "hollow_charge": "HEAT", // "{{l10n:hollow_charge}}"
- "not_shell": ""
- },
- "c:type-shell": { // NOT USED // Color depending on shell kind (macro {{type-shell}}).
- "armor_piercing": "#CCCCCC", // armor piercing
- "high_explosive": "#CCCCCC", // high explosive
- "armor_piercing_cr": "#CCCCCC", // armor piercing composite rigid
- "armor_piercing_he": "#CCCCCC", // armor piercing high explosive
- "hollow_charge": "#CCCCCC", // high explosive anti-tank
- "not_shell": "#CCCCCC" // another source of damage
- },
- "vtype": { // Vehicle type (macro {{vtype}}).
- "mediumTank": "<font face='xvm'>;</font>",
- "lightTank": "<font face='xvm'>:</font>",
- "heavyTank": "<font face='xvm'>?</font>",
- "AT-SPG": "<font face='xvm'>.</font>",
- "SPG": "<font face='xvm'>-</font>",
- "not_vehicle": ""
- },
- "c:vtype":{ // Color depending on vehicle type (macro {{c:vtype}}).
- "mediumTank": "#CCCCCC", // Default #FFF198
- "lightTank": "#CCCCCC", // Default #A2FF9A
- "heavyTank": "#CCCCCC", // Default #FFACAC
- "AT-SPG": "#CCCCCC", // Default #A0CFFF
- "SPG": "#CCCCCC", // Default #EFAEFF
- "not_vehicle": "#CCCCCC"
- },
- "hit-effects": { // Kind of hit
- "armor_pierced": "{{dmg}}",
- "intermediate_ricochet": "---", // "{{l10n:intermediate_ricochet}}" -> "ricochet"
- "final_ricochet": "---", // "{{l10n:final_ricochet}}" -> "ricochet"
- "armor_not_pierced": "---", // "{{l10n:armor_not_pierced}}" -> "bounce"
- "armor_pierced_no_damage": "---", // "{{l10n:armor_pierced_no_damage}}" -> "blocked"
- "unknown": "{{l10n:armor_pierced_no_damage}}"
- },
- "c:hit-effects": { // Color depending on hit kind (with damage, ricochet, no penetration, no damage) (macro {{c:hit-effects}}).
- "armor_pierced": "#CCCCCC", // Default #FF4D3C
- "intermediate_ricochet": "#CCCCCC",
- "final_ricochet": "#CCCCCC",
- "armor_not_pierced": "#CCCCCC",
- "armor_pierced_no_damage": "#CCCCCC",
- "unknown": "#CCCCCC"
- },
- "critical-hit":{ // Designation of critical hits (macro {{critical-hit}}).
- "critical": "*",
- "no-critical": ""
- },
- "comp-name":{ // NOT USED // Name part of vehicle (macro {{comp-name}}).
- "turret": "{{l10n:turret}}",
- "hull": "{{l10n:hull}}",
- "chassis": "{{l10n:chassis}}",
- "gun": "{{l10n:gun}}",
- "unknown": ""
- },
- "team-dmg":{ // NOT USED // Source of damage (ally , enemy, self damage) (macro {{team-dmg}}).
- "ally-dmg": "",
- "enemy-dmg": "",
- "player": "",
- "unknown": ""
- },
- "c:team-dmg":{ // Color depending on damage source (ally , enemy) (macro {{c:team-dmg}}).
- "ally-dmg": "#00EAFF", // Blue
- "enemy-dmg": "#CCCCCC",
- "player": "#99FF5C", // green
- "unknown": "#CCCCCC"
- },
- "costShell":{ // NOT USED // Text depending on shell cost (gold, credits) (macro {{costShell}}).
- "gold-shell": "",
- "silver-shell": "",
- "unknown": ""
- },
- "c:costShell":{ // Color depending on shell cost (gold, credits) (macro {{c:costShell}}).
- "gold-shell": "#FFCC66",
- "silver-shell": "#CCCCCC",
- "unknown": ""
- },
- "showHitNoDamage": true, // true - show hits without damage in log
- "groupDamagesFromFire": true, // true - to summarize damage from the fire.
- "groupDamagesFromRamming_WorldCollision": true, // true - to summarize the damage by ramming, collisions with objects, falling. Damage summarized, if applied more than once a second.
- "formatHistory": "<textformat tabstops='[25,75,120,130,215]'><font size='13'>{{number%3d~.}}</font><tab><font color='{{c:dmg-kind}}'>{{hit-effects}}{{critical-hit}}{{splash-hit}}</font><tab>{{dmg-kind}}<tab><font color='{{c:vtype}}'>{{vtype}}</font><tab><font color='{{c:team-dmg}}'>{{vehicle}}</font></textformat>"
- // tabstops are - damage / shell type / tank icon / tank name
- },
- "logBackground": {
- "$ref": { "path":"damageLog.log" },
- "formatHistory": "<img height='18' width='310' src='xvm://res/icons/damageLog/{{dmg=0?no_dmg|dmg}}.png'>"
- },
- "logAlt": {
- "$ref": { "path":"damageLog.log" },
- "showHitNoDamage": true,
- "formatHistory": "<textformat tabstops='[25,75,120,130,215]'><font size='13'>{{number%3d~.}}</font><tab><font color='{{c:dmg-kind}}'>{{hit-effects}}{{critical-hit}}{{splash-hit}}</font><tab>{{dmg-kind}}<tab><font color='{{c:vtype}}'>{{vtype}}</font><tab><font color='{{c:team-dmg}}'>{{vehicle}}</font><tab><font color='{{c:team-dmg}}'>{{name}}</font></textformat>"
- // tabstops are - damage / shell type / tank icon / tank name / player name
- },
- "logAltBackground": {
- "$ref": { "path":"damageLog.logAlt" },
- "formatHistory": "<img height='18' width='310' src='xvm://res/icons/damageLog/{{dmg=0?no_dmg|dmg}}.png'>"
- },
- "lastHit": {
- "$ref": { "path":"damageLog.log" },
- "c:costShell":{ // Color depending on shell kind (gold, credits) (macro {{c:costShell}}).
- "gold-shell": "#FFCC66",
- "silver-shell": "#FF7163"
- },
- "showHitNoDamage": true, // true - show hits without damage
- "timeDisplayLastHit": 7, // Display time of last attack (seconds).
- "formatLastHit": "<font size='24' color='{{c:costShell}}'>{{hit-effects}}{{critical-hit}}{{splash-hit}}</font><br><font size='16' color='{{c:team-dmg}}'>{{vehicle}}</font>" // Last damage format.
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement