Lights

Discuss Decoration Modding Here

Moderators: Q-dad~TAG, EXP STAFF, Moderator

Lights

Postby Zeek » 08-28-2008 05:22 PM

OK I have another one for all your Modders :)

Is it even possible to project light in JO, like a searchlight or flashlight?

I have added a light in Max (spotlight) and it shows up what i think is correct in SuperOED, but in the game it just shows like an omni light under the object..really really bright.

Any help is appreciated.

Thanks

Zeek
Zeek
Junior Member
 
Posts: 8
Joined: 08-17-2008 07:48 PM

Postby Xx_jet_xX » 08-30-2008 09:03 PM

I worked on a spotlight for atleast a week and couldnt get it to work, just like you I got the same results. so this is 2 people asking the same Q lol
Image
Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day. --George Carlin
Xx_jet_xX
JET Laggg
 
Posts: 208
Joined: 04-11-2004 08:25 PM

Postby Zeek » 08-30-2008 10:29 PM

In theory I have an idea that might work, basically it involves a trianlge from a fixed object (say a hovering helo). If we use an alpha channel on a texture to feather the edges and set the material right, again in theory, it should work? We would also have to attach a light source though to make it 'bounce' off of buildings/floors, etc...I've also tried a random rotation of an object which should work great for a spotlight (kind of like 20th Century Fox type deal)... Anyways i will test it out and see what i come up with... i dont hold much hope though, since you guys are way more experianced than me and your having trouble.. it doesnt exactly inspire confidence lol...but hey if it IS possible, someones gotta figure it out right?

Jet Let me know if you figure it out man

Thanks

Zeek
Zeek
Junior Member
 
Posts: 8
Joined: 08-17-2008 07:48 PM

Postby Xx_jet_xX » 09-01-2008 06:05 PM

ive found that lights wont animate, so if you are thinking of a spotlight that rotates it wont work.

you can make a spotlight look from a series of omni lights, placed aproximatly 1/2 meter apart or less starting from .25 meter far atenuation working your way up to whatever you want. whats in the SS below goes from .25 to 3 meters. it crashes the soed when trying to adjust the lights themselves so the color is max's, and if you save as a .3dp without changing the lights it will crash when opening the .3dp. another issue is in a long line of the lights, as you look down it it will be as bright or brighter than the sun in the game

but if your looking for a static light with no animation, that doesnt go far then this will work for something like a billboard light or a similar small spotlight affect. just start your numbers from a much smaller one then gradualy move up to the final size. a 1 meter line could have 5 to 10 lights to get the proper affect....

Image

heres a list of the numbers used up to 5 meters:

0.25
0.275
0.3
0.325
0.35
0.375
0.4
0.425
0.45
0.475
0.5
0.525
0.55
0.575
0.6
0.625
0.65
0.675
0.7
0.725
0.75
0.775
0.8
0.825
0.85
0.875
0.9
0.925
0.95
0.975
1
1.025
1.05
1.075
1.1
1.125
1.15
1.175
1.2
1.225
1.25
1.275
1.3
1.325
1.35
1.375
1.4
1.425
1.45
1.475
1.5
1.525
1.55
1.575
1.6
1.625
1.65
1.675
1.7
1.725
1.75
1.775
1.8
1.825
1.85
1.875
1.9
1.925
1.95
1.975
2
2.025
2.05
2.075
2.1
2.125
2.15
2.175
2.2
2.225
2.25
2.275
2.3
2.325
2.35
2.375
2.4
2.425
2.45
2.475
2.5
2.525
2.55
2.575
2.6
2.625
2.65
2.675
2.7
2.725
2.75
2.775
2.8
2.825
2.85
2.875
2.9
2.925
2.95
2.975
3
3.025
3.05
3.075
3.1
3.125
3.15
3.175
3.2
3.225
3.25
3.275
3.3
3.325
3.35
3.375
3.4
3.425
3.45
3.475
3.5
3.525
3.55
3.575
3.6
3.625
3.65
3.675
3.7
3.725
3.75
3.775
3.8
3.825
3.85
3.875
3.9
3.925
3.95
3.975
4
4.025
4.05
4.075
4.1
4.125
4.15
4.175
4.2
4.225
4.25
4.275
4.3
4.325
4.35
4.375
4.4
4.425
4.45
4.475
4.5
4.525
4.55
4.575
4.6
4.625
4.65
4.675
4.7
4.725
4.75
4.775
4.8
4.825
4.85
4.875
4.9
4.925
4.95
4.975
5

as you can see thats a whole lot of lights to line up in a row and evenly spaced.
Image
Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day. --George Carlin
Xx_jet_xX
JET Laggg
 
Posts: 208
Joined: 04-11-2004 08:25 PM

Postby Zeek » 09-02-2008 10:57 AM

Wow that is awesome, shame it wont work at big distances though but still, its something, anyway i could get the Max file from you? i can recreate if needed, would just save me some time.

Thanks for taking the time to figure this out though,

great work!
Zeek
Junior Member
 
Posts: 8
Joined: 08-17-2008 07:48 PM

Postby Xx_jet_xX » 09-02-2008 02:12 PM

the max file i have no longer has the lights included, i shouldve thought to atleast save the light part of it though before removing.....

just start by puting the lights in a line, keep the first few close together while gradualy moving apart until they are about 1/2 meter then keep that distance for the rest of the lights in the series. when it gets imported to the soed and you see small balls of light then go back to max and move them closer together and test again. you can also make the beam go wider in a shorter distance by doing every other number or every third, or make it thinner by doing each one twice. play with it and you may figure out a better way than i did.

its tedious work though, and as you can see from the ss is i messed up the size increments of a few which are the brighter parts of the beam.
Image
Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day. --George Carlin
Xx_jet_xX
JET Laggg
 
Posts: 208
Joined: 04-11-2004 08:25 PM

Postby Zeek » 09-02-2008 02:24 PM

Xx_jet_xX wrote:the max file i have no longer has the lights included, i shouldve thought to atleast save the light part of it though before removing.....

just start by puting the lights in a line, keep the first few close together while gradualy moving apart until they are about 1/2 meter then keep that distance for the rest of the lights in the series. when it gets imported to the soed and you see small balls of light then go back to max and move them closer together and test again. you can also make the beam go wider in a shorter distance by doing every other number or every third, or make it thinner by doing each one twice. play with it and you may figure out a better way than i did.

its tedious work though, and as you can see from the ss is i messed up the size increments of a few which are the brighter parts of the beam.


NP i like the look of yours though, almost looks like light shining through the fog or mist. Thanks again for the help

Zeek
Zeek
Junior Member
 
Posts: 8
Joined: 08-17-2008 07:48 PM

Postby Xx_jet_xX » 09-03-2008 01:58 PM

no problem and good luck.
Image
Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day. --George Carlin
Xx_jet_xX
JET Laggg
 
Posts: 208
Joined: 04-11-2004 08:25 PM

Postby loa » 09-06-2008 11:15 AM

thats real cool, i remember df1 having spot lights that rotated. these look so much cooler
User avatar
loa
Administrator
 
Posts: 1132
Joined: 03-06-2004 01:54 PM

Postby Xx_jet_xX » 09-06-2008 03:16 PM

That was what i was trying to get, but the lights wouldnt rotate, i couldve made a long cone and selflum it or something else like that with the material but then it would look as bad as the DFLW spotlight. great for a distance lousy for up close. anyway thanks for the compliment Loa, and lets see what Zeek comes up with.....
Image
Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day. --George Carlin
Xx_jet_xX
JET Laggg
 
Posts: 208
Joined: 04-11-2004 08:25 PM


Return to Decorations

Who is online

Users browsing this forum: No registered users and 1 guest

cron