Jump to content

Basements as a mod via teleportation


orbbb

Recommended Posts

Hi all,

 

do you know of any technical way / or issue to create basements as a map or mod? The forum has a feature-request topic where "sewers / basements" are said to be planned [y]. That probably means it is technically possible (with the engine).

 

Is there a way to teleport a player? I think of creating a map cell far far away and teleport a player there if he uses a "special basement door". This is a way I know some older games like UO solve it on certain maps 😀

 

Edit:

 

So after digging around in mod scripts an so on, I found out that teleporting is no problem. After creating a custom map and some tilesets, I think creating a cell that is sorounded by "black / underground" tiles is also no problem. This will let a room look like its underground.

There are some new questions open that I need to find an answer to:

 

  • How to be notified when a player uses a door? There is one thing with listening for a keypress. But there is also the context menu to open doors.
  • How to "save" the information which door leads to which new coordinate. You probably want to define this in WorldEd. Maybe custom areas can be a solution? A door could then check if there is a custom area at its own location and use that.
     

PS. Yes I'm a programmer, just throw Java/Lua/API stuff or solution ideas at me.

Edited by orbbb
Link to comment
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
×
×
  • Create New...