Jump to content
The Dark Mod Forums

Interrupting conversations


grayman

Recommended Posts

Is there a way to get AI to ignore events around them while in the middle of a conversation?

 

I have an important conversation that has to finish, but if one of the actors senses movement, he says so and the conversation aborts. I don't see a flag in the conversation definition for making a conversation non-interruptible.

 

I was thinking of using a script to temporarily shut down his hearing and sight during the conversation, but I read somewhere that spawnflags in general can't be changed after spawn time.

 

The most natural thing would be for the actors to allow the interruption, then continue on with the conversation. I suspect that would require a code change, though.

 

Any suggestions?

 

Thanks.

Link to comment
Share on other sites

I think you've stated it correctly. You could add your idea to bugtracker at http://bugs.angua.at as a suggested feature. But you have to consider also will it make sense if the player can dance around them in bright light and they ignore him?

 

Meanwhile, is the current problem that the AI might alert to the player? If so then a workaround might be to change their teams temporarily to neutral 5 so they ignore the player. That can be done (see http://forums.thedarkmod.com/topic/11198-sothas-mapping-thread/page__view__findpost__p__219224 which can be activated from a conversation.) Problem is that if the player attacks them they won't fight back. I'm not even certain they will flee because they have no enemy they recognize to flee from. If you use this idea then either start them neutral and change them after the critical part of the conversation or else you need two of these team changers; one to change them to neutral and another to change them back.

 

It is difficult to think of an ideal situation if the information in a conversation is critical. If you use the team change I would try to limit it to the critical part of the conversation to keep it as short as possible.

 

In Thief 2 I had an immensely long series of critical conversations for one friendly AI including a conversation in which the AI opened a locked door for the player. This was one of several mission breakers if it failed. What I did was get the conversation to repeat the section it had reached if my accomplice AI broke off to fight enemies. So, if he saw enemy guards he ran after them, killed them (he was magically shielded,) eventually came back and repeated the conversation section he had reached.

 

I think repeating the conversation would be the best solution. The AI alert, the player either gets killed or escapes and sneaks back later to trigger it again (but it might not makes sense depending on the story situation.)

 

However, there is a bug at present where it seems conversations are not repeating (see http://bugs.angua.at/view.php?id=2229)

Link to comment
Share on other sites

Probably ways of doing things like that. Hide the player and make him watch through a camera. The player should just feel frozen, ie, can't move around or turn.

 

 

That'd be the way I'd do it. Edit the map so that at this point there are only a limited number fo places the player can enter from, all of which are well in shadow, and then some sort of script is triggered that temporarily freezes the player's movement (not necessarily turning) for a few secs while the conversation finishes. It may be a bit of an immersion killer, but seems to work for other games.

 

Now, as for the script, I wouldn't know how to go about that.

Edited by bambini

"We were travelling in the night of first ages, of those ages that are gone, leaving hardly a sign — and no memories" - Joseph Conrad, Heart of Darkness

Link to comment
Share on other sites

Thanks for the suggestions. I'll take another look at the situation and see if I can come up with a solution. Maybe a backup conversation if the first one falls apart.

 

Nothing's guaranteed, I guess. I had thought about Fidcal's comment about the player dancing around in front of the actors and being ignored, but I figured a Thief player probably wouldn't consider doing that. smile.gif

 

I hadn't thought of a cutscene. I might investigate how to do that.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 3 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
×
×
  • Create New...