Options reference

This is an alphabetical list of all options rvglue currently understands:

Back to index


invisible

invisible: Hiding items

Creates invisible parts. Use it for boundaries that keep cars from getting blasted off track. In example, if you have a window where you want the player to be able to look through, you may want to put an instance into it that is invisible and of the 'no tracks' surface type.

Option takes no argument.

Example:
bounds.fin (
  bwall( surface(notracks) invisible )
)     


nocoll

nocoll:

Creates parts you are able to look at but are not solid. Use it for off-track items, like the house in the distance you cannot drive to.

Option takes no argument.


off

off:

Is equal to "(nocoll invisible)". Item is deleted. Use this option for things you need while editing the track, like instances you used for marking special positions, or to exclude parts of track editor tracks.

Option takes no argument.


surface()

surface(...), s(...): Setting surface properties

Sets the surface properties to what is specified as argument. If you use a numeric value, it will not be checked for being "valid", so that you can try to find other types that are currently unknown.

Currently known values are:

valuekeyword effect
0,1,2standardstandard floor.
3-grey car tracks.
4grassgreen car tracks, slippery.
6-very light car tracks
7-thin car tracks
8notracksno car tracks
9-grey car tracks
16-Pushes car in one direction.
17-Pushes car in another direction.
18,19,20mudbrown car tracks, slippery.
21,22slipperythin car tracks, slippery.
24-pushes car.
25-pushes car in random directions. (Rain-Toytanic deck)

Example:
ground.fin (
  mymud( surface(mud) )
  mymeadow ( s(4) )
)     


tecolor()

tecolor(...): Remapping track editor's color

Gives the blue walls of track editor pieces another color.

Warning #1: Use this option for unmodified track editor tracks only. Detecting the blue walls is done by the very rough heuristic "If it's not grey, it's blue!".

Warning #2: The resulting track will use different shades of the color you specified, and all those shades are darker that the original color. Use a bright color.

Takes one argument: What color should be used. Color is specified as a RGB hex-triplet (a08000 for "Red 160/255, Green 128/255, Blue 0/255).

Example:
user018.w (
  tecolor ( ff0000 )  [make editor's walls bright red]
)     


tedelete()

tedelete(...): Deleting parts of track editor tracks

The tedelete option tries to find certain parts of tracks made with the track editor and cuts them out.

Warning: Use this option for unmodified track editor tracks only. Detecting parts is done by the very rough heuristics. Using this option on instances or already modified track body will lead to funny results. For example, if you use this option on a track body you previously created with the tecolor option, the track piece wall may be considered as lamps or the track itself.

Argument is a list of keywords. Every mentioned part will be deleted. Valid keywords are:

KeywordDescription
pwallThe blue walls of track pieces
rwallThe walls of the room, except for the images at one of the wall.
carimgThe images on one wall.
floorThe green floor of the room
lampThe lamps at the ceiling
boxThe boxes that are stacked in one corner of the room
trackThe track itself

Example:
user018.w (
  tedelete( floor rwall lamp carimg )  [The room is now gone]
)     


transparency()

transparency(...), t(...): Setting transparency

Sets transparency. Argument must be between 0 and 255, where 0 is fully transparent and 255 is fully opaque. (Although you should never set the transparency to 0 or 255)

Don't use transparency if you want to items to be invisible. Use the invisible option instead!