Kart Racing Pro Official Forum

Mods => Track Editing => Topic started by: Aritz on July 15, 2012, 05:22:49 PM

Title: TRACK TUTORIAL from 0 (Under construction)
Post by: Aritz on July 15, 2012, 05:22:49 PM
This is a tutorial for dummies. I did a track and I fixed my own mistakes like you will have to do. Follow the instructions and you will find the way to solve the problems that you will have.

Google maps, seek the track and PRINT SCREEN button:

(http://img855.imageshack.us/img855/2684/77655584.th.jpg) (http://img855.imageshack.us/i/77655584.jpg/)

PASTE the image on your photo editing program. Edit the image and select what you want, in this case, I will the easy track of course...

(http://img513.imageshack.us/img513/4015/51359912.th.jpg) (http://img513.imageshack.us/i/51359912.jpg/)

Open Bob's Track Builder (BTB) and click on the shown icon to create the track:

(http://img812.imageshack.us/img812/3686/82769780.th.jpg) (http://img812.imageshack.us/i/82769780.jpg/)

Create nodes, in this case I've created 5 but as you will see, 4 were enough and I delete one few steps after (DELETE button once selected the node)
BTB has 4 windows, one is 3D (push 3 to select it) and it is the most usefull, but sometimes we have to use the up/left window (push 1 to select it) or all of them (push 4)

(http://img15.imageshack.us/img15/3303/89779193.th.jpg) (http://img15.imageshack.us/i/89779193.jpg/)

(http://img27.imageshack.us/img27/8846/99720271.th.jpg) (http://img27.imageshack.us/i/99720271.jpg/)

Select window 1 and edit the nodes (I want you to learn how to handle the nodes, their options, even if is better to do with the background but it is more clear without it)

(http://img641.imageshack.us/img641/609/49428463.th.jpg) (http://img641.imageshack.us/i/49428463.jpg/)

Click on the node and those pink line will appear, they let you to make curves. Play with them, shrink or enlarge them, move left/right, until you understand how the track can be modelled.

(http://img600.imageshack.us/img600/9088/79938935.th.jpg) (http://img600.imageshack.us/i/79938935.jpg/)

Now we will open the background to fix the track on it. This way is very simple and not very accurate, but well done is enough. There are better ways, using Google Earth and creating a path on the track,
but like I said, my way is enough at least for me :P
I've fix the background using the Windows photo preview as you can see, do it properly and the track will be accurate:

(http://img856.imageshack.us/img856/1148/25688561.th.jpg) (http://img856.imageshack.us/i/25688561.jpg/)
(http://img338.imageshack.us/img338/4198/42180639.th.jpg) (http://img338.imageshack.us/i/42180639.jpg/)
(http://img703.imageshack.us/img703/4604/12256510.th.jpg) (http://img703.imageshack.us/i/12256510.jpg/)

Open again "transform" and edit the nodes now using the background:

(http://img256.imageshack.us/img256/9977/69406023.th.jpg) (http://img256.imageshack.us/i/69406023.jpg/)

First of all, resize the track. I put 180m but I don't really know how long it is, you must know of course:

(http://img441.imageshack.us/img441/6361/32415911.th.jpg) (http://img441.imageshack.us/i/32415911.jpg/)
(http://img717.imageshack.us/img717/9408/28684755.th.jpg) (http://img717.imageshack.us/i/28684755.jpg/)

HERE I MADE THESE STEPS AFTER THE LAST STEPS, BUT FOLLOW THE INSTRUCTIONS IN THIS ORDER

BTB puts the track on air, don't ask me why. We have to lower it just over the background image.
Select four windows view and select all the nodes in the down/left window using SHIFT or like me. Once selected (the nodes will be red) use SHIFT to move them together (in BTB shift is like ctrl in Windows)

(http://img62.imageshack.us/img62/3307/55380090.th.jpg) (http://img62.imageshack.us/i/55380090.jpg/)
(http://img526.imageshack.us/img526/2184/28190362.th.jpg) (http://img526.imageshack.us/i/28190362.jpg/)

Move the nodes down until the track disappears under the background image and then move them a little over the image.

(http://img196.imageshack.us/img196/3674/15183089.th.jpg) (http://img196.imageshack.us/i/15183089.jpg/)

The track has very low polygons and the turns are not curved at all, so select that and put less panel lenght. 1 meter is quite good for straights (even 5 for better FPS) but use 1 or 0,5 for turns. I've used 2 only for this tutorial:

(http://img269.imageshack.us/img269/8519/23721474.th.jpg) (http://img269.imageshack.us/i/23721474.jpg/)
(http://img29.imageshack.us/img29/9913/81540296.th.jpg) (http://img29.imageshack.us/i/81540296.jpg/)

One problem, the polygons are wrong here, let's fix it using transform and moving the node again:

(http://www.imageshack.us/thumbnail.png) (http://img823.imageshack.us/i/13841506.jpg/)
(http://img407.imageshack.us/img407/4374/51773213.th.jpg) (http://img407.imageshack.us/i/51773213.jpg/)
(http://img832.imageshack.us/img832/9052/27094809.th.jpg) (http://img832.imageshack.us/i/27094809.jpg/)
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Aritz on July 15, 2012, 06:05:33 PM
Now the terrain, select the mountain icon and use these settings (play with them if you want)
By the way, BTB uses a lot of memory and it is very common to have crashes and its "undo" option doesn't work (crash guarantied) when the track is full of things, so it is unusefull  >:( Save every step.

(http://img40.imageshack.us/img40/7650/45326539b.th.jpg) (http://img40.imageshack.us/i/45326539b.jpg/)
(http://img254.imageshack.us/img254/4633/43263559.th.jpg) (http://img254.imageshack.us/i/43263559.jpg/)

You can see the wireframe in this screenshot, use W for options (only wireframe, mixed with real image and only real image) We need this for avoid the next problem. You must seek the entire track.
We have a polygon overlapped here, we have to fix it:

(http://img684.imageshack.us/img684/8449/55450054.th.jpg) (http://img684.imageshack.us/i/55450054.jpg/)

Select shape and click on the edge of the polygon, one red square will appear. Move them until the overlap is fixed.

(http://img38.imageshack.us/img38/7605/51246780.th.jpg) (http://img38.imageshack.us/i/51246780.jpg/)
(http://img23.imageshack.us/img23/1792/74934690.th.jpg) (http://img23.imageshack.us/i/74934690.jpg/)

Now we will merge the terrain (use 1st window). Select vertex in groups and right click on mouse to merge. Don't select hundreds, select wisely. Here is easy, the track is short and simple, but with complicated turns, the groups must be small.

(http://img3.imageshack.us/img3/2919/32010128.th.jpg) (http://img3.imageshack.us/i/32010128.jpg/)
(http://img407.imageshack.us/img407/1636/68667203.th.jpg) (http://img407.imageshack.us/i/68667203.jpg/)


We are going to add objects but we need more xpacks, because Default has only a few:

(http://img694.imageshack.us/img694/3783/32750713.th.jpg) (http://img694.imageshack.us/i/32750713.jpg/)
(http://img4.imageshack.us/img4/2316/21949253.th.jpg) (http://img4.imageshack.us/i/21949253.jpg/)
(http://img846.imageshack.us/img846/2637/65614423.th.jpg) (http://img846.imageshack.us/i/65614423.jpg/)
(http://img834.imageshack.us/img834/4023/13489465.th.jpg) (http://img834.imageshack.us/i/13489465.jpg/)
(http://img715.imageshack.us/img715/4755/96089817.th.jpg) (http://img715.imageshack.us/i/96089817.jpg/)
(http://img51.imageshack.us/img51/4043/98296056.th.jpg) (http://img51.imageshack.us/i/98296056.jpg/)
(http://img442.imageshack.us/img442/1961/14793898.th.jpg) (http://img442.imageshack.us/i/14793898.jpg/)
(http://img155.imageshack.us/img155/7018/33281796.th.jpg) (http://img155.imageshack.us/i/33281796.jpg/)
(http://img440.imageshack.us/img440/5167/20126560.th.jpg) (http://img440.imageshack.us/i/20126560.jpg/)



Let's do the pits. I've done the most simple pits possible. You should do better, with more than one secondary track.

(http://img40.imageshack.us/img40/4552/37928377.th.jpg) (http://img40.imageshack.us/i/37928377.jpg/)
(http://img29.imageshack.us/img29/6122/27780106.th.jpg) (http://img29.imageshack.us/i/27780106.jpg/)
(http://img31.imageshack.us/img31/5796/45232732.th.jpg) (http://img31.imageshack.us/i/45232732.jpg/)
(http://img600.imageshack.us/img600/8571/91017569.th.jpg) (http://img600.imageshack.us/i/91017569.jpg/)
(http://img546.imageshack.us/img546/2350/31734577.th.jpg) (http://img546.imageshack.us/i/31734577.jpg/)
(http://img254.imageshack.us/img254/2895/22482766.th.jpg) (http://img254.imageshack.us/i/22482766.jpg/)
(http://img827.imageshack.us/img827/286/78791677.th.jpg) (http://img827.imageshack.us/i/78791677.jpg/)
(http://img84.imageshack.us/img84/8499/69968664.th.jpg) (http://img84.imageshack.us/i/69968664.jpg/)
(http://img685.imageshack.us/img685/7105/84878003.th.jpg) (http://img685.imageshack.us/i/84878003.jpg/)
(http://img824.imageshack.us/img824/9052/79634471.th.jpg) (http://img824.imageshack.us/i/79634471.jpg/)
(http://img859.imageshack.us/img859/3221/22787981.th.jpg) (http://img859.imageshack.us/i/22787981.jpg/)

Now he have a big problem. Our grass is under the pits, so we have to delete it and do a proper terrain. These steps are, by far, the trickiest job with BTB, so pay attention:

(http://img600.imageshack.us/img600/4025/17080107.th.jpg) (http://img600.imageshack.us/i/17080107.jpg/)
(http://img337.imageshack.us/img337/7153/50884211.th.jpg) (http://img337.imageshack.us/i/50884211.jpg/)
(http://img684.imageshack.us/img684/882/26120493.th.jpg) (http://img684.imageshack.us/i/26120493.jpg/)
(http://img835.imageshack.us/img835/2921/60791451.th.jpg) (http://img835.imageshack.us/i/60791451.jpg/)
(http://img607.imageshack.us/img607/9307/30923678.th.jpg) (http://img607.imageshack.us/i/30923678.jpg/)
(http://img191.imageshack.us/img191/4954/16191378.th.jpg) (http://img191.imageshack.us/i/16191378.jpg/)
(http://img703.imageshack.us/img703/3125/43443443.th.jpg) (http://img703.imageshack.us/i/43443443.jpg/)
(http://img717.imageshack.us/img717/1401/70732916.th.jpg) (http://img717.imageshack.us/i/70732916.jpg/)
(http://img600.imageshack.us/img600/1154/28159410.th.jpg) (http://img600.imageshack.us/i/28159410.jpg/)
(http://img109.imageshack.us/img109/1179/32306154.th.jpg) (http://img109.imageshack.us/i/32306154.jpg/)
(http://img442.imageshack.us/img442/9519/57843963.th.jpg) (http://img442.imageshack.us/i/57843963.jpg/)
(http://img4.imageshack.us/img4/3293/20031510.th.jpg) (http://img4.imageshack.us/i/20031510.jpg/)
(http://img838.imageshack.us/img838/9458/92927136.th.jpg) (http://img838.imageshack.us/i/92927136.jpg/)
(http://img221.imageshack.us/img221/9233/84218383.th.jpg) (http://img221.imageshack.us/i/84218383.jpg/)
(http://img225.imageshack.us/img225/6228/48549894.th.jpg) (http://img225.imageshack.us/i/48549894.jpg/)
(http://img829.imageshack.us/img829/7664/71161502.th.jpg) (http://img829.imageshack.us/i/71161502.jpg/)
(http://img254.imageshack.us/img254/5546/50676670m.th.jpg) (http://img254.imageshack.us/i/50676670m.jpg/)
(http://img195.imageshack.us/img195/3084/25702245.th.jpg) (http://img195.imageshack.us/i/25702245.jpg/)
(http://img11.imageshack.us/img11/5149/84775653.th.jpg) (http://img11.imageshack.us/i/84775653.jpg/)
(http://img692.imageshack.us/img692/4619/99888224.th.jpg) (http://img692.imageshack.us/i/99888224.jpg/)
(http://img225.imageshack.us/img225/5118/48909721.th.jpg) (http://img225.imageshack.us/i/48909721.jpg/)
(http://img688.imageshack.us/img688/9461/53193267.th.jpg) (http://img688.imageshack.us/i/53193267.jpg/)
(http://img818.imageshack.us/img818/8413/41881255.th.jpg) (http://img818.imageshack.us/i/41881255.jpg/)
(http://img440.imageshack.us/img440/627/11412113.th.jpg) (http://img440.imageshack.us/i/11412113.jpg/)
(http://img842.imageshack.us/img842/4736/85789485.th.jpg) (http://img842.imageshack.us/i/85789485.jpg/)
(http://img43.imageshack.us/img43/1057/82795591.th.jpg) (http://img43.imageshack.us/i/82795591.jpg/)
(http://img225.imageshack.us/img225/8592/63809035.th.jpg) (http://img225.imageshack.us/i/63809035.jpg/)
(http://img42.imageshack.us/img42/8783/19659937.th.jpg) (http://img42.imageshack.us/i/19659937.jpg/)
(http://img833.imageshack.us/img833/5641/86392872.th.jpg) (http://img833.imageshack.us/i/86392872.jpg/)
(http://img585.imageshack.us/img585/3543/22014295.th.jpg) (http://img585.imageshack.us/i/22014295.jpg/)
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Aritz on July 15, 2012, 06:42:56 PM
(http://img411.imageshack.us/img411/2357/96758166.th.jpg) (http://img411.imageshack.us/i/96758166.jpg/)
(http://img840.imageshack.us/img840/4305/68640955.th.jpg) (http://img840.imageshack.us/i/68640955.jpg/)
(http://img337.imageshack.us/img337/4908/61074032.th.jpg) (http://img337.imageshack.us/i/61074032.jpg/)
(http://img406.imageshack.us/img406/3250/90438488.th.jpg) (http://img406.imageshack.us/i/90438488.jpg/)
(http://img401.imageshack.us/img401/6034/82123704.th.jpg) (http://img401.imageshack.us/i/82123704.jpg/)

After that, the kerbs. First the easy way, using simple kerbs, but you must delete the grass under them, and this has to be done using 3d Max, is quite easy there.

(http://img705.imageshack.us/img705/4991/93216837.th.jpg) (http://img705.imageshack.us/i/93216837.jpg/)
(http://img29.imageshack.us/img29/7285/68293159.th.jpg) (http://img29.imageshack.us/i/68293159.jpg/)
(http://img404.imageshack.us/img404/8466/24714913.th.jpg) (http://img404.imageshack.us/i/24714913.jpg/)
(http://img692.imageshack.us/img692/5476/34184815b.th.jpg) (http://img692.imageshack.us/i/34184815b.jpg/)
(http://img407.imageshack.us/img407/5568/61187726.th.jpg) (http://img407.imageshack.us/i/61187726.jpg/)
(http://img833.imageshack.us/img833/4696/59811987.th.jpg) (http://img833.imageshack.us/i/59811987.jpg/)
(http://img705.imageshack.us/img705/5443/26032661.th.jpg) (http://img705.imageshack.us/i/26032661.jpg/)
(http://img831.imageshack.us/img831/3882/50286308.th.jpg) (http://img831.imageshack.us/i/50286308.jpg/)

Now the second way to do kerbs. It is easier to do but you will lost the shape, the kerb will be flat... Sometimes is enough and we wont have stocked karts because of big sharp edges:

(http://img339.imageshack.us/img339/6912/41002519.th.jpg) (http://img339.imageshack.us/i/41002519.jpg/)
(http://img857.imageshack.us/img857/7411/29817064.th.jpg) (http://img857.imageshack.us/i/29817064.jpg/)
(http://img689.imageshack.us/img689/1546/33590697.th.jpg) (http://img689.imageshack.us/i/33590697.jpg/)

We have to merge the terrain, some areas are grass, some kerbs and some pits in this case. Let's merge all first and then, we will split the kerb and the pit expansion area:

(http://img441.imageshack.us/img441/9505/97347329.th.jpg) (http://img441.imageshack.us/i/97347329.jpg/)
(http://img444.imageshack.us/img444/6785/28188358.th.jpg) (http://img444.imageshack.us/i/28188358.jpg/)
(http://img213.imageshack.us/img213/9712/63948888.th.jpg) (http://img213.imageshack.us/i/63948888.jpg/)
(http://img571.imageshack.us/img571/2805/92571810.th.jpg) (http://img571.imageshack.us/i/92571810.jpg/)

Track done, now the export to rFactor (we can't do anything better)

(http://img526.imageshack.us/img526/738/36427006.th.jpg) (http://img526.imageshack.us/i/36427006.jpg/)
(http://img442.imageshack.us/img442/9820/64150631.th.jpg) (http://img442.imageshack.us/i/64150631.jpg/)
(http://img831.imageshack.us/img831/4316/57939178.th.jpg) (http://img831.imageshack.us/i/57939178.jpg/)
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Aritz on July 15, 2012, 06:43:12 PM
After the export, follow this guide:

Quote from: Racehard on January 07, 2011, 01:50:19 PM
Hello,
I finished the conversion tutorial today, with the great help of vizzz I managed to convert a track, so I decided to write an accurate tutorial for everyone  who has not that much 3ds Max knowledge like myself. So don't thank me thank vizzz ;)

At first you will have to get the textures and 3d gmt files out of the .mas files of your rFactor track.
Therefore you need the gMotor 2.0 MAS Utility
from here:
http://rfactor.net/web/rf1/devcorner/

Open the mas utility and just drag and drop your track's .mas file into the window.
Mark all -> right click -> extract -> now extract it into a folder of your choice.

The next step is to convert all the .dds texture files into .tga files
Therefore you need the dds converter
You get this small tool from here:
http://www.mediafire.com/?u3n2dgz690zms77

Note! To avoid any kind of scale problems, after importing the track to 3ds max you have to correct 2 settings in 3ds max:
Go to the top bar --> Customize--> Units setup...  --> set it to Metric and Meters --> then click on the "Sytem Unit Setup" button --> set the system unit scale to meters  and your done, now your track should have the same size like in Bobs Track Builder and forget anything else I wrote about rescaling the track ! ;)


Now you have to bring the track into 3ds Max, so you need the gmt importer plugin and script for 3dsMax and also rF hardwareshaders.
You get the gmt plugin at:
http://rfactor.net/web/rf1/devcorner/     rFactor Max Plugins (32 Bit)
Installation:
Extract the zip file into C:\Program Files\Autodesk\3ds Max\stdplugs\

You get the script from the attachment of reply # 4 http://forum.kartracing-pro.com/index.php?topic=95.0
Installation:
Extract the zip file into C:\Program Files\Autodesk\3ds Max\Scripts\Startup\

You get the hardwareshaders from here:
http://www.mediafire.com/?r6vpv78d197m64c
Installation:
Extract the zip file into C:\Program Files\Autodesk\3ds Max\hardwareshaders


(In the following the marker will show you where to click)
Start 3ds Max

EDIT: You should set the units setup to meters, so that you may avoid the rescaling of your track at the end (I'm not sure if it helps)
Click on Customize (at the very top bar in the middle) -> Units setup... -> select Metric and meters -> OK


Click on the hammer symbol-> MAXScript --> choose gmt2 Importer -->
change the additional texture path to wherever you saved the TGA textures of your track-->
activate No smoothing (my 3ds Max freezed when I had selected proper smoothing) -->
Import a directory--> search for the folder where all your .gmt's of your track are saved

(http://www.abload.de/thumb/1issr.jpg) (http://www.abload.de/image.php?img=1issr.jpg)
(http://www.abload.de/thumb/2gpcv.jpg) (http://www.abload.de/image.php?img=2gpcv.jpg)


Now it should take a bit time and all the textures should be found automatically (if not, some textures are missing so 3ds max tells you to find them manually, if you can't find them use spare textures you can still replace them later on with some proper textures)
When this process is finished you are going to see the whole track with all textures and also the Material Editor window.

In the Material Editor window you see all the sub materials of the multimaterial.
As a next step you need to change all gMat materials into standard materials.

So press the button grass2 (gMat)
3
(http://www.abload.de/thumb/31h46.jpg) (http://www.abload.de/image.php?img=31h46.jpg)



--> scroll down in the marked area until u see the textures area at the bottom (now you may see 3 textures, at my track there was the normal colored texture, and 2 others with a similar but bit more specified name which are not of interest // you will understand what I mean during the next steps) -->
Press on the first button Map #76 (gTex)
4
(http://www.abload.de/thumb/4mioi.jpg) (http://www.abload.de/image.php?img=4mioi.jpg)




--> At first, note or remember the name of the texture (as you can see it is just named ground_grass003.tga without any _spec or whatever, if you would open this texture from your tracks texture folder you would see that it is just the normal colored one, so exactly the one you need) -->
Now as a second step click on the yellow marked small button in the top row to get back to the area where you have been before (picture above) or you choose grass2 where currently the name Map #76 is shown, both ways bring you back to were you have been before.
5
(http://www.abload.de/thumb/50dc9.jpg) (http://www.abload.de/image.php?img=50dc9.jpg)


When you are back at the grass2:
Click on gMat --> Material/Map Browser opens
6
(http://www.abload.de/thumb/65gtm.jpg) (http://www.abload.de/image.php?img=65gtm.jpg)


Material/Map Browser:
Choose Standard --> click OK
7
(http://www.abload.de/thumb/73coh.jpg) (http://www.abload.de/image.php?img=73coh.jpg)


The grass texture turned grey therefore you had to remember the name of the texture ;)
--> click on the small yellow marked button right beside Diffuse --> Material/Map Browser opens again
8
(http://www.abload.de/thumb/8sc6u.jpg) (http://www.abload.de/image.php?img=8sc6u.jpg)


Material/Map Browser:
Double click on Bitmap --> navigate to the folder where all your TGA textures of the track are located and search for the certain texture of which you have had to note/remember the name
IMPORTANT NOTE for textures:If you have tree textures in your scene on which you want the sky above to be transparent, they NEED an alpha channel, so if you convert from dds to tga there should still be the alpha channel, if not you'll have to create it. Therefor I would suggest, that you convert your texture to png and cut away and delete the sky above the trees, afterwards convert it to dds and an alpha channel will be automatically created, then convert it back to tga. Another way to create the alpha channel would be to do it in photoshop directly at the layer menu.
Another important thing is that you should add the prefix CK_ to your tree textures name. (eg. CK_tree.tga ) this will prevent problems with the visibility of trees which are behind each other in the scene.
9
(http://www.abload.de/thumb/9efx4.jpg) (http://www.abload.de/image.php?img=9efx4.jpg)


After that you get back to the Material Editor, there you have to press the checked cube button, to make the textures you have just chosen visible at your 3d scene

10
--> now you have to click 2 times on the top right button in the blue circle to get back to the basic Material Editor page where all the other submaterials are shown.
(http://www.abload.de/thumb/10di3u.jpg) (http://www.abload.de/image.php?img=10di3u.jpg)


At the basic Material Editor page you now can see that the grass2 submaterial isn't a gMat material anymore but a standard one and that's exactly what you want.
11
(http://www.abload.de/thumb/113d16.jpg) (http://www.abload.de/image.php?img=113d16.jpg)



That's how you change the gMat materials into standard materials, now do it the same way for all the other submaterials in the list.

(Note: Afterwards you can close the Material Editor you can open it up again with pressing the M-key of your keyboard)




When you finished changing them all into standard materials, your next bigger task is to rename all objects in the scene with proper names.
You find these names in PiBoSo's track creation manual under the category Names.
http://tools.piboso.com/index.php/Track_Creation_Rules

Read completely through that section and you should be able to match the existing objects of your track with the correct names of PiBoSo's guide. If not just ask in this thread ;)

To rename objects in the scene is pretty simple, it works as follows:

(At first you have to get in selection mode of 3ds Max --> press on the marked button in 3ds Max top task bar see picture beneath) 
For example you begin with the main track surface, just select the track surface by clicking on it, for selection of the track surface 3ds Maxs' Top view is advantageous (selected objects appear white, before selection they have any kind of color).
Now you see the objects name at top right position "t0_s0", rename it with the proper name which here is TRK (the prefix), followed by ASPH (for main track surface) so the complete new and correct name is: TRKASPH_object1

12
(http://www.abload.de/thumb/12rmyg.jpg) (http://www.abload.de/image.php?img=12rmyg.jpg)

------> 13
(http://www.abload.de/thumb/13tm1j.jpg) (http://www.abload.de/image.php?img=13tm1j.jpg)

Let me give you another example, for a tyre wall, select it and rename it:
WLLTYRE_object1,2,3....

The parking lot would be:
OFF_TRKCONC_object1  (OFF_ is an additional prefix for asphalt/concrete objects)

Note:You can rename more objects at once, this will make the renaming process way faster, just follow these instructions:
You have to select one group of objects (using ctrl + left click)
Tools (top task bar) --> Rename objects and fill in  "base name", "prefix", "subfix" and "numbered" (starting from 1 always) using Pibosos guide

EXAMPLE:

Base name: ASPH
Prefix: TRK
Subfix: _object
numbered: 1


That's how you rename all objects.
When you finished with renaming them you are almost done with the 3ds Max part.

As a last step in 3ds Max you have to export your scene 2 times.
One file hast to be a collision file .trp and the other one a map file .map.

For exporting you need the EDFexp plugin
http://tools.piboso.com/index.php/Export_Plugin
Install it like PiBoSo explained.


The exporting process:

File --> Export...

Save in your new track folder named like the track

Let us start with the .map file
14
(http://www.abload.de/thumb/14rmu6.jpg) (http://www.abload.de/image.php?img=14rmu6.jpg)
15
(http://www.abload.de/thumb/15wm84.jpg) (http://www.abload.de/image.php?img=15wm84.jpg)


Now the .trp file
16
(http://www.abload.de/thumb/163mxd.jpg) (http://www.abload.de/image.php?img=163mxd.jpg)
17
(http://www.abload.de/thumb/17vm25.jpg) (http://www.abload.de/image.php?img=17vm25.jpg)

If ending log is shown while the converting process it is finished.


That was the whole 3ds Max part of the conversion :)



Next you will have to work with PiBoSo's Track Tools (Track Editor/ TrackED and Map Viewer) software, which you get from here: http://www.kartracing-pro.com/?page=downloads

Which both are pretty good explained here:
Map Viewer: (in Map Viewer you can open your .map file and see if it looks alright)
http://tools.piboso.com/index.php/Map_Viewer

TrackED: (in TrackED you finish your track for KRP)
http://tools.piboso.com/index.php/Track_Editor

Follow PiBoSo's Workflow instructions:
•   Create a centerline
1.   Centerline -> New
2.   ....
If you finished that, you will have to create the Race Data.

Just play around a bit with the values and you will understand how it works.
(save the finsihed Race Data as .rdf file with the same filename as your .trp and .map file into the same folder)

(http://www.abload.de/thumb/18dn04.jpg) (http://www.abload.de/image.php?img=18dn04.jpg)

And don't forget to set checkpoints to prevent cutting the track! In top right of the race data window you see the checkpoints, works exactly the same as setting up sectors, so just add as many checkpoints as you need to make the track secure against cheating.



This step is followed by the last part, bring it ingame :)

Right now you have the three files StyriaKarting.map, StyriaKarting.trp and StyriaKarting.rdf all in your track folder (StyriaKarting).

Navigate to the Kart Racing Pro main directory and copy the file tracks.pkz to a place of your choice (desktop or anywhere else), this file is a zip file, so you can open it with winrar or another archive program winzip etc. Inside the tracks file there's tracks\lonato. Extract the lonato folder to
X:\Program Files\Kart Racing Pro\tracks\ 
and rename it into your tracks name (StyriaKarting).

Inside the folder rename all lonato.xxx files into your tracks name (StyriaKarting.xxx)
-->  delete the file bestline.tl  --> copy and overwrite your three track files StyriaKarting.trp, .map and .rdf into it.

Now open the file StyriaKarting.ini (configuration file) with windows editor accessory and type in the correct data of your track)

The very last step before you can enjoy your new track in kart racing is to exchange the TGA pictures with appropriate ones of the same size and name showing your Track ;)


I hope this tutorial helped you enough to manage the conversion by yourselves :)

If you still have a question or something isn't working as expected feel free to ask here.

Note: Don't forget to ask the rF track creator for permissions, if you are allowed to convert it :)
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Aritz on July 15, 2012, 06:43:24 PM
reserved
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Aritz on July 15, 2012, 06:43:36 PM
reserved
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Aritz on July 15, 2012, 06:43:49 PM
reserved
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Aritz on July 15, 2012, 06:44:04 PM
reserved
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Aritz on July 15, 2012, 06:44:24 PM
reserved
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Aritz on July 15, 2012, 06:44:37 PM
reserved
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Aritz on July 15, 2012, 06:44:48 PM
reserved
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: MarceL on July 18, 2012, 10:02:40 PM
Maybe you can help me.
How can I do these red waypoints, and how can I save it as KML file?
http://www.youtube.com/watch?v=HxEu4EtpC3Q
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Schwoni on July 18, 2012, 10:31:20 PM
Quote from: MarceL on July 18, 2012, 10:02:40 PM
Maybe you can help me.
How can I do these red waypoints, and how can I save it as KML file?
http://www.youtube.com/watch?v=HxEu4EtpC3Q

You have to build a path in google earth, save that path as .KML file and import like in that video.
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: jd88x89 on August 23, 2012, 07:46:15 PM
Now how would i make the othe parts to another config. on the configuration that i am making? 
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Kimzu97 on August 23, 2012, 08:03:11 PM
Thank you Aritz! So now no more track requests! :D
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Aritz on August 23, 2012, 08:47:45 PM
If someone will follow the tutorial, I will finish it  :P

In the meantime, if something is not clear only with the photo, ask  ;)
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Aritz on August 23, 2012, 08:48:57 PM
Quote from: jd88x89 on August 23, 2012, 07:46:15 PM
Now how would i make the othe parts to another config. on the configuration that i am making?

I don't understand, what do you mean?
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: EVO on August 24, 2012, 12:44:45 AM
i think he means mulitple track layouts like you did for magescq
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: jd88x89 on August 24, 2012, 05:48:01 AM
Ya, i thought it might become unclear. Here is the question: if i was to have a track with multiple configurations, how could i show the other parts to the other configuration while keeping the configuration that im trying to make?
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Aritz on August 24, 2012, 08:56:35 AM
You can make the primary track and the add more layouts. This is the worst part but it can be done.

Follow the steps named "let's do the pits". They are not finished, the text is not written, but if you master the track building, I can help you when you want to link both (or ten) tracks.

So, make the tracks and leave the links undone.
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: EVO on August 24, 2012, 09:39:27 AM
how far along are you on NJMP?  Casey Graves is also is working on it. i told him i would help.

Leave the parts where tracks meet without cones or barriers. in tracked you add them in the layoud editor
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: jd88x89 on August 25, 2012, 07:41:21 PM
Quote from: EVO on August 24, 2012, 09:39:27 AM
how far along are you on NJMP?  Casey Graves is also is working on it. i told him i would help.

Leave the parts where tracks meet without cones or barriers. in tracked you add them in the layoud editor
[/quote/]
Sorry, I was using njmp as an example. I'm trying to make my own version of new castle motorsports park. I no casey has started it, but he never relased it.
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: EVO on August 25, 2012, 08:44:31 PM
New Castle appears to be a very popular track.  Slim Jim is also working on it for rF
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: jd88x89 on August 26, 2012, 01:20:09 AM
Ya, probably bc new castle is a lot different than most tracks. It has 1 900' and another 800' straightaway. So drafting is nessecary, and that, u don't have a lot in krp. But the facilty is also very nice, and the reason probably everyone wants it is bc it has held at least one race for wka, wsk, great lake sprint series and more. But, could inpossably talked to Casey and ask him to contact me through pm? Thanks.
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Junfan on December 21, 2014, 03:29:44 AM
Hi, All

Sorry for bringing this topic back, but rather than bother anyone with yet another track request, I've taken on the challenge of creating my local track following this tutorial - I'm at the point where I'm exporting the track to 3DS MAX 2010, but the link to the hardware shaders (http://www.mediafire.com/?r6vpv78d197m64c) does not work - says the key provided for file access is invalid.  Can anyone help?  I would really love to finish this track soon in order to share it with the KRP community.  Many thanks in advance!

Junfan
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: LauZzZn on December 21, 2014, 09:08:06 AM
Quote from: Junfan on December 21, 2014, 03:29:44 AM
Hi, All

Sorry for bringing this topic back, but rather than bother anyone with yet another track request, I've taken on the challenge of creating my local track following this tutorial - I'm at the point where I'm exporting the track to 3DS MAX 2010, but the link to the hardware shaders (http://www.mediafire.com/?r6vpv78d197m64c) does not work - says the key provided for file access is invalid.  Can anyone help?  I would really love to finish this track soon in order to share it with the KRP community.  Many thanks in advance!

Junfan
Forget about hardwareshaders, dont use 3ds max to convert completetly, only for integration. For converting get 3dsimed. It is a lot faster an easier
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Junfan on December 23, 2014, 03:47:28 AM
Thanks for the response, LauZzZn!
I did download the 3DSimed trial, and it does load the track beautifully.  However, I've no idea where to go from there to export it to 3DS Max 2010.  I always get an "invalid file type" when I try to load the .3ds produced by 3DSimed.  3DSimed has an annoying lack of documentation or information on how exactly to do things, and so far I haven't been able to find just how to do this.  For now, the track is in 3DS Max 2010 having followed the walkthrough in this thread, but fixing it after import has been difficult, to say the least - the export basically messed up the vast amount of foliage in the track.  LauZzZn is right in that the learning curve for 3DS Max is very steep...

So...does anyone know of (or can share) steps to export from 3DSimed to 3DS Max 2010?  OR...

I can send someone the .3ds file from 3DSimed (or rfactor export produced by BTB), if they would be so kind as to convert it for me...then I can take it from there.  Not much I can offer beyond joint credit for the track creation.  Thanks again!

Junfan
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: LauZzZn on December 23, 2014, 05:26:36 PM
Give me some time, I try to give you a walkthrough later on
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Junfan on December 27, 2014, 03:19:20 AM
Thanks!
In the meantime, I was able to complete the track - somewhat - to at least be able to drive it.
Following this tutorial, and after many hours of "googling," trial and error and alienating loved ones :(  I was able to generate and edit .trp, .map and .rdf files.  These open in the map viewer and TrackED beautifully.  I proceeded to copy my new track folder into the tracks directory of KRP.  The track is selectable, and the game does load the track info screen, etc.  But, as soon as I try to "go to the track," the screen goes blank, and I get the following errors:

assertion "bNormalizationResult" failed in ../../include\ode\odemath.h:326

also

Runtime error! This application has requested runtime to terminate it in an unusual way

and also an "optimal resolution notification" stating that the chose resolution is not appropriate for the display.  To be fair, the machine is a Windows 8 laptop, but KRP has run in this machine normally.  I will try restarting it, and running KRP in compatibility mode..but I'm very tired at the moment from looking at PC monitors!  If anyone is brave enough, I'd be happy to send them what I have, I'm open to suggestions and offers to take me out of my misery!  :D

Junfan
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: evolution-kart on December 27, 2014, 08:06:21 AM
You can send me your files, or better a link to download and i will have a look.
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Junfan on December 28, 2014, 12:24:52 AM
Sure!  Thank you so much for taking a look.  Hopefully, it's something really simple/stupid...

For the MAX file:

http://www.mediafire.com/download/55hsapzlp2hnvu5/ovrp2.max

For a zip file containing the (I was hoping) complete track folder for KRP:

http://www.mediafire.com/download/waqdb5m23m31gdi/OVRP.zip

Again, thank you as I really appreciate any help anyone can extend to get this track out to the community...

- Junfan
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Junfan on December 29, 2014, 11:00:32 PM
Update on my track creation dilemma...

evolution-kart was kind enough to look at my files, and immediately noticed that I had not renamed a lot of my objects correctly in 3dsMAX.  Also, the trees were probably not made in the best way possible.  Last night, a group of KRP'ers put our minds together, and we seemed to zero-in on the object-naming convention.  SO...

I tried renaming the objects (and there were quite a few objects that needed renaming).  Once I did that, I also renamed the trees as "WLLTYRE" objects.  A funny thing happened...the exporter would generate a .trp file, but not a map file, no matter what.  I thought it might be the tree-naming, so just to test it out, I saved a MAX file without any trees.  This time, both a map and collision files were generated.  The map file opened in Map Viewer, but TRACKED immediately crashed as soon as I went to View>Race data.

So just to revert back to where I was, I downloaded my MAX file from mediafire - this one I knew could generate files that open with the track tools.  Again, I proceeded to rename the objects, leaving the trees alone.  A .trp was generated, but no map file, no matter what.  The funny thing is that when I open the file in TRACKED, the trees do not show up (??).  Again, going to view>race data causes it to crash.  Next I'll try with the .trp and map files that I posted in mediafire, just to rule out that my track tools may be acting up.   I really have no idea where to go from here....

So if evolution or any other KRP track creating guru can rescue us from this and get our track in-game...you'll have a lot of US Northeast Rotax Karters super grateful (and one old enough to buy you a beer ;))

Junfan

EDIT/UPDATE:  The old .trp and .map files (before fixing the names, trees, etc., per this post) do work fine with the track tools.  Must be something with the exporter?  I'm using 3ds MAX 2010, with the "EdfExp2010p.dle" plugin.
Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Junfan on December 30, 2014, 01:40:14 AM
Update...

I tried it again with the old mediafire files.  I proceeded to rename the objects in the max file as before, only this time I did not use any numbering (i.e., instead of "TRKASPH_object1," I simply used "TRKASPH."  I left the trees alone with the name 3DS MAX gave them when I created them.  I also got rid of some unused textures.  This time around, the export worked really fast and both .trp and .map files were generated.

The .map file looked good in Mapviewer, and TRACKED did not crash.  I was able to create a new centerline (first segment a 10m straight, last segment a curve), merged it, generated terrain and was able to load the old .rdf file.  However...I now have the same error as before, where KRP crashes upon loading the track to drive.

I am able to choose the track, but after the "connecting" screen, there's not the usual picture of the kart on the stand in the pits.  The track looks fine in the replay viewer.
An acquaintance who plays KRP points to the pits and maybe the start/finish line as being the culprit, since it's weird that you don't see that picture of the kart on the stand.  Well, as far as I know the .rdf was created properly - but since I'm obviously far from an expert, this deserves a look by more experienced eyes. 

The other thing is the trees...I do not know how to make the trees the "proper" way as described to me by evolution-kart, but shouldn't I be able to leave them as is (and perhaps just rename them as I tried to before, as a WLL object)?

FWIW, I've updated the files in the Mediafire links, so now they represent my latest effort.  Thanks in advance, to any and all...

Junfan


Title: Re: TRACK TUTORIAL from 0 (Under construction)
Post by: Junfan on January 05, 2015, 02:04:00 AM
Further update...

I don't seem to be having the issue at all anymore - I had a very obvious naming issue with the objects in 3ds Max, which I've corrected, and now the track loads and is playable.
This is obviously early days and the track is in very much an "alpha" release.  I will continue to update the file available at the link in my first post here with my latest effort as the track continues to (hopefully) improve.  I'll start a thread when I'm happy with the results and am ready to register the track. 

Thank you for your attention, and especially to evolution-kart, who continues to help me with creating this track.

- Junfan