Track Files Explained

PINNEDTOWIN
Posts: 349
Joined: Sat Mar 14, 2009 6:33 am
Team: Start Your Systems
Location: Tucson, AZ

Re: Track Files Explained

Post by PINNEDTOWIN »

How do i save a decal created in photoshop inside my personal folder? How do i save the file and what name do i give it?
Image
gordy
Posts: 1099
Joined: Sat Jan 19, 2008 6:43 am
Team: Privateer
Location: Bathurst, Australia

Re: Track Files Explained

Post by gordy »

save it as a png and call it whatever the hell you want
then you just add another line to the decals text file like this:
[x y] orientation scale aspectratio @trackfolder/filename.png
Image
instupitious.
yamirider517
Posts: 514
Joined: Thu Jul 09, 2009 8:31 pm
Location: MD
Contact:

Re: Track Files Explained

Post by yamirider517 »

can u make track with photoshop?
Image
ddmx
Posts: 5374
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Re: Track Files Explained

Post by ddmx »

yamirider517 wrote:can u make track with photoshop?
Yes, and you save the greyscale image as terrain.png to the track folder.
DJD
Posts: 2757
Joined: Thu Oct 02, 2008 12:56 am

Re: Track Files Explained

Post by DJD »

Couple questions..... :oops:

What values do i need to move the starting Gate? From point A to point B.

How do i render shadows?
gordy
Posts: 1099
Joined: Sat Jan 19, 2008 6:43 am
Team: Privateer
Location: Bathurst, Australia

Re: Track Files Explained

Post by gordy »

1. go into the editor, get the coords of either side of where you want your lines of gate to be (write them down on a piece of paper or something)
go to www.mxsimulator.com/gate.html, enter those badboys in, then copy paste it over the starting gates lines in the timing_gates text file
Image
instupitious.
DJD
Posts: 2757
Joined: Thu Oct 02, 2008 12:56 am

Re: Track Files Explained

Post by DJD »

Haha, a little late on this one gordy, figured it out, but i apreciate it.

You wouldnt know how to render shadows would you? Still cant figure it out..... :x
Pumaxcs
Posts: 13208
Joined: Sat Dec 15, 2007 11:50 pm
Team: Kyle/Luiz
Location: Western, Kentucky

Re: Track Files Explained

Post by Pumaxcs »

The game renders shadows it self. You can edit the way it renders them by changing the sun color, position, and power. Other than that though it isn't needed.
Image
Everytime you post something stupid, a baby gets punched in the face. Please be smart, for the children.
MXS Cares
jlv wrote: Thu Nov 05, 2020 1:09 am Pumaxcs would know better than I do.
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: Track Files Explained

Post by DJ99X »

He meant object shadows. Its easy, but if you are missing object skins or inc files for billboards, its a shit load of work. And considering most tracks use JLV's or DDMX's objects, which are safed, you will be missing all those skins, which means you have to edit the track.pov file to use other skins. Its really inconvenient.

JLV should incorporate the shadow rendering into the editor. If he uses Shadow Mapping for rider shadows, rendering the terrain shadows shouldn't be much different (I think).
yzmxer608
Posts: 15352
Joined: Mon Dec 29, 2008 4:30 am
Team: SYS
Location: Wisconsin, U.S.A

Re: Track Files Explained

Post by yzmxer608 »

I keep getting the bad shading dimension error. terrain.png is 4096x4096, shading.ppm is 4096x4096. terrain.hf looks like:

Code: Select all

12 0.500000 17.748777 85.798691
The first post says 2^(n+1)+1 to get the resolution. 2^(11+1)+1=4097, 2^(10+1)+1=2049, 2^12=4096. Using that formula I can't get 4096x4096. I don't see why it says the shading.ppm file is the wrong dimension when it's res is exactly the same as the terrain.png.
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
cpt_Slow
Posts: 683
Joined: Sat Dec 15, 2007 5:58 pm
Team: Privateer
Contact:

Re: Track Files Explained

Post by cpt_Slow »

You should make it 11 and use 4097x4097 but I wouldn't recommend it. If I remember rightly, it lags like hell.
yzmxer608
Posts: 15352
Joined: Mon Dec 29, 2008 4:30 am
Team: SYS
Location: Wisconsin, U.S.A

Re: Track Files Explained

Post by yzmxer608 »

Using that specific res instead of 4096x4096 or just that high of a res in general makes it lag?
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
cpt_Slow
Posts: 683
Joined: Sat Dec 15, 2007 5:58 pm
Team: Privateer
Contact:

Re: Track Files Explained

Post by cpt_Slow »

Just using a resolution that high. Please correct me if I'm wrong, but I don't think you can use 4096x4096. It has to be a power of 2 (+1). Like 1025 or 2049.
yzmxer608
Posts: 15352
Joined: Mon Dec 29, 2008 4:30 am
Team: SYS
Location: Wisconsin, U.S.A

Re: Track Files Explained

Post by yzmxer608 »

Ah ok, so 4097x4097 would work. I just wanted a high res so I could play around with erode and have it make smaller ruts instead of 2 foot wide ruts ;). I'll try it and see how it is.
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: Track Files Explained

Post by DJ99X »

Just make a 1025 or 2049 disp, and make it a small scale
Post Reply