Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsJedi Knight and Mysteries of the Sith Editing Forum → General lighting.
General lighting.
2008-07-09, 4:53 PM #1
I know MOTS has a nifty colored lighting effect. Is it possible to acheive this is JK or is sector color the only thing you can do? If so its highly annoying. Let me know please?
THE GUNDAM PROJECT
2008-07-09, 10:35 PM #2
No way to get Mots style colored lighting in JK. If you're crafty with editing mats, you can achieve the effect however.
2008-07-10, 6:37 AM #3
gradual sector lighting is the closest thing.
Or like dash said, mats.

There are 2 other methods.

1: AddDynamicTint/Add. through pulse.

pulse:
player = GetLocalPlayerThing();
range = Vectordist(Getthingpos(redzone), Getthingpos(Player));
if(range < 1.0){
amount=(1-range)/4;
AddDynamicTint(player, amount, 0, 0);}


That creates a red tint in an area but only when you get close.

2: coloured shaders.
Export a rooms architecture into a 3do, then import it into milkshape.
Using only a few blurred pixels, spread the blurred (red/blue/whatever colour) pixels around the corner of a room.
Then shrink this 3do by a tiny amount, so that all the duplicated 3do surfaces sit just over the level architecture.
Export back into JED. Set the 3do to max light and translucent.
Add as template in the level, and set it to 0x0 (no archi)

That should do it
Code:
if(getThingFlags(source) & 0x8){
  do her}
elseif(getThingFlags(source) & 0x4){
  do other babe}
else{
  do a dude}
2008-07-10, 9:58 AM #4
The dynamic tint, is that how LA did the one room in Nar Shadda. The red tinted rooms before you get on the lift. The one room with the switch for the lift has a woman and an R5 unit.
THE GUNDAM PROJECT
2008-07-10, 10:45 PM #5
You can use sector tint in connection with dynamic lights. If you light a room completely using 3do lighting (what is sometimes referred to as dynamic lights because you can move them around and adjust their intensity in real time), you can use sector tint to create colored lighting that looks pretty nifty. Personally, I think it looks a lot more realistic then MotS colored lighting, but it does have it's limitation.

If you use this method, make sure you define a color pal for your level.
2008-07-11, 5:18 PM #6
Originally posted by Ruthven:
2: coloured shaders.
Export a rooms architecture into a 3do, then import it into milkshape.
Using only a few blurred pixels, spread the blurred (red/blue/whatever colour) pixels around the corner of a room.
Then shrink this 3do by a tiny amount, so that all the duplicated 3do surfaces sit just over the level architecture.
Export back into JED. Set the 3do to max light and translucent.
Add as template in the level, and set it to 0x0 (no archi)

Thats insane.


I love you.


And I dont mean in a Platonic way, either. I totally want to hump your brains out.
And when the moment is right, I'm gonna fly a kite.
2008-07-16, 11:49 PM #7
Zero_Raven, LA used a colormap for that effect. They just applied the 01redmap cmp to the sectors to give it the red look. No way to get that to fade unless you do what Ruthven said.
2008-07-18, 8:43 PM #8
Thanks X. Much appreciated.
THE GUNDAM PROJECT
2008-07-19, 1:37 AM #9
well i do wonder. i used the 01REDMAP.CMP in a level, saved as JKL, exported from JED to JK Editor, and when testing from JK Editor, the REDMAP doesnt so up. It annoys me, can i fix this?
THE GUNDAM PROJECT

↑ Up to the top!