Official Soldat Forums
Server Talk => Scripting Discussions and Help => Topic started by: Quantifier on January 06, 2007, 07:00:53 am
-
Is it (will it be) possible to have access to player appearance from a script?
I'd like to make sure there are no players on blue team with bright red trousers, face and hair, and vice versa (so corresponding Set function would be useful too). I know there is clanmatch, but I'm looking for something more flexible.
-
Talk to someone good at scripting. As far as I know, EnEsCe is good at that sort of thing, but as he's a busy person, I dunno.
It's possible to make your own, but I'm not sure how hard it is to write, and use a script.
-
Had a word with EnEsCe in IRC:
[13:14] <Toumaz> EnEsCe, I second this guy's question: http://forums.soldat.pl/index.php?topic=9583.0
[13:14] <EnEsCe> agh colours
[13:14] <EnEsCe> its not worth the effort
[13:15] <Toumaz> :(
-
a script like this would be difficult, firstly you'd have to check all colours (RGB) and analyse them because bright red is not simply one level of red, same for blue.
-
that could be done 8)
-
a script like this would be difficult, firstly you'd have to check all colours (RGB) and analyse them because bright red is not simply one level of red, same for blue.
After conversion to the HSB colour space (hue, saturation, brightness), 'bright red' is exactly what it is named - a colour with red hue, high saturation and high brightness, so this part wouldn't be really difficult.