How do I define terrain on tiles?

Discussion related to Turbo Sliders and beta version feedback.

Moderator: Forum Moderators

Post Reply
dby

How do I define terrain on tiles?

Post by dby » Mon Mar 28, 2005 8:49 pm

I'm trying to learn how to make tiles. I've managed to make a tile that appears in the editor, and it also displays correctly in TS...
But the terrain definitions are all wrong. I've tried sortof copying a jump and changing the img to make it look different. It should act like a normal jump, but it acts like a patch of ice instead (!?). What am I doing wrong?

Here's what I got so far:
http://hem.spray.se/dby/ts/test/rally.trk
http://hem.spray.se/dby/ts/test/rallyjump.png
http://hem.spray.se/dby/ts/test/rallyjump-img.png
http://hem.spray.se/dby/ts/test/rallyjumptiles.til
http://hem.spray.se/dby/ts/test/rally-pat.png

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 » Tue Mar 29, 2005 12:43 am

It is about the indexed image file and the terrains definition. I have made very short guide about using/making custom tiles. It can be found in: http://www.dhost.info/sliderpoint/track ... hp?a=tiles

As I write in that guide: "The real problem, in my opinion, is the pattern-file and making the image's colors indexed. The color id in the pattern must match the id defined in the terrains.ter if you are using predefined terrains (suchs as bridge)." Check the terrains.ter -file for needed information and adjust the indexed image.

You don't need to define all of those same tiles in "rallyjumptiles.til" that are found in tiles2.til. Just add that RallyJump-definition to the .trk file as you can see it in my "guide" (and tracks that use custom tiles).

something like this (copy-paste the links, because hotlinking is not allowed):
http://www.dhost.info/sliderpoint/scr/r ... -image.jpg
and
http://www.dhost.info/sliderpoint/scr/rally_tiledef.jpg
and the rallyjump.png with "working" index:
http://www.dhost.info/sliderpoint/scr/rallyjump.png
oldschool slider <3 | Hengari @ Quakenet/IRCnet
sliderpoint

dby
Community User Level: 2
Community User Level: 2
Posts: 224
Joined: Mon Mar 28, 2005 9:02 pm
Contact:

Post by dby » Tue Mar 29, 2005 1:34 am

Ah, ok. It's the index, not the colour that counts - should have figured that.:P
Thanks a lot! :)

User avatar
JimMiE22o2
Community User Level: 2
Community User Level: 2
Posts: 182
Joined: Tue Mar 08, 2005 10:45 pm
Contact:

Post by JimMiE22o2 » Wed Mar 30, 2005 3:32 am

Nice rally tracks dby :P
Few people find what they wish to see.
Life is only to die, get over it.

dby
Community User Level: 2
Community User Level: 2
Posts: 224
Joined: Mon Mar 28, 2005 9:02 pm
Contact:

Post by dby » Wed Mar 30, 2005 12:42 pm

Thanks!

Yeah, I've made a track with Jazzyclub's Rally Cars in mind. It's got some new off-road tiles, and I had to define a custom terrain file to get the bumps n stuff to feel right. Thanks to everyone who tested and commented on the terrain.

Check it out: http://hem.spray.se/dby/ts/

Check http://www.jazzyclub.net for Jazzy's cars. Mind you, the Xsara Rallysport weighs 8000 atm - I think it's a bug and probably suppose to be 800. Thats why some test-drivers complained about being pushed too easily.:P

Post Reply