(Map)&[Tutorial]New Instance.

Joined
Jun 19, 2009
Messages
1,537
Reaction score
536
Tutorial
In this small tutorial you will understand how partydungeon.lua works.After this small tutorial you should be able to do it yourself :).
First you need a map you can use this one:[Dead link, use your own!]
add the map by editing DefineWorld.h and world.inc.

First lets see how KALGAS dungeon works :)
my commands are visable after each '--//';
They are shown orange.Read those carefully.


PHP:
AddDungeon( "WI_INSTANCE_KALGAS" )--//This is how we start.AddDungeon( "<INSTANCE WORLD NAME>") for example for my world it will be AddDungeon( "WI_INSTANCE_QUFOAMING" ) since i named my world like that in world.inc
--{
    SetClass( CLASS_NORMAL, CLASS_MASTER, CLASS_HERO, CLASS_HERO_LEGEND )--//This will check what classes can enter the dungeon be aware that CLASS_HERO_LEGEND is from the 3rd job things and depends on how you call it.
    SetLevel( 1, 300 )--//this will check if your character is between those levels.
    SetCoolTime( MIN(15) )--//Rejoin time if I'm correct :)

    --//Set monster works like this.SetMonster(TYPE(ID_MIDBOSS,ID_BOSS,ID_NORMAL),"<MONSTERDEFINENAME>",<Is monster agro>,<XPos>,<Ypos>,<Zpos>)
    --//You need to defeat all ID_MIDBOSS so you are able to see and kill ID_BOSS
    --//You can find your position where to spawn in beast or ingame if you added the map by /pos or pressing some number key that will save position in a txt doc.
    SetMonster( ID_NORMAL, "MI_KALGASSTELE01", false, 2808, 303, 801 )
    SetMonster( ID_NORMAL, "MI_KALGASSTELE02", false, 1944, 303, 356 )

    SetMonster( ID_MIDBOSS, "MI_KALGASEGG01", false, 966, 100, 192 )
    SetMonster( ID_MIDBOSS, "MI_KALGASEGG01", false, 984, 100, 194 )
    SetMonster( ID_MIDBOSS, "MI_KALGASEGG01", false, 983, 100, 213 )
    SetMonster( ID_MIDBOSS, "MI_KALGASEGG01", false, 961, 100, 210 )

    SetMonster( ID_BOSS, "MI_KALGASBOSS", true, 974, 103, 201 )
--}
Now you can start making one yourself that looks like that.
PHP:
AddDungeon( "WI_INSTANCE_QUFOAMING" )
--{
    SetClass( CLASS_HERO, CLASS_HERO_LEGEND )
    SetLevel( 200, 300 )
    SetCoolTime( MIN(60) )
    SetMonster( ID_MIDBOSS, "MI_QU_MID_BOSS", false, 961, 100, 210 )
    SetMonster( ID_BOSS, "MI_QU_BOSS", true, 974, 103, 201 )
--}
I hope you learned how to add your own instances by reading this tutorial.
All questions will be awnsered in this main page.
FAQ
-Q
-A

-Q
-A
Release
The map you could use in the small tutorial is also the release of it.
You can use it at free will I made it for some p-server since they fired me for making a event as developer they have no right to be the only one able to use my stuff :ott1:
Owh just have to say the map looks kinda crapish.In my opinion.
Again download the map here:

Screenshots.
Quget - (Map)&[Tutorial]New Instance. - RaGEZONE Forums

Quget - (Map)&[Tutorial]New Instance. - RaGEZONE Forums


No harm for my little screenshot edit :)
 
Last edited:
Back