Level Sets

From Runic Games Wiki
Jump to: navigation, search

Level Sets

Level Sets are collections of room pieces representing a particular level style. There's a little bit of additional data other than the room piece list but not much. They'll looks like this:

[TILESET]
	<STRING>NAME:Catacomb
	<STRING>COLLISIONTYPE:ROOM
	<FLOAT>HORIZONTALSNAP:2
	<FLOAT>HORIZONTALSNAP:4
	<FLOAT>HORIZONTALSNAP:.01
	<FLOAT>VERTICALSNAP:2.75
	<FLOAT>VERTICALSNAP:5.5
	<FLOAT>VERTICALSNAP:.01
	<FLOAT>VERTICALSNAP:1.375
	<FLOAT>ROTATESNAP:45
	<FLOAT>ROTATESNAP:90
	<FLOAT>ROTATESNAP:1

 { ..bunch of room piece data ..}

[/TILESET]

Properties

These level set properties are really only used by the editor.

NAME
(STRING) - Level set name.
COLLISIONTYPE
(STRING) - "ROOM" or "PROP", sets the pieces' collision query type for selecting in the editor.
HORIZONTALSNAP
(FLOAT) - a horizontal (X,Z) snap to be inherited by all pieces in this set. (you can have as many as you want)
VERTICALSNAP
(FLOAT) - a vertical (Y) snap to be inherited by all pieces in this set. (you can have as many as you want)
ROTATESNAP
(FLOAT) - a rotaion (degrees) snap to be inherited by all pieces in this set. (you can have as many as you want)
Personal tools
Namespaces

Variants
Actions
Navigation
Runic Sites
Toolbox