project-navigation
Personal tools

Author Topic: [REQ] dynamic lightning color tool  (Read 3619 times)

Offline Crystan

  • Project Artist
  • Captain
  • ***
  • Posts: 572
  • UFO:AI Lead Sound Artist
    • View Profile
    • http://crysea.cr.funpic.de/
[REQ] dynamic lightning color tool
« on: November 02, 2011, 02:51:57 pm »
Now that the dynamic lightning for ptls finally works again (a epic thx for that), id like to add the dynamic color information to them. It would be cool if someone could write a little program that helps me with that. I just need a color picker, a regulator for the intensity and a output of both in a text box. I attached a concept picture.
« Last Edit: November 02, 2011, 03:15:23 pm by Crystan »

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: [REQ] dynamic lightning color tool
« Reply #1 on: November 02, 2011, 08:15:09 pm »
Gimp and Photoshop's color selectors will tell you RGB values between 0 and 255. To find the *.* equivalent used in UFO:AI, just take the value and divide it by 255.

Offline Crystan

  • Project Artist
  • Captain
  • ***
  • Posts: 572
  • UFO:AI Lead Sound Artist
    • View Profile
    • http://crysea.cr.funpic.de/
Re: [REQ] dynamic lightning color tool
« Reply #2 on: November 02, 2011, 10:04:27 pm »
Good to know thx, will do it this way then. But still for a lazy guy like me a bit inconvenient. :D

Edit:
Are you sure it works this way? Because iam sure something like "B 255" isnt 1.0 because i think a value like 2.0 still increase the color. Probably mattn knows more?
« Last Edit: November 02, 2011, 10:07:20 pm by Crystan »

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: [REQ] dynamic lightning color tool
« Reply #3 on: November 03, 2011, 10:39:09 am »
Good to get clarification, but I believe the datatype is the same as the UFO scripts, and I have never seen anything more than 1.0 there.

Offline Crystan

  • Project Artist
  • Captain
  • ***
  • Posts: 572
  • UFO:AI Lead Sound Artist
    • View Profile
    • http://crysea.cr.funpic.de/
Re: [REQ] dynamic lightning color tool
« Reply #4 on: November 03, 2011, 03:37:52 pm »
Yep, a higher value than 1.0 have definitively an impact.