Stairs to (Move...Teleport) Party Script.. (HELP!)

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
fazzasx
Posts: 104
Joined: Mon May 27, 2013 12:35 am

Stairs to (Move...Teleport) Party Script.. (HELP!)

Post by fazzasx »

Hi Everyone and Merry Christmas :)

I wanted to ask if its possible to move the party as they go up or down the stairs to another set of stairs and back again?

You might think its an odd request but I am remaking an old game where the stairs dont match (sometimes) the up and down levels :|

I have tried to re-create the levels to marry them up but all the stairs just dont fit. I have toyed with the idea of just moving the stairs to fit and if this isnt going to work as I had hoped then I will just do that.

Here is what I have tried so far but I believe there might be a better way..

1) Put a floor inbetween levels that uses a teleport to quickly move the party (its not nice and creates lots of levels, and if you add or move levels you have to go back and re-test it)

2) Use a hidden pressure plate under the stairs and link that to a timer (to stop the game crashing) and then to this script (see below)

Code: Select all

function waterTimerStop()
water_timer:deactivate()
party:setPosition(21, 21, 0, 32)
end
This works fine but if you have 2 sets of stairs (top and bottom) then you also need to have a pressure plate on the set of stairs and level the script moves you to... Once you release that pressure plate on the destination you go back to where you started. I can work around this by just moving the party 1 tile forward but I would prefer to see the top of the stairs as this adds to the effect of getting onto a new level.

I have spent ages trying to work this out and my head is pumping hot with fuzzy logic :?

If anyone has done this or knows a good way to do it please let me know....

Many Thanks
Zastaph
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Stairs to (Move...Teleport) Party Script.. (HELP!)

Post by Komag »

Eye of the Dragon mod does this a ton, maybe you could check it out
Finished Dungeons - complete mods to play
User avatar
fazzasx
Posts: 104
Joined: Mon May 27, 2013 12:35 am

Re: Stairs to (Move...Teleport) Party Script.. (HELP!)

Post by fazzasx »

Komag wrote:Eye of the Dragon mod does this a ton, maybe you could check it out
Thanks Komag I have just figured it out so I am very pleased :)
Zastaph
Post Reply