INFO: markersDeadNormal.xc

Published by ORT on

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #109825
    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.

    markersDeadNormal.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. The only information displayed in XVM’s default config is the dead player’s vehicle type icon.

    aujzv7.jpg

    Default markersDeadNormal.xc explained. (Only the main differences from markersAliveNormal.xc will be explained. For a more in-depth explanation of the fields, see <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;”>markersAliveNormal.xc)

    Spoiler

    (default XVM markersDeadNormal.xc config file)

    /**
     * Options for dead without 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}}”
        }
      },

    — Ally OTMs configs start here —
      “ally”: {
        // Type of vehicle icon (HT/MT/LT/TD/Arty).
        “vehicleIcon”: { <<<< The vehicle type icon is the only field visible for dead vehicle markers without Alt key.
          // 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, <<<< Health bar is set not to display, there is no health to display, duh?
          “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”: {
          // false – disable
          “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, <<<< Clan icon is set not to display.
          “x”: 0,
          “y”: -67,
          “w”: 16,
          “h”: 16,
          // Opacity (dynamic transparency allowed, see macros.txt).
          “alpha”: 100
        },
        // Vehicle tier.
        “levelIcon”: {
          “visible”: false,  <<<< Vehicle tier is set not to display.
          “x”: 0, 
          “y”: -21, 
          “alpha”: 100
        },
        // Markers “Help!” and “Attack!”.
        “actionMarker”: {
          “visible”: true,  <<<< I wonder why action markers are set to display, dead tanks don’t talk or are targeted for attack. Nonetheless, enabled or not, nothing will display.
          “x”: 0, 
          “y”: -67,
          “alpha”: 100 
        },
        // Block of text fields.
        “textFields”: []  <<<< There are no text fields that are called up to be displayed. 
      },
    — Ally OTMs configs end here —

    — Enemy OTMs configs start here —
      “enemy”: {
        // Type of vehicle icon (HT/MT/LT/TD/Arty).
        “vehicleIcon”: { <<<< The vehicle type icon is the only field visible for dead vehicle markers without Alt key.
          “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”: { <<<< Health bar is set not to display, there is no health to display, duh?
          “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”: {   <<<< Clan icon is set not to display.
          “visible”: false,
          “x”: 0,
          “y”: -67,
          “w”: 16,
          “h”: 16,
          “alpha”: 100
        },
        // Vehicle tier.
        “levelIcon”: {  <<<< Vehicle tier is set not to display.
          “visible”: false,
          “x”: 0,
          “y”: -21,
          “alpha”: 100
        },
        // Markers “Help!” and “Attack!”.
        “actionMarker”: {  
          “visible”: true, <<<< I wonder why action markers are set to display, dead tanks don’t talk or are targeted for attack. Nonetheless, enabled or not, nothing will display.
          “x”: 0,
          “y”: -67,
          “alpha”: 100
        },
        // Block of text fields.
        “textFields”: []
      }
    }

    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/505-info-markersdeadextendedxc/” rel=””>markersDeadExtended.xc.

    #109826
    blitz4
    Member

    so what would you turn to false to stop information showing up on dead tanks?

    #109827
    soulza
    Participant

    depending on whos config you are using , markersdeadnormal is not a big file to look at , it will contain the info for when a tank is destroyed so leave that set to true , you may then have healthbar , turn to false, vehicle icon , false etc,

    here is my config below with nothing on, i have drawn a red line in both ally and enemy sections , leave the damage stuff alone and edit to false below

     

    {
            “ally”: {
              “actionMarker”: { “alpha”: 100, “enabled”: true, “x”: 0, “y”: -67 },
              “clanIcon”: { “alpha”: 100, “h”: 16, “enabled”: false, “w”: 16, “x”: 0, “y”: -67 },
              “contourIcon”: { “alpha”: 100, “amount”: 0, “color”: null, “enabled”: false, “x”: 0, “y”: -45 },
              “damageText”: {
                “alpha”: 100,
                “blowupMessage”: “<img src=’cfg://soulzaskehoblue/icons/allyleftwing.png’ width=’25’ height=’18’><font face=’Calibri’ size=’14’ color=’0xFFFFFF’>{{vehicle}}</font><img src=’cfg://soulzaskehoblue/icons/allyrightwing.png’ width=’25’ height=’18’>n<font face=’agencyfb’>[AMMORACK]n-{{dmg}}</font>”,
                “damageMessage”: “<img src=’cfg://soulzaskehoblue/icons/allyleftwing.png’ width=’25’ height=’18’><font face=’Calibri’ size=’14’ color=’0xFFFFFF’>{{vehicle}}</font><img src=’cfg://soulzaskehoblue/icons/allyrightwing.png’ width=’25’ height=’18’>n<font face=’agencyfb’>-{{dmg}}</font>”,
                “textformat”: { “align”: “center”, “bold”: true, “italic”: false, “font”: “$FieldFont”, “size”: 10 },
                “maxRange”: 30,
                “shadow”: { “alpha”: 100, “angle”: 0, “color”: “0x000000”, “distance”: 1, “blur”: 1, “strength”: 10 },
                “speed”: 2,
                “enabled”: true,
                “x”: 0,
                “y”: -65
              },
              “damageTextPlayer”: {
                “alpha”: 100,
                “blowupMessage”: “<img src=’cfg://soulzaskehoblue/icons/allyleftwing.png’ width=’25’ height=’18’><font face=’Calibri’ size=’14’ color=’0xFFFFFF’>{{vehicle}}</font><img src=’cfg://soulzaskehoblue/icons/allyrightwing.png’ width=’25’ height=’18’>n<font face=’agencyfb’>[AMMORACK]n-{{dmg}}</font>”,
                “color”: “0x000000”,
                “damageMessage”: “<img src=’cfg://soulzaskehoblue/icons/allyleftwing.png’ width=’25’ height=’18’><font face=’Calibri’ size=’14’ color=’0xFFFFFF’>{{vehicle}}</font><img src=’cfg://soulzaskehoblue/icons/allyrightwing.png’ width=’25’ height=’18’>n<font face=’agencyfb’>-{{dmg}}</font>”,
                “textformat”: { “align”: “center”, “bold”: true, “italic”: false, “font”: “$FieldFont”, “size”: 10 },
                “maxRange”: 30,
                “shadow”: { “alpha”: 100, “angle”: 0, “color”: “0x000000”, “distance”: 1, “blur”: 1, “strength”: 10 },
                “speed”: 2,
                “enabled”: true,
                “x”: 0,
                “y”: -65
              },
              “damageTextSquadman”: {
                “alpha”: 100,
                “blowupMessage”: “<img src=’cfg://soulzaskehoblue/icons/allyleftwing.png’ width=’25’ height=’18’><font face=’Calibri’ size=’14’color=’0xFFFFFF’ >{{vehicle}}</font><img src=’cfg://soulzaskehoblue/icons/allyrightwing.png’ width=’25’ height=’18’>n<font face=’agencyfb’>[AMMORACK]n-{{dmg}}</font>”,
                “color”: “0x000000”,
                “damageMessage”: “<img src=’cfg://soulzaskehoblue/icons/allyleftwing.png’ width=’25’ height=’18’><font face=’Calibri’ size=’14’color=’0xFFFFFF’ >{{vehicle}}</font><img src=’cfg://soulzaskehoblue/icons/allyrightwing.png’ width=’25’ height=’18’>n<font face=’agencyfb’>-{{dmg}}</font>”,
                “textformat”: { “align”: “center”, “bold”: true, “italic”: false, “font”: “$FieldFont”, “size”: 10 },
                “maxRange”: 30,
                “shadow”: { “alpha”: 100, “angle”: 0, “color”: “0x000000”, “distance”: 1, “blur”: 1, “strength”: 10 },
                “speed”: 2,
                “enabled”: true,
                “x”: 0,
                “y”: -65
              },

    /////////—————————————————————————————————————————————————————————-
              “healthBar”: {
                “alpha”: 100,
                “border”: { “alpha”: 30, “color”: “0x000000”, “size”: 1 },
                “color”: null,
                “damage”: { “alpha”: 80, “color”: null, “fade”: 1 },
                “fill”: { “alpha”: 30 },
                “height”: 5,
                “lcolor”: null,
                “enabled”: false,
                “width”: 80,
                “x”: -41,
                “y”: -34
              },
              “levelIcon”: { “alpha”: 100, “enabled”: false, “x”: 0, “y”: -21 },
              “textFields”: [
                {
                  “alpha”: 100,
                  “color”: “0x000000”,
                  “font”: { “align”: “center”, “bold”: false, “italic”: false, “name”: “$FieldFont”, “size”: 11 },
                  “format”: “{{vehicle}}”,
                  “name”: “Dead tank name”,
                  “shadow”: { “alpha”: “90”, “angle”: 90, “color”: null, “distance”: 0, “size”: 5, “strength”: 120 },
                  “enabled”: false,
                  “x”: 0,
                  “y”: -22
                }
              ],
              “vehicleIcon”: {
                “alpha”: 50,
                “color”: null,
                “maxScale”: 100,
                “scaleX”: 0,
                “scaleY”: 16,
                “shadow”: { “alpha”: 100, “angle”: 45, “color”: “0x000000”, “distance”: 1, “blur”: 1, “strength”: 10 },
                “showSpeaker”: false,
                “enabled”: false,
                “x”: 0,
                “y”: -16
              }
            },

    ////////////ENEMY BELOW THIS
            “enemy”: {
              “actionMarker”: { “alpha”: 100, “enabled”: true, “x”: 0, “y”: -67 },
              “clanIcon”: { “alpha”: 100, “h”: 16, “enabled”: false, “w”: 16, “x”: 0, “y”: -67 },
              “contourIcon”: { “alpha”: 100, “amount”: 0, “color”: null, “enabled”: false, “x”: 0, “y”: -45 },
              “damageText”: {
                “alpha”: 100,
                “blowupMessage”: “<img src=’cfg://soulzaskehoblue/icons/enemy_skull.png’ width=’45’ height=’35’>n<font face=’Calibri’ size=’14’ color=’0xFFFFFF’ >{{vehicle}}</font>n<font face=’agencyfb’>[AMMORACK]n-{{dmg}}</font>”,
                “color”: “0xFFFFFF”,
                “damageMessage”: “<img src=’cfg://soulzaskehoblue/icons/enemy_skull.png’ width=’45’ height=’35’>n<font face=’Calibri’ size=’14’ color=’0xFFFFFF’ >{{vehicle}}</font>n<font face=’agencyfb’>-{{dmg}}</font>”,
                “textformat”: { “align”: “center”, “bold”: true, “italic”: false, “font”: “$FieldFont”, “size”: 10 },
                “maxRange”: 40,
                “shadow”: { “alpha”: 100, “angle”: 0, “color”: “0x000000”, “distance”: 1, “blur”: 1, “strength”: 10 },
               “speed”: 2,
                “enabled”: true,
                “x”: 0,
                “y”: -65
              },
              “damageTextPlayer”: {
                “alpha”: 100,
                “blowupMessage”: “<img src=’cfg://soulzaskehoblue/icons/skull.png’ width=’45’ height=’35’>n<font face=’Calibri’ size=’14’ color=’0xFFFFFF’ >{{vehicle}}</font>n<font face=’agencyfb’>[AMMORACK]n-{{dmg}}</font>”,
                “color”: “16777215”,
                “damageMessage”: “<img src=’cfg://soulzaskehoblue/icons/skull.png’ width=’45’ height=’35’>n<font face=’Calibri’ size=’14’ color=’0xFFFFFF’ >{{vehicle}}</font>n<font face=’agencyfb’>-{{dmg}}</font>”,
                “textformat”: { “align”: “center”, “bold”: true, “italic”: false, “font”: “$FieldFont”, “size”: 10 },
                “maxRange”: 40,
                “shadow”: { “alpha”: 100, “angle”: 0, “color”: “0x000000”, “distance”: 1, “blur”: 1, “strength”: 10 },
               “speed”: 2,
                “enabled”: true,
                “x”: 0,
                “y”: -65
              },
              “damageTextSquadman”: {
                “alpha”: 100,
                “blowupMessage”: “<img src=’cfg://soulzaskehoblue/icons/enemy_skull.png’ width=’45’ height=’35’>n<font face=’Calibri’ size=’14’ color=’0xFFFFFF’>{{vehicle}}</font>n<font face=’agencyfb’>[AMMORACK]n-{{dmg}}</font>”,
                “color”: “16777215”,
                “damageMessage”: “<img src=’cfg://soulzaskehoblue/icons/enemy_skull.png’ width=’35’ height=’37’>n<font face=’Calibri’ size=’14’ color=’0xFFFFFF’>{{vehicle}}</font>n<font face=’agencyfb’>-{{dmg}}</font>”,
                “textformat”: { “align”: “center”, “bold”: true, “italic”: false, “font”: “$FieldFont”, “size”: 10 },
                “maxRange”: 40,
                “shadow”: { “alpha”: 100, “angle”: 0, “color”: “0x000000”, “distance”: 1, “blur”: 1, “strength”: 10 },
               “speed”: 2,
                “enabled”: true,
                “x”: 0,
                “y”: -65
              },

    /////————————————————————————————————————————————
              “healthBar”: {
                “alpha”: 100,
                “border”: { “alpha”: 30, “color”: “0x000000”, “size”: 1 },
                “color”: null,
                “damage”: { “alpha”: 80, “color”: null, “fade”: 1 },
                “fill”: { “alpha”: 30 },
                “height”: 5,
                “lcolor”: null,
                “enabled”: false,
                “width”: 80,
                “x”: -41,
                “y”: -34
              },
              “levelIcon”: { “alpha”: 100, “enabled”: false, “x”: 0, “y”: -21 },
              “textFields”: [
                {
                  “alpha”: 100,
                  “color”: “0x000000”,
                  “font”: { “align”: “center”, “bold”: false, “italic”: false, “name”: “$FieldFont”, “size”: 11 },
                  “format”: “{{vehicle}}”,
                  “name”: “Dead tank name”,
                  “shadow”: { “alpha”: “90”, “angle”: 90, “color”: null, “distance”: 0, “size”: 5, “strength”: 120 },
                  “enabled”: false,
                  “x”: 0,
                  “y”: -22
                }
              ],
              “vehicleIcon”: {
                “alpha”: 100,
                “color”: null,
                “maxScale”: 100,
                “scaleX”: 0,
                “scaleY”: 16,
                “shadow”: { “alpha”: 100, “angle”: 45, “color”: “0x000000”, “distance”: 1, “size”: 1, “strength”: 120 },
                “showSpeaker”: false,
                “enabled”: false,
                “x”: 0,
                “y”: -16
              }
            }
    }
     

    #109828
    blitz4
    Member

    trying out WorstunicumEU over on Plazs site.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.