• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

(Map)&[Tutorial]New Instance.

Game Developer
Loyal Member
Joined
Jun 19, 2009
Messages
1,491
Reaction score
460
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:
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 :eek:tt1:
Owh just have to say the map looks kinda crapish.In my opinion.
Again download the map here:

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

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


No harm for my little screenshot edit :)
 
Last edited:
Now you can tag me!
Loyal Member
Joined
May 26, 2009
Messages
1,649
Reaction score
796
Nice work, yet wrong section?

I believe this should be located in the tutorial section instead of the release section, yet well done! :)
 
i sell platypus
Loyal Member
Joined
Jun 26, 2009
Messages
2,640
Reaction score
1,326
I already understood how to add new instances just by looking at the file. I just don't have any new maps to do it with xD

Most of the files in the resource folder are pretty self explanatory as it's just repeated with other IDs, so easy to learn them.
 
Newbie Spellweaver
Joined
May 26, 2011
Messages
59
Reaction score
23
Thx so much for the Tutorial *-*
Very nice work ^^
 
GFX Maniac
Loyal Member
Joined
Feb 20, 2011
Messages
991
Reaction score
164
WOOOAAHHH DUDE
this is just awesome i could understand it in no time
keep it going ^^

PS: i just passed by this and i had no time to try this out but when i do i'll ask u if i have any question
 
Back
Top