Difference between revisions of "Simple custom courier"

1,599 bytes added ,  11:13, 9 October 2012
Adding more to the tutorial, it is not complete yet.
imported>ESPurist
m
imported>ESPurist
(Adding more to the tutorial, it is not complete yet.)
Line 29: Line 29:
Next you will need to create (er, basically you will just copy the existing courier's packages) AI Packages for your courier.  Go to the Object Window --> Character --> Package and enter "courier" in the search box.  You will see a few packages but you want the two that are "WICourierDeliverToPlayer" and "WICourierWaitForPlayer".
Next you will need to create (er, basically you will just copy the existing courier's packages) AI Packages for your courier.  Go to the Object Window --> Character --> Package and enter "courier" in the search box.  You will see a few packages but you want the two that are "WICourierDeliverToPlayer" and "WICourierWaitForPlayer".
<br>
<br>
# Double-click the "WICourierDeliverToPlayer" package and give it a new ID.  Do the same for the other package.  You will edit these again later.
# Double-click the "WICourierDeliverToPlayer" package and give it a new ID, however KEEP the phrases "DeliverToPlayer" and "WaitForPlayer" in the ID so you know which is which.  Do the same for the other package.  You will edit these again later.
<br>
<br>
===Create the Courier's Quest===
===Create the Courier's Quest===
Line 51: Line 51:
<br>
<br>
<br>
<br>
===Create the Courier's Dialogue View===
===Create the Courier's Dialogue View and edit AI Packages===
<br>
<br>
Click the "Dialogue Views" tab next to the aliases tab.  Right-click in the empty field on the left side and click "New".  Give this a name that ends in something like "Dialogue" or "View".  Click on your newly created Dialogue View and then right-click in the empty field to the right and select "Create Branch".  You will then create a dialogue branch and a topic all in one go.  You will need this topic for your AI Package when the courier goes to greet the player.
Click the "Dialogue Views" tab next to the aliases tab.  Right-click in the empty field on the left side and click "New".  Give this a name that ends in something like "Dialogue" or "View".  Click on your newly created Dialogue View and then right-click in the empty field to the right and select "Create Branch".  You will then create a dialogue branch and a topic all in one go.  You will need this topic for your AI Package when the courier goes to greet the player.
<br>
<br>
* This is where dialogue is important.  The courier must have something to say when he/she greets the player to give them the message (well, I guess the courier COULD just hand the player a note).  You should create an introduction line, a line explaining the letter, and a "goodbye" line.  Whether or not you record actual audio for this, you should put in lines that can appear as captions.  If you have done the quest tutorial with Bendu Olo, you will remember that captions don't appear on screen long enough unless there is some sort of recorded audio for that line, so recording a few seconds of silence in the Creation Kit is better than nothing.
<br>
Now we need to go back to the AI Packages we created (ahem, copied) earlier and edit them to reflect our topic.  Open the first package that contains the phrase "DeliverToPlayer" and go to the first tab "Package".  Change the very first item in the list below (the Topic) to the topic you just created in the dialogue view, I hope you made it easy to find!  This will make it so that your courier uses the lines that you gave him/her when he/she greets the player.  Go to the dropdown menu below the editorID which reads "Owner Quest" and select your courier quest from the menu.  Finally, go to the Conditions tab and at the top of the list there will be a "GetGlobalValue" condition, change this so that it is looking for your courier's Global Variable we created earlier instead of the original courier's variable.
Anonymous user