|--- Main Contents ---|
Legal's & Copyright
Contact, info sources
Extending this program
Bugs & Limits
Before you start
Installation, basic usage
Command file Examples
Command file syntax
FAQ / Common pitfalls
rvglue5 is able to write instances with whatever you give him to process.
That is simply done by specifying a .prm suffix in the create keyword:
create instance.prm stuff.fin ( ... )
Although it's possible to make an instance out of a whole track body, that is most likely not useful. Just to give two ideas on what is possible:
If you have a specific object you built from lots of instances, but then want to move it somewhere else, you get in trouble. It's lots of work to move all the instances to their new position. It's just nicer to build a new, larger instance out of all the parts.
To do that, you just build the instance once in any arbitrary place in it's own .fin file. Then you can do something like:
create instance.prm myfin.fin ( # apply any options you like to )
And you'll get one larger instance.
That can easily be done by using the tazsplit option. Create a fresh and empty track zone file which contains just one track zone with ID 0 that bounds the part of the track body you want to have as an instance, one or two lego track pieces or whatever. Then use a command file that looks like this:
create instance.prm track.w ( # split the track by track zones: tazsplit ( # use the track zone file mytazfile.taz: mytazfile.taz # everything that is in no special track zone gets deleted: default ( off ) # everything that is inside zone 0 gets preserved: 0 ( ) ) )