Hidden/Spoiler:
Re-placement of skydome objects
Moderator: Moderators
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re-placement of skydome objects
I'm looking to move some of the sky dome models around, and I can't seem to do it. There's an offset command:
But it doesn't appear to have any effect on the actual relative location of the dome objects. Anyone familiar with the command used to move objects around the sky along the XZ plane? (i.e. not just up and down)
- Eggman
- Master Bounty Hunter

- Posts: 1516
- Joined: Mon Jul 16, 2007 1:30 pm
- Projects :: Battlefront Chronicles
- Location: Las Vegas
Re: Re-placement of skydome objects
I'm not 100% sure if it applies to objects in the .sky file, but for a world's sun in the .fx file, you can move it around by changing the angle values: Angle(120.000000, -30.000000);. You could try using that for an individual dome model, such as this:
DomeModel()
{
Geometry("sky_yav2_planet");
Angle(120.000000, -30.000000);
Offset(100.0); - I'm not sure if this would still need to be there, I've never used it before.
MovementScale(0.995);
}
DomeModel()
{
Geometry("sky_yav2_planet");
Angle(120.000000, -30.000000);
Offset(100.0); - I'm not sure if this would still need to be there, I've never used it before.
MovementScale(0.995);
}
