Aller au contenu

Photo

Questions about slave rescue quest


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
Jezla

Jezla
  • Members
  • 173 messages

Hi all.  Here's my dilemma:

 

I'm working on a quest where the player can rescue three slaves from an interior area.  The player can sneak them out a secret door, or fight through to the exit.  When they pass through and enter the exterior area, one of the surviving slaves will start a conversation to thank the player, and then the slaves exit.

 

My questions:

 

1) The slaves each have unique tags, and will be added as henchmen in a convo.  They are also grouped with a group on death script that will update the player's journal to indicate failure.  The ga_henchman_add parameters are set to not override their script sets.  Will this setup work?  If not what should I do differently?  Will the group exit command cause the death script to fire?

 

2)The reward conversation is called from the exterior area on client enter script.  What is the best way to check to see if any of the slaves are still in the party and start the convo, given that they have unique tags?  I currently have it so that an ipoint speaker starts a special convo.  Should I have the script start the slaves' convo and add the reward to it (the slaves all share the same convo)?

 

Any suggestions?  Or does anyone remember a similar quest in one of the OC's that I could look at?



#2
Morbane

Morbane
  • Members
  • 1 883 messages

well, look at the mechanics of your encounter:

 

slaves join as henchmen - can they fight? might add to their value or the PCs success probability

is there a slave "leader"? might be important and could simplify the convo issue

 

perhaps group ondeath is too "groupy" e.g. the level of success could depend on all three living to escape or maybe two, or one?

so that would possibly be an ondeath hook with ExecuteScript() at the top of modified deathscripts

 

the ipoint is good just the same it insures the convo only fires upon success - (unintentional self-contradiction on my part)

 

the convo should have the reward - area onenters client or otherwise can be shakey from what ive heard over the years.

 

the unique tag issue might make the reward convo troublesome if limited deaths in the escapees group are allowed - but you said an ipoint would be used?

 

there is the Old Owl Well ambassador or whatever he was - hes only one guy but maybe a good example - but he never joins as a henchman, he just "finds his own way" after the rescue

 

 

not perfect i know - havent had my coffee yet ;)



#3
Jezla

Jezla
  • Members
  • 173 messages

The slaves cannot fight, and there is no leader, though they do have their own faction.  The Player should have a full party of 4 to protect them.  Only one slave needs to survive for the quest to succeed, if they all die it fails.

 

Maybe I used "reward" improperly.  I meant the convo where the pc is rewarded.  The client enter script is just supposed to start the convo (with the ipoint or one of the remaining slaves) if the pc enters the area with on of the slaves in the party.



#4
Morbane

Morbane
  • Members
  • 1 883 messages

tbh, it looks like you have a system that could function fine

 

in my mind all the slaves could have the same tag and getnearest could catch any convos so that the little picture in the NWN1 style dialogue would have their face....

 

but my thoughts drift to things like triggers that the slaves run through that make them play the cower animation and similar ;)

 

unless i am drifting too much - but the onenter only fires when the PC is actually in the next area - is that how you want it to work?

 

 

The client enter script is just supposed to start the convo (with the ipoint or one of the remaining slaves) if the pc enters the area with on of the slaves in the party.

 

seem like on exit might work too and the slaves are free from there? i suggest this since transitions can be tricky - but if that is not an issue - i think your system is worth a test run - then pop back here and debug.

 

just mixing it up - sorry (having coffee now :D )



#5
kevL

kevL
  • Members
  • 4 074 messages

cofee.. yumm

 

if you're starting a convo from Client Enter, i suggest delaying it a few seconds ( give a bit of time for things to settle per the new area )



#6
Jezla

Jezla
  • Members
  • 173 messages

It just occured to me that I could have the on client enter script cycle check for henchmen and start the convo with the first one it finds.


  • Morbane aime ceci

#7
Jezla

Jezla
  • Members
  • 173 messages

Figured it out!  It looks like OnClientEnter was the problem.  I wrote a script starting the convo from the area OnEnter and it worked fine.