Dungeon intro / ending screens help pls

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Dungeon intro / ending screens help pls

Post by Drakkan »

Somebody tried how to make intro / ending clickable screens with text like it was in LOG1 and where to place the scipts ? Just curious.
edit: i have found following, should be somehow connected

GameMode
GameMode.completeGame(filename)
GameMode.fadeIn(color, length)
GameMode.fadeOut(color, length)
GameMode.playStream(name)
GameMode.playVideo(filename)
GameMode.showImage(filename)
Last edited by Drakkan on Mon Dec 01, 2014 4:08 pm, edited 1 time in total.
Breath from the unpromising waters.
Eye of the Atlantis
macBos
Posts: 35
Joined: Mon Jun 03, 2013 9:52 pm

Re: Dungeon intro / ending screens

Post by macBos »

Must filename in GameMode.completeGame(filename) be the video file? Because if I link that to my custom lua script outro.lua (I suppose that was usable in LoG 1) it throws an exception:

Code: Select all

[string "VideoMode.lua"]:0: Not a valid IVF file: mod_assets/cinematics/outro.lua
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Re: Dungeon intro / ending screens

Post by Drakkan »

up, in case somebody from AH will go around... I´d like to make some intro similar to LOG1 screens. any clues ?
Breath from the unpromising waters.
Eye of the Atlantis
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: Dungeon intro / ending screens help pls

Post by minmay »

You may have to implement it yourself. It's not too hard to make something similar: the One Room Round Robin 2 has a scrolling credits screen (as I'm sure you're aware), so you could look at the source for that.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Re: Dungeon intro / ending screens help pls

Post by Drakkan »

minmay wrote:You may have to implement it yourself. It's not too hard to make something similar: the One Room Round Robin 2 has a scrolling credits screen (as I'm sure you're aware), so you could look at the source for that.
well I am ok just with basic screen and text, however what was working in LOG1 (fade in / out picture, text and music) not working in Log2 :/
Breath from the unpromising waters.
Eye of the Atlantis
Post Reply