Editing Mod:Add a quest

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 11: Line 11:
 
=== Check the list of quests ===
 
=== Check the list of quests ===
 
Before you create a quest, check [https://docs.google.com/spreadsheets/d/1nO8vhCp4vQLrxZZ5M2Avx3ReP6mHhJY-yzNZ--VCUI4/edit#gid=0 the full list of quests] to make sure it is there, otherwise add it. Note the quest number (''#''') for later.
 
Before you create a quest, check [https://docs.google.com/spreadsheets/d/1nO8vhCp4vQLrxZZ5M2Avx3ReP6mHhJY-yzNZ--VCUI4/edit#gid=0 the full list of quests] to make sure it is there, otherwise add it. Note the quest number (''#''') for later.
<br>[[file:Check.png|35x35px]]&nbsp;[https://docs.google.com/spreadsheets/d/1nO8vhCp4vQLrxZZ5M2Avx3ReP6mHhJY-yzNZ--VCUI4/edit#gid=0 Go to the page]
+
[[file:Check.svg|35x35px]]&nbsp;[https://docs.google.com/spreadsheets/d/1nO8vhCp4vQLrxZZ5M2Avx3ReP6mHhJY-yzNZ--VCUI4/edit#gid=0 Go to the page]
  
 
=== Name the quest ===
 
=== Name the quest ===
 
The quest name is added to the ''.txt'' files of the location where it is given to the player (folders ''Game/NousAurons/Locale/'' (French version) and ''Game/core/locale'' (English version). It is added as follows:<syntaxhighlight>
 
The quest name is added to the ''.txt'' files of the location where it is given to the player (folders ''Game/NousAurons/Locale/'' (French version) and ''Game/core/locale'' (English version). It is added as follows:<syntaxhighlight>
AJOUT_OBJ_Quete1 = {Find a pair of shoes for Simon<rgb:125,125,125>He said there might be some in Poston. Talk to Simon again and click "TRADE" to give him the pair of shoes.} //Variable Quete1_complete
+
ADD_OBJ_Quete1 = {Find a pair of shoes for Simon<rgb:125,125,125>He said there might be some in Poston. Talk to Simon again and click "TRADE" to give him the pair of shoes.} //Variable Quete1_complete
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 37: Line 37:
 
# Open the location file if it is not already open ([[#Open_the_location_file_.28.C3.A9Level_editor.29|see above]])
 
# Open the location file if it is not already open ([[#Open_the_location_file_.28.C3.A9Level_editor.29|see above]])
 
# Click on the {{False button|Level|color=black2}} tab.
 
# Click on the {{False button|Level|color=black2}} tab.
# Click on the {{False button|Triggers...|color=gray|border=black}} tab at the bottom left.
+
# Click on the {{False Button|Triggers...|color=gray|border=black}} tab at the bottom left.
  
 
=== Start the quest ===
 
=== Start the quest ===
Line 45: Line 45:
 
# Click on {{False button|New...|color=gray|border=black}} at the top right of the "Triggers" page.
 
# Click on {{False button|New...|color=gray|border=black}} at the top right of the "Triggers" page.
 
# Add a short description to the script (example: ''QUEST 1 - Pers1)''.
 
# Add a short description to the script (example: ''QUEST 1 - Pers1)''.
# Click on {{False button|New...|color=gray|bord=black}} again.
+
# Click on {{False Button|New...|color=gray|bord=black}} again.
# Click on the {{False button|Always|color=black2}} tab and select {{False button|Speech Occured|color=black2}}, then under {{False button|Speech Event was|color=gray}} select the portion of the dialog that will trigger the quest.
+
# Click on the {{False Button|Always|color=black2}} tab and select {{False Button|Speech Occured|color=black2}}, then under {{False Button|Speech Event was|color=gray}} select the portion of the dialog that will trigger the quest.
# Click on the {{False button|&nbsp;Actions|color=black2}} tab. It will change to {{False button|✔&nbsp;Actions|color=black2}}.
+
# Click on the {{False Button|&nbsp;Actions|color=black2}} tab. It will change to {{False Button|✔&nbsp;Actions|color=black2}}.
# Click on {{False button|New...|color=gray|border=black}}.
+
# Click on {{False Button|New...|color=gray|border=black}}.
# Click on the {{False button|Center View|color=black2}} tab and select {{False button|Add Objective|color=black2}}.
+
# Click on the {{False Button|Center View|color=black2}} tab and select {{False Button|Add Objective|color=black2}}.
# Click on the tab under {{False button|Add Objective|color=gray}} and select the code name of your quest. Check the {{False button|with popup box|color=gray}} box.
+
# Click on the tab under {{Fake Button|Add Objective|color=gray}} and select the code name of your quest. Check the {{Fake Button|with popup box|color=gray}} box.
# Click on {{False button|New...|color=gray|border=black}} again.
+
# Click on {{False Button|New...|color=gray|border=black}} again.
# Click on the {{False button|Center View|color=black2}} tab and select {{False button|Set Variable|color=black2}}.
+
# Click on the {{False Button|Center View|color=black2}} tab and select {{False Button|Set Variable|color=black2}}.
# Check the box under {{False button|Campaign|color=gray}}.
+
# Check the box under {{Faux Button|Campaign|color=gray}}.
# Under {{False button|Variable|color=gray}}, type "Quete*_complete", where * is your quest number.
+
# Under {{False Button|Variable|color=gray}}, type "Quete*_complete", where * is your quest number.
 
# Under {{False button|Value|color=gray}}, type "no", a value that indicates that the quest has been given. Possible values for the variable are:
 
# Under {{False button|Value|color=gray}}, type "no", a value that indicates that the quest has been given. Possible values for the variable are:
 
* '''pas:''' The quest has not been given yet.
 
* '''pas:''' The quest has not been given yet.
Line 67: Line 67:
 
# Click on {{False button|New...|color=gray|border=black}} at the top right of the "Triggers" page.  
 
# Click on {{False button|New...|color=gray|border=black}} at the top right of the "Triggers" page.  
 
# Add a short description to the script (example: ''QUEST 1 - Pers1 (step1 completed)'').
 
# Add a short description to the script (example: ''QUEST 1 - Pers1 (step1 completed)'').
# Click on {{False button|New...|color=gray|border=black}} again.
+
# Click on {{False Button|New...|color=gray|border=black}} again.
 
# Add a series of [[Mod:Scripts#Conditions|conditions]] of your choice.
 
# Add a series of [[Mod:Scripts#Conditions|conditions]] of your choice.
# Click on the tab {{False button|&nbsp;&nbsp;Actions|color=black2}}. It will change to {{False button|✔&nbsp;Actions|color=black2}}.
+
# Click on the tab {{False Button|&nbsp;&nbsp;Actions|color=black2}}. It will change to {{False button|✔&nbsp;Actions|color=black2}}.
# Click on {{False button|New...|color=gray|border=black}}.
+
# Click on {{False Button|New...|color=gray|border=black}}.
# Click on the {{False button|Center View|color=black2}} tab and select {{False button|Set Variable|color=black2}}.
+
# Click on the {{False Button|Center View|color=black2}} tab and select {{False Button|Set Variable|color=black2}}.
# Check the box under {{False button|Campaign|color=gray}}.
+
# Check the box under {{Faux Button|Campaign|color=gray}}.
# Under {{False button|Variable|color=gray}}, type "Quete*_complete", where * is your quest number.
+
# Under {{False Button|Variable|color=gray}}, type "Quete*_complete", where * is your quest number.
# Under {{False button|Value|color=gray}}, type "etape1", a value that indicates that a step in the quest has been completed. Click on {{False button|Ok|color=gray|bord=black}}.
+
# Under {{False Button|Value|color=gray}}, type "etape1", a value that indicates that a step in the quest has been completed. Click on {{False Button|Ok|color=gray|bord=black}}.
# Click {{False button|New...|color=gray|edge=black}} again.
+
# Click {{False Button|New...|color=gray|edge=black}} again.
# Click on the {{False button|Center View|color=black2}} tab and select {{False button|Display World Text|color=black2}}. Select the code name of the text to display in the list, as written in the files ''.txt'' of the place (example: ''ADD_OBJ_Quete1_etape1_complete'').
+
# Click on the {{False Button|Center View|color=black2}} tab and select {{False Button|Display World Text|color=black2}}. Select the code name of the text to display in the list, as written in the files ''.txt'' of the place (example: ''ADD_OBJ_Quete1_etape1_complete'').
  
 
=== Complete quest (variable set to "oui") ===
 
=== Complete quest (variable set to "oui") ===
Line 83: Line 83:
 
# Click on {{False button|New...|color=gray|bord=black}} at the top right of the "Triggers" page.  
 
# Click on {{False button|New...|color=gray|bord=black}} at the top right of the "Triggers" page.  
 
# Add a short description to the script (example: ''QUEST 1 - Pers1 (completed)'').
 
# Add a short description to the script (example: ''QUEST 1 - Pers1 (completed)'').
# Click on {{False button|New...|color=gray|border=black}} again.
+
# Click on {{False Button|New...|color=gray|border=black}} again.
# Click on the {{False button|Always|color=black2}} tab and select {{False button|Variable|color=black2}}, Check the box under {{False button|Campaign|color=gray}}, under {{False button|Variable|color=gray}}, type the name of your variable (example: Quete1_complete) and then under {{False button|is Value|color=gray}}, type "yes".
+
# Click on the {{False Button|Always|color=black2}} tab and select {{False Button|Variable|color=black2}}, Check the box under {{False Button|Campaign|color=gray}}, under {{False Button|Variable|color=gray}}, type the name of your variable (example: Quete1_complete) and then under {{False button|is Value|color=gray}}, type "yes".
 
# Click on the tab {{False button|&nbsp;&nbsp;Actions|color=black2}}. It will change to {{False button|✔&nbsp;Actions|color=black2}}.
 
# Click on the tab {{False button|&nbsp;&nbsp;Actions|color=black2}}. It will change to {{False button|✔&nbsp;Actions|color=black2}}.
# Click on {{False button|New...|color=gray|border=black}}.
+
# Click on {{False Button|New...|color=gray|border=black}}.
# Click on the {{False button|Center View|color=black2}} tab and select {{False button|Complete Objective|color=black2}}. Select the code name of your quest from the list.
+
# Click on the {{False Button|Center View|color=black2}} tab and select {{False Button|Complete Objective|color=black2}}. Select the code name of your quest from the list.
# Click on {{False button|New...|color=gray|bord=black}}.
+
# Click on {{False Button|New...|color=gray|bord=black}}.
# Click on the {{False button|Center View|color=black2}} tab, select {{False button|Add Experience to Player|color=black2}}, click on {{False button|Change|color=gray|edge=black}} and above {{False button|Scenery|color=gray3}}, type ''1'' (the player's player number). Press {{False button|Ok|color=gray|border=black}}
+
# Click on the {{False Button|Center View|color=black2}} tab, select {{False Button|Add Experience to Player|color=black2}}, click on {{False Button|Change|color=gray|edge=black}} and above {{False Button|Scenery|color=gray3}}, type ''1'' (the player's player number). Press {{False Button|Ok|color=gray|border=black}}
 
# Under {{False button|XP amount|color=gray3}}, type an amount of [[Autonomy Points]], between 1,000 and 10,000.
 
# Under {{False button|XP amount|color=gray3}}, type an amount of [[Autonomy Points]], between 1,000 and 10,000.
  
Line 97: Line 97:
 
# Click on {{False button|New...|color=gray|border=black}} at the top right of the "Triggers" page.  
 
# Click on {{False button|New...|color=gray|border=black}} at the top right of the "Triggers" page.  
 
# Add a short description to the script (example: ''QUEST 1 - Pers1 (completed)'').
 
# Add a short description to the script (example: ''QUEST 1 - Pers1 (completed)'').
# Click on {{False button|New...|color=gray|bord=black}} again.
+
# Click on {{False Button|New...|color=gray|bord=black}} again.
# Click on the {{False button|Always|color=black2}} tab and select {{False button|Quantity - Unit|color=black2}}, under {{False button|Unit|color=gray}}, type the code name of the character who gave the quest (example: Pers1) and then, under {{False button|has|color=gray}} click {{False button|change|color=gray|border=black}}. Click on {{False button|More than|color=black2}} and change {{False button|1|color=black2}} to "0". Under {{False button|type|color=gray}} choose {{False button|change|color=gray|border=black}}. Click on {{False button|ItemsTagged|color=black2}} and type, above {{False button|list...|color=gray|edge=black}} the code name of the item you want to find (e.g.: Shoes). If you don't know how to assign a code name to an item, [[Mod:Create_an_item#Assign_a_code_name|follow the steps here]].
+
# Click on the {{False button|Always|color=black2}} tab and select {{False button|Quantity - Unit|color=black2}}, under {{False button|Unit|color=gray}}, type the code name of the character who gave the quest (example: Pers1) and then, under {{False Button|has|color=gray}} click {{False Button|change|color=gray|border=black}}. Click on {{Faux Button|More than|color=black2}} and change {{Faux Button|1|color=black2}} to "0". Under {{Faux Button|type|color=gray}} choose {{Faux Button|change|color=gray|border=black}}. Click on {{False button|ItemsTagged|color=black2}} and type, above {{False button|list...|color=gray|edge=black}} the code name of the item you want to find (e.g.: Shoes). If you don't know how to assign a code name to an item, [[Mod:Create_an_item#Assign_a_code_name|follow the steps here]].
# Click on the {{False button|&nbsp;&nbsp;Actions|color=black2}} tab. It will change to {{False button|✔&nbsp;Actions|color=black2}}.
+
# Click on the {{False button|&nbsp;&nbsp;Actions|color=black2}} tab. It will change to {{Fake button|✔&nbsp;Actions|color=black2}}.
# Click on {{False button|New...|color=gray|border=black}}.
+
# Click on {{False Button|New...|color=gray|border=black}}.
# Click on the {{False button|Center View|color=black2}} tab and select {{False button|Set Variable|color=black2}}.
+
# Click on the {{False Button|Center View|color=black2}} tab and select {{False Button|Set Variable|color=black2}}.
# Check the box under {{False button|Campaign|color=gray}}.
+
# Check the box under {{Faux Button|Campaign|color=gray}}.
# Under {{False button|Variable|color=gray}}, type "Quete*_complete", where * is your quest number.
+
# Under {{False Button|Variable|color=gray}}, type "Quete*_complete", where * is your quest number.
# Under {{False button|Value|color=gray}}, type "yes", a value that indicates the quest has been completed.
+
# Under {{False Button|Value|color=gray}}, type "yes", a value that indicates the quest has been completed.
# Click on {{False button|New...|color=gray|bord=black}} again.
+
# Click on {{False Button|New...|color=gray|bord=black}} again.
# Click on the {{False button|Center View|color=black2}} tab and select {{False button|Complete Objective|color=black2}}. Select the code name of your quest from the list.
+
# Click on the {{False Button|Center View|color=black2}} tab and select {{False Button|Complete Objective|color=black2}}. Select the code name of your quest from the list.
# Click {{False button|New...|color=gray|bord=black}} one last time.
+
# Click {{False Button|New...|color=gray|bord=black}} one last time.
# Click on the {{False button|Center View|color=black2}} tab, select {{False button|Add Experience to Player|color=black2}}, click on {{False button|Change|color=gray|edge=black}} and above {{False button|Scenery|color=gray}}, type ''1'' (the player's ''player'' number). Press {{False button|Ok|color=gray|border=black}}
+
# Click on the {{False Button|Center View|color=black2}} tab, select {{False Button|Add Experience to Player|color=black2}}, click on {{False Button|Change|color=gray|edge=black}} and above {{False Button|Scenery|color=gray}}, type ''1'' (the player's ''player'' number). Press {{False Button|Ok|color=gray|border=black}}
 
# Under {{False button|XP amount|color=gray}}, type in an amount of [[Autonomy Points]], usually between 1000 and 3000.
 
# Under {{False button|XP amount|color=gray}}, type in an amount of [[Autonomy Points]], usually between 1000 and 3000.

Please note that all contributions to Wikipedia 2197 are considered to be released under the CC BY-NC 3.0 (see Wikipedia 2197:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: