Aller au contenu

Photo

Resurrecting Companions at beginning of conversations (nwn2 style)


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

#1
IxionReborn

IxionReborn
  • Members
  • 84 messages
So it seems the basis of players like having their companions, -stay- dead until resurrected by a scroll or cleric in campaigns.  The problem is of course, which is why Obsidian probably did it in the OC, is that they'll be dead in important parts of conversation.

I'm just not sure where to place a ressurect command and could use some help.  OnConversation only applies to when that specific creature is clicked, and I'm pretty sure it's not just when it's included in a conversation.

I also checked OnDialogue event in userdefined but Im not exactly sure how to go through with that.

Basically what I need is if any companion is dead when a conversation starts, they should be resurrected to 1hp to participate in the conversation. Help would be appreciated, thanks.

-Ixion

#2
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 598 messages
The OC cutscenes do this. Make your conversation a cutscene and see if that works.

#3
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
That is a big problem for developers. Here is how I handle it:

I decide how critical it is for a companion to participate in a discussion. For most discussions, companion input is purely for roleplay and flavor and can be skipped in favor of realism if the companion happens to be dead at the time. For these conversations, I put fall through nodes that will allow the conversation to continue even if the companion is dead. This makes for more conversation writing, but after time, you get good at it and it doesn't add much more time.

2) There are a few conversations that are plot critical and the NPC *has* to be alive. If you are able to script, use the EffectResurrection() effect and apply it to all the companions before the conversation in a customized conversation script.

If you don't script, then you can make the conversation start with a node that doesn't requie any companions to be alive and use the script ga_heal_party. I have never done it this way, because I always use scripting, but it seems like it should work.

The other thing I do is put in a lot of raise dead scrolls because nothing is less fun than lugging the corpse of your dead companion through long dungeons.

#4
IxionReborn

IxionReborn
  • Members
  • 84 messages
Alright so I tested it correctly this time, (last time they werent actually in party) and they were ressurected when the convo started.  The reason I posted this though was because I was going to have the companions not automatically revive after a couple seconds as the OC does.

So if the conversation thing is hardcoded then I shouldn't have a problem, otherwise I'll just look around the onDeath script and see what they did.

Thanks.

#5
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 598 messages
in this thread Shallina reported that the scripts used to trigger conversations do automatically raise dead companions. You can look at the ginc_ scripts she suggests.