View Single Post
Old 03-31-11, 04:55 PM   #10
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by Rubini View Post
I used a omni light directly attached to the moon at first...
IIRC, i used direct light object... can't see now...
Quote:
... (others light types don't even followed the moon)
did you used corresponding controller (FollowParent)?
Quote:
... , late tried it as a node in different places related to the moon (similar to your idea above), later a node with particle that calls another object with omni light when the particle hits water (to prevent moon light befor/after rise/set)...always the light is there but with particles idea the light don't followed the moon (it's another object).
All others attempts (and I tried a lot of approachs...) had the light following correctly the moon. But I can't achieve a way to have light only when the moon was visible.This is the main problem. And a killer one to the intention of the mod.

It's one of the reasons why i didn't published my work in 2006...2007... and have used this effect only in my game.

Quote:
I will really leave this to the Sh3.exe patch modders experts. I'm convinced that only then this will have a chance to work correctly.
Good luck.

P.S.
It was (in my case) very simple work...
Main actions:
1) In scene.dat create direct MoonLight object (similar as Sun light) and adjust Colour parameter (optional)...
2) Join to MoonLight object InteriorLight controller (similar as in any interior)... and adjust DayLightColour and NightLightColour...
3) Join MoonLight to Moon object (maybe via buffer-object for interaction with water) and adjust position of MoonLight (or buffer-object) relative Moon object.
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 04-04-11 at 08:00 AM.
Anvart is offline   Reply With Quote