Page 1 of 1

How do you include Intro and end pics for LOG2?

Posted: Sun Dec 13, 2015 7:46 pm
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

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

Posted: Sun Dec 13, 2015 8:50 pm
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().

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

Posted: Tue Dec 15, 2015 3:51 pm
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

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

Posted: Sun Jan 10, 2016 5:00 pm
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:

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

Posted: Wed Jan 13, 2016 8:26 pm
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