Adding a New Map Configuration
Last updated
Last updated
Navigate to:
Assets/RGame/RoguelikeKit/ScriptableObjects/DataSO/Level/Map/
Right-click an existing MapConfig
→ Duplicate
Rename (e.g., Map_Catacombs.asset
)
Right-click in folder → Create → RGame → RoguelikeKit → Map Config
Name it (e.g., Map_IceCavern.asset
)
Open the new MapConfig
in Inspector:
Width
Map width in tiles
50
Height
Map height in tiles
50
PropCount
Number of loot containers
15
Click + in the Tiles array to add tile types:
Sprite
Tile Sprite
Weight
Spawn probability weight
Total weight = 70 (Stone) + 20 (Wall) + 10 (Moss) = 100
Stone Floor spawn chance = 70/100 = 70%