All-Aircraft-Simulations
Moon light - Printable Version

+- All-Aircraft-Simulations (https://allaircraftsimulations.com)
+-- Forum: IL2 MODS Download & Discussion (https://allaircraftsimulations.com/forumdisplay.php?fid=267)
+--- Forum: IL-2 4.09m (https://allaircraftsimulations.com/forumdisplay.php?fid=348)
+---- Forum: IL2 MODS Discussion Section 4.09m (https://allaircraftsimulations.com/forumdisplay.php?fid=292)
+---- Thread: Moon light (/showthread.php?tid=54181)

Pages: 1 2


Moon light - BF-109 F4 - 15.05.2008

How about making a MOD that allows to switch to nights with or without moon? I know we can prevent the moon light with clouds but its a little hard flying at night with poor to thunder clouds.
It would be awsome flying our new Bf-110 night fighter without moon light 8)


- Hellzone - 15.05.2008

Agreed... Fireball could code it so you change it VIA the .mis file which would be great.

Good Idea btw.


- Fisneaky - 15.05.2008

I was thinking along the lines of including all phases of the moon.

So was Oleg it seems! Theres a full 27 day cycle of tga's in the maps.sfs, but all we ever see is waning gibbous. If I can actually discover which one is applied in game maybe something can be done.

Odd because map load.ini files do give different moon0000.tga - moon0018.tga etc.


- Hellzone - 15.05.2008

hmmm a cycle eh... well intresting...


- Tigershark - 15.05.2008

Woah Fisneaky,
What an interesting find...!!! I wonder why it was dropped...??

TS


- Murph - 15.05.2008

Probably to save on resources/cpu cycles.


- Fisneaky - 15.05.2008

Murph Wrote:Probably to save on resources/cpu cycles.

Doubt that, would only need one skin per mission. Probably dropped plans for a calendar.

note that map load.ini also gives month and declination.


- Fisneaky - 15.05.2008

Altogether now......
"I see a bad moon ......."

[Image: moon0017.gif]

skin name is moon0017.tga, substituted here with a quick edit.

Looks as though the Moonlight effect is still there though.
Anyone got any ideas about that?


- Fireball - 15.05.2008

I'll take a peek in the class files and see if I see anything.


- ROSOBORONEXPORTCORP - 15.05.2008

Fisneaky Wrote:I was thinking along the lines of including all phases of the moon.

So was Oleg it seems! Theres a full 27 day cycle of tga's in the maps.sfs, but all we ever see is waning gibbous. If I can actually discover which one is applied in game maybe something can be done.

Odd because map load.ini files do give different moon0000.tga - moon0018.tga etc.

Oleg actually claims that there is a "date" section in the mission editor/mission file.
This may also control the strength of ice (but I haven't tested this second piece of information).


- Fisneaky - 15.05.2008

Date may possibly only relate to introduction of Aircraft types etc. in DGen, but you never know what you might find if you dig deep enough. I even found a file called starforce today Confusedhock: , dont think its the evil rootkit variety though.


- Fireball - 16.05.2008

Thanks to Fisneaky's discovery of the collection of different image files of the moon, as well as Hellzone's prodding Smile, I took a look at the class files related to the moon, and was able to come up with a mod that will let you set different phases of the moon for a mission by setting a 'MoonPhase' parameter in the mission (.mis) file. Depending on the value you set the moon will be in different positions relative to the horizon, and will be in different phases (full-moon, half-moon, no moon, etc.).

The mod right now is in the 'WIP-BETA-MODS DOWNLOAD' section here:

(The link is inoperative)


- Fisneaky - 16.05.2008

Superb, can I carry on with some moonskins then?


- Fireball - 16.05.2008

Oh yes...skins are something that I know NOTHING about.


- Fireball - 16.05.2008

I've temporarily removed the mod til I can take a look at an error people are running into when opening the FMB with the mod installed.