[Add-On]Quiz Race Event! (Custom)
First post! :D
NOTICE: YOU CAN'T COPY PASTE THIS STUFF HOPING IT WILL WORK.
I don't know if there's others? I made this myself. Hope you like it. I came up with this when me and my friend were talking about how the events were kind of too regular. So, I thought of this idea because hardly any servers have it! I just wanted to share it with you guys today.
I'll give you a tutorial on how to make this. This may take a lot of steps to finish but, its a great event for everyone to enjoy!
Here's a sneak peek to my release.
Quiz Race
First of all, Is the NPC scripts!
The Race Starter!
Code:
// By: Bryant of LightningMS
function start() {
cm.sendYesNo("Ready to go? If you get the question wrong, you will be warped back to the beginning!");
}
function action(mode, type, selection) {
if(mode > 0) {
cm.sendOk("Good Luck!");
cm.warp(xxxxxxxxx, 0); // insert your maps!
} else if (mode == 0)
cm.sendOk("All right, come back later");
cm.dispose();
}
The 2 Types of Questions
Code:
// By: Bryant of LightningMS
// Question Type 1. Type in the Question.
var status = 0;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (mode == 0 && status == 0) {
cm.sendOk("Okay.");
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendGetText("#eQuestion 1: (Question) \r\n#d(What's the answer hmm?).#k");
}
else if (status == 1) {
if (cm.getText().equals("Answer") || cm.getText().equals("answer")) { // This is where you put the answers. The questions are case-sensative
cm.warp(xxxxxxxxx, 0); //Insert Your Maps!
cm.dispose();
}
else {
cm.sendOk("WRONG");
cm.warp(xxxxxxxxx, 0);// Insert your maps!
cm.dispose();
}
}
}
}
Code:
// By: Bryant of LightningMS
// Question Type 2: Yes / No
function start() {
cm.sendYesNo("#eQuestion #: Is this the last question?");
}
function action(mode, type, selection) {
if(mode > 0) {
cm.warp(xxxxxxxxxx, 0);// Insert your maps!
cm.dispose();
} else if (mode == 0)
cm.warp(xxxxxxxxxx, 0);// Insert your maps!
cm.dispose();
}
Now, It's pretty simple actually. You have to make PlayerNPCs or use "un-used" NPCs
If you don't know what an PlayerNPC is then go look it up!
Here's a tutorial I made on how to make the playernpc if you already have it in your repack!
PlayerNPC
Now, you have to find maps around the server that you can use for your race, because from the video you saw above, it jumps around!
I recommend using the maps i used, but it's alright to use any other map. Some maps may glitch when warped to after a question so be careful!
How to use the Questions:
Well, It's simple also! In Question Type 1 you have to place a question. In the place where it says (Question)
Code:
cm.sendGetText("#eQuestion 1: (Question) \r\n#d(What's the answer hmm?).#k");
then put your answers in here:
Code:
if (cm.getText().equals("Answer") || cm.getText().equals("answer")) {
For Question Type 2: It's a simple Yes or No Question!
Place a Yes or No Question in here:
Code:
cm.sendYesNo("#eQuestion #: (Question) ");
If you want them to answer yes:
Code:
if(mode > 0) {
cm.warp(THEN NEXT MAP HERE!, 0);// Insert your maps!
cm.dispose();
} else if (mode == 0)
cm.warp(xxxxxxxxxx, 0);// Insert your maps!
cm.dispose();
If you want them to answer no:
Code:
if(mode > 0) {
cm.warp(xxxxxxxxxx, 0);// Insert your maps!
cm.dispose();
} else if (mode == 0)
cm.warp(THEN PUT NEXT MAP HERE!, 0);// Insert your maps!
cm.dispose();
Then put the script inside the correct npc!
You may want to change the questions every 2-3 times you play. People may remember every question and go fast! :]
I hope you like this event if you ever bother to use it! :D
re: [Add-On]Quiz Race Event! (Custom)
it's a Quiz and if you win you get to a train ground...
i don't get the point of it.
but its a nice idea
re: [Add-On]Quiz Race Event! (Custom)
I think it would be better if there were more questions that it asked randomly. Otherwise people just remember the pattern and get there easily. Other then that though it's a nice idea.
re: [Add-On]Quiz Race Event! (Custom)
No need to flame. Nice first post.
re: [Add-On]Quiz Race Event! (Custom)
Quote:
Originally Posted by
iCris
I think it would be better if there were more questions that it asked randomly. Otherwise people just remember the pattern and get there easily. Other then that though it's a nice idea.
That's why you change the questions everytime you do it. (only if your patient enough)
Quote:
Originally Posted by
Rampenbram
it's a Quiz and if you win you get to a train ground...
i don't get the point of it.
but its a nice idea
Well. It is a training ground. It's also the place where I give out rewards to the winners. xD
re: [Add-On]Quiz Race Event! (Custom)
I think it's very creative, it just needs some more random questions like iCris already mentioned.
re: [Add-On]Quiz Race Event! (Custom)
This is actually a really good idea. I agree with you that the events are always the same. This is a good release, thanks!
re: [Add-On]Quiz Race Event! (Custom)
Nice idea and release +1
+1 more for "Just a Dream" instrumental :drool:
re: [Add-On]Quiz Race Event! (Custom)
Nice release, but maybe you can make it change the questions randomly, because if the people get it wrong. They will remember the answers and go fast. (thats my idea) Good job ;)
re: [Add-On]Quiz Race Event! (Custom)
Quote:
Originally Posted by
Remixes
Nice release, but maybe you can make it change the questions randomly, because if the people get it wrong. They will remember the answers and go fast. (thats my idea) Good job ;)
Thanks! :D
I said it up there somewhere but, you can change the questions everytime you play, or maybe every 2-3 times you do it.
Some people may never have done it in the server.
but, if you were doing rounds of the race. That's a different story. XD
Re: [Add-On]Quiz Race Event! (Custom)
Quote:
Originally Posted by
BryantFTW
Thanks! :D
I said it up there somewhere but, you can change the questions everytime you play, or maybe every 2-3 times you do it.
Some people may never have done it in the server.
but, if you were doing rounds of the race. That's a different story. XD
actually, I did make this kind of PQ. But i didn't release it...
Re: [Add-On]Quiz Race Event! (Custom)
Quote:
Originally Posted by
Remixes
actually, I did make this kind of PQ. But i didn't release it...
Meh. I gotcha. :D
Re: [Add-On]Quiz Race Event! (Custom)
Hey BryantFTW, can i use ur video on how to use the PlayerNPC? I made a tutorial on how to use PlayerNPC a few days ago, wondered if i can add ur video.
Re: [Add-On]Quiz Race Event! (Custom)
Haha Nice release to all the flamers you make something up of your own idea and then we can flame you even if it's good :) to BryantFTW Nice job. need more people like you
---------- Post added at 02:34 PM ---------- Previous post was at 02:33 PM ----------
2nd like to this release :)
Re: [Add-On]Quiz Race Event! (Custom)
Quote:
Originally Posted by
xDillon
Haha Nice release to all the flamers you make something up of your own idea and then we can flame you even if it's good :) to BryantFTW Nice job. need more people like you
---------- Post added at 02:34 PM ---------- Previous post was at 02:33 PM ----------
2nd like to this release :)
Thanks man :]
Quote:
Originally Posted by
Remixes
Hey BryantFTW, can i use ur video on how to use the PlayerNPC? I made a tutorial on how to use PlayerNPC a few days ago, wondered if i can add ur video.
I don't mind at all. Go ahead!