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
How do you include Intro and end pics for LOG2?
- WaspUK1966
- Posts: 135
- Joined: Sat Aug 09, 2014 9:17 am
Re: How do you include Intro and end pics for LOG2?
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().
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.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
- WaspUK1966
- Posts: 135
- Joined: Sat Aug 09, 2014 9:17 am
Re: How do you include Intro and end pics for LOG2?
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
George
- Halluinoid
- Posts: 165
- Joined: Tue Apr 02, 2013 7:08 pm
- Contact:
Re: How do you include Intro and end pics for LOG2?
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?
I have often thought about putting in effort to an "end" and it's good that the answer is here BUT ......![Laughing :lol:](./images/smilies/icon_lol.gif)
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?
![Laughing :lol:](./images/smilies/icon_lol.gif)
I have often thought about putting in effort to an "end" and it's good that the answer is here BUT ......
![Laughing :lol:](./images/smilies/icon_lol.gif)
Beleagured Castle LOGII complete
Re: How do you include Intro and end pics for LOG2?
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
http://www.nexusmods.com/legendofgrimrock2/mods/23/?
in the sample dungeon you can see many way to show a picture on the screen