Jump to content
Sign in to follow this  
krizmn

Multi Floor Dungeons

Recommended Posts

I am having a hard time trying to get this to work. All I want to do is add stairs that go down deeper into a dungeon. Do I need to do a floor script for this?

 

Thanks

Share this post


Link to post
Share on other sites

No, there shouldn't be a need for terrain scripting. Just make a new town for the second level of the dungeon, and then place a special rectangle around the stairs in the first town that calls a state with a move_to_new_town() call to move the party to the appropriate location in the second town. Of course, don't forget to create a similar rectangle in the second town that sends the party back to the first town, so that the party can go back upstairs.

Share this post


Link to post
Share on other sites

I cant seem to place a special rectangle in town mode. It keeps saying for outfdoors only.

 

 

beginterrainscript;

 

variables;

 

body;

 

 

beginstate 10;

move_to_new_town (1,2,1);

break

 

I tried to do that for a terrain script......but it says the beginstate is invalid. Do I put the 10 into the memory cell 0?

What would be a simple terrain script to move the party to a different location?

Share this post


Link to post
Share on other sites

Entering a special rectangle calls the specified state in the town script, not a terrain script. Here's what you'll need to do, dunno how many of these steps you've already done:

 

- Open the town in the editor, place the special rectangle, and choose a special number. I'm going to pick 10, but it can be anything.

- Open the Town Details screen (Town > Town Details) and choose a script name to put in the 'Town script' field. I'm going to pick 't0blah', but it should be something that describes your town.

- In your scenario folder, create a new text file called 't0blah.txt'. Copy the following:

 

begintownscript;

body;

beginstate INIT_STATE;
break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 10;
 move_to_new_town (1,2,1);
break;

 

Lemme know if you need any more info.

Share this post


Link to post
Share on other sites

Than you. I thought the encounter rectangle was for monster fights only. :/

 

Spent so many hours trying to master that stupid rectangle.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×