Jump to content
Korean Random
Wargods

Show my damage as yellow on enemy health bar

Recommended Posts

Virgin user of xvm 5.0.1. Pre-XVM When I hit an enemy tank, the damage I did showed as a chunk of yellow on their health bar. Now, it shows as a chunk of dark orange. My eyes are not so good to see dark orange damage against red health bar. How do I change it back so that the damage I do is yellow on the health bar?

Thanks

Share this post


Link to post

Short link
Share on other sites
How do I change it back so that the damage I do is yellow on the health bar?

open colors.xc and find the following code:

      "player_enemy_hit": ${"def.pl"},
      "player_enemy_kill": ${"def.pl"},
      "player_enemy_blowup": ${"def.pl"},

and

      "player_enemytk_hit": ${"def.pl"},
      "player_enemytk_kill": ${"def.pl"},
      "player_enemytk_blowup": ${"def.pl"}

You can change it according to your needs. For example you can configure a different color per each damage type.

 

Format: src_dst_type.

      src:  ally, squadman, enemy, unknown, player.

      dst:  ally, squadman, allytk, enemytk, enemy.

      type: hit, kill, blowup.

 

 Color values for substitutions (standard config)

"def": {
    "al": "0x96FF00", // ally
    "sq": "0xFFB964", // squadman
    "tk": "0x00EAFF", // teamKiller
    "en": "0xF50800", // enemy
    "pl": "0xFFDD33", // player

the color that you need is def.pl (0xFFDD33). Open ColorWizard (http://www.modxvm.com/%D0%B8%D0%BD%D1%81%D1%82%D1%80%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B-%D0%BF%D0%BE%D0%B4%D0%B1%D0%BE%D1%80%D0%B0-%D1%86%D0%B2%D0%B5%D1%82%D0%BE%D0%B2-%D0%B4%D0%BB%D1%8F-xvm/), enter this hex code (FFDD33) and choose any color. Replace the hex code in the following line:

    "pl": "0xFFDD33",

enjoy.

Edited by melizetinger
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Thanks for quick reply.  I am still not having luck.  The existing standard config of "pl": "0xFFDD33", is the yellow color I want to show when I hit an enemy.  I  changed the value to  blue ("pl": "0x0000FF",) as a test but still my hits are dark orange.  Is there something I'm missing to enable dynamic colors?  I can make changes using the online editor?

 

Edited by Wargods

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...