LevelMapConfig
Class in ChivalrousGames.DungeonMaster

Description

Describes the behavior of the map.

Fields

planePlaneThe Plane on which the Level map is constructed and displayed.
XY would be a SideScroller.
XZ would be an over head view.
For a 2d level, should be identical to the LevelGenerationConfig plane.
mapObjectSizeVector2The size of the Map Objects (probably GameObjects with Sprites to represent Rooms) used to generate this map.
Z is not taken into consideration since map objects are assembled in 2D on a XY plane.
rotateRoomMapObjectsboolCheck this box if the GameObjects that represents the Rooms should rotate on the map to reflect the Room rotation.
mapGameObjectsMapGameObjectsThe default GameObjects that represents Rooms and Dungeon Character position for this Level.
Each Room can override this.
fullMapScrollSpeedfloatThe speed at which the full map should scroll for this Level.
fullmapRectRectLITE version only
The on screen rectangle location and size of the full map display.
Full screen is 0, 0, 1, 1
fullmapOrthographicSizefloatLITE version only
The orthographic size of the Camera when displaying the full map.
Think of it as a zoom level.
minimapRectRectLITE version only
The on screen rectangle location and size of the mini map display.
Full screen is 0, 0, 1, 1… which is not a good idea for a minimap usually.
minimapOrthographicSizefloatLITE version only
The orthographic size of the Camera when displaying the mini map.
Think of it as a zoom level.
journeyWidthfloatFULL version only
The displayed width of a Journey displayed on the map.
Should be related to mapObjectSize to avoid drawing lines that are too broad or too narrow.
journeyMaterialMaterialFULL version only
The Material used to draw a Journey on the map.
You can find a default material in “ChivalrousGames\DungeonMaster\Tools\MapElements\DefaultPathMaterial”.
fullMapCameraTemplateCameraFULL version only
A camera prefab used as a template for the full map camera.
Default cameras are supplied or you can create your own.
miniMapCameraTemplateCameraFULL version only
A camera prefab used as a template for the minimap camera.
Default cameras are supplied or you can create your own.
followModeMapCameraFollowModeFULL version only
How the map camera moves around the map.
characterPositionModeMapCharacterPositionModeFULL version only
How the map character moves around the map.