Page 4 of 9

Re: Track Files Explained

Posted: Fri Dec 18, 2009 1:55 am
by mxallan15
it is possible to change the image of the guy over(runner)(30sec)
because it is not very nice: lol:.
and the guy on the finish line .

Re: Track Files Explained

Posted: Sat Dec 19, 2009 7:02 pm
by jhdm17
hey im struggling to my a new tielmap, can you do it with paint? if so what numbers and stuff do you have to save

Re: Track Files Explained

Posted: Fri Jan 29, 2010 6:30 pm
by Mona
This is making me so mad, i cannot get the sky to work on any of my tracks. Here is the code for my Indy lighting file:

Code: Select all

sun_vector [ 1.00 0.30 1.00 ]
sun_color [ 1.00 1.00 0.50 ]
ambient [ 0.25 0.25 0.50 ]
sky_n @indy_2010/sky_north.png
sky_e @indy_2010/sky_east.png
sky_s @indy_2010/sky_south.png
sky_w @indy_2010/sky_west.png
sky_u @indy_2010/sky_up.png
flare_element [ 0.0 1.0 ] [ 0.5 0.5 0.5 ] 0.75 @glare.png
flare_element [ 0.0 -0.0 ] [ 0.0 0.0 0.125 ] 0.5 @glare.png
flare_element [ 0.0 -0.25 ] [ 0.0 0.125 0.0 ] 0.5 @glare.png
flare_element [ 0.0 -0.5 ] [ 0.125 0.0 0.0 ] 0.5 @glare.png
flare_element [ 0.0 -0.9 ] [ 0.0 0.0 0.0625 ] 0.4 @ring.png
flare_element [ 0.0 -0.95 ] [ 0.0 0.0625 0.0 ] 0.5 @ring.png
flare_element [ 0.0 -1.0 ] [ 0.0625 0.0 0.0 ] 0.6 @ring.png
flare_vector [ 1.0 1.414 1.0 ]
fog [ 0.0 0.0 0.0 ] .00055
I probably made a stupid mistake, but i can't find one myself, so i'm turning to you guys. I don't know if it matters, but i'm *trying* to use a test skybox, and the resolution of the png's are 256x256. In things like the shading file, resolution matters, but i dont know if it apply's here.
Also, no parts of the sky works, not one side, it just goes to the stock sky like the game wasn't told to load my sky.

Thanks for any help.

Re: Track Files Explained

Posted: Fri Jan 29, 2010 10:43 pm
by DJ99X
Is the folder name correct?

Re: Track Files Explained

Posted: Fri Jan 29, 2010 11:43 pm
by Mona
Yes sir
Indy_folder.jpg
:lol:

Re: Track Files Explained

Posted: Sat Jan 30, 2010 12:03 am
by jlv
Make sure your text editor can handle unix style line endings. Notepad will mess it up by putting carriage return characters on the end of each line. Notepad++ will handle it.

Re: Track Files Explained

Posted: Sat Jan 30, 2010 12:38 am
by Mona
I guess Wordpad doesn't handle that either, because i always use Wordpad when editing these types of files.

Thanks for the help!

Re: Track Files Explained

Posted: Sat May 08, 2010 5:43 pm
by Shadow
I can't get the sun flare to work on my track. The custom sky works so it shouldn't be because of not having unix style line endings. Any ideas?

Code: Select all

sun_vector [ -1 0.2309 0.766 ]
sun_color [ 0.92 0.7 0.30 ]
ambient [ 0.43 0.48 0.66 ]
sky_n @lavanko/sky_north.png
sky_e @lavanko/sky_east.png
sky_s @lavanko/sky_south.png
sky_w @lavanko/sky_west.png
sky_u @lavanko/sky_top.png
sky_env @saintjones/env.png
flare_element [ 0.0 1.0 ] [ 0.5 0.5 0.5 ] 0.75 @glare.png
flare_element [ 0.0 -0.0 ] [ 0.0 0.0 0.125 ] 0.5 @glare.png
flare_element [ 0.0 -0.25 ] [ 0.0 0.125 0.0 ] 0.5 @glare.png
flare_element [ 0.0 -0.5 ] [ 0.125 0.0 0.0 ] 0.5 @glare.png
flare_element [ 0.0 -0.9 ] [ 0.0 0.0 0.0625 ] 0.4 @ring.png
flare_element [ 0.0 -0.95 ] [ 0.0 0.0625 0.0 ] 0.5 @ring.png
flare_element [ 0.0 -1.0 ] [ 0.0625 0.0 0.0 ] 0.6 @ring.png
flare_vector [  -1 0.2309 0.766 ]
fog [ .353 .255 .223 ] .00025

Re: Track Files Explained

Posted: Sat May 08, 2010 10:28 pm
by jlv
It won't draw the flare unless the pixel at the center of the flare is white. Make sure the flare vector points to a white area in the skybox.

Re: Track Files Explained

Posted: Sun May 09, 2010 1:11 am
by DJ99X
Hey JLV. When I make skyboxes using terragen, I can easily get the sun vector from the co-ordinates I used. But when I use a skysphere to make a skybox, whats the best way to determine the sun vector?

Re: Track Files Explained

Posted: Sun May 09, 2010 1:22 am
by jlv
The easiest way is to just know it in advance. Otherwise you'll have to figure out the angles based on the position in the sphere map and make the vector from that.

Re: Track Files Explained

Posted: Mon May 31, 2010 10:58 am
by Shadow
Hey jlv, is there a way to add extra lighting sources into a track?
The terrain shading is not accurate enough with just the sun as a source of light and as a consequence, a bunch of ruts don't have any shading in them making a few straights look completely smooth when they're not.

Re: Track Files Explained

Posted: Mon May 31, 2010 1:07 pm
by DJ99X
Nah, its not possible. If its really a problem, just save the current shading, render a new one from a different light source, then do a bit of photoshopping until you get a desired result

Re: Track Files Explained

Posted: Sun Jun 27, 2010 9:56 pm
by yzmxer608
Think the server moving screwed up the gate page. Does it work for anyone? It doesn't load for me.

Re: Track Files Explained

Posted: Mon Jun 28, 2010 2:59 am
by jlv
I've reuploaded it.