Page 1 of 9

[Tutorial] - Track Making - Part 2 Added

Posted: Thu Jun 19, 2008 3:02 pm
by DJ99X
OK, this thread will contain my tutorial for making tracks. I'll do it in parts when I have time. If you have any questions, feel free to ask. But no clogging up this thread with useless stuff (like one word posts). Anyway, lets get started-

PART 1 - Track terrain base

1) OK, get your blank track from here.

2) Next, get a program called L3DT from here. Install it and open it up

3) Go File > New Project. Select Design/Inflate and click next. Leave the next slide how it is, and click next. Have a play around with the controls in the next slide when get serious about making a track, but for now, leave it as it is. On the next slide, have both Design Map and Heightfield checked. Hit next, and the terrain will begin rendering (may take a while).

4) Now, once your map is rendered, it will probably appear as a design map. To change it to the heightfield, which is what we want, go View > Display map, then select heightfield.

5) To make the track the same scale as in game, first go Operations > Heightfield > Resize Heightfield. Change both to 1025. Next, go Operations > Heightfield > Change Horizontal scale. The stock blank track has 1 pixel=2ft. As this want metres, 1ft= 0.3m, hence 2ft=0.6m. Put 0.6 m into this box. If you want to change the horizontal scaling (especially after step 6), go Operations > Heightfield > Change vertical scale. Change this to suit you requirements (but remember 1ft=0.3m)

6) Now, to see this track in 3D form, click on the EDIT button (the one with the pencil). The terrain will look blocky in this, but rest assure, it won't be like this in game. Now, in this mode, you can edit your terrain as you like, but I leave that up to you to learn. But controls for this mode are-

A=Strafe Left
D=Strafe Right
Hold Right Click= Rotate view
Mouse Scroll= Change size of editing tool

Hit the exit button to leave, even if you have done stuff to the terrain. If you did stuff, refresh the display map by View > Refresh

7) OK, time for exporting. But before we do, go back to Operations > Heightfield > Change Vertical Scale. Write down the min and max altitude, as you will need them later.

Now go File > Export > Export Active Map. Choose file format as PNG, call it terrain, choose where you want it saved. Make sure the size is 1025x1025. Then hit export, and voila! you have your map.

8- Now, put this terrain.png into your track folder, and it will replace your old one. Now, open up terrain.hf in a text editor. There should be four numbers. This is how they are set out.

Power Scale MinAlt MaxAlt Power should be left alone. Scale is ft/pixel (stock=2). We are interested in Min Altitude and Max Altitude. Put in the values I asked you to write down before. Save the file. Now, go into the game, and select your track, go into the editor, and refresh the shading of the map by setting smooth to a very small number, and applying it to the whole track.

If the track if very rough, even to the point where it will slow your frame rate, set focus to 1, set strength to 2 or 4, and apply to the whole map.

And there you go, you have your basic terrain.

PART 2 - Making Jumps Using In-Game Editor

Open up your track in MX Simulator. Draw out a track you would like using the stock tiles of the game.

Click on the Gradient Placement tab, and place the centre of the circle where you would like the jump to begin. Then, place the edge of the circle where you would like the jump to finish. Now, go to Gradient Edit. As we already have a terrain in this, there will already be a ‘cross section’ appeared. Hit ‘f’ to get rid of this graph (this will not effect the terrain).

Here is my technique for making jumps. In Gradient Edit mode, zoom in (+, - to zoom out) and select the first circle. Go across to the menu, and click ‘Segment Type’ so it changes to curve. I usually add 3 points for the upramp, one just after the upramp, and one for the downramp, like so-

Click on the point as selected in the above pic. Change the segment type for this to line. This will give a smooth upramp. If you want the top of the jump to be flat, click on the point just after the upramp, and change segment type to line. This is your jumps shape, now, to put it in.

Select ‘Linear ADD’, set Focus to 0.75, 0.88 or 1.00. Zoom out and change the radius so it is slightly bigger than the track width. Then, just draw along the track path until the jump is made. Exit the editor mode and try the jump out. If you aren’t happy with it, go back to editor, and change Linear Add mode to anything else, and then hit backspace. Your jump shape will still be in the gradient editor, so just fiddle with it a bit until you get the shape wanted. After you like the jump, clean it up a bit using 'Smooth'. Set focus to 0.13, set strength to 1, 2 or 4, smooth sides of jumps, and the 'square edges' and the beginning and end of the jumps.

Note – Backspace only works for the last 5 things done (includes one click of Raise, Lower or Smooth). If you don’t change from Linear Add to anything else, it will delete the jump you just made, plus the one before hand, which is a pain, because then you have to draw that one again.

Tip- Make sure Caps Lock is off, or things like 'f' for flatten, or 's' for save will not work

Tutorial on berms will be next.

Re: [Tutorial] - Track Making

Posted: Thu Jun 19, 2008 5:26 pm
by moorin
but how do we make the actual jumps and berms and hills a easy way?

Re: [Tutorial] - Track Making

Posted: Thu Jun 19, 2008 6:29 pm
by Voutare
That is the easiest way to make hills. Trying to make hills in the editor is horrible, and never ends up looking good, or riding good.

Re: [Tutorial] - Track Making

Posted: Thu Jun 19, 2008 7:30 pm
by moorin
which text editor do i use? and any screenshots of making a track please?

Re: [Tutorial] - Track Making

Posted: Thu Jun 19, 2008 8:20 pm
by frederick
i cant find View > Display map,

Re: [Tutorial] - Track Making

Posted: Thu Jun 19, 2008 11:37 pm
by DJ99X
Hang on, it says I will get to the Jumps and Berms later. As for text editor, download notepad++.
I didn't use any screenshots for this because i thought it wasn't necessary. But I will use them for the in game editor tutorial.

Re: [Tutorial] - Track Making

Posted: Fri Jun 20, 2008 6:37 pm
by moorin
sorry i dint read all your post so that is just for the basic outline of the terrain like the hills and stuff?

Re: [Tutorial] - Track Making

Posted: Sat Jun 21, 2008 1:02 pm
by ShackAttack12
If you use Adobe Photoshop Cs2, you can use the "Render Clouds" filter combined with some glaussen blurring to make nice natural base terrains.

Then you create a new layer called track path. Use the pen tool on 0,0,0 black and draw out a track path. Once thats done, glaussen blur the track path using a very small pixel filter number. This will give the effect that the track is dug into terrain, which in most real life occasions it is.

After that, open up the map in the MXsimulator map editor and start making jumps.

I also like keep an original base map copy seperate from the editing file so that i can start over if i want to. Ill also save the map after every jump i place so i can revert back to certain sections if need be.

Re: [Tutorial] - Track Making

Posted: Sat Jun 21, 2008 8:46 pm
by Wilson
Does any one else on here use Ps to make the dsiplacement?

Re: [Tutorial] - Track Making

Posted: Sat Jun 21, 2008 8:49 pm
by ddmx
Heck yeah! PS and terragen. Some of the most accurate displacement maps ever. When I was still making mva tracks i learned everything that i know now about trackmaking.

Re: [Tutorial] - Track Making

Posted: Sun Jun 22, 2008 10:22 am
by DJ99X
Re: Sharkattack - Yeah, I've tried that render clouds thing, but the terrain is basically the same every time. L3DT produces some nice random maps.

Re: [Tutorial] - Track Making

Posted: Wed Jun 25, 2008 1:58 am
by Eat_Dirt
should i use the program u put up or the normal editor in the game to make tracks????

Re: [Tutorial] - Track Making

Posted: Wed Jun 25, 2008 8:07 pm
by ddmx
you need to use a combination of the two. unless you are just making a supercross or a flat national. When doing elevation you can use the editor, but it is way less painstaking and timetaking to just use a terrain generator.

Re: [Tutorial] - Track Making

Posted: Wed Jun 25, 2008 9:23 pm
by Voutare
And all the editor terrains always look horrible. Just use a terrain generator, and everything will be nicer.

Re: [Tutorial] - Track Making

Posted: Wed Jun 25, 2008 9:43 pm
by ddmx
^^ :wink: ^^ ... and always use photoshop! just a hint.