Making vaults is one of the easiest ways to contribute to ToME 4. Vaults are found in various dungeons and help add flavor to each level. First StepsFirst one needs to see what a vault looks like. So grab your favorite text editor and go look for examples at game\modules\tome\data\maps\vaults The Bare Boneshere is what the most basic vault looks like
.., .., } This in game would show up as a 2 x 2 grid in the game. Adding SpaceA 2 x 2 is not a huge amount of space to work with, so adding more seems reasonable. So to add a column just add a tile to the end. And to add rows you would just add another line. so a 3 x 3 room would look like this ..., ..., ..., }
vaults MUST be in a rectangular format. Different TilesSo just floor tiles are that amazing and don't leave a huge amount of room for creativity. So one might imagine that there are ways to add tile that are not floor tiles, and there is. This is how we defined a floor tile:
LOOTone of the defining characteristics of vaults is the loot inside. So this is how one would define a tile with level appropriate loot: This could be anything so you might want to add a filter to change the loot type. So lets say I want some gold coins on the tile. The Tile definition would look like this: Now lets say you want to make a really nice pile of coins, one that is bigger than normal. You would define the tile like: GuardiansWhat is the point of making a vault with a pile of loot there for the taking. There is none. One should have a "guardian" for the loot. So if I wanted to add a monster to a tile I would define the tile like this: However one might want to have a theme to a vault and want only dragons in the vault. That would look like this: Now Lets say I want the monster to be real nasty and such. I would define the tile like this: TrapsTraps are a way to add a bit of flavor to a vault. Like seasonings there is such a thing as to much. This is how one would define a tile for a trap: |
||||||||||||||

Recent comments
1 day 9 hours ago
2 days 11 hours ago
3 days 13 hours ago
4 days 14 hours ago
1 week 2 days ago
1 week 2 days ago
1 week 3 days ago
1 week 3 days ago
1 week 3 days ago
1 week 5 days ago