Spank666evil wrote:I get errors no matter what I try.
enableUserInput() - the game does not seem to know this.
Am I missing something like in the scripting files?
Also I tried clone item and that did not work either.
I have a finished dungeon ready to go but at the end it does not end.
I have a into also that will not work.
I have no experience coding so if you could help me out by giving me a step by step help I would really appreciate it.
to end a game insert script in editor and insert in it code below. then just make somehow activated it (button, plate etc..)
function endgame()
completeGame("mod_assets/cinematics/ending.lua")
end
now you need create / edit this ending.lua file. here are instruction how to edit this file
http://www.grimrock.net/modding/how-to- ... inematics/
for cloning items it is quite simple - just open your scripts folder, there is file items.lua. again edit it. Example - you wanna create Old bow - variation of normal bow
cloneObject{
name = "old_shortbow", -- this will be displayed in editor
baseObject = "short_bow", -- this is base object you want to clone (original name from editor)
uiName = "Old Short Bow", -- this will be displayed to player
description = "Wood is used and string old, but still able to shoot.", -- new description
attackPower = 8, -- new attacl power
accuracy = -3, -- new accuracy
}
this way you can clone any item you want.
Hope this helped a little