1

Topic: Question : What Is The Bind To Change Player Body Color???

Hi
Some Players In TeeWorlds Have A Bind That When U Press A Button Like Mouse1 Or Anything Else The Body Color Of The Skin Changes.

Example : When They Press Mouse1 The Skin Goes Red And Again When They Press It, It Goes Blue And ...

Now I Want The Bind , Client Or Bot Or Anything That Can Automatically Change The Color Of The Skin.

Thanks
From : DraXoN

2

Re: Question : What Is The Bind To Change Player Body Color???

The config variables you're looking for are `player_use_custom_color`, `player_color_feet`, `player_color_body`, `player_skin`.

But it's probably annoying if you constantly change your skin.

3 (edited by MKH24 2016-09-01 12:27:21)

Re: Question : What Is The Bind To Change Player Body Color???

heinrich5991 wrote:

The config variables you're looking for are `player_use_custom_color`, `player_color_feet`, `player_color_body`, `player_skin`.

But it's probably annoying if you constantly change your skin.

i know a part of bind
but it doesn't change always, it changes just for first time

Like : bind mouse1 "+fire;player_color_body 1"

i use this too, but nothing happen : bind mouse1 "+fire;player_color_body ++"

4

Re: Question : What Is The Bind To Change Player Body Color???

If you use DDNet client, you can use the command: bind mouse1 "+fire;toggle player_color_body 65397 4259701"
That will switch your color from red to blue and back to red whenever you fire. Keep in mind that there is a serverside cooldown for changing your tee color, so you will not see the effect with every mouseclick.

If you don't use DDNet client, you may consider changing your color to e.g. red when you fire, and to blue when you hook:
bind mouse1 "+fire;player_color_body 65397";bind mouse2 "+hook;player_color_body 4259701"

If you wonder where I got these numbers for red and blue from... You can either set your tee color to the color you want and then read out the value of player_color_body, or you can use your OS's calculator to convert hex to decimal. The color is notated as a hex number of the format 0xHHSSLL, where H is hue, S is saturation and L is lighting (just like in the teeworlds settings)