Page 1 of 1

Sky File HELP

Posted: Mon Apr 21, 2008 11:28 am
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

Re: Sky File HELP

Posted: Mon Apr 21, 2008 11:57 am
by Teancum
Well, the pictures are referring to FarSceneRange, not ObjectVisibility... I guess I'm confused on what you're asking.

Re: Sky File HELP

Posted: Mon Apr 21, 2008 1:39 pm
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.

Re: Sky File HELP

Posted: Mon Apr 21, 2008 3:09 pm
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)

Re: Sky File HELP

Posted: Mon Apr 21, 2008 8:20 pm
by PoRCH WooKIE
Thanks :)

Re: Sky File HELP

Posted: Wed Apr 23, 2008 3:07 am
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

Re: Sky File HELP

Posted: Wed Apr 23, 2008 10:08 pm
by PoRCH WooKIE
Got it. yay.

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

Image