Questions regarding Quest Dialogue

Post » Tue Sep 07, 2010 10:46 pm

Hi all..

I’m currently learning quest scripting and have a couple of questions regarding using dialogue to advance quest stages… I’m looking at if it is possible to change the quest dialogue depending upon certain aspects of the PC.

I have 3 specific scenarios I have been investigating.

To explain these scenarios I’ll use the same leading question… when talking to the target NCP the dialogue the player has to click on to initiate the conversation says: “You sent for me”

Scenario One - Quest Dialogue depending on the PC race.
The NCP reply is either, “I was expecting a Redguard”
Or in the case of the PC being a Redguard, “Good, here’s what I want you to do……”

Scenario Two – Depending on PC factions.
Leading with the same question, The NCP reply is either, “Good, I see you are a member of the Fighters Guild”
Or, in the case of the PC not being in the Fighters Guild, “Are you any good at fighting?”

Scenario Three – PC is wearing an item of clothing like the Grey Cowl
The NPC reply is either, “I said I would only talk with the Grey Fox”
Or in the case of wearing the Cowl. “Finally I meet the Grey Fox, here’s what I need you to do”

I hope I’ve explained this well enough..any advice would be appreciated.
User avatar
ijohnnny
 
Posts: 3412
Joined: Sun Oct 22, 2006 12:15 am

Post » Tue Sep 07, 2010 9:56 pm

i believe you can't. you'd have to make a large number of possible dialogues covering all the possible conditions to cover it

so the effect you want is possible, thre's just no shortcuts
User avatar
mike
 
Posts: 3432
Joined: Fri Jul 27, 2007 6:51 pm

Post » Tue Sep 07, 2010 9:41 pm

Yes, what you want to do is quite possible. As Mishaxhi said though, you will need to make quite a few possible dialogues -a process that can get quite tedious-.
You would also need to apply specific conditions depending on the PC race, items held, or factions... etc.

Good luck!
User avatar
Killer McCracken
 
Posts: 3456
Joined: Wed Feb 14, 2007 9:57 pm

Post » Tue Sep 07, 2010 11:38 pm

Hi..thanks for this. Will have a play with it.
User avatar
Lizs
 
Posts: 3497
Joined: Mon Jul 17, 2006 11:45 pm

Post » Tue Sep 07, 2010 8:59 pm

This shouldn't be very difficult, you just need the right conditions.
Hi all..
initiate the conversation says: “You sent for me”

So you start with that clickable topic, which has the following dialogue:
Scenario One - Quest Dialogue depending on the PC race.
The NCP reply is either, “I was expecting a Redguard”

Use the condition GetIsRace Redguard == 0 for that line. (MAKE SURE YOU TICK THE 'RUN ON TARGET' BOX)

Then you add a new line, with the other option.
Or in the case of the PC being a Redguard, “Good, here’s what I want you to do……”

So GetIsRace Redguard == 1.
Scenario Two – Depending on PC factions.
Leading with the same question, The NCP reply is either, “Good, I see you are a member of the Fighters Guild”
Or, in the case of the PC not being in the Fighters Guild, “Are you any good at fighting?”

You can use the condition 'Getinfaction FightersGuild == 1' if the player is a member, and 'Getinfaction FightersGuild == 0' if he isn't. Again, don't forget to tick the 'on target' box, otherwise it'll check if the NPC is a member of the Fighter's Guild instead.

Scenario Three – PC is wearing an item of clothing like the Grey Cowl
The NPC reply is either, “I said I would only talk with the Grey Fox”
Or in the case of wearing the Cowl. “Finally I meet the Grey Fox, here’s what I need you to do”

Use the condition 'GetEquipped [ID] == 1', and then select the ID of the Grey Cowl. Then the opposite for when he isn't.


In case you have multiple of these conditions checking at the same time (like both Grey Fox and Fighter's Guild) you need to make sure the lines are in the right order: If you're wearing the Grey Cowl you don't want the NPC to ignore the fact that you're the Grey Fox and instead talk about you being a member of the Fighter's Guild. In this case you'd have to put the Grey Fox dialogue at the top of the list of dialogue for the topic, because then that one will take priority.
User avatar
Tanya
 
Posts: 3358
Joined: Fri Feb 16, 2007 6:01 am

Post » Wed Sep 08, 2010 7:59 am

Cheers povuholo...

I'll have a look at this over the weekend...just wanna say Kragenir's Death Quest is really well done, and was one of the mods that made me want to try quest writing.. :foodndrink:
User avatar
Leticia Hernandez
 
Posts: 3426
Joined: Tue Oct 23, 2007 9:46 am

Post » Wed Sep 08, 2010 9:11 am

Cheers povuholo...

I'll have a look at this over the weekend...just wanna say Kragenir's Death Quest is really well done, and was one of the mods that made me want to try quest writing.. :foodndrink:



Just wanted to say this worked a treat..I've used the player race example with weekend and it worked!! Cheers
User avatar
Sarah MacLeod
 
Posts: 3422
Joined: Tue Nov 07, 2006 1:39 am


Return to IV - Oblivion