I have just started creating a mod and I am using your assets (which look amazing by the way!). I encountered a crash with a healing crystal (both in game and in editor) which resulted in the following log:
mod_assets/zim_assets/zim_misc.lua:1758: attempt to index global 'zim_functions' (a nil value) stack traceback: mod_assets/zim_assets/zim_misc.lua:1758: in function <mod_assets/zim_assets/zim_misc.lua:1754> [string "Component.lua"]: in function 'callHook' [string "Clickable.lua"]: in function 'onClickComponent' [string "GameMode.lua"]: in function 'mousePressed' [string "GameMode.lua"]: in function 'update' [string "Grimrock.lua"]: in function 'display' [string "Grimrock.lua"]: in main chunk
The only thing I could find was your comment about adding new conditions to the clickable component but I am not sure what to do with that. I am very new to programming in general and so I am lost.
I Have a Problem because if i in Dungeon editor play this mod and i open inventory of character it close the preview and says: Error mod_assets/zim_assets/zim_party.lua:17: attempt to index global 'alvhemy' (a nil value) stack traceback: mod_assets/zim_assets/zim_party.lua:17: in fuction <mod_assets/zim_assets/zim_party.lua:17> [string ''Component.lua"]: in fuction 'callHook' [string ''CharSheet.lua'']: in fuction 'equipmentTab' [string ''CharSheet.lua'']: in fuction 'update' [string ''Gui.lua'']: in fuction 'draw' [string ''GameMode.lua'']: in function 'update' [C]: in function 'xpcall' [string ''DungeonEditor.lua'']: in function 'preview' [string ''DungeonEditor.lua'']: in function 'update' [string ''Grimrock.lua'']: in main chunk (I think you must repair something in this assets) This mod is Too Awesome for such a Error !
Hey again, having a new issue (games crashing upon loading with this error message)
Loading save game C:\Users\Jason\Documents/Almost Human/Legend of Grimrock 2/savegame41.sav Loading dungeon Unfinished Crimson Isle by MrAndersonLP === Software Failure ===
mod_assets/zim_assets/zim_dark_castle.lua:2262: duplicated entity id stack traceback: [C]: in function 'error' [string "Script.lua"]: in function 'spawn' mod_assets/zim_assets/zim_dark_castle.lua:2262: in function <mod_assets/zim_assets/zim_dark_castle.lua:2261> [string "Component.lua"]: in function 'callHook' [string "Map.lua"]: in function 'gameLoaded' [string "GameMode.lua"]: in function 'loadGame' [string "GameMode.lua"]: in function 'update' [string "Grimrock.lua"]: in function 'display' [string "Grimrock.lua"]: in main chunk
Duplicate entity ID If I recall correctly, this means your dungeon has two entities/objects using the same ID If not, could be that multiple object definitions are using the same name
Crap, forgot to remove that... Just remove this code snippet that starts at line 150, and change the "attackPower" in the same component to 80 https://i.imgur.com/KPqNjs4.png
Any tips on how to get the enchanting system working? I figured out the gems can be used and have to ehcnanter placed down yet can't seem to figure it out. Thanks in advance, incredible mod btw. Thank you.
There are instructions in "\mod_assets\zim_assets\scripts\zim_enchanting.lua" If you read that and there are still some things you'd like some elaboration on, I'm still here :)
Hello Dixon! This isn't a playable mod, but a resources for modders to use. But if you just want to walk through it (not much gameplay there, trust me), you can just create a new folder in the mods folder, drop the contents of the .rar file there, launch the dungeon editor, and open the zim_assets.dungeon_editor through there.
22 comments
I have just started creating a mod and I am using your assets (which look amazing by the way!). I encountered a crash with a healing crystal (both in game and in editor) which resulted in the following log:
mod_assets/zim_assets/zim_misc.lua:1758: attempt to index global 'zim_functions' (a nil value)
stack traceback:
mod_assets/zim_assets/zim_misc.lua:1758: in function <mod_assets/zim_assets/zim_misc.lua:1754>
[string "Component.lua"]: in function 'callHook'
[string "Clickable.lua"]: in function 'onClickComponent'
[string "GameMode.lua"]: in function 'mousePressed'
[string "GameMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk
The only thing I could find was your comment about adding new conditions to the clickable component but I am not sure what to do with that. I am very new to programming in general and so I am lost.
Any help would be very appreciated.
Cheers!
Error
mod_assets/zim_assets/zim_party.lua:17: attempt to index global 'alvhemy' (a nil value)
stack traceback:
mod_assets/zim_assets/zim_party.lua:17: in fuction <mod_assets/zim_assets/zim_party.lua:17>
[string ''Component.lua"]: in fuction 'callHook'
[string ''CharSheet.lua'']: in fuction 'equipmentTab'
[string ''CharSheet.lua'']: in fuction 'update'
[string ''Gui.lua'']: in fuction 'draw'
[string ''GameMode.lua'']: in function 'update'
[C]: in function 'xpcall'
[string ''DungeonEditor.lua'']: in function 'preview'
[string ''DungeonEditor.lua'']: in function 'update'
[string ''Grimrock.lua'']: in main chunk
(I think you must repair something in this assets)
This mod is Too Awesome for such a Error !
Uploaded a fix
Loading save game C:\Users\Jason\Documents/Almost Human/Legend of Grimrock 2/savegame41.sav
Loading dungeon Unfinished Crimson Isle by MrAndersonLP
=== Software Failure ===
mod_assets/zim_assets/zim_dark_castle.lua:2262: duplicated entity id
stack traceback:
[C]: in function 'error'
[string "Script.lua"]: in function 'spawn'
mod_assets/zim_assets/zim_dark_castle.lua:2262: in function <mod_assets/zim_assets/zim_dark_castle.lua:2261>
[string "Component.lua"]: in function 'callHook'
[string "Map.lua"]: in function 'gameLoaded'
[string "GameMode.lua"]: in function 'loadGame'
[string "GameMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk
any idea how I go about fixing it?
If I recall correctly, this means your dungeon has two entities/objects using the same ID
If not, could be that multiple object definitions are using the same name
Just remove this code snippet that starts at line 150, and change the "attackPower" in the same component to 80
https://i.imgur.com/KPqNjs4.png
If you read that and there are still some things you'd like some elaboration on, I'm still here :)
If someone is starting a new mod, then they should definitely use this.
At this point though, I doubt anyone is going to start any new mods to be honest
If I ever get some free time, then I'm definitely using your assets. They're excellent!
This isn't a playable mod, but a resources for modders to use.
But if you just want to walk through it (not much gameplay there, trust me), you can just create a new folder in the mods folder, drop the contents of the .rar file there, launch the dungeon editor, and open the zim_assets.dungeon_editor through there.