Hio... i have some Problems using a custom Macro, like it's shown in issue #171 (http://code.google.com/p/wot-xvm/issues/detail?id=171)
I want to use some symbols for dmgtypes
config file is like that:
// Hit log (my hits calculator)
"hitLog": {
"enabled": true, // on/off switch
"x": 285, // X position (negative values - bind to right side of screen)
"y": 5, // Y position (negative values - bind to bottom side of screen)
"w": 500, // Width
"h": 1000, // Height
"lines": 15, // Number of lines. Old lines will be pushed out
"direction": "down", // Log direction: up - lines will be added from up to down, down - from down to up.
"insertOrder": "end", // Insert order: begin - insert new values to begin, end - add to end
"groupHitsByPlayer": true, // group hits by players name
// Substitution for {{dead}} macro when tank is dead
"deadMarker": "<font face='Wingdings'>N</font>",
"blowupMarker": "<font face='Wingdings'>M</font>",
// Hits header format, including last hit (macros allowed, see readme-en.txt)
"formatHeader": "<font color='#FFFFFF'>Hits:</font> <font size='13'>#{{n}}</font> <font size='0{{vehicle}}'><b>{{dmg-total}}</b> <font color='#FFFFFF'>Last:</font> <font color='{{c:dmg-kind}}'><b>{{dmg}}</b>{{m:dmgsymb}{{dead}}</font></font>",
"formatHistory": "<textformat leading='-6' tabstops='[20,60,120,145]'><font size='10'>#</font>{{n-player}}<tab>|<font color='#DD3333'><b>{{dmg-player}}</b></font><tab>|<font color='{{c:dmg-kind}}'>{{dmg}}</font><tab>|<font color='{{c:dmg-kind}}'>{{dead}}</font><tab><font color='{{c:vtype}}'>{{vehicle}}</font> <font size='10'>{{name}}<font color='#999999'>{{clan}}</font></font>",
"shadow": { // Shadow options
"alpha": 100, // Opacity
"color": "0x000000", // Color
"angle": 45, // Offset angle
"distance": 0, // Offset distance
"size": 5, // Size
"strength": 150 // Intensity
}
},and the macro is inserted at the entire bottom of the file:
[normal stuff from XVM Config up here]
},
{ "name": "dmgsymb",
"type": "dmg-kind",
"values": [
[ "attack", "<font face='Wingdings'>\u00B1</font>" ],
[ "fire", "<font face='Webdings'>\u0066</font>" ],
[ "ramming", "<font face='Webdings'>\u008D</font>" ],
[ "world_collision", "<font face='Webdings'>\u00FC</font>" ],
[ "other", "?" ]
]
}i also tried in a macros section like the colors section but it doesn't work... where do i have to write the custom macros?