>i need some help making my first torcs track.
>i generated a simple track model with blender (only a road circle with
>texture), but i don't know how i can make a real torcs track from the
>i've read the (only) track-editing posting on the torcs forum. eric
>wrote that you have to make an xml file to describe the track,but i need
>some documentation about what i have to write in this xml file...
>Or could someone write a short howto about track editing in general?;)
Making tracks (and cars) are not really easy with TORCS.
Some one is currently trying to make a track editor. ( Eric, could tell
us more about that).
I tryed, months ago, to do an XML track editor in GTK, but I didn't
finish it ....
If you want to create a track, you have to follow the following
- First, you have to know that tracks are described in XML, and the
is more important than the 3D geometry. The XML file contains every
for the simulation. It contains the full descriptions of the track's
segments (curve, banking,
- Before making any 3D geometry you have to describe your track in
XML. The best way to
learn the (very proprietary) XML format is to take a simple existing
track, such as a basic oval.
- in the src/tools directory of TORCS, there is a program called
"trackgen". This program is used
to transform the XML decription into AC3D files. Trackgen is able, using
the XML file, to do
automatically many things, such as making the inner and the outer 3D
geometry of the track, placing
trees or objects, putting textures .....
But it is very tricky to use it. I suppose that only the author of
trackgen is able to use the best of trackgen. :-) ....
- but trackgen is very useful to determine if your track "loops"
(or joins, sorry I don't know an
english word for that ), and also for creating the basic 3D file in AC3D
- Once you have the "basic generated" AC3D file, you can modify it
as you want, but you MUST
respect the track path and geometry. If you don't respect it the cars
will follow the track described
in the XML file, but your 3D geometry will describe something else, and
the result will be completly
absurd under TORCS.
- There is also a very "useful" tool, it is called "accc", you may
have to use it for compiling the AC3D
files (for STRIPE optimization), or for assembling different AC3D files
for making multi-texturing.
An example of multi-texturing can be found in g-track-3 (only in CVS
right now) for making the
shadows on the tracks.
Ok,Ok, now,:-, I know why no body made tracks :-)
I personnaly spend days for making g-track-3.
And now, you know what the (*) means in the TORCS video, in the
"build you own cars and tracks (*)" sentence.