How do you include Intro and end pics for LOG2?

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
WaspUK1966
Posts: 135
Joined: Sat Aug 09, 2014 9:17 am

How do you include Intro and end pics for LOG2?

Post by WaspUK1966 »

I'm near finishing my mod for LOG2. As in my previous LOG1 games, I'd like a sequence of start pics that tell the story before the player begins the game, and an end pic for the end of the game. I'm not doing any cinematics etc, just screen pics that I'll convert into .OGG files. How do I code this in LOG2? And what is the code for ending a game? Help appreciated as always.

George
minmay
Posts: 2770
Joined: Mon Sep 23, 2013 2:24 am

Re: How do you include Intro and end pics for LOG2?

Post by minmay »

Grimrock 2 does not have image intros/outros like Grimrock 1 does. Instead it has videos.
http://www.grimrock.net/modding/creating-cinematics/
You end the game with GameMode.completeGame([video filename]).

If you want to use Grimrock 1 style cinematics, implement them using PartyComponent.onDrawGui().
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
WaspUK1966
Posts: 135
Joined: Sat Aug 09, 2014 9:17 am

Re: How do you include Intro and end pics for LOG2?

Post by WaspUK1966 »

So would the partycomponent.onDraw print a pic then? if so, how do I code it so that it shows an image before the mod starts? And ends?

George
User avatar
Halluinoid
Posts: 165
Joined: Tue Apr 02, 2013 7:08 pm
Contact:

Re: How do you include Intro and end pics for LOG2?

Post by Halluinoid »

this all depends on the user actually getting to the end of your Custom Game

how many hours gameplay does a user have to put in to get to the end? do you think many will actually arrive at the end? :lol:

I have often thought about putting in effort to an "end" and it's good that the answer is here BUT ...... :lol:
bongobeat
Posts: 1076
Joined: Thu May 16, 2013 5:58 pm
Location: France

Re: How do you include Intro and end pics for LOG2?

Post by bongobeat »

JW made a mod that use the onDraw thing:

http://www.nexusmods.com/legendofgrimrock2/mods/23/?

in the sample dungeon you can see many way to show a picture on the screen
My asset pack: viewtopic.php?f=22&t=9320

Log1 mod : Toorum Manor: viewtopic.php?f=14&t=5505
Post Reply