Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New Feature: Dynamic opinions
New Feature: Dynamic opinions[message #333259] Thu, 29 May 2014 01:00 Go to previous message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
New Feature: Dynamic opinions

For a game that is supposed to have aspects of an RPG, inter-character interaction is somewhat limited. Sure, mercs can like/dislike others, and even refuse to work with them... but that is static. Even sexism, racism and other neat stuff is static. Merc relationships don't evolve.

This feature aims to change that. :doctor:

There are now a couple of events that can cause one merc to change his opinion on other mercs. This can be a negative or a positive change.

As all actions of our mercenaries are fundamentally controlled by the player, some events won't happen unless the player orders/doesn't stop them - like friendly fire. Other events are
as good as inevitable in the course of your campaign. You might even find some events unjustified (mercs blame other mercs for decisions that the player made), but that's just human nature Smile

An opinion-related event can happen once per day. This is necessary, otherwise an event might stack and bring opinions to ludicrous values. However, a merc remembers an event for up to 4 days. This means that a merc can hold a grudge for some time. If Mr. Higgins shoots Ms. Higgins in an accident once, she might forgive him. If this becomes a daily habit, she might get pissed :blackcat:

The opinion impacts can be set in Morale_Settings.ini. Note that the total sum of opinions (base value, sexism/racism/etc., these events) will be cut to be between -25 (HATRED) and +25 (LOVE/BROMANCE).
Toggle Spoiler
[/align]
JA2_Options.ini:
Toggle Spoiler
[/align]
A note fot those interested in to how it's coded:
Toggle Spoiler


The following events exist (this will likely become more later on):


  • shoots him: friendly fire can sour even the best relationship.
  • snitches behind out back: used when a snitch reports on a merc to the player. :digit:
  • interferes in our business: addicts an thieves don't like it if someone else stops them from doing their thing.
  • likes the wrong people: If someone is friends with someone we truly hate, we hate him a bit too.
  • gets a contract: If another merc's contract gets extended even though ours was shorter too begin with, this smells of favouritism. We don't want that, no?
  • orders retreat: a retreat is shameful. The mercs will likely blame their most senior comrade present (exp level + squadleader trait level)(even though it was the player who gave the order)
  • massacres the innocent: killing innocent (= non-hostile) civilians does not sit well with some people.
  • slows us down: if a merc carries too much, he will slow down travel. His squad won't like it.
  • is an addict: Most people aren't comfortable around addicts, especially if they are opnely reminded of the habit.
  • is a thief: Stealing does not sit well with many.
  • is a bad commander: if a lot of allies died in a battle (mercenary and militia), the mercs are likely to blame the most senior comrade present (exp level + squadleader trait level)(even though blaming the player might be more reasonable)
  • earns way too much: if mercs see someone else earning much more than they would on that level, they get jealous. Only applies to those who get increasing wages to begin with.
  • has all the good stuff: If other mercenaries have much better gear, this might cause jealousy.
  • heals us: bandaging/doctoring/surgery is a good thing.
  • drinks with us: This is the easiest way to improve team relations, and also finally gives us a good reason to organise a huge booze-fest with everybody. If 2 mercs drink alcohol at the same time, this will either improve (67% chance) or worsen (33% chance) their opinions a bit. Good and bad cancel each other out. However, good on good gives us a very good opinion and 'locks' the progress for today (works similar for bad). Basically, if you get the whole team drunk at the same time, they will either like each other more or less - more is more likely.
    I feel this is a good ingame justification for using up a lot of alcohol. And it is offset by the cost of the stuff, and the loss of productivity due to hangovers :cheers:
  • MY CHEST HURTS BECAUSE YOU FIRED A RIFLE FROM IT: http://i62.tinypic.com/2ekuo1d.jpg'Nuff said.
  • someone sided with/against us/our opponent in an argument (dynamic dialogue result)
  • someone tried to solve conflict reasonably/aggressively, and we like/dislike that (dynamic dialogue result)
  • we have a disease, which others find disgusting
  • a doctor cured out disease
  • someone killed an enemy in a rather spectacular fashion, and we think that's awesome
  • someone killed an enemy in a rather spectacular fashion, and we are disgusted
  • someone taught us, and we're grateful for that
  • we won an important battle. Surely our leader's great strategy was a huge part of that...
  • someone saved our life: they killed an enemy that was attacking us, while we were wounded.
  • someone stole OUR kill. Dastardly fragfarmer! This server suxx!
  • someone took an enemy down with our assistance. We are such a good team.
  • someone convinced the enemy to surrender. We like that, because we're not some insane psychopath.

This might be nice and all, but how do we know what opinion modifiers apply? Easy... we use the internet!
[url]&feature=youtu.be[/url][/video]
There is a new website - Mercs Love or Dislike You, or MeLoDy - that allows you to see your team's opinions in detail. You can simply select two mercs and the site will display them, all relevant information on their opinions will be shown here.
http://i57.tinypic.com/21jzjfq.png
On another page you can see the relations in your combat squads. The matrix displays both opinions. This allows you to quickly identify whether there might be a morale problem brewing one of your squads. Clicking on an entry will even refer you to the merc comparison again (this is helpful if, say, your team has 64 mercs or so).
http://i60.tinypic.com/2uif2vk.png
This feature is on per default. Turning it off will set the modifier values for all these events to 0, but they'll still be noted internally (they just won't make a difference). The website will still exist.

This has been added to the trunk in r7240 and GameDir r2050. It is savegame compatible. The new GameDir data is required. Using outdated GameDir will herald the return of nazis riding dinosaurs on hoverboards, which you fully deserve if you don't follow installation instructions.

Edit 1: Update: r7297 introduces Dynamic dialogue, which is tied to this feature. It also introduces some new events that are results of dialogue.

Also, events that happened more than 4 days ago are no longer forgotten. Those events are no added to 'longterm opinion memory'. The total sum of dynamic opinions of a day, divided by 5, is added before that day's events are deleted. This simulates that memory fades, but you still somewhat remember things. It is listed as Past Grievances on the MeLoDY ywebsite.

Edit n: Added new events:
  • we won an important battle. Surely our leader's great strategy was a huge part of that...
  • someone saved our life: they killed an enemy that was attacking us, while we were wounded.
  • someone stole OUR kill. Dastardly fragfarmer! This server suxx!
  • someone took an enemy down with our assistance. We are such a good team.
  • someone convinced the enemy to surrender. We like that, because we're not some insane psychopath.

[Updated on: Fri, 03 April 2015 18:05]

Report message to a moderator

Captain

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message light45.png
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New merc (kinda): chaos Buns
Next Topic: New feature: new drug system
Goto Forum:
  


Current Time: Mon Dec 02 01:10:18 GMT+2 2024

Total time taken to generate the page: 0.03337 seconds