Kart Racing Pro Official Forum

Mods => Track Editing => Topic started by: franmedo on December 07, 2011, 07:11:02 PM

Title: Several Questions!!
Post by: franmedo on December 07, 2011, 07:11:02 PM
Hi i am new here and i have some question.

1 - 3d Grass
How does it work? I followed the Track Creation guide  very well and my texture called "gras.tga" the txt file is galled "gras.grs" and i have grass blades.tga with alpha channel and grass color without alpha channel, but i see nothing ingame. But the bump/specular shaders on the tarmac works really well with Txt files. What am i doing wrong?

2- txt files
I read very often txt files, but where are they in essey and lonato? Also on the community tracks i didnt found them.

I already searched and read alot here but i didnt found a solution

Thanks in advance! :)
Title: Re: Several Questions!!
Post by: Schwoni on December 07, 2011, 07:20:11 PM
1. u have  to put all theese files in TGA folder which 3ds use for import the track maybe  u forgot it? for other problems u have to explain more ;)

2. like in 1. the txt files are in tga folder and after export included in .map file so that`s the reason why u don`t find them.
Title: Re: Several Questions!!
Post by: franmedo on December 07, 2011, 08:04:18 PM
It still not works. Anyone having another idea?

(http://www.abload.de/thumb/te20syp8.jpg) (http://www.abload.de/image.php?img=te20syp8.jpg)
Title: Re: Several Questions!!
Post by: franmedo on December 08, 2011, 01:11:39 PM
Piboso could you please help me? I see that you watching this thread, it would help me alot!!! Thanks
Title: Re: Several Questions!!
Post by: Aritz on December 08, 2011, 01:35:36 PM
how are you doing it?

where are the files located?

Explain it better
Title: Re: Several Questions!!
Post by: supersic on December 08, 2011, 02:08:49 PM
He attached a picture with all infos imo
Title: Re: Several Questions!!
Post by: franmedo on December 08, 2011, 02:10:51 PM
Yes, you can see on the picture that its located in "testtrack" and "tga" folder and how everything is named. What else i have to explain?
Title: Re: Several Questions!!
Post by: Aritz on December 08, 2011, 03:22:15 PM
Sorry, I had a stupid spam when I open the screenshot you have uploaded...

You are looking for our grass txt files and something say to me that you are not understanding how does the exporter work. Let me explain it and sorry if you already know it :)

You have a TGA folder with all the textures on it; grass, kerbs, trees, houses, etc. In that folder you have to add (like I see you have done in your screenshot) gras.grs and blades files.

After the exporting, you will have a MAP file and the COLLISION file. But you can delete the tga texture folder after that, they are included on the map file. So, you can't find our or Piboso's Lonato/Essay grass txt files you are looking for.

Now I ask you other question:

I see you have the TGA folder with grass blades and grs file. You have named grass TRKGRAS.TGA, why? Maybe you don't know that "TRK" prefix is for object name and no for the texture itself. Maybe this is the problem, is the object named TRKGRAS?
Title: Re: Several Questions!!
Post by: franmedo on December 08, 2011, 06:10:41 PM
Schwoni already answered the questions about the txt files in the 2nd post.
And no "TRK" is not the problem, it was just my last try to get it work. So it didnt even work without TRK
Title: Re: Several Questions!!
Post by: Aritz on December 08, 2011, 06:19:49 PM
can you put ingame screenshots?
Title: Re: Several Questions!!
Post by: franmedo on December 08, 2011, 06:34:11 PM
Why? There is nothing, i really watched out for it trust me :D
(http://www.abload.de/thumb/screen000uv9n.jpg) (http://www.abload.de/image.php?img=screen000uv9n.jpg)
Title: Re: Several Questions!!
Post by: Aritz on December 08, 2011, 06:41:38 PM
trust me, I want to see them :P

Can you drive through the grass?

Is the 3d grass activated in your game?

I can't help you, sorry
Title: Re: Several Questions!!
Post by: franmedo on December 08, 2011, 06:48:27 PM
Quote from: franmedolink=topic=1149.msg7423#msg7423 date=1323366385
Quote from: Aritz on December 08, 2011, 06:41:38 PM
trust me, I want to see them :P

Can you drive through the grass?
No i just test everything with mapviewer until i know how everything works.

Quote from: Aritz on December 08, 2011, 06:41:38 PM
Is the 3d grass activated in your game?
Yes, but it doesn't mather because iwatch it on mapview and i see the 3d grass on essey and lonato too

Quote from: Aritz on December 08, 2011, 06:41:38 PM

I can't help you, sorry

Thats why i asking piboso for help because he is watching this thread but does not answer unfortunatly :-\

thanks anyway aritz!
Title: Re: Several Questions!!
Post by: Aritz on December 08, 2011, 06:50:32 PM
please, anwser me:

did you rename grass object to TRKgras01?
Title: Re: Several Questions!!
Post by: franmedo on December 08, 2011, 06:59:13 PM
The object is called Track01. Should every objects just have 1 material???
Title: Re: Several Questions!!
Post by: PiBoSo on December 08, 2011, 07:03:37 PM
Quote from: franmedo on December 08, 2011, 06:59:13 PM
The object is called Track01. Should every objects just have 1 material???

Each object can have multiple materials.
Title: Re: Several Questions!!
Post by: franmedo on December 08, 2011, 07:04:50 PM
Well i am sure about that, it was more a rhetoric question. But if you can write here maybe you also could help me? :P
Title: Re: Several Questions!!
Post by: Aritz on December 08, 2011, 07:05:19 PM
grass must be called TRKGRAS. But this is not the only think you have to rename, all the collidable objects have to be called correctly ;)

http://tools.piboso.com/index.php/Track_Creation_Rules
Title: Re: Several Questions!!
Post by: franmedo on December 08, 2011, 07:09:27 PM
I know, look at the picture, the material called trkgras!
Title: Re: Several Questions!!
Post by: Aritz on December 08, 2011, 07:12:36 PM
You are misunderstanding what I say. The object has to be trkgras01, texture name is not important ;)

Do what I say, try to drive through the grass, you will fall xD
Title: Re: Several Questions!!
Post by: supersic on December 08, 2011, 07:14:26 PM
You misunderstanding him i think:D Wy the object should called trkgrass? As piboso said, a object can have multiple materials. So i cant name the objct with alle names of the materials:D
Title: Re: Several Questions!!
Post by: Aritz on December 08, 2011, 07:15:20 PM
Do what you want, but don't ask for help if you don't want to listen to the answers ;)
Title: Re: Several Questions!!
Post by: franmedo on December 08, 2011, 07:16:54 PM
I listen and tried - still not works. It was just illogical
Title: Re: Several Questions!!
Post by: Aritz on December 08, 2011, 07:17:44 PM
ok, I am wrong

now, try to drive on grass and watch
Title: Re: Several Questions!!
Post by: PiBoSo on December 08, 2011, 08:29:32 PM
Quote from: franmedo on December 08, 2011, 07:04:50 PM
Well i am sure about that, it was more a rhetoric question. But if you can write here maybe you also could help me? :P

It's not easy to debug on a forum.
From the info you gave, it should work.
Sometimes using extreme values and test textures ( for example, filled with purple ) can be helpful in finding the problem.
Anyway, other track creators were able to create 3D grass, so it shouldn't be too difficult to find the solution.
Title: Re: Several Questions!!
Post by: Nitrox on February 08, 2012, 07:51:18 PM
You can try my grass if you want - put them in your textures folder and rename the grs file to whatever your grass' TEXTURE name is.

If it works, something with your grs or textures is wrong. If it does not, you messed up with terrain object names or game settings.

http://www23.zippyshare.com/v/77142792/file.html
Title: Re: Several Questions!!
Post by: EVO on February 08, 2012, 10:05:47 PM
join our teamspeak we will guide you through it.
Do you know how to do bump maps? 
They make the track look so nice used on the proper objects
Title: Re: Several Questions!!
Post by: franmedo on February 09, 2012, 07:00:36 PM
I have a last question then my track is finished. When i made GRIDS in Tracked, ingame appears the white line of the grid, but its unrealistic, because they are not on the real track. I already made a black alpha channel on the line.tga but it doesnt work. How can i remove this?

edit: fixed! in "grids" just write 0 in every space