Custom assets
Posted: Thu Jul 03, 2014 9:05 pm
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:
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
Total memory: 4093 MB
Free memory: 1478 MB
Display device 0:
Device name: \\.\DISPLAY1
Device string: NVIDIA GeForce GTX 460
State flags: 00000005
Display device 1:
Device name: \\.\DISPLAY2
Device string: NVIDIA GeForce GTX 460
State flags: 00000000
Display device 2:
Device name: \\.\DISPLAYV1
Device string: RDPDD Chained DD
State flags: 00000008
Display device 3:
Device name: \\.\DISPLAYV2
Device string: RDP Encoder Mirror Driver
State flags: 00200008
Display device 4:
Device name: \\.\DISPLAYV3
Device string: RDP Reflector Display Driver
State flags: 00200008