From 91d5e4d094da6369dc47eadbc1ad82fceef546cf Mon Sep 17 00:00:00 2001 From: Flugente Date: Fri, 27 Jun 2014 22:11:13 +0000 Subject: [PATCH] New Feature: dynamic dialogue is played when dynamic opinions are active. Mercs can comment on each others actions, and this can influence their opinions further. IMP character answers can even be chosen by the player. git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2059 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 41 +++++++++++++++++++++++++++ gamedir/Data-1.13/Morale_Settings.INI | 23 +++++++++++++-- 2 files changed, 62 insertions(+), 2 deletions(-) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index 2c54973f1..3ab0deb46 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -2709,6 +2709,45 @@ FOOD_EATING_SOUNDS = TRUE ;****************************************************************************************************************************** ;****************************************************************************************************************************** +[Dynamic Opinion Settings] + +;****************************************************************************************************************************** +; In this section you can specify wether mercs form dynamic opinions on each other +;****************************************************************************************************************************** + +; mercs can form dynamic opinions of each other, this in turn will affect their morale +; for more info on what can affect opinions, see Dynamic Opinion Modifiers Settings in Morale_Settings.ini +DYNAMIC_OPINIONS = TRUE + +; notify the player of opinon changes in the message log +DYNAMIC_OPINIONS_SHOWCHANGE = TRUE + +; if a merc A notices that merc B's mean wage times exp level(B)/exp level (A) times this is greater than their mean wage, he can get a +; negative opinion of merc B +WAGE_ACCEPTANCE_FACTOR = 1.5 + +;****************************************************************************************************************************** +;****************************************************************************************************************************** + +[Dynamic Dialogue Settings] + +;****************************************************************************************************************************** +; In this section you can specify wether mercs talk to each other +;****************************************************************************************************************************** + +; if DYNAMIC_OPINIONS is TRUE, mercs will comment on each other. +; This can happen whenever something influences their relationship +; Mercs will accuse each other of doing something - or compliment them. Other mercs can then react and choose answers +; depending on their relations and personality +; If an IMP interejcts, the player has a short time to select the kin of response he wants to give. +DYNAMIC_DIALOGUE = FALSE + +; the dialogue boxes will stay on for x milliseconds +DYNAMIC_DIALOGUE_TIME_OFFSET = 3000 + +;****************************************************************************************************************************** +;****************************************************************************************************************************** + [Tactical Fortification Settings] ;****************************************************************************************************************************** @@ -3246,6 +3285,8 @@ MORALE_MOD_BACKGROUND_XENOPHOBIC = 5 ; for more info on what can affect opinions, see Dynamic Opinion Modifiers Settings in Morale_Settings.ini DYNAMIC_OPINIONS = TRUE +DYNAMIC_OPINIONS_SHOWCHANGE = TRUE + ; if a merc A notices that merc B's mean wage times exp level(B)/exp level (A) times this is greater than their mean wage, he can get a ; negative opinion of merc B WAGE_ACCEPTANCE_FACTOR = 1.5 diff --git a/gamedir/Data-1.13/Morale_Settings.INI b/gamedir/Data-1.13/Morale_Settings.INI index b61504472..97c0df45e 100644 --- a/gamedir/Data-1.13/Morale_Settings.INI +++ b/gamedir/Data-1.13/Morale_Settings.INI @@ -186,7 +186,7 @@ OPINIONEVENT_FRIENDSWITHHATED = -4 ; someone else got a contract extension before we did, even though we had less time to begin with OPINIONEVENT_CONTRACTEXTENSION = -2 -; we blame someone else for the retreat order (even though it was the player) +; we blame an IMP for a retreat order OPINIONEVENT_ORDEREDRETREAT = -6 ; someone killed a non-hostile civilian @@ -207,7 +207,7 @@ OPINIONEVENT_ADDICT = -6 ; othe merc is stealing OPINIONEVENT_THIEF = -5 -; we blame someone else for huge battle losses (even though it was the player) +; we blame an IMP else for huge battle losses OPINIONEVENT_WORSTCOMMANDEREVER = -7 ; someone else earns a lot more, we feel it's unfair. See also WAGE_ACCEPTANCE_FACTOR in JA2_Options.ini @@ -228,3 +228,22 @@ OPINIONEVENT_DRINKBUDDIES_GOOD = 1 OPINIONEVENT_DRINKBUDDIES_SUPER = 4 OPINIONEVENT_DRINKBUDDIES_BAD = -1 OPINIONEVENT_DRINKBUDDIES_WORSE = -4 + +; sometimes another mercs can interject in an ongoing argument. If it is an IMP, the player can choose what to say +; There is a chance that parties in the argument alter their opinion torwards the 'interjector' depending on the statement + +; someone argued against/for us +OPINIONEVENT_AGAINST_US = -2 +OPINIONEVENT_FOR_US = 2 + +; someone argued against/for the othe side of the argument +OPINIONEVENT_AGAINST_ENEMY = 1 +OPINIONEVENT_FOR_ENEMY = -1 + +; someone attempted to solve the argument by taking a reasonable stance, and we like/dislike that +OPINIONEVENT_SOLVECONFLICT_REASON_GOOD = 2 +OPINIONEVENT_SOLVECONFLICT_REASON_BAD = -2 + +; someone attempted to solve the argument by taking an aggressive stance, and we like/dislike that +OPINIONEVENT_SOLVECONFLICT_AGGRESSIVE_GOOD = 3 +OPINIONEVENT_SOLVECONFLICT_AGGRESSIVE_BAD = -3