Page 1 of 1

How to end a Dungeon

Posted: Sat Jan 05, 2013 12:50 am
by Sheep
I'm pretty new to scripting and I was wondering how you end a dungeon.
I have tried really hard but no luck so far.
If someone could help me that would be great :D
I dont know how to make the game end in these tiles here X25 Y 6 and Level6

Re: How to end a Dungeon

Posted: Sat Jan 05, 2013 1:19 am
by Skuggasveinn
you call endGame with a script and point it to your lua file for the end credits

Code: Select all

function endGame()
  completeGame("mod_assets/cinematics/ending.lua")
end

Re: How to end a Dungeon

Posted: Sat Jan 05, 2013 11:08 pm
by Sheep
Thanks Skuggasveinn.
Now I just need to figure out some nice cinematic scenes :D

Re: How to end a Dungeon

Posted: Sat Jan 05, 2013 11:39 pm
by mahric
Sheep wrote:Now I just need to figure out how to make the credits :D
The source of my mod is available for download, check this for more info: viewtopic.php?f=14&t=4102
You can find the ending in mod_assets/cinematics/outtro.lua

More info about making cinematics can be found in this link: http://www.grimrock.net/modding/how-to- ... inematics/

I'm looking forward to the cinematics you make!