Virus11
06-07-2004, 09:39 AM
Guide Requirements:
- Computer
- 1+ Hands
- Brain
- Sleeping Pills
Hello all,this is my first try making this quest editor,so probally is not so good,but I think that it can help.There should be a lot of bugs,but if people likes it,I will update it,giving more features.
Download location: http://www.technoalchemy.com/eqemu/CQE.zip
extract it,put all files except cqe.xe into system32 folder.
u need to have vb runtimes,can be downloaded here
http://www.microsoft.com/downloads/details.aspx?FamilyID=7b9ba261-7a9c-43e7-9117-f673077ffb3c&DisplayLang=en
Enjoy!
The above quote should take care of all downloading steps. Now, the editor. When you load you will have alot of confusing things. First thing you have to do to start is think, "What do I want my NPC to do?" For right now, we want our NPC to say something, so we are going to hit in the box located on the screenshot below, EVENT_SAY.
Screenshot too big, click here to view (http://virus.cosmichub.com/images/tutorial1/01.jpg)
Now what we want to do is add functions, so we need our if statement, so underneath sub EVENT_SAY type if ($text=~/hail/i) {.
To get other if statements, look through the variables section.
Now you are ready to add your quest function. Look in the functions column to add one (top column). Now my quest looks like
sub EVENT_SAY
{
if ($text=~/hail/i) { quest::say("Hail, young warrior!");
but I can't stop here, if I would like to add more actions to this quest, I would just choose another function, but if I want to end this and go to another section, I would just add a }, so if thats it, it should look like sub EVENT_SAY
{
if ($text=~/hail/i) { quest::say("Hail, young warrior!");[
}
Now, if we wanted to have a battle take place, the code would be
sub EVENT_ATTACK
{
if ($ulevel == 1) { quest::say("Stupid n00bs, DIE!");
quest::attack("$name");
}See, I clicked EVENT_ATTACK under events, then I selected level for my if statement (variables section) and made the value 1, then I chose say and put it Stupid n00bs, DIE! and then I selected attack and set it to $name, which is the user that goes near it.
ALWAYS USE } AT THE END OF A QUEST AND AT THE END OF A COMMAND!!!!!!
If you are still unclear on how to use this Quest Editor, or any quests in general, feel free to contact me or post it in this thread.[/b][/url]
- Computer
- 1+ Hands
- Brain
- Sleeping Pills
Hello all,this is my first try making this quest editor,so probally is not so good,but I think that it can help.There should be a lot of bugs,but if people likes it,I will update it,giving more features.
Download location: http://www.technoalchemy.com/eqemu/CQE.zip
extract it,put all files except cqe.xe into system32 folder.
u need to have vb runtimes,can be downloaded here
http://www.microsoft.com/downloads/details.aspx?FamilyID=7b9ba261-7a9c-43e7-9117-f673077ffb3c&DisplayLang=en
Enjoy!
The above quote should take care of all downloading steps. Now, the editor. When you load you will have alot of confusing things. First thing you have to do to start is think, "What do I want my NPC to do?" For right now, we want our NPC to say something, so we are going to hit in the box located on the screenshot below, EVENT_SAY.
Screenshot too big, click here to view (http://virus.cosmichub.com/images/tutorial1/01.jpg)
Now what we want to do is add functions, so we need our if statement, so underneath sub EVENT_SAY type if ($text=~/hail/i) {.
To get other if statements, look through the variables section.
Now you are ready to add your quest function. Look in the functions column to add one (top column). Now my quest looks like
sub EVENT_SAY
{
if ($text=~/hail/i) { quest::say("Hail, young warrior!");
but I can't stop here, if I would like to add more actions to this quest, I would just choose another function, but if I want to end this and go to another section, I would just add a }, so if thats it, it should look like sub EVENT_SAY
{
if ($text=~/hail/i) { quest::say("Hail, young warrior!");[
}
Now, if we wanted to have a battle take place, the code would be
sub EVENT_ATTACK
{
if ($ulevel == 1) { quest::say("Stupid n00bs, DIE!");
quest::attack("$name");
}See, I clicked EVENT_ATTACK under events, then I selected level for my if statement (variables section) and made the value 1, then I chose say and put it Stupid n00bs, DIE! and then I selected attack and set it to $name, which is the user that goes near it.
ALWAYS USE } AT THE END OF A QUEST AND AT THE END OF A COMMAND!!!!!!
If you are still unclear on how to use this Quest Editor, or any quests in general, feel free to contact me or post it in this thread.[/b][/url]