Jump to content
Korean Random
Sign in to follow this  
Scarebird

Problem editing config

Recommended Posts

I've used XVM for some time, and liked how it used to show damage points from fellow squadman in different colour to the rest of the team.  With the latest patch, squadman damage points are now showing the same colour as the rest of the team.

 

I have tried using the XVM editor at http://www.koreanrandom.com/forum/topic/1422-/?do=findComment&comment=11316 to edit the markersAliveNormal.xc and markersAliveExtended.xc files, but the editor is giving an error message when trying to open these files.

 

I have also looked at both files in Notepad, but cannot see anything obvious that will allow me to change the colour of the damage text for a squadman hit.

 

Any suggestions?

 

This is the error message I get from the editor when trying to open the .xc files

 

xvmerror.jpg

Edited by Scarebird

Share this post


Link to post

Short link
Share on other sites

In colors.xc

 

Find and edit these lines:

      "squadman_ally_hit": ${"def.tk"},
      "squadman_ally_kill": ${"def.tk"},
      "squadman_ally_blowup": ${"def.tk"},
      "squadman_squadman_hit": ${"def.tk"},
      "squadman_squadman_kill": ${"def.tk"},
      "squadman_squadman_blowup": ${"def.tk"},
      "squadman_enemy_hit": ${"def.en"},
      "squadman_enemy_kill": ${"def.en"},
      "squadman_enemy_blowup": ${"def.en"},
      "squadman_allytk_hit": ${"def.tk"},
      "squadman_allytk_kill": ${"def.tk"},
      "squadman_allytk_blowup": ${"def.tk"},
      "squadman_enemytk_hit": ${"def.en"},
      "squadman_enemytk_kill": ${"def.en"},
      "squadman_enemytk_blowup":${"def.en"},
Edited by TwoPizza

Share this post


Link to post

Short link
Share on other sites

I saw those when looking through the colors.xc file earlier.  Unfortunately I am not familiar with the ${"def.xx"} designation or how they should be edited to give me the result I am aiming for.

Share this post


Link to post

Short link
Share on other sites

@Scarebird, if you'll type ${"def.xx"} XVM will use value from "def": { xx: value }

 

So if you want to change colors, you can type code of color instead of ${"def.xx"}, or change xx to any other parameter depending on your preference and the colors specified in section def.

 

Here is a screenshot with several arrows indicating how it works.

 

color_references.png

 

On this screenshot XVM will use:

0x96FF00 instead of ${"def.al"},
0xFFB964 instead of ${"def.sq"},
0x00EAFF instead of ${"def.tk"},
0xF50800 instead of ${"def.en"},
0xFFDD33 instead of ${"def.pl"},
This is the error message I get from the editor when trying to open the .xc files

If you want to use XVMEditor you should select all files of config when opening. It is also worth mentioning that XVMeditor can save only the single-file configuration, and if you want to use multifile-config, you should edit it manually :)

Share this post


Link to post

Short link
Share on other sites

Thanks for that.  Editing manually is fine though I am not that familiar with the programming language being used, so it tends to take me a while to identify which parameters need to be changed and how to change them..  I knew the colors were being defined somewhere, I just wasn't sure where.  Your image posted above was great and helped me find what I was looking for.

 

Didn't realise the XVM editor couldn't save the multi-file configuration, so that advice was useful too.

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...