Click by Click Quest Tutorial

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
WARNING: This is an Extensive, In-depth tutorial detailing every selection and entry. It is a long and tedious process.

Using this template, you will be able to create quests in which the player must find an item for an NPC, and return it to them for a reward.If this tutorial is followed Literally Click-by-Click, it will create a Fully Functional Quest with all facets of game play having been covered.Feel free to change the NPC, the item to be retrieved, and/or the Reward for returning the item to whatever your heart desires.

The Item[edit | edit source]

In the Object Window. (The Object Window is the list of items on the left side of the editor) Expand the WEAPON list, and then expand the "WEAPONS" list. Click on the word "Iron". Scroll down to WeapIronLongsword. Right-click on it, and select Edit. A weapon window pops up. In the ID box type in: AAfamilysword. In the Name box type in: Varnado's Family Sword. Click OK. Then, Click YES to create a New Form.


Open the Quest Editor (Located in the toolbar, it is the button with a big Q on it) Right-Click in the EditorID field, select NEW, and name it AAitem. Then, for Quest Name type in Varnado's Sword. Beneath that, give it a Priority of 60. Now, click ok to exit the quest editor.


Now, open the Script Edit window by clicking on the little pencil icon in the toolbar.Click on the word script, and go to NEW. Then, type in the following:

ScriptName AASwordEquipScript
                    
Begin OnAdd            
  if ( GetStage AAitem == 10 )
    SetStage AAitem 20 
  elseif ( GetStage AAitem == 20 )
    Return              
  else
    SetStage AAitem 15
  endif         
End

Then, click on the word script again, and click SAVE.


Now, go back to the Object Window Find our sword under iron (AAfamilysword), right-click it, and select EDIT. In the swords SCRIPT box, use the drop down arrow to find our script (AASwordEquipScript), and select it. It will appear in the script box for the sword. Now click OK.


Now we need to place the sword in the world somewhere. (For Testing, I placed it leaning against the wall in The Feed Bag tavern, which is where Varnado goes to eat after work every day.) Straight from this Object Window list, drag and drop the sword we made into the world somewhere (via the Render Window).


Navigate to the sword we just placed in the Render Window. Double-Click it to edit it:

A Reference window for the sword pops up. At the bottom, place a check in the Persistent Reference box.

Quest Stages[edit | edit source]

Now, reopen the quest editor and click on your quest, 'AAitem'. Open the Quest Stages tab Right-Click in the Index field, select New, and name it 10. Right-Click again in the Index field, select New, and name it 15. Right-Click yet again in the Index field, select New, and name it 20. Right-Click once again in the Index field, select New, and name it 30.


This 10, 15, 20, and 30 are the stages of the quest:


Stage 10[edit | edit source]

With Stage 10 selected, right-click in the top Log Entry field, and select NEW. The word EMPTY will appear.

Now, Click inside the lower Log Entry box, and type in "Varnado asked me to fetch his family sword for a reward." Then, click inside the upper Log Entry box for this text to take effect.

Now, click on the NEW button in the bottom left corner, under Conditions. Then, under Condition Function, use the drop down arrow to select GetStage. Now, under Function Parameters, click on the INVALID button and select AAitem. Then, in the VALUE column, set the value to 10.


Stage 15[edit | edit source]

With Stage 15 selected, right-click in the top Log Entry field, and select NEW. The word EMPTY will appear.

Now, Click inside the lower Log Entry box, and type in "I stumbled upon a very articulate Longsword. It has an inscription on it that reads: Varnado. I seem to recall something about a Varnado in the Imperial City area." Then, click inside the upper Log Entry box for this text to take effect.

Now, click on the NEW button in the bottom left corner, under Conditions. Then, under Condition Function, use the drop down arrow to select GetStage. Now, under Function Parameters, click on the INVALID button and select AAitem. Then, in the VALUE column, set the value to 15.


Stage 20[edit | edit source]

With Stage 20 selected, right-click in the top Log Entry field, and select NEW. The word EMPTY will appear.

Now, Click inside the lower Log Entry box, and type in "I found Varnado's family sword. I should return it to him for a reward." Then, click inside the upper Log Entry box for this text to take effect.

Again, click on the NEW button in the bottom left, under Conditions. Then, under Condition Function, use the drop down arrow to select GetStage. Now, under Function Parameters, click on the INVALID button and select AAitem. Then, in the VALUE column, set the value to 20.


Stage 30[edit | edit source]

With Stage 30 selected, right-click in the top Log Entry field, and select NEW. The word EMPTY will appear.

Now, Click inside the lower Log Entry box, and type in "I found and returned Varnado's family sword." Then, click inside the upper Log Entry box for this text to take effect.

Yet Again, click on the NEW button in the bottom left, under Conditions. Then, under Condition Function, use the drop down arrow to select GetStage. Now, under Function Parameters, click on the INVALID button and select AAitem. Then, in the VALUE column, set the value to 30.

With Stage 30 still selected, find the Complete Quest checkbox beneath Log Entry, and make sure that it is checked. This places it in the Completed Quest section of the journal.

Topics[edit | edit source]

Open The Topics Tab (of the Quest Editor) Right-Click in the EditorID field, and select ADD TOPIC. A list will appear. INSIDE THIS LIST, right-click AGAIN and select NEW. Name it MyFamilySword. Click OK.

Info 1[edit | edit source]

With the MyFamilySword Topic selected: Right-Click in the INFO field, and select NEW. A response text window will pop up. Type in " I seem to have misplaced my Family Sword. Go get it for me, and I will reward you. "


With that INFO selected, find the bottom-left NEW button under Conditions. Click this NEW button. To the right of it is the Condition Function box. Use the drop down arrow, scroll down, and select GetIsId.

One more box to the right, Function Parameters is currently INVALID. Click this INVALID button, and scroll down to select Varnado.

Now, with that info still selected, find the bottom-left NEW button under conditions. Click this NEW button. To the right of it is the Condition Function box. Use the drop down arrow, scroll down, and select GetStage.

One more box to the right, Function Parameters is currently INVALID. Click this INVALID button, and scroll down to select AAitem.

One box to the right, in the COMPARISON column, scroll down to the "less than" symbol ( < ). Select it.

One more box to the right, change the VALUE to 10. Click anywhere inside Conditions field to see this change.


Now go up to the Result Script box, click inside it, and type in:

SetStage AAitem 10


Now, there are five little check boxes near the middle. Find the one called SAY ONCE and place a check in it.


Info 2[edit | edit source]

AGAIN, Right-Click in the INFO field, and select NEW. A response text window will pop up.

Type in " Haven't found it? Well, keep trying. "


With that info selected, find the bottom-left NEW button under conditions. Click this NEW button. To the right of it is the Condition Function box. Use the drop down arrow, scroll down, and select GetIsId.

One more box to the right, Function Parameters is currently INVALID. Click this INVALID button, and scroll down to select Varnado.

Now, with that info still selected, find the bottom-left NEW button under conditions. Click this NEW button. To the right of it is the Condition Function box. Use the drop down arrow, scroll down, and select GetStage.

One more box to the right, Function Parameters is currently INVALID. Click this INVALID button, and scroll down to select AAitem. Two boxes to the right, change the value to 10. Click anywhere inside Conditions field to see this change.


Info 3[edit | edit source]

AGAIN, Right-Click in the INFO field, and select NEW. A response text window will pop up.

Type in " You found my Family Sword! Thank You. Here is your reward for doing me such a great service. "


With that info selected, find the bottom-left NEW button under conditions. Click this NEW button. To the right of it is the Condition Function box. Use the drop down arrow, scroll down, and select GetIsId.


One more box to the right, Function Parameters is currently INVALID. Click this INVALID button, and scroll down to select Varnado.

Now, with that info still selected, find the bottom-left NEW button under conditions. Click this NEW button. To the right of it is the Condition Function box. Use the drop down arrow, scroll down, and select GetStage.

One more box to the right, Function Parameters is currently INVALID. Click this INVALID button, and scroll down to select AAitem. Two boxes to the right, change the value to 20. Click anywhere inside Conditions field to see this change.

Now, with that info still selected, find the bottom-left NEW button under conditions. Click this NEW button. To the right of it is the Condition Function box. Use the drop down arrow, scroll down, and select GetStage.

One more box to the right, Function Parameters is currently INVALID. Click this INVALID button, and scroll down to select AAitem.

Two boxes to the right of this, change the VALUE to 15.

Just to the right of the VALUE column is a checkbox entitled "OR". Place a check in this box. Now, click anywhere inside Conditions field to see this change.Now, go up to the Result Script box, click in it, and type in:

SetStage AAitem 30
Player.removeitem AAfamilysword 1
Player.additem OrcishBoots 1

You may replace OrcishBoots with whichever Editor ID you wish you use as a reward.

Info 4[edit | edit source]

AGAIN, Right-Click in the INFO field, and select NEW. A response text window will pop up.

Type in " Thank you for returning my family sword. "


With that info selected, find the bottom-left NEW button under conditions. Click this NEW button. To the right of it is the Condition Function box. Use the drop down arrow, scroll down, and select GetIsId.

One more box to the right, Function Parameters is currently INVALID. Click this INVALID button, and scroll down to select Varnado.

Now, with that info still selected, find the bottom-left NEW button under conditions. Click this NEW button. To the right of it is the Condition Function box. Use the drop down arrow, scroll down, and select GetStage.

One more box to the right, Function Parameters is currently INVALID. Click this INVALID button, and scroll down to select AAitem. Two boxes to the right, change the value to 30. Click anywhere inside Conditions field to see this change.


Now, go to the Result Script box, click in it, and type in:


Stopquest AAitem


OK. Close the Quest Editor.


Dialogue[edit | edit source]

Open the Dialogue Editor

Use the top-left Filter box to select Varnado. Select the TOPICS tab. Click on the Topic called GREETING. Now, scroll down to the bottom of those greetings, and right click in the INFO column, select NEW. A response window will pop up, type in "Greetings. Welcome to the Best Defense.", and click OK.

Select the new INFO that we just made, and with that INFO selected, find the bottom-left NEW button under conditions. Click this NEW button. To the right of it is the Condition Function box. Use the drop down arrow, scroll down, and select GetIsId.

One more box to the right, Function Parameters is currently INVALID. Click this INVALID button, and scroll down to select Varnado. Now, go up to the Result Script box, click in it, and type in:

AddTopic MyFamilySword

Now, there are five little check boxes near the middle. Place a check in the SAY ONCE box.

Right click on this new INFO, and select Move To Quest. A list will appear. Choose our Quest name ( AAitem ). The info will now have been moved up the list a bit.

Click OK to close out of the Dialogue Editor.

Quest Target[edit | edit source]

Now, we will create Quest Targets, so the player will get the little arrow map markers that guide them to their next goal.

Open the Quest Editor

Select your quest in the Editor ID field (AAitem).

Now open the Quest Targets Tab

Right-click in the Target Ref column, and select NEW. BadTarget will appear in the list.

Below the Quest Target Data section, find the Cell box, use the drop down arrow, and select the cell in which u placed the AAfamilysword or quest item.

Below that, find the Ref box, use the drop down arrow, and select our quest item from the list of Persistent References (AAfamilysword).

Now, in the bottom left corner, under conditions, click the NEW button. To the right of this button find the condition function box, and use the drop down arrow to select GetStage.

Now, under Function Parameters, click the INVALID button, and select AAitem. Click OK.

Then, under VALUE, set the value to 10, and click anywhere in the Conditions field for this to take effect.


AGAIN, right-click in the Target Ref column again, and select NEW. BadTarget will appear in the list again.

With BadTarget selected, go down below Quest Target Data to the Cell box, and use the drop down arrow to navigate to ICMarketDistrictTheBestDefense.

Then, beneath that, in the Ref box, use the drop down arrow, and select 'Varnado' 'VarnadoRef'.

Now, go back down to the bottom left NEW button under Conditions, and click it. Then, use the drop down arrow under Condition Function, and scroll down to GetStage.

Now, click on the INVALID button under Function Parameters, and select AAitem.

Then, to the right, in the VALUE column, set the value to 20. Click anywhere in the Conditions field for this change to take effect.


YET AGAIN, right-click in the Target Ref column again, and select NEW. BadTarget will appear in the list again.

With BadTarget selected, go down below Quest Target Data to the Cell box, and use the drop down arrow to navigate to ICMarketDistrictTheBestDefense.

Then, beneath that, in the Ref box, use the drop down arrow, and select 'Varnado' 'VarnadoRef'.

Now, go back down to the bottom left NEW button under Conditions, and click it. Then, use the drop down arrow under Condition Function, and scroll down to GetStage.

Now, click on the INVALID button under Function Parameters, and select AAitem.

Then, to the right, in the VALUE column, set the value to 15. Click anywhere in the Conditions field for this change to take effect.

That's it. You're Done!

Testing[edit | edit source]

Go to The Best Defense in the Imperial City Marketplace, and talk to Varnado to receive the Quest. Or, go get the Family Sword first, and Varnado will still Thank you, and offer you a reward for finding it.



I hope this tutorial helped you all in some way. I know it was a bit exhausting and extensive, but I wanted to provide something for the absolute beginner to be able to follow literally Click-by-Click.

Good Luck and Good Gaming!