Working Couriers

Post » Tue Jun 19, 2012 1:01 pm

Couriers are pretty stock characters without specific lines of text, only the item they hand you is differently every time.

This makes them perfect to give you e.g. a note which begins the mod's quest.

My problem though is that I couldnt figure out yet how their stages work or on which script their actions are.




My idea of his action would be quite simple:

As soon as you enter place XY you instantly turn to him and he starts his stock conversation handing the modded note.




Has anyone figured out yet how to get something like that working?
User avatar
Kortniie Dumont
 
Posts: 3428
Joined: Wed Jan 10, 2007 7:50 pm

Post » Tue Jun 19, 2012 7:55 pm

I haven't looked at them much yet, but the ones I have seen work by code fragments on a quest stage, which I haven't even started trying to fiddle with...learning regular Papyrus has been a pain already...heh.

Here's the example I found: (Quest is DA04SeptimusSendForPlayerQuest)

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment;NEXT FRAGMENT INDEX 2Scriptname QF_DA04SeptimusSendForPlayer_0010481C Extends Quest Hidden;BEGIN FRAGMENT Fragment_0Function Fragment_0();BEGIN CODE; Debug.Trace("DA04: Adding Septimus's letter to courier container.")(CourierQuest as WICourierScript).AddItemToContainer(SeptimusLetter);END CODEEndFunction;END FRAGMENT;END FRAGMENT CODE - Do not edit anything between this and the begin commentQuest Property CourierQuest  Auto  Book Property SeptimusLetter  Auto  

The property CourierQuest is assigned to: WICourier (Default "Send the Courier out" quest?)
User avatar
Robert
 
Posts: 3394
Joined: Sun Sep 02, 2007 5:58 am

Post » Tue Jun 19, 2012 9:42 pm

I have made a video tutorial for using the existing courier in Skyrim. I can't post a direct link, but it's linked in the stickied tutorial topic in this forum. It's the fifth in Doug's tutorial series.

Redwood Elf is correct, you want to use the WICourierScript's addItemToContainer function. This will get the courier to deliver the object, but you'll also want to add some conditions to the courier's dialogue so that he'll say one o fhis existing lines when he is delivering your item. I cover this stuff in more detail in my tutorial.
User avatar
Ells
 
Posts: 3430
Joined: Thu Aug 10, 2006 9:03 pm

Post » Wed Jun 20, 2012 3:07 am

I have made a video tutorial for using the existing courier in Skyrim. I can't post a direct link, but it's linked in the stickied tutorial topic in this forum. It's the fifth in Doug's tutorial series.

Redwood Elf is correct, you want to use the WICourierScript's addItemToContainer function. This will get the courier to deliver the object, but you'll also want to add some conditions to the courier's dialogue so that he'll say one o fhis existing lines when he is delivering your item. I cover this stuff in more detail in my tutorial.
Because I post too much, I can:

http://www.youtu.be/iustaHoHnEE?hd=1

It's excellent - And so are all of your others - Thanks for doing them :)
User avatar
Tania Bunic
 
Posts: 3392
Joined: Sun Jun 18, 2006 9:26 am

Post » Tue Jun 19, 2012 11:44 pm

Very nice, indeed. Thank you gentlemen.
User avatar
Tai Scott
 
Posts: 3446
Joined: Sat Jan 20, 2007 6:58 pm

Post » Tue Jun 19, 2012 9:05 pm

(Sorry fo doublepost)

Your vid made me wonder if I could just duplicate the courierquest+all involved data, rename them and than clear everything which isnt needed for my own quest. (I could basicly just alter something which would make his condition to deliver something else never become true)

This way I could customize the courier without changing the other quests hes involved in.

... because I could change his data without influencing any other data I could just replace the item he originally gives to you when he says the line I want by my custom letter and delete all other options.

Is that correct?
User avatar
Setal Vara
 
Posts: 3390
Joined: Thu Nov 16, 2006 1:24 pm


Return to V - Skyrim