Jump to content
Korean Random
richieb

Altering colours by damage source Q

Recommended Posts

Hi all, i have managed to change the colours i used in previous versions with regard to damage by source, so the damage I do is an obvious colour and the damage my platoon mates do is also an obvious colour, but....

 

In previous versions that used the online editor you could setup your floating damage text with a main colour and have a slightly different coloured shadow, for example i used a light blue with a kind of neon glow purple shadow, just for my damage done, is this achievable in the current version?  Sorry, not too good at looking thru code and finding the right bits and pieces!

 

Thnx, Richie.

Share this post


Link to post

Short link
Share on other sites

 

 

is this achievable in the current version?
Yes, it is. Do you have the config for some previous versions with the colors you like? You may copy color settings from there or just update that cfg to make it work properly with current mod version. 

Share this post


Link to post

Short link
Share on other sites

thnx for the answer, sadly i don't have the previous versions anymore, i always like to start with fresh configs and mods where i can, and when i saw that the online config was no longer used, presumed the old xvm configs would not work any more with the new versions :0/

Share this post


Link to post

Short link
Share on other sites

 

 

i always like to start with fresh configs
This seems hard to me. XVM config is quite complicated by now and there is no need to remake it once a game update comes. Just minor updates may make it work well. Now your way is to find wanted settings by editing in notepad and checking with replay. 

The hard way.

Share this post


Link to post

Short link
Share on other sites

Yes, i realize that now, will be saving configs from now on!  Altho tbh i tend not to make too many changes from the default, just tune the target markers and change a few colours around.

If adding a shadow around only my damage is hard or tricky, think i may decide to get used to playing without it!

Share this post


Link to post

Short link
Share on other sites

 

 

just tune the target markers and change a few colours around.
So it means that you may only list those changes (saving the hierarchy), not copying all the default files you don't change. The mod will take them from the built-in config. 

 

If adding a shadow around only my damage is hard or tricky
It is not. If I knew the colour and other parameters - I could have already done that :) All this stuff is in the markers*.xc files in the DamageTextPlayer section.
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

All this stuff is in the markers*.xc files in the DamageTextPlayer section.

 

 

Ahh! I had been looking in the 'colors.xc' file lol

 

This is all i have in the 'markers.xc file:

 

/**

* Over-target markers. All settings moved to separate files.

* ??????? ??? ???????. ??? ????????? ???????? ? ????????? ?????.

*/

{

  "markers": {

    // true - use standard client vehicle markers.

    // true - ???????????? ??????????? ??????? ???????.

    "useStandardMarkers": false,

    // {{turret}} marker display strings.

    // ???????????? ?????? {{turret}} ???????.

    "turretMarkers": {

      // Subject has stock turret and top gun can not be mounted. Subject is highly vulnerable.

      // ??????? ????? ???????? ????? ? ??? ?????? ?? ????? ???? ???????????. ??????? ?????? ??????.

      "highVulnerability": "*",

      // Subject has stock turret and top gun can be mounted. Subject is somewhat vulnerable.

      // ??????? ????? ???????? ????? ? ??? ?????? ????? ???? ???????????. ??????? ??????? ??????.

      "lowVulnerability": "'"

    },

    // ally

    // ????????

    "ally": {

      "alive": {

        "normal": ${"markersAliveNormal.xc":"ally"},

        "extended": ${"markersAliveExtended.xc":"ally"}

      },

      "dead": {

        "normal": ${"markersDeadNormal.xc":"ally"},

        "extended": ${"markersDeadExtended.xc":"ally"}

      }

    },

    // enemy

    // ??????????

    "enemy": {

      "alive": {

        "normal": ${"markersAliveNormal.xc":"enemy"},

        "extended": ${"markersAliveExtended.xc":"enemy"}

      },

      "dead": {

        "normal": ${"markersDeadNormal.xc":"enemy"},

        "extended": ${"markersDeadExtended.xc":"enemy"}

      }

    }

  }

}

 

In 'markersalivenormal.xc' the only reference i see to damagetextplayer is:

 

"damageTextPlayer": {

      "$ref": { "path":"damageText" }

 

The colours i'm trying to get are, main text #00BFFF and the shadow around that to show as #FF00FF (if that helps)

 

Thnx for all the help!!

Share this post


Link to post

Short link
Share on other sites

@richieb, I meant these four files:
        "normal": ${"markersAliveNormal.xc":"ally"},

        "extended": ${"markersAliveExtended.xc":"ally"}
        "normal": ${"markersDeadNormal.xc":"ally"},
        "extended": ${"markersDeadExtended.xc":"ally"}
maybe in some hours I'll update this message with configured files.


In 'markersalivenormal.xc' the only reference i see to damagetextplayer is:   "damageTextPlayer": {       "$ref": { "path":"damageText" }

My bad, I forgot about that reference. What you need is to redefine parameters partially. Like this:

    "damageTextPlayer": {
      "$ref": { "path":"damageText" },
      "color": "0x00BFFF",
      "shadow": {
        "color": "0xFF00FF"
      }
    },

Here are the files. All default, only damage color and shadow changed.
markersAliveNormal.xcmarkersAliveExtended.xcmarkersDeadNormal.xcmarkersDeadExtended.xc

Edited by sech_92
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...