Dungeons & Keys.

Posts 1–3 of 3 · Page 1 of 1
Dungeons & Keys.
How would I go about make certain gods drop dungeon portals like they do in the real RoTMG? Also, how would I go about adding a key shop?

I'd really appreciate any help given.
There are several components to this process.

1.)To make dungeons:

A complicated process requiring .wmap files, classes, and statements in several wServer world generation managers. This is explained in the tutorial section of this forum.

2.)To make keys for dungeons:

A simple process that involves creating a Portal-type enemy in the XML's and an item which activates the "DungeonPortal" effect. Also explained in the same tutorial where you will find how to make dungeons.

3.)To make monsters drop portals:

This is in the behaviors, you will need something like "new DeathPortal(info, info, infolol)" inserted in the behaviors of a monster you want it dropped from.

Before attempting this, you should at least know a bit of item XML making so you know what you will see when opening server.sln.
And as for the key shops, you can do two things:

1. You can add the keys in merchant.cs to one of the shop regions then add the merchant object in the map and then put the shop region over them. These are randomized tough, so you might get duplicate item, the better option for keys would be number 2

2. Use the edit button on the merchant object's tile in the map editor, and then add in your price, objectid and currency. This is what you would need to fill in:
mtype:0xfbd;mcost:200;mcur:1
the mtype is the objecttype, the mcost is the price and the mcur is the currency (1 = fame, 0 = gold)
If you want me to go into a bit more detail, you can add me on skype
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us