How can i do special tiles?

Here you can post track-related information.

Moderator: Forum Moderators

Post Reply
Kiva-Ajaja
Posts: 1
Joined: Wed Jul 04, 2007 8:20 pm

How can i do special tiles?

Post by Kiva-Ajaja » Thu Jul 05, 2007 7:22 am

How can i do special tiles? Like ice, or that black-nitro asphalt for example?
I really want to know how, so if you know anything would you please answer?
Thank you anyway :D
Whats so happy about being last in race? That of course, that i cant get to a lower position!

Tijny
Community User Level: 5
Community User Level: 5
Posts: 1514
Joined: Sat Nov 06, 2004 7:59 pm

Post by Tijny » Thu Jul 05, 2007 9:59 am

Just add some TileDefinition code to your tracks. If you don't understand how that works, you could look at the explanation and plenty of examples in tiles2.til. If you still don't get it, could you be more specific and exactly say what the problem is?

car zatpencar
Posts: 10
Joined: Sun Jul 27, 2008 9:34 pm

Post by car zatpencar » Sun Jul 27, 2008 9:38 pm

:? um how can you put the special tile on track editor i hav the tile but it wont show up on editor[/b]

User avatar
Jazzyclub
Community User Level: 3
Community User Level: 3
Posts: 586
Joined: Sun Nov 14, 2004 2:11 am
Contact:

Post by Jazzyclub » Sat Aug 02, 2008 4:03 pm

something like this in .trk file

TileDefinition grandstand-pat.png grandstand.png
Tile 200 0 0 91 57 0 0 182 114
End

car zatpencar
Posts: 10
Joined: Sun Jul 27, 2008 9:34 pm

Post by car zatpencar » Sat Aug 09, 2008 6:19 am

:?
what?

User avatar
Jazzyclub
Community User Level: 3
Community User Level: 3
Posts: 586
Joined: Sun Nov 14, 2004 2:11 am
Contact:

Post by Jazzyclub » Sat Aug 09, 2008 12:57 pm

if you open your track with note pad, you can find something like this:

Code: Select all

# This is a Turbo Sliders track file
# Do not change the order of the following lines!
Size td 6 1700 1700
Hash bdb26dbf 43e09cf 64df0e1e 6d0501d9
Maker Jazzyclub
FormatVersion 1
Pattern JA_Zandvoort2-pat.png
Include mytiles.til     <--- this file is where are all the tiles
-------------------     <--- here is where you can add your custom tiles(*)
StartDirection 180
ControlPoints 13
  Point 649 1510 213 0
  Point 0 1529 125 1
  Point 585 1297 100 0
  Point 550 1138 125 1
  Point 197 522 130 1
  Point 347 17 120 0
  Point 882 329 140 1
  Point 558 186 160 0
  Point 538 735 145 1
  Point 957 1163 145 1
  Point 1406 994 150 0
  Point 1554 1370 169 1
  Point 1392 1534 155 0
End
Pit 369 1516 670 1537
Lightmap 1 6 65 1.200000 546
A 2 1416 966 0
A 2 1528 966 0
A 2 268 26 0
(*) just add something like:

Code: Select all

TileDefinition Tyres-Multicolor-pat.png Tyres-Multicolor.png
 Tile	222 0 0 8 8 0 0 16 16
 Tile	223 8 0 8 8 16 0 16 16
 Tile	224 16 0 8 8 32 0 16 16
 Tile	225 24 0 8 8 48 0 16 16
 Tile	226 32 0 8 8 64 0 16 16
 Tile	227 40 0 8 8 80 0 16 16
End
and you can find it in the editor, BUT everytime you save the track, the tiledefinition disappear...so everytime you need to add this fuckin tiledefinition :)

User avatar
Keppana
Community User Level: 3
Community User Level: 3
Posts: 401
Joined: Mon Mar 20, 2006 9:00 pm

Re: How can i do special tiles?

Post by Keppana » Sat Aug 09, 2008 1:52 pm

Kiva-Ajaja wrote:How can i do special tiles? Like ice, or that black-nitro asphalt for example?
I really want to know how, so if you know anything would you please answer?
Thank you anyway :D
Probably you mean these tiles? Here is the codes and some introduction. Sorry for bad english.

1. Open your track for example in notepad.
2. Add these codes in between the "Include tiles" and "ControlPoints", and then save.
4. Open your track in editor, you will find there are new tiles now. Edit your track and save.
5. If you like to rotate the non-rotate tiles, for example the jumps, start the editor with "editor.exe ar -1" parameter.
6. Open your track again in notepad, you will find that the new codes is missing, add them again and save.
7. Go drive!


#Code of Super Terrain:

Terrain Super terrain
id 13
isWall 0
viscosity 1.0
acceleration 2.0
braking 1.8
grip 1.8
steering 1.8
skidMark 1
tyreMark 0
End

TileDefinition terrains.png terrains-img.png
Tile 375 65 193 40 40 386 129 80 80
Tile 376 65 193 60 60 386 129 120 120
End


#Code of ice and snow:

TileDefinition terrains.png terrains-img.png
Tile 701 0 64 64 64 0 128 128 128
Tile 703 0 64 32 32 0 128 64 64
Tile 705 0 64 16 16 0 128 32 32
Tile 711 0 64 64 48 0 128 128 96
Tile 713 0 64 64 32 0 128 128 64
Tile 715 0 64 64 16 0 128 128 32
Tile 717 0 64 32 8 0 128 64 16
Tile 719 0 64 16 4 0 128 32 8

Tile 901 64 64 64 64 128 128 128 128
Tile 903 64 64 32 32 128 128 64 64
Tile 905 64 64 16 16 128 128 32 32
Tile 911 64 64 64 48 128 128 128 96
Tile 913 64 64 64 32 128 128 128 64
Tile 915 64 64 64 16 128 128 128 32
Tile 917 64 64 32 8 128 128 64 16
Tile 919 64 64 16 4 128 128 32 8
End

TileDefinition terrains2.png terrains2-img.png
Tile 721 67 215 92 38 134 430 184 76
Tile 723 158 215 92 38 316 430 184 76
Tile 725 65 192 48 19 130 384 96 38
Tile 727 110 192 48 19 220 384 96 38
Tile 729 0 192 64 64 0 384 128 128
Tile 731 0 192 33 33 0 384 66 66
Tile 733 32 192 33 32 64 384 66 64
Tile 735 224 192 32 32 448 384 64 64
Tile 737 192 192 16 16 384 384 32 32
Tile 747 160 192 32 16 320 384 64 32
Tile 749 160 192 16 16 320 384 32 32
Tile 753 208 192 16 16 416 384 32 32

Tile 921 67 279 92 38 134 558 184 76
Tile 923 158 279 92 38 316 558 184 76
Tile 925 65 256 48 19 130 512 96 38
Tile 927 110 256 48 19 220 512 96 38
Tile 929 0 256 64 64 0 512 128 128
Tile 931 0 256 33 33 0 512 66 66
Tile 933 32 256 33 32 64 512 66 64
Tile 935 224 256 32 32 448 512 64 64
Tile 937 192 256 16 16 384 512 32 32
Tile 947 160 256 32 16 320 512 64 32
Tile 949 160 256 16 16 320 512 32 32
Tile 953 208 256 16 16 416 512 32 32
End

TileDefinition terrains3.png terrains3-img.png
Tile 740 0 192 64 64 0 384 128 128
Tile 741 0 192 64 32 0 384 128 64
Tile 742 64 192 56 56 128 384 112 112
Tile 744 120 192 48 48 240 384 96 96
Tile 746 168 192 40 40 336 384 80 80

Tile 940 0 256 64 64 0 512 128 128
Tile 941 0 256 64 32 0 512 128 64
Tile 942 64 256 56 56 128 512 112 112
Tile 944 120 256 48 48 240 512 96 96
Tile 946 168 256 40 40 336 512 80 80
End

car zatpencar
Posts: 10
Joined: Sun Jul 27, 2008 9:34 pm

Post by car zatpencar » Sat Aug 16, 2008 1:10 am

:D
great but how do u put those bouncy walls and the nitro black road?
:?

car zatpencar
Posts: 10
Joined: Sun Jul 27, 2008 9:34 pm

Post by car zatpencar » Sat Aug 16, 2008 1:25 am

:D
o nvm i just figured it out

copy this code onto ur tracks and tons of special tile will be on them

Terrain Tree2
id 60
bounciness 1.5
red 40
green 180
blue 90
End
TileDefinition terrains.png terrains-img.png
Tile 375 65 193 40 40 386 129 80 80
Tile 376 65 193 60 60 386 129 120 120
End
SubTerrain 60 21 0 1
TileDefinition platforms-pat.png platforms-img.png
Tile 211 0 0 57 46 0 0 114 92
Tile 212 57 0 88 46 114 0 176 92
Tile 213 0 46 90 73 0 92 180 146
Tile 214 90 46 19 73 180 92 38 146
Tile 215 109 46 18 57 218 92 36 114
Tile 216 127 46 18 41 254 92 36 82
End
TileDefinition J-BouncyV2-til-pat.png J-BouncyV2-til.png
Tile 203 0 0 150 9 0 0 300 18
Tile 204 0 0 75 9 0 0 150 18
Tile 205 0 0 50 9 0 0 100 18
Tile 206 0 0 25 9 0 0 50 18
Tile 207 0 9 24 24 0 18 48 48
Tile 208 24 9 15 24 48 18 30 48
Tile 209 39 9 12 24 79 18 24 48
Tile 210 51 9 8 24 103 18 16 48
Lightmap 1 7 40 1.300000 907
TileDefinition terrains.png terrains-img.png
Tile 375 65 193 40 40 386 129 80 80
Tile 376 65 193 60 60 386 129 120 120
TileDefinition terrains.png terrains-img.png
Tile 701 0 64 64 64 0 128 128 128
Tile 703 0 64 32 32 0 128 64 64
Tile 705 0 64 16 16 0 128 32 32
Tile 711 0 64 64 48 0 128 128 96
Tile 713 0 64 64 32 0 128 128 64
Tile 715 0 64 64 16 0 128 128 32
Tile 717 0 64 32 8 0 128 64 16
Tile 719 0 64 16 4 0 128 32 8

Tile 901 64 64 64 64 128 128 128 128
Tile 903 64 64 32 32 128 128 64 64
Tile 905 64 64 16 16 128 128 32 32
Tile 911 64 64 64 48 128 128 128 96
Tile 913 64 64 64 32 128 128 128 64
Tile 915 64 64 64 16 128 128 128 32
Tile 917 64 64 32 8 128 128 64 16
Tile 919 64 64 16 4 128 128 32 8
End

TileDefinition terrains2.png terrains2-img.png
Tile 721 67 215 92 38 134 430 184 76
Tile 723 158 215 92 38 316 430 184 76
Tile 725 65 192 48 19 130 384 96 38
Tile 727 110 192 48 19 220 384 96 38
Tile 729 0 192 64 64 0 384 128 128
Tile 731 0 192 33 33 0 384 66 66
Tile 733 32 192 33 32 64 384 66 64
Tile 735 224 192 32 32 448 384 64 64
Tile 737 192 192 16 16 384 384 32 32
Tile 747 160 192 32 16 320 384 64 32
Tile 749 160 192 16 16 320 384 32 32
Tile 753 208 192 16 16 416 384 32 32

Tile 921 67 279 92 38 134 558 184 76
Tile 923 158 279 92 38 316 558 184 76
Tile 925 65 256 48 19 130 512 96 38
Tile 927 110 256 48 19 220 512 96 38
Tile 929 0 256 64 64 0 512 128 128
Tile 931 0 256 33 33 0 512 66 66
Tile 933 32 256 33 32 64 512 66 64
Tile 935 224 256 32 32 448 512 64 64
Tile 937 192 256 16 16 384 512 32 32
Tile 947 160 256 32 16 320 512 64 32
Tile 949 160 256 16 16 320 512 32 32
Tile 953 208 256 16 16 416 512 32 32
End

TileDefinition terrains3.png terrains3-img.png
Tile 740 0 192 64 64 0 384 128 128
Tile 741 0 192 64 32 0 384 128 64
Tile 742 64 192 56 56 128 384 112 112
Tile 744 120 192 48 48 240 384 96 96
Tile 746 168 192 40 40 336 384 80 80

Tile 940 0 256 64 64 0 512 128 128
Tile 941 0 256 64 32 0 512 128 64
Tile 942 64 256 56 56 128 512 112 112
Tile 944 120 256 48 48 240 512 96 96
Tile 946 168 256 40 40 336 512 80 80
End

car zatpencar
Posts: 10
Joined: Sun Jul 27, 2008 9:34 pm

Post by car zatpencar » Sat Aug 16, 2008 2:00 am

:roll:
ugh now thers another problem i can put the tiles on editor now but they always end up invisible on ts how can i fix this?

User avatar
Hengari
Community User Level: 3
Community User Level: 3
Posts: 462
Joined: Thu Nov 18, 2004 5:14 pm
Contact:

Post by Hengari » Sat Aug 16, 2008 8:08 am

car zatpencar wrote::roll:
ugh now thers another problem i can put the tiles on editor now but they always end up invisible on ts how can i fix this?
Just add those extra lines again to the track-file after you have saved the track in the editor.
oldschool slider <3 | Hengari @ Quakenet/IRCnet
sliderpoint

car zatpencar
Posts: 10
Joined: Sun Jul 27, 2008 9:34 pm

Post by car zatpencar » Sat Aug 16, 2008 8:06 pm

:?
the lines as in the code rite cuz otherwise i dunno what ur talking about

User avatar
Hengari
Community User Level: 3
Community User Level: 3
Posts: 462
Joined: Thu Nov 18, 2004 5:14 pm
Contact:

Post by Hengari » Sat Aug 16, 2008 11:17 pm

Just look some tracks with special tiles and compare them to your track file (that trackname.trk).
oldschool slider <3 | Hengari @ Quakenet/IRCnet
sliderpoint

car zatpencar
Posts: 10
Joined: Sun Jul 27, 2008 9:34 pm

Post by car zatpencar » Sat Aug 23, 2008 3:02 am

:?
ok heres the problem i put the pieces on editor then save it.
but then when i do the track on ts all the special tile turns out invisible can u tell me how 2 fix this?

Jarno
Community User Level: 3
Community User Level: 3
Posts: 355
Joined: Wed Sep 21, 2005 7:14 am
Contact:

Post by Jarno » Sat Aug 23, 2008 8:20 am

You must put the TileDefinition again after you save track from track editor.
Spinnering on limits...

car zatpencar
Posts: 10
Joined: Sun Jul 27, 2008 9:34 pm

Post by car zatpencar » Sat Aug 23, 2008 10:33 pm

:)
ok so i add the def back after the control points right?

User avatar
Hengari
Community User Level: 3
Community User Level: 3
Posts: 462
Joined: Thu Nov 18, 2004 5:14 pm
Contact:

Post by Hengari » Sun Aug 24, 2008 8:45 am

car zatpencar wrote::)
ok so i add the def back after the control points right?
Hengari wrote:Just look some tracks with special tiles and compare them to your track file (that trackname.trk).
How hard can it be to read, think and to try it out by yourself?
oldschool slider <3 | Hengari @ Quakenet/IRCnet
sliderpoint

Post Reply