.sky file questions.

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
jedi_pilot
Command Sergeant Major
Command Sergeant Major
Posts: 288
Joined: Sat Sep 15, 2007 2:09 pm

.sky file questions.

Post by jedi_pilot »

Ok, I have a couple questions about the .sky file :) .

1. What do each of the four numbers do in the NearSceneRange line???

2. What exactly does the FarSceneRange line do :? ???

Thank's :D .
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: .sky file questions.

Post by Frisbeetarian »

A quick search at Psych0fred's page had a couple of good nuggets of information: http://www.secretsociety.com/forum/sear ... ge&x=0&y=0
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: .sky file questions.

Post by DarthD.U.C.K. »

you could look here too
jedi_pilot
Command Sergeant Major
Command Sergeant Major
Posts: 288
Joined: Sat Sep 15, 2007 2:09 pm

Re: .sky file questions.

Post by jedi_pilot »

Ok, I'm kinda confused. What is the difference between the first two lines and the last two lines of NearSceneRange???

And how do I set up that lowrez texture :? ???

Thank's :) .
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: .sky file questions.

Post by Frisbeetarian »

Psych0fred wrote:NearSceneRange(start min, start max, end min, end max) where the range between the two is controlled by the slider under video options.
What he is referring to is the view distance slider in the BF2 game options. Use this for an example: NearSceneRange(50.0, 220.0, 60.0, 300.0). If the slider is to the left,
Psych0fred wrote:the mid range here is only between 50 and 60 meters so only in that range will objects be doubly rendered. Otherwise the low res is all you see beyond 60 meters.
Likewise, if the slider were to the right, you would replace 50 and 60 with 220 and 300 respectively in the above quote.

The low res he refers to aren't textures, they're models. If you'll notice in the assets, many mshs have low res models called [modelname]_lowres.msh, this is to what he is referring. You set up references to low res models in the ODF.
jedi_pilot
Command Sergeant Major
Command Sergeant Major
Posts: 288
Joined: Sat Sep 15, 2007 2:09 pm

Re: .sky file questions.

Post by jedi_pilot »

Ok, so I understand the different parameters :) . But, going off of the example you gave, what would you see between 0 and 50 meters??? and how do I get rid of that annoying white fog that shows up at a distance :wink: ???
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: .sky file questions.

Post by MercuryNoodles »

To answer the obvious one, you see the high resolution models at 0-50 meters. The hi-res stuff are just the normal models you see whilst running about. The low-res models are made so something shows at a distance, but they're low poly to keep the system from becoming overburdened with rendering model detail you don't really see anyway.
jedi_pilot
Command Sergeant Major
Command Sergeant Major
Posts: 288
Joined: Sat Sep 15, 2007 2:09 pm

Re: .sky file questions.

Post by jedi_pilot »

Ok :) . But how do you get rid of that annoying white fog???
Post Reply