Jump to content
Korean Random

soulza

User
  • Posts

    112
  • Joined

Posts posted by soulza

  1. you mean to display them ?

    if so in players panels,battle loading,statistic form and over tank marker can all display clan icons , you just need to add or activate the line of code or macro,

     this is from battle loading.xc

    "clanIcon": {
      
       "show": false,  <<<<<<<set to true
       "x": 0, // default=0
       "y": 6, // default=6
       "xr": -100, // default=0
       "yr": -100, // default=6
       "w": 16,
       "h": 16,
       "alpha": 90
      },

  2. what ever .png files you have in your .res_mods\mods\shared_resources\xvm\res\clanicons\NA\clan folder

    will display in battle so you need to add them all there , xvm used to display all clan icons but stopped doing so some time ago , however i have a collection of clan icons already resized

    i did these a while ago but there are a good lot included  and it constains most clans

     

    pre_1425951160__na_clan_icons.png

    here is a link for the NA pack

    http://www.mediafire.com/download/0h212mn246fn1of/NA_clan_icons_Aug_2015.rar

     

    anyone else interested from EU

    heres EU pack

     

    http://www.mediafire.com/download/yh8vbewat42a3yc/EU.rar

    • Upvote 1
  3. Jesus, never thought that the battleLoadingTips.xc makes entries to the battleLoading list

    I removed these from battleLoadingTips.xc

    /**
     * Parameters of the Battle Loading screen.
     * Параметры Ñкрана загрузки боÑ.
     */
    {
    	"battleLoadingTips": {
    		"$ref": { "file": "battleLoading.xc", "path": "battleLoading" },
    		"nameFieldShowBorder": false,																									// Show border for name field (useful for config tuning)
    		"vehicleFieldShowBorder": false,																								// Show border for vehicle field (useful for config tuning)
    		"squadIconOffsetXLeft": -100,																									// X offset for allies squad icons
    		"squadIconOffsetXRight": -100,																									// X offset for enemies squad icons field
    		"nameFieldOffsetXLeft": -108,																									// X offset for allies player names field
    		"nameFieldWidthDeltaLeft": 120,																									// Width delta for allies player names field
    		"nameFieldOffsetXRight": -103,																									// X offset for enemies player names field
    		"nameFieldWidthDeltaRight": 120,																								// Width delta for enemies player names field
    		"vehicleFieldOffsetXLeft": 0,																									// X offset for allies vehicle names field
    		"vehicleFieldWidthDeltaLeft": 130,																								// Width delta for allies vehicle names field
    		"vehicleFieldOffsetXRight": 0,																									// X offset for enemies vehicle names field
    		"vehicleFieldWidthDeltaRight": 130,																								// Width delta for enemies vehicle names field
    		"vehicleIconOffsetXLeft": -24,																									// X offset for allies vehicle icons
    		"vehicleIconOffsetXRight": -18
    	}
    }
    

     

    but the basic problem still remain

    Entries of battleLoading.xc are overlayed to the VehicleTypeIcon

    current content of battleLoading.xc:

    /**
     * Parameters of the Battle Loading screen.
     */
    {
    	"battleLoading": {
    		"formatLeftNick": "",
    		"formatLeftVehicle": "{{vehicle}}",
    		"formatRightNick": "",
    		"formatRightVehicle": "{{vehicle}}",
    		"darkenNotReadyIcon": true,
    		"showBattleTier": true,
    		"clockFormat": "",
    		"removeSquadIcon": true,
    		"removeVehicleLevel": false,
    		"removeVehicleTypeIcon":false   <<<<<<<<this needs to be set to true
    	}
    }
    

    screenshot:

  4. "vehicleSpotted": {
          "$ref": { "path":"def.defaultItem" },
          "x": 2,
          "y": "{{squad?7|-1}}",
          "flags": [ "ally", "enemy", "squadman", "teamKiller", "spotted", "alive" ],
          "textFormat": { "size": 8 },
          "format": "<font size='6' face='TechnicBold' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{vehicle}}</font><font face='XVMSymbol' size='8' color='{{c:wn8|#FFFFFF}}'>!</font>",
       "x": 2,
       "y": -8
        },
        // Vehicle name, visible, company config
        // Название техники, видимый, ротный конфиг
        "vehicleSpottedCompany": {
          "$ref": { "path":"def.vehicleSpotted" },
          "y": "{{ally?{{battletype?7|{{squad?7|-1}}}}|-1}}"
        },
        // Player nickname, visible
        // Ник игрока, видимый
         "nickSpotted": {
          "$ref": { "path":"def.defaultItem" },
          "x": 2,
          "y": -6,
          "flags": [ "player", "ally", "squadman", "enemy", "teamKiller", "lost", "spotted", "alive" ],
          "textFormat": { "size": 8 },
          "format": "<font size='6' face='TechnicBold' color='{{.minimap.labelsData.colors.txt.{{sys-color-key}}}}'><i>{{name%.7s~..}}</i></font>",
        "x": 2,
       "y": -1
        },
        // Player nickname, visible, company config
        // Ник игрока, видимый, ротный конфиг
        "nickSpottedCompany": {
          "$ref": { "path": "def.nickSpotted" },
          "flags": [ "ally", "squadman", "teamKiller", "spotted", "alive" ],
          "format": "<font size='{{battletype?8|{{squad?8|0}}}}' color='{{squad?{{.minimap.labelsData.colors.txt.{{sys-color-key}}}}|{{tk?{{.minimap.labelsData.colors.txt.{{sys-color-key}}}}|#BFBFBF}}}}'><i>{{name%.7s~..}}</i></font>",
       "x": 2,
       "y": -1
        },

     

    this code gives you vehicle name,wn8 rating via colored star and players name

    (wn8 rating not shown in picture below but the code above adds it

     

    Untitled.png.c118ea4bebbc70863db55968729

  5. line 34  "tankType": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },

    change to

    line 34 "tankType": { "enabled": false, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },

     

    you are calling tank names later on in extra fields but names are displayed in two colors for normal and premium,

     

    line 77 { "x": 1, "y": 78, "align": "left", "format": "<font face='$FieldFont' color='#ffffff' size='14'>{{v.name}}</font>", "alpha": "{{v.premium?0|100}}" , "shadow": {"blur":8, "color": "0x545341", "strength": 3} },

  6. i already have heres screengrab as you can see i have changed it but its still remaining green

    here are the labels :

    "labels": {
        "enabled": true,
        // Format set
        // Набор форматов
        "formats": [
          //${ "minimapLabelsTemplates.xc":"def.vtypeSpotted" },
          ${ "minimapLabelsTemplates.xc":"def.vehicleSpotted" },
          ${ "minimapLabelsTemplates.xc":"def.nickSpotted" },
          ${ "minimapLabelsTemplates.xc":"def.xmqpEvent" },
          ${ "minimapLabelsTemplates.xc":"def.vtypeLost" },
          ${ "minimapLabelsTemplates.xc":"def.vehicleLost" },
          ${ "minimapLabelsTemplates.xc":"def.nickLost" },
          ${ "minimapLabelsTemplates.xc":"def.vtypeDead" }
        ]
      }

    vtypespotted is disabled in xvm atm by default i assume there is still work to be done there because if i enable the vtypespotted i do get a vehicle icon i can edit/color but the default icon is also displayed in green

     

    Capture.png

×
×
  • Create New...