![]() |
Racer track conversion howto - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4) +--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9) +--- Thread: Racer track conversion howto (/showthread.php?tid=234) |
Racer track conversion howto - thelusiv - 06-02-2006 Joe has written a howto for converting Racer tracks (such as the ones found on racer-xtreme.com) and checked it into the vdrift-trackeditor SVN repository. Here it is in its current form. Note that these instructions (and the tools too) assume that you're running Linux.
To do all these things you'll need all the stuff in the trackeditor repository. Most of these tools are still a bit rough around the edges, but they're usable. - thelusiv - 06-02-2006 I'm working on converting a track to get to know the process better. I've gotten everything done up to the listedit step. I can't figure out how to use the set command. I've even looked at the source code for the listedit too, and I see that it requires several parameters but i have no idea what values to use. - FFuser - 06-02-2006 I've posted this on the wiki - joevenzon - 06-02-2006 thelusiv: Here's a crash course on it. You basically can do load, save, ls, set, and quit. Load, save, and quit are obvious. You can supply arguments to load and save to specify the file if you want. The ls and set commands work using the object list file format: Code: #vdrift object list file format v0.4 The first argument to ls is the object property you want to search. For example, specify 1 if you want to search objects based on the texture filename. The second argument to ls is what you want to search for. You can use * and ? wildcards. For example, to find all of the objects that use a texture called sky*, you'd do: Code: ls 1 sky* To find all of the objects that have the skybox property set to true (1), do: Code: ls 4 1 Note that all of the objects will start with default properties. The set command is similar. It allows you to both search for objects and set their properties in one step. The first two arguments to set are exactly the same as ls. The second two arguments the property you want to set on the objects that match your search. For example, say want to set the skybox property to true for all objects that have a texture starting with "sky"... you'd do: Code: set 1 sky* 4 1 Understand? - thelusiv - 06-04-2006 Thanks Joe, I think I have a good grasp of the listedit tool now. I used this info to finish up Spa-Francorchamps which I checked in tonight. There are little problems, like a strange box in the middle of the road, and the track shot could be better. |