QuizMenuTool Tutorial: Difference between revisions
Happylappy (talk | contribs) m Changed TitIes |
Happylappy (talk | contribs) I thiiiink I removed the unfinished part? |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
This guide explains how to use QuizMenuTool to create a custom Personality Quiz. The bulk of this guide will explain the use of the google sheets portion of the tool. A rudimentary understanding of SkyTemple scripting is helpful for this task, but not strictly required. These topics will be covered at the end for the sake of completion, but only to the extent that they are needed for QuizMenuTool. | |||
== About QuizMenuTool == | == About QuizMenuTool == | ||
| Line 179: | Line 179: | ||
| colspan="8" |35 | | colspan="8" |35 | ||
|- | |- | ||
!Answer Text | ! rowspan="2" |Answer Text | ||
! colspan="2" |Pool 1 | ! colspan="2" |Pool 1 | ||
! colspan="2" |Pool | ! colspan="2" |Pool 2 | ||
! colspan="2" |Pool | ! colspan="2" |Pool 3 | ||
! colspan="2" |Pool | ! colspan="2" |Pool 4 | ||
|- | |||
!ID | |||
!Points | |||
!ID | |||
!Points | |||
!ID | |||
!Points | |||
!ID | |||
!Points | |||
|- | |- | ||
|Being busy. | |Being busy. | ||
| Line 458: | Line 467: | ||
[[File:QMT coro EVENT M00A 01.png|center|thumb|600x600px|Modified Unionall Coroutine, should look roughly like this after pasting.]] | [[File:QMT coro EVENT M00A 01.png|center|thumb|600x600px|Modified Unionall Coroutine, should look roughly like this after pasting.]] | ||
With that, save unionall, and the quiz is ready for testing! | With that, save unionall, and the quiz is ready for testing! | ||
== Troubleshooting == | |||
if you run into any of these issues, or the fix doesn't work, reach out to happylappy for questions in the SkyTemple discord! | |||
=== The Game Crashed before the first script loaded! === | |||
Do your script names and locations match between unionall (or the sheet if it's making the unionall coro), and your script file names? If not, that would cause a crash. | |||
=== The Game Crashed When a SP tried to run! === | |||
Have you used the correct SP IDs and regions? Might be worth importing them again, just in case. | |||
=== The Game Crashed/Glitched out between scripts! === | |||
That is... concerning. See, script files are capable of overwriting other things in RAM if they're too big (which is why QMT usually splits into 4 separate scripts). Quizzes with an obscene number of questions or starters may still overwrite something important in RAM anyway, which would need to be handled on a case-by-case basis. | |||
=== One of my scripts won't save! === | |||
That's concerning, but could be the result of leaving a question or starter unfinished? Depends heavily on the error message. | |||
== Other Resources == | == Other Resources == | ||
=== QMT Script Variable Map === | === QMT Script Variable Map === | ||
Below is a table of every script variable used by QuizMenuTool, and what their use-case is for each script. Any variable absent from the table is unused by QMT directly. Variable usage can perhaps be optimized somewhat, but this map functions properly. | |||
{| class="wikitable" | |||
!Script Variable Name | |||
!Index | |||
!Script #1 | |||
!Script #2 | |||
!Script #3 | |||
!Script #4 | |||
|- | |||
|$SCENARIO_SUB1 | |||
|0 | |||
|Backup of Pre-Quiz $PLAYER_KIND | |||
| colspan="3" rowspan="1" |Winning # of Points Backup | |||
|- | |||
|$SCENARIO_SUB2 | |||
|0 | |||
|Backup of 0th index of Pre-Quiz $PLAYER_KIND_BACKUP | |||
| colspan="3" rowspan="1" |Winning Pool ID Backup | |||
|- | |||
|$SCENARIO_SUB3 | |||
|0 | |||
|Backup of Pre-Quiz $ATTENDANT1_KIND | |||
| - | |||
|# of times hero gen. failed | |||
| - | |||
|- | |||
|$SCENARIO_SUB4 | |||
|0 | |||
|Backup of 0th index of Pre-Quiz $ATTENDANT1_KIND_BACKUP | |||
| - | |||
| - | |||
| - | |||
|- | |||
|$BIT_FUWARANTE_LOCAL | |||
|All | |||
| colspan="4" rowspan="1" |FUWARANTE blacklist flags | |||
|- | |||
|$LOCAL0 | |||
| - | |||
|Max # of points. | |||
| colspan="3" rowspan="1" |Winning # of Points / (Aura Bow Color Backup) | |||
|- | |||
|$LOCAL1 | |||
| - | |||
|# Questions Asked / Winning Pool ID | |||
| colspan="3" rowspan="1" |Winning Pool ID | |||
|- | |||
|$SCENARIO_TALK_BIT_FLAG | |||
|Varies | |||
| colspan="4" rowspan="1" |Question Has Been Asked? | |||
|- | |||
|$SCENARIO_MAIN | |||
|0 | |||
| colspan="4" rowspan="1" |# of tied pools (-1 if not checking ties) | |||
|- | |||
|$SCENARIO_SIDE | |||
|0 | |||
| colspan="4" rowspan="1" |# of pts to add to tied pool | |||
|- | |||
|$RECYCLE_COUNT | |||
| - | |||
| colspan="4" rowspan="1" |Post-Tie Max # of Pts. | |||
|- | |||
|$CONFIG_COLOR_KIND | |||
| - | |||
| - | |||
| colspan="3" rowspan="1" |Aura Bow Color | |||
|- | |||
|$HERO_TALK_KIND | |||
| - | |||
| - | |||
| - | |||
| colspan="2" rowspan="1" |Hero Talk Group | |||
|- | |||
|$PARTNER_TALK_KIND | |||
| - | |||
| - | |||
| - | |||
| - | |||
|Partner Talk Group | |||
|- | |||
|$VERSION | |||
| - | |||
| colspan="3" rowspan="1" |Pool 0 Pts. | |||
|Reset to 1 | |||
|- | |||
|$CRYSTAL_COLOR_01 | |||
| - | |||
| colspan="3" rowspan="1" |Pool 1 Pts. | |||
|Reset to 0 | |||
|- | |||
|$CRYSTAL_COLOR_02 | |||
| - | |||
| colspan="3" rowspan="1" |Pool 2 Pts. | |||
|Reset to 0 | |||
|- | |||
|$CRYSTAL_COLOR_03 | |||
| - | |||
| colspan="3" rowspan="1" |Pool 3 Pts. | |||
|Reset to 0 | |||
|- | |||
|$COMPULSORY_SAVE_POINT | |||
| - | |||
| colspan="3" rowspan="1" |Pool 4 Pts. | |||
|Reset to 0 | |||
|- | |||
|$COMPULSORY_SAVE_POINT_SIDE | |||
| - | |||
| colspan="3" rowspan="1" |Pool 5 Pts. | |||
|Reset to 0 | |||
|- | |||
|$SCENARIO_SELECT_BACKUP | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 6 Pts. | |||
|Reset to 0 | |||
|- | |||
|$GROUND_ENTER | |||
| - | |||
| colspan="3" rowspan="1" |Pool 7 Pts. | |||
|Reset to 0 | |||
|- | |||
|$GROUND_ENTER_LINK | |||
| - | |||
| colspan="3" rowspan="1" |Pool 8 Pts. | |||
|Reset to 0 | |||
|- | |||
|$GROUND_GETOUT | |||
| - | |||
| colspan="3" rowspan="1" |Pool 9 Pts. | |||
|Reset to 0 | |||
|- | |||
|$GROUND_MAP | |||
| - | |||
| colspan="3" rowspan="1" |Pool 10 Pts. | |||
|Reset to 0 | |||
|- | |||
|$GROUND_PLACE | |||
| - | |||
| colspan="3" rowspan="1" |Pool 11 Pts. | |||
|Reset to 0 | |||
|- | |||
|$GROUND_ENTER_BACKUP | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 12 Pts. | |||
|Reset to 0 | |||
|- | |||
|$GROUND_ENTER_LINK_BACKUP | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 13 Pts. | |||
|Reset to 0 | |||
|- | |||
|$GROUND_GETOUT_BACKUP | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 14 Pts. | |||
|Reset to 0 | |||
|- | |||
|$GROUND_MAP_BACKUP | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 15 Pts. | |||
|Reset to 0 | |||
|- | |||
|$GROUND_PLACE_BACKUP | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 16 Pts. | |||
|Reset to 0 | |||
|- | |||
|$DUNGEON_SELECT | |||
| - | |||
| colspan="3" rowspan="1" |Pool 17 Pts. | |||
|Reset to 0 | |||
|- | |||
|$DUNGEON_ENTER | |||
| - | |||
| colspan="3" rowspan="1" |Pool 18 Pts. | |||
|Reset to 0 | |||
|- | |||
|$DUNGEON_ENTER_MODE | |||
| - | |||
| colspan="3" rowspan="1" |Pool 19 Pts. | |||
|Reset to 0 | |||
|- | |||
|$DUNGEON_ENTER_INDEX | |||
| - | |||
| colspan="3" rowspan="1" |Pool 20 Pts. | |||
|Reset to 0 | |||
|- | |||
|$DUNGEON_RESULT | |||
| - | |||
| colspan="3" rowspan="1" |Pool 21 Pts. | |||
|Reset to 0 | |||
|- | |||
|$GROUND_START_MODE | |||
| - | |||
| colspan="3" rowspan="1" |Pool 22 Pts. | |||
|Reset to 0 | |||
|- | |||
|$DUNGEON_ENTER_BACKUP | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 23 Pts. | |||
|Reset to 0 | |||
|- | |||
|$DUNGEON_ENTER_MODE_BACKUP | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 24 Pts. | |||
|Reset to 0 | |||
|- | |||
|$DUNGEON_ENTER_INDEX_BACKUP | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 25 Pts. | |||
|Reset to 0 | |||
|- | |||
|$DUNGEON_RESULT_BACKUP | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 26 Pts. | |||
|Reset to 0 | |||
|- | |||
|$GROUND_START_MODE_BACKUP | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 27 Pts. | |||
|Reset to 0 | |||
|- | |||
|$REQUEST_CLEAR_COUNT | |||
| - | |||
| colspan="3" rowspan="1" |Pool 28 Pts. | |||
|Reset to 0 | |||
|- | |||
|$PLAYER_KIND | |||
| - | |||
|Pool 29 Pts. | |||
| colspan="3" rowspan="1" |Reset to Pre-Quiz | |||
|- | |||
|$ATTENDANT1_KIND | |||
| - | |||
|Pool 30 Pts. | |||
| colspan="3" rowspan="1" |Reset to Pre-Quiz | |||
|- | |||
|$ATTENDANT2_KIND | |||
| - | |||
| colspan="3" rowspan="1" |Pool 31 Pts. | |||
|Reset to 0 | |||
|- | |||
|$PLAYER_KIND_BACKUP | |||
|0 | |||
|Pool 32 Pts. | |||
| colspan="3" rowspan="1" |Reset to Pre-Quiz | |||
|- | |||
|$ATTENDANT1_KIND_BACKUP | |||
|0 | |||
|Pool 33 Pts. | |||
| colspan="3" rowspan="1" |Reset to Pre-Quiz | |||
|- | |||
|$ATTENDANT2_KIND_BACKUP | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 34 Pts. | |||
|Reset to 0 | |||
|- | |||
|$HERO_FIRST_KIND | |||
| - | |||
| colspan="3" rowspan="1" |Pool 35 Pts. | |||
|Reset to 0 | |||
|- | |||
|$PARTNER_FIRST_KIND | |||
| - | |||
| colspan="3" rowspan="1" |Pool 36 Pts. | |||
|Reset to 0 | |||
|- | |||
|$RANDOM_REQUEST_NPC03_KIND | |||
| - | |||
| colspan="3" rowspan="1" |Pool 37 Pts. | |||
|Reset to 0 | |||
|- | |||
|$WORLD_MAP_LEVEL | |||
| - | |||
| colspan="3" rowspan="1" |Pool 38 Pts. | |||
|Reset to 0 | |||
|- | |||
|$EVENT_LOCAL | |||
| - | |||
| colspan="3" rowspan="1" |Pool 39 Pts. | |||
|Reset to 0 | |||
|- | |||
|$DUNGEON_EVENT_LOCAL | |||
| - | |||
| colspan="3" rowspan="1" |Pool 40 Pts. | |||
|Reset to 0 | |||
|- | |||
|$LOTTERY_RESULT | |||
| - | |||
| colspan="3" rowspan="1" |Pool 41 Pts. | |||
|Reset to 0 | |||
|- | |||
|$ITEM_BACKUP | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 42 Pts. | |||
|Reset to 0 | |||
|- | |||
|$ITEM_BACKUP_KUREKURE | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 43 Pts. | |||
|Reset to 0 | |||
|- | |||
|$ITEM_BACKUP_TAKE | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 44 Pts. | |||
|Reset to 0 | |||
|- | |||
|$ITEM_BACKUP_GET | |||
|0 | |||
| colspan="3" rowspan="1" |Pool 45 Pts. | |||
|Reset to 0 | |||
|- | |||
|$REQUEST_THANKS_RESULT_KIND | |||
| - | |||
| colspan="3" rowspan="1" |Pool 46 Pts. | |||
|Reset to 0 | |||
|- | |||
|$REQUEST_THANKS_RESULT_VARIATION | |||
| - | |||
| colspan="3" rowspan="1" |Pool 47 Pts. | |||
|Reset to 0 | |||
|- | |||
|$SUB30_SPOT_LEVEL | |||
| - | |||
| colspan="3" rowspan="1" |Pool 48 Pts. | |||
|Reset to 0 | |||
|- | |||
|$TEAM_RANK_EVENT_LEVEL | |||
| - | |||
| colspan="3" rowspan="1" |Pool 49 Pts. | |||
|Reset to 0 | |||
|- | |||
|$PLAY_OLD_GAME | |||
| - | |||
| colspan="3" rowspan="1" |Pool 50 Pts. | |||
|Reset to 0 | |||
|} | |||