Author Topic: Get player colours  (Read 2816 times)

0 Members and 1 Guest are viewing this topic.

Offline Quantifier

  • Major
  • *
  • Posts: 70
Get player colours
« 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.

Offline The Bone Collector

  • Veteran
  • *****
  • Posts: 1126
  • I'm so sexy.
    • Daniel Rutter Films
Re: Get player colours
« Reply #1 on: January 06, 2007, 09:51:59 am »
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.
Just another soul to burn.

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1906
Re: Get player colours
« Reply #2 on: January 06, 2007, 09:57:46 am »
Had a word with EnEsCe in IRC:

Quote from: #soldat.servers @ QuakeNet
[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> :(

Offline edak

  • Flagrunner
  • ****
  • Posts: 505
  • AussiEdak
Re: Get player colours
« Reply #3 on: January 06, 2007, 04:45:34 pm »
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.

UPDATED 12-Aug-2010 FIXED LINKS!!!!! - 18 Apr 2007 - NOW WITH FULLLY MODDABLE MAP TEXTURES! Modders, further customise your soldat!

Offline cooz

  • Soldier
  • **
  • Posts: 187
  • BANNED
Re: Get player colours
« Reply #4 on: January 06, 2007, 05:00:26 pm »
that could be done 8)
Dead man! Dead man walking! We got a dead man walking here! Banned man crawling more like

Offline Quantifier

  • Major
  • *
  • Posts: 70
Re: Get player colours
« Reply #5 on: January 06, 2007, 06:20:01 pm »
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.