Difference between revisions of "A beginner's guide, lesson 6 - Quest Dialogue"

→‎Stage Update: Editing English, tables
imported>Pyrocow2
(Adding some links, editing English)
imported>Pyrocow2
(→‎Stage Update: Editing English, tables)
Line 871: Line 871:
Let's do this. It's the same old routine. Right Click and new in the Log Entry box. Add a suitable bit of text like:
Let's do this. It's the same old routine. Right Click and new in the Log Entry box. Add a suitable bit of text like:


''I have been told a lawyer called Vilanus Villa is looking for me. I should find out where he is staying. He may have important news for me.''
''I have been told a lawyer called Vilanus Villa is looking for me. I should find out where he is staying. He may have important news for me.''


Ok, we have now added a topic called '''BGMMessage4u.
Ok, we have now added a topic called ''BGMMessage4u''.


For now, save and go test.  
For now, save and go test.  
Line 879: Line 879:
You should now find that this topic only appears for human characters in the Imperial City. Try in other locales like Anvil, etc. to make sure. When you're done, come back and we can move on.
You should now find that this topic only appears for human characters in the Imperial City. Try in other locales like Anvil, etc. to make sure. When you're done, come back and we can move on.


When you click on the "BGMMessage4u" topic in the game the topic Vilanus Villa will now automatically be added.  
When you click on the ''BGMMessage4u'' topic in the game the topic Vilanus Villa will now automatically be added.  


I don't intend to continue to give you a click-by-click method for every topic and response. Remember the basic idea of right click and select.
I don't intend to continue to give you a click-by-click method for every topic and response. Remember the basic idea of right click and select.
Line 885: Line 885:
Let's move on.
Let's move on.


Select the BGVilanusVilla topic we added earlier and add a response (See table below). This response should direct the player to the Talos District of the Imperial City.  
Select the ''BGVilanusVilla'' topic we added earlier and add a response (See table below). This response should direct the player to the Talos District of the Imperial City.  


We need some conditions.  
We need some conditions.  


Since this is a direct follow-on from "BGMMessage4u", we can use the same conditions to do the job.  
Since this is a direct follow-up from'BGMMessage4u'', we can use the same conditions to do the job.  
In the "BGMMessage4u" condition box, right click and select copy all conditions and then paste these into the BGVilanusVilla response.  
In the ''BGMMessage4u'' condition box, right click and select copy all conditions and then paste these into the ''BGVilanusVilla'' response.  


This response is fine, unless of course we are already in the Talos district.
This response is fine, unless we're talking to someone who's already in Talos Plaza.
   
   
We need to add one more condition to account for this by using the [[GetInCell]] function.
We need to add one more condition to account for this by using the [[GetInCell]] function. We also need to update the stage values that [[GetStage]] checks for.
 
{| class="wikitable" border="1" cellpadding="5"
{| class="wikitable" border="1" cellpadding="5"
!colspan=2| '''BGVilanusVilla'''
|-
|-
!  TOPIC
!  TOPIC TEXT
BGVilanusVilla (Vilanus Villa)
"Vilanus Villa"
|-
|-
!  RESPONSE
!  RESPONSE
|  I believe he is staying in the Talos district
"I believe he's staying in Talos Plaza."
|-
|-
!  CONDITIONS
!  CONDITIONS
| GetInRace Argonian == 0 etc.<br>
|
GetInCell ‘IC’ == 1<br>
*GetIsRace 'Argonian' == 0, etc.
GetInFaction ‘ICFaction’ == 1<br>
*GetInCell 'IC' == 1
GetIsId BGVilanusVilla == 0<br>
*GetInFaction 'ICFaction' == 1
GetStage BGM001 < 20<br>
*GetIsId 'BGVilanusVilla' == 0
'''GetInCell ‘ICTalosDistrict’ == 0'''<br>
*'''GetStage 'BGM001' < 20'''
*'''GetInCell 'ICTalosPlaza' == 0'''
|-
|-
!  ADD TOPICS
!  ADD TOPICS
Line 917: Line 920:
|  ''No script''
|  ''No script''
|}  
|}  
For this topic we need to add another response.  
 
Right click and select new in the info box.
We should also add responses that only work inside Talos Plaza. This next one should direct the player to the Imperial Hotel where we placed Vilanus Villa. Again, we can copy the conditions by using the copy and paste method, and then change the last condition (GetInCell 'ICTalosPlaza') to 1. (You could also duplicate the entire response by right-clicking and selecting copy, and then edit the duplicate from there.)
This one should direct the player to the Imperial Hotel where we placed Vilanus Villa. Again we can copy the conditions across by using the copy and paste method, and then change the last condition to 1.
 
{| class="wikitable" border="1" cellpadding="5"
{| class="wikitable" border="1" cellpadding="5"
!colspan=2| '''BGVilanusVilla'''
|-
|-
!  TOPIC
!  TOPIC TEXT
BGVilanusVilla (Vilanus Villa)
"Vilanus Villa"
|-
|-
!  RESPONSE
!  RESPONSE
|  I believe he is staying in the Imperial Hotel
"I believe he is staying in the Tiber Septim Hotel."
|-
|-
!  CONDITIONS
!  CONDITIONS
| GetInRace Argonian == 0 etc.<br>
|
GetInCell ‘IC’ == 1<br>
*GetIsRace 'Argonian' == 0, etc.
GetInFaction ‘ICFaction’ == 1<br>
*GetInCell 'IC' == 1
GetIsID BGVilanusVilla == 0<br>
*GetInFaction 'ICFaction' == 1
GetStage BGM001 < 20<br>
*GetIsID 'BGVilanusVilla' == 0
'''GetInCell ‘ICTalosDistrict’ == 1'''<br>
*'''GetStage 'BGM001' < 20'''
*'''GetInCell 'ICTalosPlaza' == 1'''
|-
|-
!  ADD TOPICS
!  ADD TOPICS
Line 943: Line 948:
|}  
|}  


If you wanted to get really flashy we could add another response for the occasions when we ask NPCs about Vilanus Villa in the hotel itself.  
If you wanted to get really flashy you could add another response for the occasions when we ask NPCs about Vilanus Villa inside the hotel itself. However, I have not done this to save a bit of time. Feel free to try this yourself. A response like "Yeah I've seen him around here." would do. Don't forget to copy the conditions and alter the GetInCell parameter. Also remember that [[GetInCell]] matches the beginning of the cell strings, so you should add another [[GetInCell]] condition to the second response which excludes the Hotel cell (so that the response "I believe he is staying in the Imperial Hotel." shows up everywhere in Talos Plaza EXCEPT for the hotel itself).
However, I have not done this to save a bit of time. Feel free to try this yourself. A response like ‘Yeah I've seen him around here.' would do.  
Don't forget to copy the conditions and alter the GetInCell parameter.


==Using the GREETING topic==
==Using the GREETING topic==
Anonymous user