Map Quest Guide

smoochy boys on tour

GhettoFx

Runescape HD
Golden Oldie
May 17, 2005
920
0
122
I found this and it wasnt sticked so i was hoping to get it stickyed it was made by soli

I've seen a lot of people asking for help in using the MapQuest system. So below is a simple guide for creating a quest to kill mob X on map Y.

Open up "\mirserver\Mir200\Envir\MapQuest.txt", you should see something like this:


Code;
RootSpider * Q1401D10031 [403] 1
BigApe * Q1403D10032 [403] 1
BigApe * Q1403D1004 [403] 1
BigApe * Q1403D10051 [403] 1
BigApe * Q1403D10052 [403] 1
BigApe * Q1403D10053 [407] 1
RedEvilApe * Q1407D10071 [409] 1
RedMoonEvil1 EvilApeOil Q14091D10054 [412] 1
GreyEvilApe * Q1412D10062 [413] 1
RedMoonEvil * Q14132



This is were you set any mobs for MapQuests. Scenario: We have map Y and we want to trigger something when mob X gets killed on that map, to do this we would add the following:


Code:
Mapname [Quest Flag] Ammount Mob Name Item Name Quest FileMapY
[999] 1 MobX * Q999


Now that we've added our trigger, we need to define something to output once that event has been triggered. So now create a text file called Q999 and put the following NPC script in it:


Code:
[@main]
#IF
check [999] 1
#ACT
goto @killed_mob

[@killed_mob]
#SAY
Well done, you killed mob X\
Click next to get your prize<Next../@getprize>

[@getprize]#IFcheck [998] 0
#ACTgive prize 1set [998] 1
#ELSESAY
You have already had your prize\\
<Exit/@exit>


Save this file as Q999.txt in the "\mirserver\Mir200\Envir\MapQuest_Def\" folder.

That is the use of MapQuest for killing a mob. Now you're wondering how you stop people accessing maps using MapQuest?? Easily done.

As an example, we want to only allow people who've completed a quest to be able to access map X. Open up "\mirserver\Mir200\Envir\mapinfo.txt" and add the following.


Code:
MapX Quest_Map_X 0] CHECKQUEST(Q8888) NORECALL NORECONNECT(0)


In that code, the bit that makes all this work is "CHECKQUEST(Q8888)", what this does is as someone enters a map it executes the NPC script in "\mireserver\Mir200\Envir\MapQuest_Def\Q8888.txt". Now lets make that NPC script....


Code:
[@main]
#IF
;check if quest has been completed (888 being the flag for quest)check [888] 1
#ACTbreak
#IF
;check if quest has been completed (888 being the flag for quest)check [888] 0
#SAY
You cannot access this map without first completing the quest\
<Exit/@exit>


Save the above NPC script in "Q8888.txt". There you have it, a script to stop people accessing a map based on their flag status.

Obviously for you to be able to use this guide properly, you need to change some details, but it's just a basic guide to how the MapQuest system works.
 
Last edited: