Sky view distance problem
Moderator: Moderators
- elfie
- Field Commander

- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
Sky view distance problem
Alright this was really wierd. I changed the view distance in the sky file to something ridicoulusly big like 400000. I munged without cleaning, went ingame and the view distance was great, everything was visible and no lag. Except the sky was gone. It was just this big black sky and this happened without changing the tga/geometry section. What happened? THanks
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: sky problem
It's possible you made the viewable area larger than the skybox itself, effectively turning the skybox off. Try lowering your numbers back to defaults and see if it comes back.
- elfie
- Field Commander

- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
Re: sky problem
But if I do that then I wont have a high view distance anymore and It will be all foggy and hard to see.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: sky problem
I'm just telling you what the issue more than likely is. Try lowering it just to see if that's the problem. You can always put the big numbers back in. 20 bucks says that's it though.
How big is the terrain on your map? Even with 512x512 terrain you shouldn't need a number that big.
How big is the terrain on your map? Even with 512x512 terrain you shouldn't need a number that big.
-
Aman/Pinguin
- Jedi

- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: sky problem
Teancum wrote:Try lowering your numbers
At least try that.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: sky problem
You don't need that high a view distance.
Four hundred thousand units is something on the scale of about 2 orders of magnitude too high. The biggest maps are only about 1000x1000 - and that's rare - and on a map like that you probably only ever need a distance of about 6000 at most.
Four hundred thousand units is something on the scale of about 2 orders of magnitude too high. The biggest maps are only about 1000x1000 - and that's rare - and on a map like that you probably only ever need a distance of about 6000 at most.
- elfie
- Field Commander

- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
Re: sky problem
I had It set originally at 6000 but it made no difference. My terrain is about I think 620x620. I had it set low and it did nothing. I have lowered them. Here is my sky file if you want to take a look.Four hundred thousand units is something on the scale of about 2 orders of magnitude too high. The biggest maps are only about 1000x1000 - and that's rare - and on a map like that you probably only ever need a distance of about 6000 at most.
Code: Select all
SkyInfo()
{
Enable(1);
FogColor(23,93,19);
PS2()
{
NearSceneRange(0.5, 200.000000, 270.000000);
NearSplitScreenRange(1.000000, 140.000000, 200.000000);
FarSceneRange(800.000000);
}
PC()
{
NearSceneRange(9000.0, 25000.0, 12000.0, 30000.0);
FarSceneRange(6000.000000, 14000.0);
}
XBOX()
{
NearSceneRange(0.5, 200.000000, 270.000000);
NearSplitScreenRange(1.000000, 200.000000, 270.000000);
FarSceneRange(800.000000);
}
}
DomeInfo()
{
Texture("dag1_Skydome.tga");
Angle(-90.000000);
Ambient(255.000000, 255.000000, 255.000000);
Softness(1);
SoftnessParam(60);
DomeModel()
{
Geometry("dag1_skydome.msh");
}
}-
obiboba3po
- 2008 Most Technically Challenging Avatar
- Posts: 2376
- Joined: Tue Feb 12, 2008 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: NJ, USA
Re: sky problem
wait your terrain is 620x620, then we have a problem, it has to be a multiple of 2 (256, 512, 1024, 2048)
- elfie
- Field Commander

- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
Re: sky problem
310 x 2 = 620 = an even number. That is not the problem btw but I do appreciate the help. I got it fixed...mostly. When I zoom in with my weapon the sky goes black again. No matter how low I set the Far/near screen I still have the problemo.
-
obiboba3po
- 2008 Most Technically Challenging Avatar
- Posts: 2376
- Joined: Tue Feb 12, 2008 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: NJ, USA
Re: sky problem
oh lol i thought it had to be a power of 2
good thing that you got it fixed though. (for the most part
)
- elfie
- Field Commander

- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
Re: sky problem
I tried a clean then munge. I will test it out in a minute and see if the problem goes away.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: sky problem
No, it MUST be a POWER of 2. Not an even number. So if it's not a problem now it will be very soon.elfie wrote:310 x 2 = 620 = an even number.
it ABSOLUTELY MUST BE:
64x64, 128x128, 256x256, 512x512. 1024x1024 technically would work, but is so incredibly huge you'd never use all of it, even in a starfighter, plus it can crash most people's games.
- elfie
- Field Commander

- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
Re: sky problem
wait, never mind. It was 1024x1024. It seems big but It was neccessary. Besides, I have seven command posts and at each one are up to 5 speeders that spawn continuesly for both sides. This is for my map The Old Republic btw.
