Forum > Miscellaneous
Make the Moon bigger
(1/3) > >>
TheMetalCarrots:
Apologies if this question has been asked previously, but I was wondering if there was any way to resize the moon that appears on the default night sky - I assume, if it is at all possible, it requires the editing of textures/DBC files, but that's merely speculation, so I thought I'd ask here before I plunged blindly into resizing the moon.
Thanks in advance, Me.
Alastor:
I think its geoset with plane structure in M2 of sky so you will have to extroduse it
schlumpf:
As far as I remember that had been part of the day night cycle stuff and is hard coded. You can try reverse engineering stuff around DNPlanet, and try to find a size field there. If there is, you would have to patch the binary to override the value.
TheMetalCarrots:
Aight, I'll try these suggestions and report back. Thanks!
schlumpf:
It is in fact hardcoded:
--- Code: ---void DayNight::CDayNightObjectInt::LoadMap (int map) { if (info.g_initialized) { UnloadMap(); } info.Initialize (map, s_useNewFog); lightRecs.LightLoad (map); assert (g_areaLightOverrides.Count()==0); info.g_initialized = true; sky.Initialize(); clouds.Initialize(); sunGlare.Initialize ("Textures\sunGlare.blp", &sun); moonGlare.Initialize ("Textures\moonGlare.blp", &moon); sun.Initialize ("Textures\sunCenter.blp", 1.0, 1.0); moon.Initialize ("Textures\moon.blp", 1.75, 1.0); moon2.Initialize ("Textures\moon02.blp", 1.0, 1.7); stars.Initialize(); } --- End code ---
You would want to change those two floats in DayNight::DNPlanet::Initialize, I guess. Not sure which one is which.
Navigation
[0] Message Index
[#] Next page
|