Jump to content
Korean Random

Aslain

User
  • Posts

    739
  • Joined

  • Last visited

  • Days Won

    68

Posts posted by Aslain

  1. Edited by Aslain

    Hi,

     

    So you guys have developed this: https://bitbucket.org/XVM/xvm/src/31bfce2b2c96/addons/clanicons/?at=default

     

    But it seem to be outdated, I cannot make it work at all. In windows it's downloading icons super slow, and nothing is created, I receive 0 bytes files and no icons at all.

     

    What I want to do is to download is all clan icons for every region.

     

    Any help appreciated.

     

    Ty.

  2. Edited by Aslain

    Sure, if you do mod only for yourself, but there is many users you know :) Why not to make complete camera options, unless it's technicaly difficult.

     

    Anyway tried to mod zooms, and it doesn't seem to work to me.

     

    "zooms": [2, 4, 8, 16, 30, 55] - in game I see 2,4,8 only

     

    "zooms": [0.9, 2, 2.5, 4, 8, 16, 30, 55] - in the game I still see 2,4,8 only

     

    Camera is enabled: "enabled": true,

    • Upvote 2
  3. Edited by Aslain

    That means no?

     

    I was happy to see your camera scripts, but if you don't add the rest, it's useless tbh because people must still install 3rd party scripts.

     

    I prefer to not use PMOD as it's sending info to WG.

    • Upvote 1
    • Downvote 1
  4. Edited by Aslain

    Hi

     

    I see you are developing camera options (camera.xc), I have a question, will you also introduce there No Scroll, Default Zoom, Zoom Indicator and basicaly all that features that comes with Koshnaranek camera scripts?

    • Upvote 2
  5. Edited by Aslain

    example

    <font color='{{c:r}}'>{{name}}</font> 

     

    That was my first idea too, but when I did it, everyone had white color....

     

    minimapLabelsTemplatesAlt.xc

    /**
    * Minimap labels.
    * Надписи на миникарте.
    */
    {
      // Textfields for units on minimap.
      // Текстовые поля юнитов на миникарте.
      // TODO: documentation
      //  {
      //    Если не указаны "ally", "squadman", "player", "enemy", "teamKiller", то они не используются.
      //    Если не указаны "lost" и "spotted", то используются оба - и "lost", и "spotted".
      //    Если не указаны "alive", "dead", то используются оба - и "alive", и "dead".
      //    "flags": [ "player", "ally", "squadman", "enemy", "teamKiller", "lost", "spotted", "alive", "dead" ],
      //    "format": "...",
      //    "shadow": { ... },
      //    "alpha": "...",
      //    "x": { ... },
      //    "y": { ... },
      //    "antiAliasType": "normal" // normal/advanced
      //  }
      // Definitions
      // Шаблоны
      "def": {
        // Формат поля по умолчанию
        "defaultItem": {
          "flags": [ "player", "ally", "squadman", "enemy", "teamKiller", "lost", "spotted", "alive", "dead" ],
          "shadow": { "distance": 0, "angle": 45, "color": "0x000000", "alpha": 80, "blur": 2, "strength": 4 },
          "alpha": 100,
          "x": 0,
          "y": 0,
          "width": 100,
          "height": 40,
          "align": "left",
          "valign": "top",
          "antiAliasType": "normal",
          "bgColor": null,
          "borderColor": null
        },
        // Тип техники, видимый
        "vtypeSpotted": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "ally", "enemy", "squadman", "teamKiller", "spotted", "alive" ],
          "format": "<font size='13' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{.minimap.labelsData.vtype.{{vtype-key}}}}</font>",
          "align": "center",
          "valign": "center"
        },
        // Название техники, видимый
        "vehicleSpotted": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "ally", "enemy", "squadman", "teamKiller", "spotted", "alive" ],
          "format": "<font size='7' color='{{c:r}}'>{{nick}}</font>",
          "x": 2,
          "y": -1
        },
        // Ник игрока, видимый
        "nickSpotted": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "spotted", "alive" ],
          "format": "<font size='7' color='{{.minimap.labelsData.colors.txt.{{sys-color-key}}}}'><i>{{name%.7s~..}}</i></font>",
          "x": 2,
          "y": -9
        },
        // Тип техники, пропавший
        "vtypeLost": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "ally", "enemy", "squadman", "teamKiller", "lost", "alive" ],
          "format": "<font size='13' color='{{.minimap.labelsData.colors.lostDot.{{sys-color-key}}}}'>{{.minimap.labelsData.vtype.{{vtype-key}}}}</font>",
          "align": "center",
          "valign": "center",
          "alpha": 75
        },
        // Название техники, пропавший
        "vehicleLost": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "ally", "enemy", "squadman", "teamKiller", "lost", "alive" ],
          "format": "<font size='7' color='{{c:r}}'><i>{{nick}}</i></font>",
          "alpha": 85,
          "x": 2,
          "y": -1
        },
        // Ник игрока, пропавший
        "nickLost": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "squadman", "lost", "alive" ],
          "format": "<font size='7' color='{{.minimap.labelsData.colors.txt.{{sys-color-key}}}}'><i>{{name%.7s~..}}</i></font>",
          "alpha": 85,
          "x": 2,
          "y": -9
        },
        // Тип техники, мертвый
        "vtypeDead": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "ally", "enemy", "squadman", "teamKiller", "dead" ],
          "format": "<font face='xvm' size='11' color='{{.minimap.labelsData.colors.lostDot.{{sys-color-key}}}}'>{{.minimap.labelsData.vtype.{{vtype-key}}}}</font>",
          "shadow": { "$ref": { "path":"def.defaultItem.shadow" }, "strength": 3 },
          "align": "center",
          "valign": "center",
          "alpha": 90
        },
        // Название техники, мертвый
        "vehicleDead": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "squadman", "dead" ],
          "format": "<font size='7' color='{{c:r}}'>{{nick}}</font>",
          "alpha": 85,
          "x": 2,
          "y": -1
        },
        // Ник игрока, мертвый
        "nickDead": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "squadman", "dead" ],
          "format": "<font size='7' color='{{.minimap.labelsData.colors.txt.{{sys-color-key}}}}'><i>{{name%.7s~..}}</i></font>",
          "shadow": { "$ref": { "path":"def.defaultItem.shadow" }, "strength": 3 },
          "x": 2,
          "y": -9
        },  
        "HealthPointsSpottedAlly": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "ally", "spotted", "alive" ],     
          "format": "<font face='dynamic' size='{{vtype-key=HT?16|14}}' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{hp-ratio%.436a}}</font>",
          "align": "center",
          "valign": "center",
       "x": 0.2,
          "y": 0.8
        },
        "HealthPointsSpottedEnemy": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "enemy", "spotted", "alive" ],
          "format": "<font face='dynamic' size='{{vtype-key=HT?16|14}}' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{hp-ratio%.436a|æ}}</font>",
          "align": "center",
          "valign": "center",
       "x": 0.2,
          "y": 0.8
        },
        "HealthPointsSpottedSquadman": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "squadman", "spotted", "alive" ],
          "format": "<font face='dynamic' size='{{vtype-key=HT?16|14}}' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{hp-ratio%.436a}}</font>",
          "align": "center",
          "valign": "center",
       "x": 0.2,
          "y": 0.8
        },
        "HealthPointsSpottedTeamKiller": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "teamKiller", "spotted", "alive" ],
          "format": "<font face='dynamic' size='{{vtype-key=HT?16|14}}' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{hp-ratio%.436a}}</font>",
          "align": "center",
          "valign": "center",
       "x": 0.2,
          "y": 0.8
        }
      }
    }
    

     

    minimapLabelsAlt.xc

    /**
    * Minimap labels.
    * Надписи на миникарте.
    */
    {
      // Textfields for units on minimap.
      // Текстовые поля юнитов на миникарте.
      // TODO: documentation
      //  {
      //    Если не указаны "ally", "squadman", "player", "enemy", "teamKiller", то они не используются.
      //    Если не указаны "lost" и "spotted", то используются оба - и "lost", и "spotted".
      //    Если не указаны "alive", "dead", то используются оба - и "alive", и "dead".
      //    "flags": [ "player", "ally", "squadman", "enemy", "teamKiller", "lost", "spotted", "alive", "dead" ],
      //    "format": "...",
      //    "shadow": { ... },
      //    "alpha": "...",
      //    "x": { ... },
      //    "y": { ... },
      //    "antiAliasType": "normal" // normal/advanced
      //  }
      "labels": {
        "enabled": true,
        // Format set
        // Набор форматов
        "formats": [
          ${ "minimapLabelsTemplatesAlt.xc":"def.vehicleSpotted" },
          //${ "minimapLabelsTemplatesAlt.xc":"def.nickSpotted" },
          ${ "minimapLabelsTemplatesAlt.xc":"def.vtypeLost" },
          ${ "minimapLabelsTemplatesAlt.xc":"def.vehicleLost" },
          //${ "minimapLabelsTemplatesAlt.xc":"def.nickLost" },
          ${ "minimapLabelsTemplatesAlt.xc":"def.vtypeDead" }
        ]
      }
    }
    

     

     

    LGXW4Vq.jpg

  6. I'm not familiar with these hp circles, but from what I see they use the same color as tank names. You need to either set a fixed color for them or change the macro to use colors from icons not from names.

     

    Change this:

    color='{{.minimap.labelsData.colors.txt.{{sys-color-key}}}}'

    to this:

    color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'

     

    As for the second question, I think you can't change the thickness of the circles, because it's a font. You can only scale it.

     

    Thanks, that fixed circle color.

    Finaly managed to do it:

     

    lCEngqo.jpg

     

     

    minimapLabels.xc

     

    "formats": [
          ${ "minimapLabelsTemplates.xc":"def.HealthPointsSpottedAlly" },
          ${ "minimapLabelsTemplates.xc":"def.HealthPointsSpottedEnemy" },
          ${ "minimapLabelsTemplates.xc":"def.HealthPointsSpottedSquadman" },
          ${ "minimapLabelsTemplates.xc":"def.HealthPointsSpottedTeamKiller" },
          //${ "minimapLabelsTemplates.xc":"def.vtypeSpotted" },
          ${ "minimapLabelsTemplates.xc":"def.vehicleSpotted" },
          ${ "minimapLabelsTemplates.xc":"def.nickSpotted" },
          ${ "minimapLabelsTemplates.xc":"def.vtypeLost" },
          ${ "minimapLabelsTemplates.xc":"def.vehicleLost" },
          ${ "minimapLabelsTemplates.xc":"def.nickLost" },
          ${ "minimapLabelsTemplates.xc":"def.vtypeDead" }
        ]
    

     

    minimapLabelsTemplates.xc

     

    "HealthPointsSpottedAlly": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "ally", "spotted", "alive" ],     
          "format": "<font face='dynamic' size='{{vtype-key=HT?16|14}}' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{hp-ratio%.436a}}</font>",
          "align": "center",
          "valign": "top",
          "x": 0,
          "y": -9
        },
        "HealthPointsSpottedEnemy": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "enemy", "spotted", "alive" ],
          "format": "<font face='dynamic' size='{{vtype-key=HT?16|14}}' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{hp-ratio%.436a|æ}}</font>",
          "align": "center",
          "valign": "top",
          "x": 0,  
          "y": -9
        },
        "HealthPointsSpottedSquadman": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "squadman", "spotted", "alive" ],
          "format": "<font face='dynamic' size='{{vtype-key=HT?16|14}}' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{hp-ratio%.436a}}</font>",
          "align": "center",
          "valign": "top",
          "x": 0,  
          "y": -9
        },
        "HealthPointsSpottedTeamKiller": {
          "$ref": { "path":"def.defaultItem" },
          "flags": [ "teamKiller", "spotted", "alive" ],
          "format": "<font face='dynamic' size='{{vtype-key=HT?16|14}}' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{hp-ratio%.436a}}</font>",
          "align": "center",
          "valign": "top",
          "x": 0,  
          "y": -9
        }
      }
    }
    

     

    minimap.xc

     

    "iconScale": 0.65,
    
    • Upvote 1
  7. Edited by Aslain

    They changed some things in texts.xc, try it.

     

    "spotted": {
          "neverSeen": "",
          "lost": "<font face='xvm' size='23'>p</font>",
          "spotted": "<font face='xvm' size='23'>p</font>",
          "dead": "<font face='xvm' size='23' alpha='#80'>v</font>",
          "neverSeen_arty": "",
          "lost_arty": "<font face='xvm' size='23'>p</font>",
          "spotted_arty": "<font face='xvm' size='23'>p</font>",
          "dead_arty": "<font face='xvm' size='23' alpha='#80'>v</font>"
        },

     

    Was revealed, now is spotted.

    • Upvote 1
  8. Edited by Aslain

    I still don't fully understand how this new templates system work, I see new macros there, or at least stuff I'm not familiar with yet, so I would need some advices.

     

    I need to know how to display HP circles on the minimap now :)

     

    Previously it was like that:

    "ally":   "<span class='mm_a'><font face='dynamic' size='14' color='{{c:system}}'>{{hp-ratio%.436a}}</font>{{vehicle}}</span>",
    "teamkiller":  "<span class='mm_t'>{{vehicle}}</span>",
    "enemy":  "<span class='mm_e'><font face='dynamic' size='14' color='{{c:system}}'>{{hp-ratio%.436a|æ}}</font>{{vehicle}}</span>",
    "squad":  "<textformat leading='-1'><span class='mm_s'><font face='dynamic' size='14' color='{{c:system}}'>{{hp-ratio%.436a}}</font>{{vehicle}}</span></textformat>",
    

    How to convert it to current config? :)

     

    Another question: How to hide player names for enemy team on the minimap?

  9. Edited by Aslain

    Error Updating crewmans, game stuck.

     

    Python:

     

    Traceback (most recent call last):
      File "scripts/common/Event.py", line 32, in __call__
      File "scripts/client/gui/Scaleform/daapi/view/lobby/hangar/Hangar.py", line 338, in __onCurrentVehicleChanged
      File "scripts/client/gui/Scaleform/daapi/view/lobby/hangar/Hangar.py", line 187, in __updateResearchPanel
      File "scripts/common/adisp.py", line 139, in wrapper
      File "scripts/common/adisp.py", line 110, in __init__
      File "scripts/common/adisp.py", line 123, in call
      File "scripts/common/adisp.py", line 146, in caller
      File "scripts/client/gui/shared/utils/requesters/deprecated/StatsRequester.py", line 30, in checkAccount
      File "scripts/client/gui/shared/utils/requesters/deprecated/StatsRequester.py", line 122, in getVehicleTypeExperiences
      File "scripts/client/account_helpers/Stats.py", line 161, in get
      File "scripts/client/account_helpers/AccountSyncData.py", line 95, in waitForSync
      File "scripts/client/account_helpers/Stats.py", line 358, in __onGetResponse
      File "scripts/client/gui/shared/utils/requesters/deprecated/StatsRequester.py", line 405, in __valueResponse
      File "scripts/common/adisp.py", line 133, in callback
      File "scripts/client/gui/Scaleform/daapi/view/lobby/hangar/ResearchPanel.py", line 76, in onCurrentVehicleChanged
      File "src/wotxp.py", line 137, in new_rpm_as_updateCurrentVehicleS
    NameError: global name 'freeXp' is not defined
    
    INFO: {5729: u"<textformat leading='1'><font size='14' color='#e7b232'>Pozosta\u0142o do wybadania:</font></textformat>\n<textformat tabstops='[160]'><font color='#a3a295'>O-I Experimental Kai</font><tab><font color='#d99b24'>1 710<img src='img://scripts/client/mods/research_watchdog-XpIcon.png' width='16' height='16' align='baseline' vspace='-2'><br><font size='12'>(zawieszenie)</font></font></textformat>\n<textformat tabstops='[160]'><font color='#a3a295'>2x Kawasaki Type 98 V-12 ..</font><tab><font color='#d99b24'>26 360<img src='img://scripts/client/mods/research_watchdog-XpIcon.png' width='16' height='16' align='baseline' vspace='-2'><br><font size='12'>(silnik)</font></font></textformat>\n<textformat tabstops='[160]'><font color='#a3a295'>Type 96 Mk. 4 Bo</font><tab><font color='#d99b24'>260<img src='img://scripts/client/mods/research_watchdog-XpIcon.png' width='16' height='16' align='baseline' vspace='-2'><br><font size='12'>(radio)</font></font></textformat>\n<textformat tabstops='[160]'><font color='#a3a295'>7.5 cm Tank Gun Type 3</font><tab><font color='#d99b24'>1 210<img src='img://scripts/client/mods/research_watchdog-XpIcon.png' width='16' height='16' align='baseline' vspace='-2'><br><font size='12'>(dzia\u0142o)</font></font></textformat>\n<textformat tabstops='[160]'><font color='#a3a295'>10 cm Cannon Type 14</font><tab><font color='#d99b24'>4 610<img src='img://scripts/client/mods/research_watchdog-XpIcon.png' width='16' height='16' align='baseline' vspace='-2'><br><font size='12'>(dzia\u0142o)</font></font></textformat>"}
    

     

    {
        "tankmanRankPrefix": "[{{nextLevelBattleCount}}|{{nextLevelXpCost}}] ",
        "tankmanRolePrefix": "[{{nextSkillBattleCount}}|{{nextSkillXpCost}}] ",
        "tankmanNewSkillRankPrefix": "[+{{freeXp}}] ",
        "tankmanNewSkillRolePrefix": "",
        "useFreeXpForModuleResearch": true,
        "useFreeXpForVehicleResearch": true,
        "stockVehicle": " [ {{topBattleCount}} <img align='top' src='img://gui/maps/icons/library/BattleResultIcon-1.png' height='14' width='14' vspace='-3'/> {{requiredTopXp}} <img align='top' src='img://gui/maps/icons/library/XpIcon-1.png' height='16' width='16' vspace='-3'/>]",
        "stockVehicleResearchCompleted": " [ +{{extraXp}} <img align='top' src='img://gui/maps/icons/library/EliteXpIcon-2.png' height='16' width='16' vspace='-3'/>]",
        "topVehicle": " [ {{elitBattleCount}} <img align='top' src='img://gui/maps/icons/library/BattleResultIcon-1.png' height='14' width='14' vspace='-3'/> {{requiredElitXp}} <img align='top' src='img://gui/maps/icons/library/XpIcon-1.png' height='16' width='16' vspace='-3'/>]",
        "topVehicleResearchCompleted": " [ +{{extraXp}} <img align='top' src='img://gui/maps/icons/library/EliteXpIcon-2.png' height='16' width='16' vspace='-3'/>]",
        "debug": false
    }
    


     

    Эта опция прослушивание: "useFreeXpForVehicleResearch": true,

  10. XVM-6.1.4.1:
      * bug fixes and optimization
      * new options:
          "sounds"/"fireAlert" - fire alarm sound
          "sounds"/"ammoBay" - alarm sound after ammo bay is damaged

     

    So, can someone tell more about it? Where is their setting (which file). Also need info if they are using custom sound banks, or using built in game ones? If so, which sound bank is needed? I do hope it's not xvm.fsb, because it would fuck up all 6th sense sound mods....they would need total rework.

×
×
  • Create New...