View distance not changing (am i doing this right?)

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
IndianaJoe
1st Lieutenant
1st Lieutenant
Posts: 425
Joined: Sun Jun 07, 2009 11:21 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: ♦♠Lining up a headshot.♠♦

View distance not changing (am i doing this right?)

Post by IndianaJoe »

I am trying to change the visibility range on a map I'm making. The map is surrounded on all sides by a large canyon wall I made in XSI. But from the inside of the map, you can barely see any of it. I cranked up (maybe, I don't know how much I actually did) the view distance in the SKY file:

Code: Select all

	PC()
	{
		NearSceneRange(80.0, 240.0, 120.0, 280.0);
		FarSceneRange(9000.0, 9000.0);

		FarSceneRange(9000.0);
		FogRange(-100.0, 600.0);
Am i doing this right?
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: View distance not changing (am i doing this right?)

Post by MercuryNoodles »

FarSceneRange is for the background area of a map, from what I gather of psych0fred's posts on the sky file. Setting it to 9000, 9000 is probably not what you want to do here, for several reasons, and should probably be set back to something reasonable. You should also eliminate the duplicate FarSceneRange line.

Try playing with the ingame video sliders for view distance and LOD distance to see if you can get it from there before you play with the sky file. The sky values are linked to the view distance slider (and there's a bit that suggests to me the LOD slider has an effect as well), so you should only really need to alter the sky file if you can't get the view distance you need from the ingame video options. If you absolutely need to, try increasing the values on the NearSceneRange a little until you can see the object. Keep in mind doing this does increase the amount of objects that have to be rendered, thus your map will take up more memory as a result.

Also, your midrange is 40 meters (80, 120), which doesn't seem like a good idea since you're having both high and low res models rendered in that range at the same time.
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: View distance not changing (am i doing this right?)

Post by FragMe! »

Also did you make a lowres model of your canyon walls?
This would also help in keeping something in view as you move away.
Post Reply