Ariadne provides 5 types of data to run the dungeon. These data are created with ScriptableObject.

Data Types

Ariadne has the following data types.

DungeonMasterData

DungeonMasterData is data that holds some FloorMapMasterData and ID of start floor in the dungeon. After creating some FloorMapMasterData, you should create DungeonMasterData and set this to GameController.

How to create

Create DungeonMasterData from [Assets/Create/Ariadne/DungeonData] on the menu bar.

Set FloorMapMasterData

Dungeon Data

Set FloorMapMasterData to DungeonMasterData via inspector window.

You can specify the “Start Floor Id” by using the selector.

Attention: If there are some FloorMapMasterData which have the same floor ID, the selector shows only one of them.

So you have to specify different IDs for those floors.

DungeonPartsMasterData

DungeonPartsMasterData is a set of dungeon parts prefabs. Scripts that draw dungeons instantiate them at runtime.

How to create

Create DungeonPartsMasterData from [Assets/Create/Ariadne/DungeonPartsData] on the menu bar.

Set dungeon parts prefabs

Default prefabs are placed at [Assets/Ariadne/Resources/Prefabs] folder.

Dungeon drawer scripts calculate the unit size of the dungeon based on the size of wall prefab.

When you change the size of wall prefab, you should check the value of transform of the Player object.

Field

Description

Wall Obj

Set a wall parts prefab.

Ground Obj

Set a ground parts prefab.

Ceiling Obj

Set a ceiling parts prefab.

Door Obj

Set a door parts prefab.

Locked Door Obj

Set a locked door parts prefab.

Upstairs Obj

Set an upstairs parts prefab. 

Downstairs  Obj

Set a downstairs parts prefab.

Treasure Obj

Set a treasure box parts prefab.

Messenger Object

Set messenger parts prefabs.

You can set some messenger parts to instantiate. Specify which parts to instantiate in MapEditor.

Pillar Obj

Set a pillar parts prefab.

Wall With Torch Obj

Set a wall with torch parts prefab.

FloorMapMasterData

FloorMapMasterData holds definitions of each map. Dungeon parts are instantiated based on this data.

How to create

Create FloorMapMasterData from MapEditor. To avoid misconfiguration, editing this data directly via Inspector window is not recommended.

Data structure

FloorMapMasterData

Field

Description

Floor ID

ID of the floor. Don’t duplicate with other floors in the dungeon.

Floor Name

Name of the floor.

Dungeon Parts

Parts set o the floor.

Floor Size Horizontal

The horizontal size of the floor.

Floor Size Vertical

The vertical size of the floor.

Entrance Pos

Entrance position of the floor. Ariadne uses this value when this floor is the first floor of the dungeon.

Entering Dir

Entering direction of the floor. Ariadne uses this value when this floor is the first floor of the dungeon.

Map Info

Settings of each position in the floor.

MapInfo

Field

Description

Event ID

ID of the event.

Map Attr

Map attribute of the position.

Object Front

Front direction of the object that corresponds to the map attribute.

Messenger Type

Messenger object to instantiate on the position.

EventMasterData

EventMasterData holds information about events.

How to create

Create EventMasterData from EventEditor. To avoid misconfiguration, editing this data directly via Inspector window is not recommended.

Data structure

EventMasterData

Field

Description

Event ID

ID of the event.

Event Name

Name of the event.

Event Parts

List of EventParts.

ItemMasterData

ItemMasterData stores an ID of the item and a key type of the door. Ariadne doesn’t treat other parameters such as a value of healing like a portion.

How to create

Create ItemMasterData from [Assets/Create/Ariadne/ItemData] on the menu bar.

Data structure

ItemMasterData

Field

Description

Item Type

Indicates this item is key or not.

Item Id

ID of the item.

Item Name

Name of the item.

Door Key Type

Corresponding key type of the door.

About Ariadne

Let’s see also the introduction page of Ariadne!

Ariadne title

Ariadne – 3D Dungeon Maker” boosts your development for First-person party-based dungeon crawler games.


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *