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();}
It is in fact hardcoded:Code: [Select]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();}You would want to change those two floats in DayNight::DNPlanet::Initialize, I guess. Not sure which one is which.
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();}
I wonder how many such code snippets have you got on your computer? You have the entire client reversed or just some parts of it?
Just edit the skybox and make that mesh larger. It's no different than modifying any other .m2 with animations.
Quote from: "kojak488"Just edit the skybox and make that mesh larger. It's no different than modifying any other .m2 with animations.The moon is _not_ part of any M2 for the normal sky.
The moon is _not_ part of any M2 for the normal sky.