location of wilderness exit

If you have a module that you'd like comments on or would like to know how to create your very own module, post here

Moderator: Moderator

Post Reply
Message
Author
Old Tomnoddy
Wayist
Posts: 19
Joined: Tue May 25, 2010 11:49 pm

location of wilderness exit

#1 Post by Old Tomnoddy »

Hi,
I'm playing around with the tome module and currently I am a bit confused by the wilderness exits: all the dungeons seem to have an “up” to the wilderness on level 1 defined in their respective zone.lua but I don't get how these exits are linked to entrances on the wilderness map.

I “rearranged” parts of the wilderness including Amon Sul. Now leaving the initial dungeon through the “up” on dlvl 1, the player is not put on the replaced entrance tile. How do I set the coordinates of the player after exiting Amon Sul to match the location of the tile?

Thanks in advance! (And thanks a lot for The Luafication of tome, making things a lot more transparent!)

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: location of wilderness exit

#2 Post by darkgod »

They are simply not linked ;)
Players exit to the wilderness where they left it. And the initial position in manualy set in data/birth/races/* .
The code handling that in in class/Game.lua:changeLevel and class/Player.lua:move
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Old Tomnoddy
Wayist
Posts: 19
Joined: Tue May 25, 2010 11:49 pm

Re: location of wilderness exit

#3 Post by Old Tomnoddy »

Ahh, thanks!

So there is no way (yet) for a dungeon to have different exits (maybe to different wilderness maps)?

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: location of wilderness exit

#4 Post by darkgod »

This is utterly module specific so no, but in your module you could add code handling it very easily
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Old Tomnoddy
Wayist
Posts: 19
Joined: Tue May 25, 2010 11:49 pm

Re: location of wilderness exit

#5 Post by Old Tomnoddy »

Thanks for clearing this up. I located the default_wilderness settings in the race files; for now I'm happy with this.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: location of wilderness exit

#6 Post by darkgod »

:)

What are you doing BTW?
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Old Tomnoddy
Wayist
Posts: 19
Joined: Tue May 25, 2010 11:49 pm

Re: location of wilderness exit

#7 Post by Old Tomnoddy »

Mapping!

Just drawing a wilderness map using JavE. That's why I'm relocating some dungeons.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: location of wilderness exit

#8 Post by darkgod »

Oh ;)
A better one ?

If you can do good ascii maps I might have some work for you!
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Old Tomnoddy
Wayist
Posts: 19
Joined: Tue May 25, 2010 11:49 pm

Re: location of wilderness exit

#9 Post by Old Tomnoddy »

darkgod wrote:Oh ;)
A better one ?

If you can do good ascii maps I might have some work for you!
Unfortunately, I'm still trying to figure out whether I _can_ do ascii maps at all. If I make some progress and won't be totally frustrated by the lack of a decent ascii drawing tool I'll be glad to help.

Post Reply