Textures

All about making tracks for MX Simulator
motox161
Posts: 520
Joined: Fri Jan 25, 2008 3:06 am
Location: Arizona

Textures

Post by motox161 »

How exactly do you put textures in the game. I have photoshop and all that but I dont know how to get them in the game. Can someone please help.
Gourley #13
gordy
Posts: 1099
Joined: Sat Jan 19, 2008 6:43 am
Team: Privateer
Location: Bathurst, Australia

Re: Textures

Post by gordy »

Image
instupitious.
motox161
Posts: 520
Joined: Fri Jan 25, 2008 3:06 am
Location: Arizona

Re: Textures

Post by motox161 »

Well even with that Im still lost on what im suppose to do. :?
Gourley #13
DJ99X
Posts: 15524
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: Textures

Post by DJ99X »

Step 1 - Get Notepad++
Step 2 - Make a file called 'decals', with the following contents.

[x-co-ord z-co-ord] angle(in-radians) size x:z-ratio @foldername/picturename.png
eg.

[1000 1000] 0 40 1 @locust/dirt.png

Make sure when you save this file in Notepad++, the last line with a number next to it is empty.

Step 3 - In the editor, select decals, and select your decal, then click wherever you want it to be. There are 3 modes-
Copy- Uses the same angle as the one you are copying from
Random- Random angle
Flow- Adjusts the angle of your copy depending on its position with respect to the original.

Tips for making texture suitable for game-
-Go select all > Contract by 10 > Feather selection with 30 strength > inverse selection > hit delete 2 or 3 times
ddmx
Posts: 5383
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Re: Textures

Post by ddmx »

Wow, that really helps DJ, can you have an unlimited number of decals? not that i would do that anyways.
Wilson
Posts: 987
Joined: Fri Dec 07, 2007 3:22 am
Team: Privateer
Location: Vegas

Re: Textures

Post by Wilson »

you can have any amount of decals you want, as long as the game still runs its good.
Voutare
Posts: 4891
Joined: Sun Jan 13, 2008 5:22 am
Team: Privateer
Location: Southern Vermont
Contact:

Re: Textures

Post by Voutare »

I find that it's best to keep it around 5 decals. That's the best looking, and it runs nice on my computer.
Image
ddmx
Posts: 5383
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Re: Textures

Post by ddmx »

decals are basically like overlays right. for example tire tracks, or small rocks, or something like that?
motox161
Posts: 520
Joined: Fri Jan 25, 2008 3:06 am
Location: Arizona

Re: Textures

Post by motox161 »

Thank you DJ. I got it now.
Gourley #13
Voutare
Posts: 4891
Joined: Sun Jan 13, 2008 5:22 am
Team: Privateer
Location: Southern Vermont
Contact:

Re: Textures

Post by Voutare »

ddmx488 wrote:decals are basically like overlays right. for example tire tracks, or small rocks, or something like that?

Basically.


You have your default texture. You know the dirt and grass ones that were in the stock tracks?


What you do, is you lay down the stock dirt all over the track, and you put the decals over it. So it's a texture over a texture. You'll put those all over the map, for grass, ruts, dirt, etc.

For example, Thundervalley only uses the dirt texture, but has somewhere around 6 decals, which make the terrain.


I've got a question though, is there any way to make the textures always stack a certain way? I've layed out my track, but I need to put in off track dirt, that blends onto the track, but it will jump over the rut decals.

So is there anyway to make it so the offtrack is lowest, then on track, then tire ruts, then grass? Or whatever order?
Image
DJ99X
Posts: 15524
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: Textures

Post by DJ99X »

You should have done it in that order in the first place. But the only way I can see a fix is opening up the decals file, and moving all the lines around the place to get the layers you want, if you get what i mean.
Voutare
Posts: 4891
Joined: Sun Jan 13, 2008 5:22 am
Team: Privateer
Location: Southern Vermont
Contact:

Re: Textures

Post by Voutare »

Eh.


Yeah, I know, I completely forgot about how they layer. I just did the track and forgot about everywhere else.
Image
ddmx
Posts: 5383
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Re: Textures

Post by ddmx »

DJ wrote: Step 3 - In the editor, select decals, and select your decal, then click wherever you want it to be. There are 3 modes-
How exactly do you select the different decals, if you have multiples?
ddmx
Posts: 5383
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Re: Textures

Post by ddmx »

nevermind. extreme blond moment.
Netdemon01
Posts: 505
Joined: Thu Jan 10, 2008 2:02 am
Team: Privateer

Re: Textures

Post by Netdemon01 »

My decal is showing up as a white block. Any ideas as to why this is happening? :?
#189

"This game will always be about pushing it right to the edge without going over .... to keep up with the top riders you will still have to be right on the edge of control." - jlv
Post Reply