gothic-1-community-patch
gothic-1-community-patch copied to clipboard
Wrong voice for dialog option with Lee
Describe the bug The player character's voice is swapped with Lee's voice when buying a medium mercenary armor from him.
Expected behavior The player character's voice is now correct when buying a medium mercenary armor from him.
Additional context Bug provided by Blubbler. Since we don't want to add new sound files, we rely on replacing the faulty ones with existing ones that make sense.
https://github.com/AmProsius/gothic-1-community-patch/blob/3db5d668ca0b2d209cd32f5697c969db05a239f0/scriptbase/_work/Data/Scripts/Content/Story/Missions/DIA_SLD_700_Lee.d#L432
changed to
AI_Output (other, self,"DIA_Wolf_SellArmor_M_15_01"); //I want medium armor.
The proposed fix requires to change the output unit that is triggered within the function Sld_700_Lee_ARMOR_M
.
That will necessitate to create a function similar to G1CP_ReplaceOuInst
. However, I see a bit of a naming conflict with the recent functions G1CP_ReplaceOuText
and G1CP_ReplaceOuFilename
. The latter ones modify the actual output unit, the former one changes the call to an output unit.