Quote: "Also I would like to know what the website is for RPG Mod?"
I don't have the website any more. Nobody was really interested.
Dragon slayer, what version are you using now? Vanilla FPSC?
Fallen one, I don't know about the SWP machines. However RPGmod follows an FPI script format.
The following is an example. The setup commands should make it self explanatory. The numbers that are used for arrays need to be accurate. For example: rpg_quizmaxnumber=2. This tells the engine that there are a total of two quizzes. Of course, if you have any specific questions, I'll try to help. This setup goes into the "rpg_clues_setup.fpi" file.
;Number of quizzes
:rpg_create_quizmaxnumber:rpg_quizmaxnumber=2
;Start the quiz list - there are two
:rpg_start_quizlist:none
:rpg_addquiz:rpg_quizid=quiz1,rpg_quizname=quizname1,rpg_quizdescription=a massive description of quiz1,rpg_quiznumberquestions=3,rpg_quizshowgrade=1
:rpg_addquiz:rpg_quizid=quiz2,rpg_quizname=quizname2,rpg_quizdescription=a massive description of quiz2,rpg_quiznumberquestions=1,rpg_quizshowgrade=0
;
;Setup the quiz questions - there are three questions for quiz #1 and one question for quiz #2
:rpg_create_quizmaxquestions:rpg_quizmaxquestions=4
:rpg_addquizquestion:rpg_quizid=quiz1,rpg_quizquestionid=q1,rpg_quizquestion=question 1 of quiz 1,rpg_quiznumberanswerselections=2,rpg_quizcorrectanswer=1
:rpg_addquizquestion:rpg_quizid=quiz1,rpg_quizquestionid=q2,rpg_quizquestion=question 2 of quiz 1,rpg_quiznumberanswerselections=2,rpg_quizcorrectanswer=2
:rpg_addquizquestion:rpg_quizid=quiz1,rpg_quizquestionid=q3,rpg_quizquestion=question 3 of quiz 1,rpg_quiznumberanswerselections=3,rpg_quizcorrectanswer=1
:rpg_addquizquestion:rpg_quizid=quiz2,rpg_quizquestionid=quiz2q1,rpg_quizquestion=question 1 of quiz 2,rpg_quiznumberanswerselections=2,rpg_quizcorrectanswer=2
;
;Setup the answers to the questions.
:rpg_create_quizmaxanswerselections:rpg_quizmaxanswerseletions=9
:rpg_addquizanswerselection:rpg_quizquestionid=q1,rpg_quizanswerselection=first multiple answer to q1
:rpg_addquizanswerselection:rpg_quizquestionid=q1,rpg_quizanswerselection=second multiple answer to q1
:rpg_addquizanswerselection:rpg_quizquestionid=q2,rpg_quizanswerselection=True
:rpg_addquizanswerselection:rpg_quizquestionid=q2,rpg_quizanswerselection=False
:rpg_addquizanswerselection:rpg_quizquestionid=q3,rpg_quizanswerselection=first multiple answer to q3
:rpg_addquizanswerselection:rpg_quizquestionid=q3,rpg_quizanswerselection=second multiple answer to q3
:rpg_addquizanswerselection:rpg_quizquestionid=q3,rpg_quizanswerselection=third multiple answer to q3
;
:rpg_addquizanswerselection:rpg_quizquestionid=quiz2q1,rpg_quizanswerselection=first multiple answer to q2
:rpg_addquizanswerselection:rpg_quizquestionid=quiz2q1,rpg_quizanswerselection=second multiple answer to q2
:rpg_end_quizlist:none
The following shows a real life game setup. Thanks to elbow. However, I haven't asked him yet if I could use it so it might disappear shortly.
Sorry, if you didn't want me to post your example in of your levels.
It includes the text styles for the quiz and indicates the setup of showing the grades for the player.
;Setup da quiz style
:rpg_setup_quiztitletextstyle:rpg_quizfontname=Verdana,rpg_quizfontsize=32,rpg_quizfontbold=1,rpg_quizusergb=1,rpg_quizfontcolor_red=225,rpg_quizfontcolor_green=128,rpg_quizfontcolor_blue=128,rpg_drawborder=1,rpg_quizy=55
:rpg_setup_quizquestiontextstyle:rpg_quizfontname=Verdana,rpg_quizfontsize=22,rpg_quizfontbold=0,rpg_quizusergb=1,rpg_quizfontcolor_red=225,rpg_quizfontcolor_green=25,rpg_quizfontcolor_blue=12,rpg_drawborder=1,rpg_quizy=155
:rpg_setup_quizanswerstextstyle:rpg_quizfontname=Verdana,rpg_quizfontsize=22,rpg_quizfontbold=0,rpg_quizusergb=1,rpg_quizfontcolor_red=225,rpg_quizfontcolor_green=128,rpg_quizfontcolor_blue=128,rpg_drawborder=1,rpg_quizy=255,rpg_quizlinespacing=1.25
:rpg_setup_quizmouseprompttextstyle:rpg_quizfontname=Verdana,rpg_quizfontsize=24,rpg_quizfontbold=1,rpg_quizusergb=1,rpg_quizfontcolor_red=225,rpg_quizfontcolor_green=128,rpg_quizfontcolor_blue=128,rpg_drawborder=1,rpg_quizy=555
;quiz list
:rpg_create_quizmaxnumber:rpg_quizmaxnumber=3
:rpg_start_quizlist:none
;add quizzes
:rpg_addquiz:rpg_quizid=Act1Scene1,rpg_quizname=Act 1 Scene 1,rpg_quizdescription=The beginning,rpg_quiznumberquestions=3,rpg_quizpassgrade=100,rpg_quizshowgrade=1
:rpg_addquiz:rpg_quizid=Act1Scene2,rpg_quizname=Act 1 Scene 2,rpg_quizdescription=Spying on Ceasar and his friends.,rpg_quiznumberquestions=1,rpg_quizpassgrade=100,rpg_quizshowgrade=0
:rpg_addquiz:rpg_quizid=Act1Scene2a,rpg_quizname=Act 1 Scene 2,rpg_quizdescription=Spying on Ceasar and his friends.,rpg_quiznumberquestions=1,rpg_quizpassgrade=100,rpg_quizshowgrade=0
;add questions
:rpg_create_quizmaxquestions:rpg_quizmaxquestions=5
:rpg_addquizquestion:rpg_quizid=Act1Scene1,rpg_quizquestionid=A1S1Q1,rpg_quizquestion=Who is returning from battle?,rpg_quizcorrectanswer=Julius Caesar,rpg_quiznumberanswerselections=3,rpg_quizcorrectanswer=1
:rpg_addquizquestion:rpg_quizid=Act1Scene1,rpg_quizquestionid=A1S1Q2,rpg_quizquestion=Who was defeated in the battle?,rpg_quizcorrectanswer=Pompey,rpg_quiznumberanswerselections=3,rpg_quizcorrectanswer=2
:rpg_addquizquestion:rpg_quizid=Act1Scene1,rpg_quizquestionid=A1S1Q3,rpg_quizquestion=Where does the opening scene take place?,rpg_quizcorrectanswer=In the streets of Rome,rpg_quiznumberanswerselections=3,rpg_quizcorrectanswer=3
:rpg_addquizquestion:rpg_quizid=Act1Scene2,rpg_quizquestionid=A1S2Q1,rpg_quizquestion=What do the elders say about those who are barren?,rpg_quiznumberanswerselections=4,rpg_quizcorrectanswer=3
:rpg_addquizquestion:rpg_quizid=Act1Scene2a,rpg_quizquestionid=A1S2aQ1,rpg_quizquestion=Who saved Caesar from drowning?,rpg_quiznumberanswerselections=4,rpg_quizcorrectanswer=1
;add answers to questions
:rpg_create_quizmaxanswerselections:rpg_quizmaxanswerselections=17
:rpg_addquizanswerselection:rpg_quizquestionid=A1S1Q1,rpg_quizanswerselection=Julius Caesar
:rpg_addquizanswerselection:rpg_quizquestionid=A1S1Q1,rpg_quizanswerselection=Pompey
:rpg_addquizanswerselection:rpg_quizquestionid=A1S1Q1,rpg_quizanswerselection=Marullus
:rpg_addquizanswerselection:rpg_quizquestionid=A1S1Q2,rpg_quizanswerselection=King Herod
:rpg_addquizanswerselection:rpg_quizquestionid=A1S1Q2,rpg_quizanswerselection=Pompey
:rpg_addquizanswerselection:rpg_quizquestionid=A1S1Q2,rpg_quizanswerselection=Flavius
:rpg_addquizanswerselection:rpg_quizquestionid=A1S1Q3,rpg_quizanswerselection=In the streets of Pompey
:rpg_addquizanswerselection:rpg_quizquestionid=A1S1Q3,rpg_quizanswerselection=In the streets of Alexandria
:rpg_addquizanswerselection:rpg_quizquestionid=A1S1Q3,rpg_quizanswerselection=In the streets of Rome
:rpg_addquizanswerselection:rpg_quizquestionid=A1S2Q1,rpg_quizanswerselection=Once one is barren she will always be barren.
:rpg_addquizanswerselection:rpg_quizquestionid=A1S2Q1,rpg_quizanswerselection=A special potion in a special cup must be given to the one who is barren.
:rpg_addquizanswerselection:rpg_quizquestionid=A1S2Q1,rpg_quizanswerselection=If the barren is touched in a holy chase~ this will shake off the sterile curse.
:rpg_addquizanswerselection:rpg_quizquestionid=A1S2Q1,rpg_quizanswerselection=Both two and three.
:rpg_addquizanswerselection:rpg_quizquestionid=A1S2aQ1,rpg_quizanswerselection=Cassius.
:rpg_addquizanswerselection:rpg_quizquestionid=A1S2aQ1,rpg_quizanswerselection=Brutus.
:rpg_addquizanswerselection:rpg_quizquestionid=A1S2aQ1,rpg_quizanswerselection=Antony.
:rpg_addquizanswerselection:rpg_quizquestionid=A1S2aQ1,rpg_quizanswerselection=Nobody.
:rpg_end_quizlist:none
The past has a lot of memories to hold onto; but, today is chock full of new adventures, and, the future shouts out, "The best is yet to come!" -- TerryC