How Do Exits Work?

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!
User avatar
SnowyOwl47
Posts: 148
Joined: Fri Sep 12, 2014 10:41 pm

How Do Exits Work?

Post by SnowyOwl47 »

This is weird for me to have to ask this but this is for the DEVS only, or @Skuggasveinn I have no clue nor the time to figure this out so how do forest_exit work? Like how do I set the target?

~SnowyOwl47 :ugeek:
User avatar
Chimera005ao
Posts: 187
Joined: Sun Jun 29, 2014 8:34 am

Re: How Do Exits Work?

Post by Chimera005ao »

From what I understand, you can't manually set the target like with stairs.
They only seem to link to adjacent exits like stairs in the first Grimrock.
So if you make a forest exit going south, and its x position is 2, on the map that is southward, you'd have a forest exit at 2 on the north side to connect to.
I've lined up 8 exits on both maps, and they seem to correspond directly like that.

What I find to be odd is the way the coordinate system works. South increases in Y value. Down increases in Z value. However, West decreases in X value as expected.
Need to make sure those are set up right.

If you are looking for scripting information regarding them, I'd just wait for the assets and documentation. : /
User avatar
SnowyOwl47
Posts: 148
Joined: Fri Sep 12, 2014 10:41 pm

Re: How Do Exits Work?

Post by SnowyOwl47 »

Chimera005ao wrote:From what I understand, you can't manually set the target like with stairs.
They only seem to link to adjacent exits like stairs in the first Grimrock.
So if you make a forest exit going south, and its x position is 2, on the map that is southward, you'd have a forest exit at 2 on the north side to connect to.
I've lined up 8 exits on both maps, and they seem to correspond directly like that.

What I find to be odd is the way the coordinate system works. South increases in Y value. Down increases in Z value. However, West decreases in X value as expected.
Need to make sure those are set up right.

If you are looking for scripting information regarding them, I'd just wait for the assets and documentation. : /
Ah thank you
User avatar
SnowyOwl47
Posts: 148
Joined: Fri Sep 12, 2014 10:41 pm

Re: How Do Exits Work?

Post by SnowyOwl47 »

It does not work @Chimera005ao
NutJob
Posts: 426
Joined: Sun Oct 19, 2014 6:35 pm

Re: How Do Exits Work?

Post by NutJob »

You may want to start on the very fist tutorial video by Skuggasveinn. You'll get your answer. It's practically elementary what you're attempting to accomplish.
User avatar
Chimera005ao
Posts: 187
Joined: Sun Jun 29, 2014 8:34 am

Re: How Do Exits Work?

Post by Chimera005ao »

That tutorial is how I learned how it works.
User avatar
Skuggasveinn
Posts: 562
Joined: Wed Sep 26, 2012 5:28 pm

Re: How Do Exits Work?

Post by Skuggasveinn »

Its really simple, you just place the forest_exit so that they line up between the levels you are trying to bridge.

Image
Link to all my LoG 2 assets on Nexus.
Link to all my LoG 1 assets on Nexus.
OGDA
Posts: 115
Joined: Tue Oct 28, 2014 5:07 pm

Re: How Do Exits Work?

Post by OGDA »

Is there a way to create a dungeon-exit?

To go from one map to another underground without using stairs/teleporters (and without changing the current z level the party is in)?

Kind regards,
Joerg
MrChoke
Posts: 324
Joined: Sat Oct 25, 2014 7:20 pm

Re: How Do Exits Work?

Post by MrChoke »

You can make a forest_exit go to any place you want just not directly. I tested this out yesterday and it works great. You place an invisible teleporter right on the square where your party enters the next level. And then you can set the teleporter to go anywhere you want, even on another level if you want. Because its an invisible teleporter you get no visual or audio cue that you went someplace else. You can even change the teleport target via script too so that the exit doesn't have to go to the same place each time. That works too.
Ixnatifual

Re: How Do Exits Work?

Post by Ixnatifual »

Could be a little funny to have the player come in through the exit he left by. Especially with a few terrain modifications by the exit area.
Post Reply