FAQ  •  Register  •  Login

Dynamic Light in IL2

<<

LAL_RONE

Map Mod Member

Posts: 579

Joined: Sat Nov 03, 2007 6:34 pm

Post Sun Jun 29, 2008 8:05 am

Dynamic Light in IL2

Hi every body.

I try to create a MOD about dynamic light, but I can't find the good files. Perhaps someone could make it ...

The Campfire objet only produce a dynamic light. When you place it next another objects, they are lighted.

So you can use this new object to simulate spotlight on the ground to enlight parking, industry .... or generate dynamic light on fire.

I hope you understand what I mean ... sorry for my poor english

Here are some screens to show what I mean:

Try Duby Airbase : I place telegraph poles with white light to simulate spotlight. But on the screen, my spotlight floodlight nothing ... there is no dynamic light :
Image



Now, I use Campfire objects which generate dynamic light. I hide campfire in the decor. Players can't see the flame. On the screen, people believe that my spotlight generate light, and the place is lit :
Image

So I would like to :
- copy/paste the Campfire as a new object.
- erase flame animation
- increase light power
- modify color of light into white.

Can someone help me, or know how to create this mod ?

Thanks.
<<

FC

Mod Member

Posts: 295

Joined: Sat Nov 17, 2007 7:39 am

Post Sun Jun 29, 2008 9:19 am

Re: Dynamic Light in IL2

LAL_RONE wrote:
So I would like to :
- copy/paste the Campfire as a new object.
- erase flame animation
- increase light power
- modify color of light into white.

Can someone help me, or know how to create this mod ?

Thanks.


-easy
-easy
-most likely possible, require some Java work probably
- possible, require some Java work.Maybe it would be better to change lights to be more yellow, IMO that would better represent city lights during that period.

FC
<<

Trooper117

User avatar

Posts: 2400

Joined: Mon Oct 22, 2007 7:24 pm

Post Sun Jun 29, 2008 9:48 am

Thats a great effect mate!
<<

LAL_RONE

Map Mod Member

Posts: 579

Joined: Sat Nov 03, 2007 6:34 pm

Post Sun Jun 29, 2008 10:10 am

Hi FC.

I didn't know that Campfire is Java script.
It would be great if you can copy/paste campfire and erase flame animation !!!!

The searchlight is another object which generate dynamic light. But it is ON only when a enemy aircraft fly nearby. However the color of light is good, and the light have no quiver.
<<

Metatron

Posts: 982

Joined: Fri Nov 09, 2007 8:04 pm

Post Sun Jun 29, 2008 11:10 am

Another much needed mod! Good work.
<<

Bearcat

User avatar

Posts: 536

Joined: Fri Nov 16, 2007 5:40 pm

Post Sun Jun 29, 2008 4:14 pm

That is great... I was just thinking of this...
<<

Fay King

Posts: 269

Joined: Fri Oct 19, 2007 10:14 pm

Post Sun Jun 29, 2008 4:22 pm

Brilliant!! A++ idea! :D
<<

LAL_RONE

Map Mod Member

Posts: 579

Joined: Sat Nov 03, 2007 6:34 pm

Post Sun Jun 29, 2008 4:39 pm

First I though this MOD for spotlights, but a dynamic light could be used for fires in a city.

It would be perfect to have two dynamic light :
- little size and white color for spotlight (like my screen)
- big size and yellow color for fire in flaming city.

I hope it's possible ...
<<

Jaws2002

Posts: 120

Joined: Wed Nov 14, 2007 3:27 pm

Post Sun Jun 29, 2008 5:57 pm

Can you use the fires from rockets? They light the objects and ground around them as well.
<<

Username

Posts: 513

Joined: Sat Nov 03, 2007 3:41 pm

Post Sun Jun 29, 2008 6:09 pm

LAL_RONE wrote:First I though this MOD for spotlights, but a dynamic light could be used for fires in a city.


Great idea ROne.:D

Maybe it would be possible to attach the small dynamic light to a parafrag bomblet to get a working parachute flare for target marking? I suppose one would have to reduce the bomb explosive effect to zero, or as near as possible. The ideal would be that the dynamic light 'burns' for the duration of the bomb's descent and even after the 3D bomb model has struck the ground and disappeared. (This would work well with Jolly's 'cookie' Mosquito, carried as a mixed bombload - cookie and slow-falling marker flares).

If the small dynamic light could somehow be triggered to come on by the explosion of a bomblet (maybe replace the crater decal by a small dynamic light), one could simulate the long burn times of incendiary bombs. Perhaps a bright white or yellow would be appropriate for phophorous incendiaries?
<<

Username

Posts: 513

Joined: Sat Nov 03, 2007 3:41 pm

Post Sun Jun 29, 2008 6:11 pm

Jaws2002 wrote:Can you use the fires from rockets? They light the objects and ground around them as well.


Aren't there some white landing lights that do this as well? e.g Hurricane
<<

Zephyr

Posts: 28

Joined: Wed May 07, 2008 5:22 am

Post Sun Jun 29, 2008 6:50 pm

Illumination (dynamic light) from landing light is defined in one of .class files, so it can't be changed via any configuration file. The colour of landing/nav light source (but not the halo-effect) is also fixed in it.
<<

FC

Mod Member

Posts: 295

Joined: Sat Nov 17, 2007 7:39 am

Post Sun Jun 29, 2008 7:53 pm

This is an ugly programing solution but it works.


ImageImageImageImage

FC
<<

RAF_Leigh

Posts: 951

Joined: Wed Oct 24, 2007 6:20 pm

Location: Somewhere over the aussie rainbow

Post Sun Jun 29, 2008 9:36 pm

that would be great
<<

cmirko

Posts: 40

Joined: Fri Mar 14, 2008 10:40 am

Post Mon Jun 30, 2008 3:05 am

wow FC :) extremely nice for a first try :)

S!
Next

Return to IL2 MODS Discussion Section 4.09m

Who is online

Users browsing this forum: No registered users and 15 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.