INFO: markersDeadExtended.xc

Published by ORT on

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #109829
    ORT
    Member

    (Due to the lack of an official wiki and thorough public documentation of the XVM mod, this is an attempt to publish the ins and outs of XVM and cover all of the .xc files. This is intended to be a live document. Every time there are changes to XVM, the finalized changes will be incorporated in the document. Additions/comments/corrections to the information here are welcome. If you have any comment, or noticed anything missing or needing more clarification, or anything that is wrong, please post a comment.)

     

    It is highly recommended to read the topic “<a href="/index.php?/topic/502-info-markersalivenormalxc/” rel=”” style=”box-sizing: border-box; color: rgb(136, 14, 79); text-decoration: underline; background-color: transparent;”>INFO: markersAliveNormal.xc” before reading this topic.

    markersDeadExtrended.xc are the markers that are displayed after a vehicle is destroyed. There isn’t much information a player needs to see after another player is killed. 

    By default, the following markers are displayed:

    (1) Player’s name and clan name,

    (2) vehicle name, and

    (3) vehicle type icon.

    2cdy2yh.jpg

    Default markersDeadExtended.xc explained. (Only the main differences from markersDeadNormal.xc will be explained. For a more in-depth explanation of the fields, see <a href="/index.php?/topic/502-info-markersalivenormalxc/” rel=””>markersAliveNormal.xc).

    Spoiler

    (default XVM markersDeadExtended.xc config file)

    UNLESS NOTED, THE CONFIG IS THE SAME AS IN markersDeadNormal.xc

    /**
     * Options for dead with Alt markers.
     */
    {
      // Definitions
      “def”: {
        // Floating damage values.
        “damageText”: {
          // false – disable 
          “visible”: true,
          // Axis field coordinates
          “x”: 0,
          “y”: -67,
          // Opacity (dynamic transparency allowed, see macros.txt).
          “alpha”: 100,
          // Color (dynamic colors allowed, see macros.txt).
          “color”: null,

          “font”: {
            “name”: “$FieldFont”,
            “size”: 18, 
            “align”: “center”, 
            “bold”: false, 
            “italic”: false
          },
          “shadow”: {
            “alpha”: 100, 
            “color”: “0x000000”,
            “angle”: 45, 
            “distance”: 0,
            “size”: 6, 
            “strength”: 200 
          },
          // Rising speed of displayed damage (float up speed).
          “speed”: 2,
          // Maximum distance of target for which damage rises.
          “maxRange”: 40,
          // Text for normal damage (see description of macros in the macros.txt).
          “damageMessage”: “{{dmg}}”,
          // Text for ammo rack explosion (see description of macros in the macros.txt).
          “blowupMessage”: “{{l10n:blownUp}}n{{dmg}}”
        },
        // Text field with the name of the player.
        “playerName”: { <<<< This field displays the player name and clan name, if any.
          “name”: “Player name”,
          “visible”: true,
          “x”: 0,
          “y”: -34,
          “alpha”: 80,
          “color”: null,
          “font”: { 
            “name”: “$FieldFont”
            “size”: 13,
            “align”: “center”, 
            “bold”: false,
            “italic”: false 
          },
          “shadow”: {
            “alpha”: 100,
            “color”: “0x000000”
            “angle”: 45, 
            “distance”: 0,
            “size”: 6,
            “strength”: 200 
          },
          “format”: “{{nick}}”  <<<< This format uses the {{nick}} macro which is player name and clan name. See macros.txt.
        },
        // Text field with the name of the tank.
        “tankName”: {   <<<< This field displays the vehicle name. 
          “name”: “Tank name”,
          “visible”: true, 
          “x”: 0, 
          “y”: -20, 
          “alpha”: 80, 
          “color”: null, 
          “font”: { 
            “name”: “$FieldFont”, 
            “size”: 13, 
            “align”: “center”,
            “bold”: false, 
            “italic”: false 
          },
          “shadow”: { 
            “alpha”: 100, 
            “color”: “0x000000”, 
            “angle”: 45, 
            “distance”: 0,
            “size”: 6, 
            “strength”: 200 
          },
          “format”: “{{vehicle}}” <<<< This format uses the {{vehicle}} macro for the vehicle name. Alternative macro is {{vehicle-short}} which is the shortened vehicle name set in vehicleNames.xc 
        }
      },
    — Ally OTMs config starts here —
      “ally”: {
        // Type of vehicle icon (HT/MT/LT/TD/Arty).

        “vehicleIcon”: {  <<<< This field displays the vehicle type icon.
          // false – disable 
          “visible”: true,
          // true – show speaker even if visible=false
          “showSpeaker”: false,
          // Axis field coordinates
          “x”: 0,
          “y”: -16,
          // Opacity.
          “alpha”: 100,
          // Color (currently not in use).
          “color”: null,
          // Maximum scale (default is 100).
          “maxScale”: 100,
          // Offset along the X axis (?)
          “scaleX”: 0,
          // Offset along the Y axis (?)
          “scaleY”: 16,
          “shadow”: {
            “alpha”: 100, 
            “color”: “0x000000”, 
            “angle”: 45, 
            “distance”: 0, 
            “size”: 6,
            “strength”: 200 
          }
        },
        “healthBar”: {
          “visible”: false,
          “x”: -41, 
          “y”: -33,
          “alpha”: 100, 
          “color”: null, 
          “lcolor”: null, 
          “width”: 80, 
          “height”: 12,
          “border”: {
            “alpha”: 30, 
            “color”: “0x000000”,
            “size”: 1
          },
          “fill”: {
            “alpha”: 30                     //     прозрачность
          },
          “damage”: {
            “alpha”: 80, 
            “color”: null,
            “fade”: 1 
          }
        },
        // Floating damage values for ally, player, squadman.
        “damageText”: {
          “$ref”: { “path”:”def.damageText” }
        },
        “damageTextPlayer”: {
          “$ref”: { “path”:”def.damageText” }
        },
        “damageTextSquadman”: {
          “$ref”: { “path”:”def.damageText” }
        },
        // Vehicle contour icon.
        “contourIcon”: {
          “visible”: false,
          // Axis field coordinates.
          “x”: 6,
          “y”: -65,
          // Opacity (dynamic transparency allowed, see macros.txt).
          “alpha”: 100,
          // Color (dynamic colors allowed, see macros.txt).
          “color”: null,
          // Color intensity from 0 to 100. The default is 0 (off).
          “amount”: 0
        },
        // Player or clan icon.
        “clanIcon”: {
          “visible”: false,
          “x”: 0, 
          “y”: -67, 
          “w”: 16,
          “h”: 16,
          // Opacity (dynamic transparency allowed, see macros.txt).
          “alpha”: 100
        },
        // Vehicle tier.
        “levelIcon”: {
          “visible”: false,  
          “x”: 0, 
          “y”: -21,  
          “alpha”: 100 
        },
        // Markers “Help!” and “Attack!”.
        “actionMarker”: {
          “visible”: true, 
          “x”: 0, 
          “y”: -67, 
          “alpha”: 100  
        },
        // Block of text fields.
        “textFields”: [ <<<< These text fields call up the vehicle name and the player name and clan name to be displayed.
          ${ “def.tankName” },
          ${ “def.playerName” }
        ]
      },

     

    — Enemy OTMs config starts here —
      “enemy”: {
        // Type of vehicle icon (HT/MT/LT/TD/Arty).
        “vehicleIcon”: {   <<<< This field displays the vehicle type icon.
          “visible”: true,
          “showSpeaker”: false,
          “x”: 0,
          “y”: -16,
          “alpha”: 100,
          “color”: null,
          “maxScale”: 100,
          “scaleX”: 0,
          “scaleY”: 16,
          “shadow”: {
            “alpha”: 100,
            “color”: “0x000000”,
            “angle”: 45,
            “distance”: 0,
            “size”: 6,
            “strength”: 200
          }
        },
        “healthBar”: {
          “visible”: false,
          “x”: -41,
          “y”: -33,
          “alpha”: 100,
          “color”: null,
          “lcolor”: null,
          “width”: 80,
          “height”: 12,
          “border”: {
            “alpha”: 30,
            “color”: “0x000000”,
            “size”: 1
          },
          “fill”: {
            “alpha”: 30
          },
          “damage”: {
            “alpha”: 80,
            “color”: null,
            “fade”: 1
          }
        },
        // Floating damage values for ally, player, squadman.
        “damageText”: {
          “$ref”: { “path”:”def.damageText” }
        },
        “damageTextPlayer”: {
          “$ref”: { “path”:”def.damageText” }
        },
        “damageTextSquadman”: {
          “$ref”: { “path”:”def.damageText” }
        },
        // Vehicle contour icon.
        “contourIcon”: {
          “visible”: false,
          “x”: 6,
          “y”: -65,
          “alpha”: 100,
          “color”: null,
          “amount”: 0
        },
        // Player or clan icon.
        “clanIcon”: {
          “visible”: false,
          “x”: 0,
          “y”: -67,
          “w”: 16,
          “h”: 16,
          “alpha”: 100
        },
        // Vehicle tier.
        // Уровень танка.
        “levelIcon”: {
          “visible”: false,
          “x”: 0,
          “y”: -21,
          “alpha”: 100
        },
        // Markers “Help!” and “Attack!”.
        “actionMarker”: {
          “visible”: true,
          “x”: 0,
          “y”: -67,
          “alpha”: 100
        },
        // Block of text fields.
        “textFields”: [   <<<< These text fields call up the vehicle name and the player name and clan name to be displayed.
          ${ “def.tankName” },
          ${ “def.playerName” }
        ]
      }
    }

     

     

    Related config files:   <a href="/index.php?/topic/501-info-markersxc/” rel=””>markers.xc, <a href="/index.php?/topic/502-info-markersalivenormalxc/” rel=””>markersAliveNormal.xc, <a href="/index.php?/topic/503-info-markersaliveextendedxc/” rel=””>markersAliveExtended.xc, <a href="/index.php?/topic/504-info-markersdeadnormalxc/” rel=””>markersDeadNormal.xc.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.