Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2020-08-15 00:00:00Z and 2020-08-16 00:00:00Z
Avatar
@Ravie thx for the report btw
10:25
just noticed that many other skins need to be edited due to the body-eyes color thing :/
Avatar
that eyes get turned into black color
10:40
Avatar
cause we have 300 lines of code involving high math validating their color -- body distance in game (edited)
12:58
and it reverts to black on every chance given
12:59
try "negative" eyes if you use "colorable"
12:59
or try colorable if you use negative
13:00
investigating this and making red eyes work was a 4 days journey for me
13:00
way too complex for such a simple thing (edited)
13:04
@Sonix
Avatar
Eyes shouldn't be custom colorable, they should come with one color and stick to it
Avatar
in vanilla maybe but there are uses for it. I have a class in my game that can mimic other players skin
14:03
but his eyes remains red so other players have a chance to know that it's a mimic cause his eyes are odd colored (edited)
14:03
if it would be as you say there would be no way I could implement that new class and add a game value to a mod (edited)
14:10
👍 1
14:15
I'd like that there would be just simple wysiwyg type that just bypasses all complex validating on the client at all
14:17
Right now I have this in my code just to make eyes color stable (though I don't even change them, I change the body)
14:17
14:17
It was hard to find those int values and names which worked (edited)
14:17
it was a frustrating trial and error quest
14:19
I am not blaming anybody ofc game was not designed to support mods. But I would greatly appreciate if somebody could just make something like "colorable-bypass" so server could just send eyes part without a need of modifying eyes color code value or to track body color to know when it should do that. (edited)
14:23
and yes, those two int magic numbers are representing the very same color to bypass the validating system (edited)
14:24
PLEASE leave me ability to do that this way and do not please enforce this:
Eyes shouldn't be custom colorable, they should come with one color and stick to it
(edited)
Exported 26 message(s)