Jump to content

changing target colors


Recommended Posts

Posted

On some maps i will us the colorblind setting and regular setting on other maps..is it  legal to change the colors of the target outline to a different color and what file would it be located in.

i would like something besides the red or purple...

 

thanks

pj

 

 

Posted
34 minutes ago, Aslain said:

Yes it's allowed to change tank outline color to your liking, same feature is built in game, for Color Blind people.

i've used the color blind mode, the purple just doesn't do it for me,  was just wondering if they was a mod or what file that i could play with to see if different colors would work for me..

 

thanks anyway..

 

  • Administrator
Posted

There is no mod for this but it can be done if you do mod a config file yourself.

 

c:\Games\World_of_Tanks_EU\res\scripts_config.xml

 

Decode it with wottools 0.5.2.exe and you should receive something like this:

 

Spoiler

<scripts_config.xml>
  <login>
    <host>
      <name>US Central</name>
      <short_name>USC</short_name>
      <url>wotna3.login.wargaming.net:20016</url>
      <url_token>wotna3-2.login.wargaming.net:20016</url_token>
      <public_key_path>loginapp_wot.pubkey</public_key_path>
      <periphery_id>	303	</periphery_id>
    </host>
    <host>
      <name>LATAM Test</name>
      <short_name>LATAM TEST</short_name>
      <url>wotna4.login.wargaming.net:20016</url>
      <url_token>wotna4-2.login.wargaming.net:20016</url_token>
      <public_key_path>loginapp_wot.pubkey</public_key_path>
      <periphery_id>	304	</periphery_id>
    </host>
  </login>
  <updateUrl>http://worldoftanks.com/update</updateUrl>
  <csisUrl>http://csis.worldoftanks.com/csis/wotus/</csisUrl>
  <silhouetteColors>
    <common>
      <self>0.5 0.5 0.5 1</self>
      <enemy>1.0 0.070 0.027 1</enemy>
      <friend>0.488 0.839 0.023 1</friend>
      <flag>1 1 1 1</flag>
      <hangar>0.992 0.780 0.259 1</hangar>
    </common>
    <colorBlind>
      <self>0.5 0.5 0.5 1</self>
      <enemy>0.511 0.472 0.992 1</enemy>
      <friend>0.488 0.839 0.023 1</friend>
      <flag>1 1 1 1</flag>
      <hangar>0.992 0.780 0.259 1</hangar>
    </colorBlind>
  </silhouetteColors>
  <decal>
    <criticalAngle>	30	</criticalAngle>
    <groups>
      <slow>
        <lifeTime>	100	</lifeTime>
        <trianglesCount>	10000	</trianglesCount>
      </slow>
      <medium>
        <lifeTime>	50	</lifeTime>
        <trianglesCount>	5000	</trianglesCount>
      </medium>
      <fast>
        <lifeTime>	25	</lifeTime>
        <trianglesCount>	2500	</trianglesCount>
      </fast>
    </groups>
    <textures>
      <explosion_ground_AM>
        <texture>maps/fx/decal_ground_1_AM.dds</texture>
      </explosion_ground_AM>
      <explosion_ground_NM>
        <texture>maps/fx/decal_ground_1_NM.dds</texture>
      </explosion_ground_NM>
      <explosion_ground_GMM>
        <texture>maps/fx/decal_ground_1_GMM.dds</texture>
      </explosion_ground_GMM>
      <explosion_sand_AM>
        <texture>maps/fx/decal_sand_1_AM.dds</texture>
      </explosion_sand_AM>
      <explosion_sand_NM>
        <texture>maps/fx/decal_sand_1_NM.dds</texture>
      </explosion_sand_NM>
      <explosion_sand_GMM>
        <texture>maps/fx/decal_sand_1_GMM.dds</texture>
      </explosion_sand_GMM>
      <explosion_snow_AM>
        <texture>maps/fx/decal_snow_1_AM.dds</texture>
      </explosion_snow_AM>
      <explosion_snow_NM>
        <texture>maps/fx/decal_snow_1_NM.dds</texture>
      </explosion_snow_NM>
      <explosion_snow_GMM>
        <texture>maps/fx/decal_snow_1_GMM.dds</texture>
      </explosion_snow_GMM>
      <explosion_stone_AM>
        <texture>maps/fx/decal_stone_1_AM.dds</texture>
      </explosion_stone_AM>
      <explosion_stone_NM>
        <texture>maps/fx/decal_stone_1_NM.dds</texture>
      </explosion_stone_NM>
      <explosion_stone_GMM>
        <texture>maps/fx/decal_stone_1_GMM.dds</texture>
      </explosion_stone_GMM>
      <explosion_stone_NO_GMM>
        <texture>maps/fx/decal_stone_NO_GMM.dds</texture>
      </explosion_stone_NO_GMM>
      <explosion_metal_AM>
        <texture>maps/fx/dark_hole_AM.dds</texture>
      </explosion_metal_AM>
      <explosion_metal_NM>
        <texture>maps/fx/dark_hole_NM.dds</texture>
      </explosion_metal_NM>
      <explosion_metal_GMM>
        <texture>maps/fx/dark_hole_GMM.dds</texture>
      </explosion_metal_GMM>
    </textures>
  </decal>
  <camouflage>
    <excludeMaterials>
      <item>*inside</item>
      <item>*gun_inside</item>
      <item>tank_bottom_mat</item>
      <item>tank_ins_mat</item>
      <item>*equipment</item>
    </excludeMaterials>
  </camouflage>
</scripts_config.xml>

 

 

You need to change values in this   <silhouetteColors>, they're represented by RGBA

 

the enemy outline color is in this: 

<enemy>1.0 0.070 0.027 1</enemy>

1.0 = R

0.070 = G

0.027 = B

1 = A (alpha / transparency)

 

and this (for CB):

<enemy>0.511 0.472 0.992 1</enemy>

When you finish, place that file it res_mods/0.9.21.0.1/

 

Finding correct values:

1.) get the hex/rgb color code of the target color, ie.:80d63a 

2.) go to http://www.colorhexa.com/ and put the hex color code in the box, press enter

3.) go down to "RGB Percent"

4.) divide the values by 100 and round to one digit after the coma. for the example this would be 50.2, 83.9, 22.7 = 0.5, 0.8, 0.2 

  • 2 years later...
  • Administrator
Posted

Weird, I can download from the post, its an attachment. You can install a mod from Rajcel, which is allowing to change the outline color.

  • 5 weeks later...
Posted

Can you post the changes you did?  I’m new to this and I don’t want to screw anything up. 

 

Images of the new colors would be helpful too.

 

Thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.