My custom assets load fine when running through the editor, but when trying to open the mod without the editor, it can't seem to find the models and aborts.
The error log:
[string "Monster.lua"]:0: File not found: mod_assets/models/monsters/magma_slime.model
stack traceback:
[C]: in function 'load'
[string "Monster.lua"]: in function 'loadArch'
[string "Arch.lua"]: in function 'defineObject'
mod_assets/scripts/monsters.lua:4: in main chunk
[string "Dungeon.lua"]: in function 'import'
mod_assets/scripts/init.lua:8: in main chunk
[string "Dungeon.lua"]: in function 'loadInitFile'
[string "GameMode.lua"]: in function 'loadDungeon'
[string "GameMode.lua"]: in function 'newGame'
[string "GameMode.lua"]: in function 'startGame'
[string "NewGameMenu.lua"]: in function 'startGame'
[string "NewGameMenu.lua"]: in function 'update'
[string "GameMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk
OS Version 6.1
OEM ID: 0
Number of processors: 4
Page size: 4096
Processor type: 586
Windows doesn't care about case, but Lua does... The game even distinguishes between single and double quotes in some instance.
Always check the case of everything; especially if you've cut & pasted code (paths and parts of definitions).
I will not guarantee, but i will assure you, It is as simple as a case sensitive issue. Something is capitalized, and the script "assumes" it shouldn't be.
Currently conspiring with many modders on the "Legends of the Northern Realms"project.
"You have been captured by a psychopathic diety who needs a new plaything to torture." Hotel Hades