Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[OBLIVION/MODDING] Quest Creation Tutorial ( click-by-click )
04-11-2006, 02:29 PM,
#1
[OBLIVION/MODDING] Quest Creation Tutorial ( click-by-click )
Many people seem to need this kind of basic walkthrough. Hope it helps someone.

Enjoy... Smile


Creating a Quest Click by Click:

Open the Quest Editor

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.

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

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

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

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

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 ends the Quest, and places it in the Completed Quest section of the journal.

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 My Family Sword. Click OK.

*******************************************************************
INFO 1

With the My Family Sword 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

Click the COMPILE button to the right of this box.

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


************************************************************************
INFO 2

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

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 a reward for 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. Two boxes to the right, change the value to 20. Click anywhere inside Conditions field to see this change.

AGAIN, with info 3 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 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 15. 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 XXXXXXXX 1 (Xs = Form ID of the sword we will make)
Player.additem 0003634D 1 (orcish boots reward?use whatever Form ID u wish)

Click the COMPILE button to the right of this box.

NOTE: We will make the quest sword later in this tutorial. We will need its Form ID.

*******************************************************************

INFO 4

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.

****************************************************************

OK. Close the Quest Editor.

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.

On the right, in the large Add Topics box, right-click and scroll down to MyFamilySword, and select it. It should appear in that box.

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

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.

*****************************************************

Now to the Object Window

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.

It now appears at the top of the ?iron? list. Go to the new sword (AAfamilysword) at the top, and write down its Form ID (in the hard-to-find second column). Replace the X?s from INFO 3 above with this Form ID.

******************************************

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

endif

End

Then, click on the word script again, and click SAVE. Then, click on the word script again, and click on COMPILE ALL. Then close the script edit window.

Now, go back to the Object Window

Find our sword under ?iron? (AAfamilysword), right-click it, and select EDIT. In the 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.

Drag and drop the sword we made into the world somewhere.

Navigate to the sword we just placed in the Render Window. Double-Click it to edit it. A Reference window pops up. At the bottom, place a check in the Persistent Reference box.

*************************************************

Now, we will create Quest Targets so we will get the little arrow map markers that guide you to your 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 the quest item from the list of Persisent 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? ?Varnado Ref?.

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? ?Varnado Ref?.

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. J

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

Using this template, you can now create ITEM RETRIEVAL quests.

Change the NPC, the item to be retrieved, and the reward for returning it to whatever your heart desires.

Please send any questions or comments to: lowellponder@hotmail.com
Reply
05-18-2006, 12:32 AM,
#2
 
edit- after i remembered i had subtitles turned off, it worked. nice. sure beats the "official" TES wiki.
Reply
05-18-2006, 12:55 AM,
#3
 
Nice one, Lowell :goodjob:
¤ How to add images or files to your post ¤ Silgrad's UBBCode
My pet peeve: huge images in img code. I reserve the right to make any such image into a clickeable thumbnail whenever I see it.
Angel mired in filth
[Image: SignatureBannerRazorwing.jpg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)