ok here it is , right now its the exact text found inside quest helper , I will try to make it more readable soon
Quote:
To make a quest you need to have a /quests/ folder in your eqemu directory.
there you will create a textfile for each NOC you want to use in a quest
files are named like that now : npcid.qst
you will have to create a npcid.qst file in the eqemu/quests/ folder
(quest scripting) help
ok When you generate the quests scripts
you will encounter many xxx , they are in place
of the numbers of the npc_id , the spawngroup_id and the like
you can use the search engine to get the npc id
the npc id is needed for the trigger
when you do an emote , say shout
you can use %CHARNAME% to display the name of the
player who triggered the quest script
%CHARRACE% %CHARLEVEL% and %CHARCLASS% are available too
for exemple
SHOUT: %CHARNAME% you will regret your acts Forever !!!
Add Hatelist : will add the player to the npc id specified after ADD_HATELIST
Add Skill will add the skill number specified after ADDSKILL
for a list of skill numbers please look in the forum from eqemu.net or in the README MANUAL of the emu
Cast Spell will cast the spell specified by the id after CAST_SPELL , use spelleditor to search spells ids
Change Faction work like that : CHANGEFACTION faction_id_to_modify amount_of_modification
Do Animation will make the NPC do an animation based on the number you specified, try different numbers to see what animation it is
Emote will make the NPC do the emote you specified after EMOTE:
exp will give the amount of exp specified
face target is pretty self explanatory
flag will flag the account of the target , refer to the readme manual for more info
item will give the item specified by his id ( use the item search engine to get the item id)
PVP will turn the character PVP flag on or off , specify ON or OFF
Rain will change the weather , 0=off 1=on
say will make the npc say the text specified
Set Skill works like that : SETSKILL skill_id_of_the_skill_you_want_to_change new_value_for_this_skill maximum is 252
Set All Skill will set all the skill to the value specified , maximum is 252 , more will not work
shout : look at say
snow : look at rain
spawn group will spawn a group_of_npc based on the id of the group you specified ( usually group only contain one npc)will spawn the NPC you specified , use the NPC id search engine to get the id
ALWAYS PUT A SPACE AT THE END OF EACH LINE OF THE SCRIPT
Many others quests goodies are going to be implemented
As soon as they will be included in the emulator releases
|
some examples of quests with triggers :
NPC_SCRIPT 2215 {
TRIGGER_TEXT:level me:{
FACE_TARGET
LEVEL 61
RAIN 1
}
}
this will make npc 2215 (dunno if it exists lol ) face the target , grant him level 61 and start the rain in the zone if the player says level me to him