XVM 5.3.0 for World of Tanks 0.9.0

New release: XVM 5.3.0 for World of Tanks 0.9.0.


  * new macros formatting (see readme-en.txt)
      name  - macro name
      flag  - "-" for left align, else right align
              "0" for filling with leading zeros
      width - minimum width
      prec  - maximum width for lines or number of digits after comma for numbers
      type  - type (s - string, d - decimal, f - float, ...)
      suf   - suffix added at the end
      def   - default value, set when value is absent:
    Details: en.wikipedia.org/wiki/Printf
    For example:
      {{name%-16.16s}}      - cut names longer 10 chars, and fill names shorter 10 chars and align left
      {{kb%4.01f~k|----}}   - width 4 chars, exactly 1 char after comma, align right
                              if kb==null, display "----"
  * config version increased to 5.1.0

  * dynamic circles on the minimap. Options:
      minimap/circles/artillery - maximum range of fire for artillery
      minimap/circles/shell - maximum range of shooting for autocannon and semi-automatic cannon
      minimap/circles/view - view distance (dynamically changes when switching binocular telescope)
      minimap/circles/major - removed, replaced with "view" section
    Omegaice's code was used for this component
  * new options in playersPanel for extra text fields
  * new options in playersPanel for frags formatting
  * new option playersPanel/startMode for initial players panels mode
  * new option battle/allowHpInPanelsAndMinimap - enable {{hp}}, {{hp-ratio}}, {{hp-max}}
    macros in players panels and minimap. WARNING: performance expensive

  * new macros:
    {{frags}} - current frags
    {{alive}} - 'alive' for alive, '' for dead
    {{battletier}} - guessed current battle tier
    {{squad-num}} - squad number or null if not in squad
  * macros extended: {{hp:XX}} and {{hp-max:XX}} return value normalized to XX for current battle tier
    ex.: {{hp:300}} - will return 300 for HP=700 at tier-5 battle, and for HP=3000 at tier-11 battle.
  * macros extended: value replacement - {{macro?rep}}
    ex.: "alpha": "{{alive?80|0}}" - set alpha to 80 for alive and 0 for dead
  * changed value of macro {{squad}} from '1' to 'sq'
  * removed macro {{vehicle-type}} as duplication of {{vehicle}}
  * removed macro {{vehicle-name}} as duplication of {{vehiclename}}
  * removed macro {{short-nick}} and option minimap/nickShrink as replaced by {{nick%.5s}}

  * source code now stored on dev.modxvm.com