Incrementis / IEEE-Player-Character-Voice-Installer-

This is a tool and a template that allows you to install player character voice sounds for certain Infinity Engine games.
0 stars 0 forks source link

IWDEE sound file for REACT_TO_DIE_GENERAL doesn't seem to play #4

Closed Incrementis closed 6 months ago

Incrementis commented 7 months ago

The _REACT_TO_DIEGENERAL sound slot is set for all player character voice sets. This can be seen in the file CHARSND.2DA, line 53. It appears that _REACT_TO_DIEGENERAL does not fire at all for custom player characters and for premade characters.

In BGEE this only applies to custom player characters. This requires further investigation as to what is the cause.

Incrementis commented 6 months ago

One suggestion that comes to mind is to compare NPCs to player characters and available party members (e.g. Jaheira or Khalid). This should be done with Near Infinity to make searching easier.

Incrementis commented 6 months ago

Killing a custom character triggers the line for NPC ingame party member characters in the game (see Jaheira's answer in the image). grafik

Incrementis commented 6 months ago

When a custom character was given the same scripts from Khalid, the audio would not play when companions died.

Further investigation is required.

Incrementis commented 6 months ago

When assigning some of Jaheira's attributes to a custom character, Jaheira's voice line (sound and text) will be triggered (see image). 2024-03-13 21_05_34-Baldur's Gate - Enhanced Edition - SoD - Modding - v2 6 6 0

Further investigation is required.

Incrementis commented 6 months ago
These are the changes made to the custom character CRE file, which was taken from Jaheira's CRE file. The changes were made in a quicksave file. Attribute| Value | -- | -- | Name | Jaheira | Tooltip | Jaheira | Flags | ( Identified(0) Permanent corpse(2) Been in party(15) EE: Ignore nightmare mode(22) Allegiance tracking(24) Race tracking(26) ) | Sound: INITIAL_MEETING | [JAHEIRA 1] How long must we wait here? Things stir to the south as we sit! | Sound: MORALE | [JAHEIRA 2] Better to fight this battle when 'tis winnable! | Sound: HAPPY | [JAHEIRA 4] Perhaps this group needs not quite as much help as I thought. | Sound: UNHAPPY_ANNOYED | [JAHEIRA 5] I don't like the way this group is turning out. Better leadership might help. | Sound: UNHAPPY_SERIOUS | [JAHEIRA 6] Decide you well your next move! I'll not allow this to continue! | Sound: UNHAPPY_BREAKING_POINT | [JAHEIRA 7] You have shown your true nature, and we are henceforth enemies! | Sound: LEADER | [JAHEIRA 8] You couldn't have made a better choice. | Sound: TIRED | [JAHEIRA 9] I've just about seen enough waking hours, slave-driver. | Sound: BORED | [JAHEIRA 10] Shouldn't we be doing something USEFUL with this time?! | Sound: BATTLE_CRY1 | [JAHEIRA 3] For the fallen! | Sound: DAMAGE | [JAHEIRA 38] | Sound: DYING | [JAHEIRA 39] | Sound: HURT | [JAHEIRA 11] I fear I need healing... lest I not survive. | Sound: REACT_TO_DIE_GENERAL | [JAHEIRA 40] No sorrow for those lost in righteous battles. | Override script | JAHEIRA.BCS | Class script | BDJAHEIC.BCS | Default script | DPLAYER2.BCS | Script name | Jaheira | Dialogue | JAHEIJ.DLG |
Incrementis commented 6 months ago
Deleting the follwing scripts Attribute| Value | -- | -- | Override script | JAHEIRA.BCS | Default script | DPLAYER2.BCS | and keeping the following script Attribute| Value | -- | -- | Class script | BDJAHEIC.BCS |

will still trigger Jaheira's voice line.

Incrementis commented 6 months ago

Changing

Attribute| Value | -- | -- | Sound: REACT_TO_DIE_GENERAL | [JAHEIRA 40] No sorrow for those lost in righteous battles. |

to

Attribute| Value | -- | -- | Sound: REACT_TO_DIE_GENERAL | [JAHEIRA 41] Blast it, Khalid! You die, and I—I swear you'll never hear the end of it! |

displays the voice line on the terminal and plays the audio file on the voice line. grafik

This lets assume that the trigger in the BSC script is possibly an abstract call(?!). Further investigation is needed.

Incrementis commented 6 months ago
Deleting the following script Attribute| Value | -- | -- | Class script | BDJAHEIC.BCS |

displays the voice line on the terminal and plays the audio file on the voice line. This limits the possibilities to the following:

Attribute| Value | -- | -- | Sound: REACT_TO_DIE_GENERAL | [JAHEIRA 40] No sorrow for those lost in righteous battles.

Further investigation is needed.

Incrementis commented 6 months ago

Killing an already rigged custom character with a default custom character triggers the voice line. This is not observed when killing standard custom characters. grafik Further investigation is needed.

Incrementis commented 6 months ago

The line in the CRE resource is most likely identified as what triggers the language line:

Attribute| Value | -- | -- | Script name | None |

None” prevents the voice line from being triggered. Maybe any other value triggers the voice line (my own name was successfully used for testing)