Sky File HELP

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
PoRCH WooKIE
Second Lance Corporal
Second Lance Corporal
Posts: 104
Joined: Fri Oct 19, 2007 6:07 pm

Sky File HELP

Post by PoRCH WooKIE »

Hey all, a little help needed:
On the SWBF Modding Tutorial in the advanced section under "tips and tricks 1" in the part called "Understanding the SKY.lua file."
it mentions
FarSceneRange - and then shows the 2 top pictures for a reference (unfortunately the "read my first post" reference the author mentions is not part of the tut)
Image

The top picture says its set at a high setting of 5000 and "The terrain blends out to white much earlier. Doesn´t look realistic"
and the picture below says its set at a low 500 and "Looks much better but it´s something to low because it´s transparent before it shows up correctly." However in the sky file, FarSceneRange; has 2 numbers in front of it:

SkyInfo()
{
ObjectVisibility(40.000000, 80.000000, 1600.000000);
FogColor(252, 252, 252);
FogRange(0.000000, 3000.000000);
...
FarSceneRange(450.000000, 1000.0);
}
What number is the tut referring to (first or second)? [OR] What number would i adjust so objects appear from further away? for example if I am flying... I want the objects (buildings) I am approaching to appear from further away, is that what the tutorial means?

I adjusted both with what seemed like little to no results
Last edited by PoRCH WooKIE on Mon Apr 21, 2008 1:47 pm, edited 6 times in total.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Sky File HELP

Post by Teancum »

Well, the pictures are referring to FarSceneRange, not ObjectVisibility... I guess I'm confused on what you're asking.
PoRCH WooKIE
Second Lance Corporal
Second Lance Corporal
Posts: 104
Joined: Fri Oct 19, 2007 6:07 pm

Re: Sky File HELP

Post by PoRCH WooKIE »

yeah sorry i could see how that would be confusing, bad cutting and pasting on my part.

I edited the original post, I hope it makes more sense.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Sky File HELP

Post by Teancum »

If I remember right, the LAST number represents how far away the blend will start (from lowrez to hirez). The FIRST one represents how close you need to be for it to be 100% complete (totally hirez)
PoRCH WooKIE
Second Lance Corporal
Second Lance Corporal
Posts: 104
Joined: Fri Oct 19, 2007 6:07 pm

Re: Sky File HELP

Post by PoRCH WooKIE »

Thanks :)
PoRCH WooKIE
Second Lance Corporal
Second Lance Corporal
Posts: 104
Joined: Fri Oct 19, 2007 6:07 pm

Re: Sky File HELP

Post by PoRCH WooKIE »

is there a way to get rid of the geo1 texture as the far_range texture?
I have changed it in the sky file [LowResTerrain()] to call for BEO1 (to match my new "star" texture) BUT the distance texture is still geo1...


changed sky:
LowResTerrain()
{
Texture("beo1"); BEO1 is my new star texure
PatchResolution(7);
FogNear(300.0);
FogFar(700.0);
FogColor(142,82,38, 128);
DetailTexture("beo1_far_detail");
DetailTextureScale(0.25);

is there a way to shut this off so my star texture is the far texture, not the geo1?


here are some screenies of my issue:
This is the ground texture from close range
Image

For the space map i am working on
Image

This is as small as i can make the texture with out the map crashing... but from a distance you can see the geo1 texture,,, even with all the geo1 calls removed from the sky file...
Image

any suggestions???

Image
PoRCH WooKIE
Second Lance Corporal
Second Lance Corporal
Posts: 104
Joined: Fri Oct 19, 2007 6:07 pm

Re: Sky File HELP

Post by PoRCH WooKIE »

Got it. yay.

***pro tip***
hex edit the TER file to call for new terrain TGA

Image
Post Reply