How to properly define a new wall set?
Posted: Mon Sep 17, 2012 3:14 pm
I want to try out a clean dungeon wall set with no decorations. So I opened the wall_sets.lua file and added the lines:
After loading my map, I can select the new wallset for the level, but when I PLAY, the editor crashes with this error:
http://www.grimrock.net/modding/asset-d ... reference/
and I think I might need to define some of those parameters, such as floorDecorations and wallDecorations, but I don't understand how (is there a master list of all the models for these decorations?)
Code: Select all
defineWallSet{
name = "dungeonclean",
}I don't know what I'm doing really. I read the section on Wallsets on the asset definitions reference page:[string "Map.lua"]:0: attempt to index a nil value
stack traceback:
[string "Map.lua"]: in function 'placeCeilingMesh'
[string "Map.lua"]: in function 'placeWalls'
[string "Map.lua"]: in function 'prepare'
[string "Dungeon.lua"]: in function 'loadDungeonFile'
[string "DungeonEditor.lua"]: in function 'playPreview'
[string "DungeonEditor.lua"]: in function 'previewButtons'
[string "DungeonEditor.lua"]: in function 'update'
[string "Grimrock.lua"]: in main chunk
http://www.grimrock.net/modding/asset-d ... reference/
and I think I might need to define some of those parameters, such as floorDecorations and wallDecorations, but I don't understand how (is there a master list of all the models for these decorations?)