Basic Quest Script Help Required

Post » Thu Jun 21, 2012 5:08 am

Hello,

By following the quest creation tutorial on the creation kit wiki i tried to create my own quest.I added all the dialogues and made aliases and etc.

The idea was - Two Dunmer Travellers have come from Morrowind. Their horse carriage got broken and they got stranded in front of whiterun stables. They asked the DragonBorn for help by telling him to bring him 5 firewood pieces to repair the carriage so they can reach their new home at mixwater mill worker's house.

1) Now my first question is what would be the script to order the player to bring 5 firewood pieces to the NPCs. Please also mention whether i need to create any aliases and on which alias should i put the script on.

2) I made a scene to get them stranded in front of whiterun as per the story following the tutorial and exactly replicated the steps but i don't know how i can trigger the scene.

Two for now, this should be easy i suppose? Any help would be appreciated ^_^
User avatar
FirDaus LOVe farhana
 
Posts: 3369
Joined: Thu Sep 13, 2007 3:42 am

Post » Thu Jun 21, 2012 3:30 am

I'm still learning the CK myself and haven't made a quest like this yet, so I can't give you good answers. But maybe some advice. :)

When I want to know how to do something I try to find something that's similar already in game. Your #1 made me think about the quest in Riften where you help the argonian Wujeeta by giving her a healing potion. This is close to what you want. A player might already have some firewood on them or maybe they need to go chop some.

I use the UESP to find things initially (that site is SO amazing). On http://www.uesp.net/wiki/Skyrim:Wujeeta it mentions she's involved in two quests... I was thinking of the first one "http://www.uesp.net/wiki/Skyrim:Helping_Hand". At the bottom of the quest page it tells me that the CK name for the quest is "FreeformRiften12".

Back in the CK I open up the quest then look at the Dialog Views. The "I have a potion for you." topic sounds like the one you'd want. The first two conditions make sure this topic is used for Wujeeta and on the correct quest. The third one is your answer. It's doing a GetItemCount on a FormList: 'FavorHealingPotions'.

You don't care about healing potions though. So double-click on that condition then click on the button under Parameters. Now you have a list of all the Objects available. When I pulled that down I found Firewood01. Then set the value in the right box to 5. You'll need to add this GetItemCount condition to the topic you have that completes your quest, a "Here is your firewood." or something like it.

Hopefully all my rambling made sense and you can use this process to get over a few other hurdles in the future. :)

As for #2, I know all the Inns usually have Scenarios go off between the bartender and some of the patrons. Maybe you could poke around the Bannered Mare to see how DialogueWhiterunBanneredMareScene1 gets launched.
User avatar
Mizz.Jayy
 
Posts: 3483
Joined: Sat Mar 03, 2007 5:56 pm

Post » Thu Jun 21, 2012 10:56 am

I'm still learning the CK myself and haven't made a quest like this yet, so I can't give you good answers. But maybe some advice. :smile:

When I want to know how to do something I try to find something that's similar already in game. Your #1 made me think about the quest in Riften where you help the argonian Wujeeta by giving her a healing potion. This is close to what you want. A player might already have some firewood on them or maybe they need to go chop some.

I use the UESP to find things initially (that site is SO amazing). On http://www.uesp.net/wiki/Skyrim:Wujeeta it mentions she's involved in two quests... I was thinking of the first one "http://www.uesp.net/wiki/Skyrim:Helping_Hand". At the bottom of the quest page it tells me that the CK name for the quest is "FreeformRiften12".

Back in the CK I open up the quest then look at the Dialog Views. The "I have a potion for you." topic sounds like the one you'd want. The first two conditions make sure this topic is used for Wujeeta and on the correct quest. The third one is your answer. It's doing a GetItemCount on a FormList: 'FavorHealingPotions'.

You don't care about healing potions though. So double-click on that condition then click on the button under Parameters. Now you have a list of all the Objects available. When I pulled that down I found Firewood01. Then set the value in the right box to 5. You'll need to add this GetItemCount condition to the topic you have that completes your quest, a "Here is your firewood." or something like it.

Hopefully all my rambling made sense and you can use this process to get over a few other hurdles in the future. :smile:

As for #2, I know all the Inns usually have Scenarios go off between the bartender and some of the patrons. Maybe you could poke around the Bannered Mare to see how DialogueWhiterunBanneredMareScene1 gets launched.

Great reverse-engineering tutorial, Aenara.
User avatar
Natasha Callaghan
 
Posts: 3523
Joined: Sat Dec 09, 2006 7:44 pm

Post » Thu Jun 21, 2012 2:15 pm

Why didn't i think of this earlier, guess i am becoming like wylandriah LOL. Will get to work ASAP thanks a lot!!
User avatar
Ross Zombie
 
Posts: 3328
Joined: Wed Jul 11, 2007 5:40 pm


Return to V - Skyrim