Steps to Add a New Dungeon:
enum DungeonNames {
DUNGEON_NONE,
DUNGEON_CAVE_OF_SPIRITS,
DUNGEON_CRYSTAL,
DUNGEON_BLUE_DEATH,
DUNGEON_ASTRAYOS,
DUNGEON_EASTER,
DUNGEON_WATER,
DUNGEON_MANTA,
DUNGEON_TEST,
DUNGEON_MAX_NUM,
};
In the New_Dungeons.h enum, add the dungeon name above DUNGEON_MAX_NUM. This name will serve as the dungeon’s ID and also as the variable name. (Example: [1.PNG])
Then, using the variable you entered, add a value to the array variable in New_Dungeons.cpp and configure the settings. (2.png)
Settings are in the following order: dungeon_ID > mapIndex > bossVnum > bossX > bossY > goX > goY > quitX > quitY > minLevel, needItem, needItemCount, cooldownMins
Example: { DUNGEON_NEW_1, 0, 1093, 120, 123, 115, 137, 9999, 9999, 119, 25040, 10, 40 }
If you set quitX and quitY to 9999, the player will be sent back to the village when time is up.
If you set needItemCount to 0, the player won’t be asked for a ticket upon entry.
After these steps, create a quest, copy the provided quest, and change the quest names.
Replace the [--to_be_changed] notes in the quest file with the ID of the new dungeon you added. (Example: [3.png - 4.png])
The setup is complete; you can now enter the new dungeon.
Core Tabanlı Zindanlar (1).rar