Forum > Miscellaneous

Make the Moon bigger

<< < (2/3) > >>

Skarn:

--- Quote from: "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.
--- End quote ---

I wonder how many such code snippets have you got on your computer?  :o You have the entire client reversed or just some parts of it?

schlumpf:

--- Quote from: "Skarn" ---I wonder how many such code snippets have you got on your computer?  :o You have the entire client reversed or just some parts of it?
--- End quote ---
I usually don't save them after posting, so the amount of snippets I still have is quite low.

Also, I just realized that those are all non-pointers but plain members.

kojak488:
Just edit the skybox and make that mesh larger.  It's no different than modifying any other .m2 with animations.

schlumpf:

--- Quote from: "kojak488" ---Just edit the skybox and make that mesh larger.  It's no different than modifying any other .m2 with animations.
--- End quote ---
The moon is _not_ part of any M2 for the normal sky.

kojak488:

--- Quote from: "schlumpf" ---
--- Quote from: "kojak488" ---Just edit the skybox and make that mesh larger.  It's no different than modifying any other .m2 with animations.
--- End quote ---
The moon is _not_ part of any M2 for the normal sky.
--- End quote ---

I'm not sure what you're getting at.  You can edit the meshes in a skybox and make a moon bigger that way.  When I edited a skybox's day/night cycle (as a hackfix, obviously), I played around with the size of the moon in that skybox because it's merely a mesh in the m2 file.  I posted a video of the skybox somewhere in my post history if it's worth's time to look in to.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version