It is about to be able to define more colors than that RGB stuff at the dynamic light thing.
Since GZdoom has true color support, this could be done in a hexadecimal way via ACS.The command would look like this:
SetDynamicColor(tid, color);
tid = the thing ID of the dynamic light(if it's not a DL,then do nothing)
color = the dynamic light's color, what can be defined in hexadecimal form(F8G477 for example)
The color arg. of the script would override the defined color at the Dynamic thing.
Result: more colorful dynamic lights
Advanced Dynamic Light treatment in ACS
- Enjay
- Developer
- Posts: 4723
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
-
- Posts: 91
- Joined: Thu Aug 09, 2007 19:07
No way; the dynamic lights are using 3 args for their colors: Red, Green and Blue.Because of that, I don't think definiing a limebrown hexadecimal code to red would work.
EDIT: Yup, it doesn't work
EDIT: Yup, it doesn't work
Last edited by DoomerMrT on Sun Mar 23, 2008 14:31, edited 1 time in total.
- Enjay
- Developer
- Posts: 4723
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Yes way You could (maybe) set all arguments with this:
http://zdoom.org/wiki/SetThingSpecial
SetThingSpecial (tid, 0, 255, 128, 64, 32, 16)
Or whatever values you needed.
http://zdoom.org/wiki/SetThingSpecial
SetThingSpecial (tid, 0, 255, 128, 64, 32, 16)
Or whatever values you needed.
- Enjay
- Developer
- Posts: 4723
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
- Enjay
- Developer
- Posts: 4723
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Enjay
- Developer
- Posts: 4723
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
The example attached above works - at least it works as I would have expected it to in both 2.2.0 and r69. ie a repeating script cycles the light through a few different colours by changing the RGB arguments. So it must be transferring some of the args somehow. The only thing that doesn't seem to change is the intensity.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact: