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 next 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

Re: New Feature: Dynamic opinions[message #333261] Thu, 29 May 2014 02:26 Go to previous messageGo to next message
Taro_M is currently offline Taro_M

 
Messages:292
Registered:November 2008
I think there needs to be more events increasing the opinion. Some ideas:

*saved life - healed while mortally wounded
*back to back badasses - when tightly grouped merc kills X amount of enemies
*got my back - merc performed an interrupt and killed aenemy while the opinion giver had no AP for shot and enemy was X squares from him and had line of fire on him
*sniper-spotter team - opinions are increased when snipers hits the shot and decreased a bit when misses
*of course the loner-socialable dynamic and other traits (peaceful-aggressive/psychotic etc.)
*given ammo by other merc - just a tiny bit of an increase in opinion.
*fellow specialist - if mercs have similar training they have some common ground +x opinion per every trait point that matches (ie. sniper and marksmen get +1).
*same as above but with backgrounds, but bigger bonus as its pretty damn rare
*trained by the specialist - may be modified by some character traits and the difference in skill

*the naysayer - the opinion tanks when there is large difference in morale

[Updated on: Thu, 29 May 2014 02:29] by Moderator

Report message to a moderator

Master Sergeant
Re: New Feature: Dynamic opinions[message #333262] Thu, 29 May 2014 02:27 Go to previous messageGo to next message
grim is currently offline grim

 
Messages:344
Registered:July 2006
Location: France
I'm still blinking stupidly wondering if this feature is really implemented, but yeah, that's Flugente, of course it's in !

This is a new marvel of a feature, the events, the site, the whole thinking and dynamic behind it, Woaw flug !

On a side note, is there only healing acting as positive opinion modifier (event)? Are hits (on ennemies), kills, and other actions able to change mercs opinions on eachother ? Several already act on morale if i remember right.

Report message to a moderator

Master Sergeant
Re: New Feature: Dynamic opinions[message #333263] Thu, 29 May 2014 03:21 Go to previous messageGo to next message
Marlboro Man

 
Messages:1156
Registered:October 2005
Location: USA
Nice. This looks pretty cool. Smile

Cheers
MM

Report message to a moderator

Sergeant Major

Re: New Feature: Dynamic opinions[message #333264] Thu, 29 May 2014 03:26 Go to previous messageGo to next message
rummtata is currently offline rummtata

 
Messages:103
Registered:April 2011
Location: Germany
I really like the way this is heading. Awesome! :cheerleader:

Report message to a moderator

Sergeant
Re: New Feature: Dynamic opinions[message #333276] Thu, 29 May 2014 13:34 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3479
Registered:January 2000
Location: Danubia
Flugente, how much to mod my life, please? Very Happy

Report message to a moderator

Captain
Re: New Feature: Dynamic opinions[message #333277] Thu, 29 May 2014 13:42 Go to previous messageGo to next message
Max_for_Hire

 
Messages:28
Registered:March 2009
^ ROFL

Awesome Flugente is awesome.

I think we're one step away from having 'Merc-Book' social-networks.

Looking forward to see Buzz's profile pics. Cool

Report message to a moderator

Private 1st Class
Re: New Feature: Dynamic opinions[message #333278] Thu, 29 May 2014 13:51 Go to previous messageGo to next message
tbird94lx is currently offline tbird94lx

 
Messages:682
Registered:April 2002
Location: ohhhhhh canada
svn is saying stuff that the addy dosnt exist anymore..where do i fnd this now?..i..have a hard time doing thigns anymore..if someone could just link it for me i appreciate greatly..playing ja2 is only joy i have left anymore

Report message to a moderator

First Sergeant

Re: New Feature: Dynamic opinions[message #333281] Thu, 29 May 2014 14:25 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3479
Registered:January 2000
Location: Danubia
Hey old bird! Why don't you hold on until Depri prepares a compiled package? SVN was moved around so much I gave up using it.

Report message to a moderator

Captain
Re: New Feature: Dynamic opinions[message #333282] Thu, 29 May 2014 15:08 Go to previous messageGo to next message
Taro_M is currently offline Taro_M

 
Messages:292
Registered:November 2008
I get a CTD when clicking Analyse the Team and that other button. The thing is I use a custom modified SVN version with AFS installed over it.

It may be worth looking into what is the cause for future reference, but i have no idea how to trace that error.

Report message to a moderator

Master Sergeant
Re: New Feature: Dynamic opinions[message #333289] Thu, 29 May 2014 16:08 Go to previous messageGo to next message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
Taro
I think there needs to be more events increasing the opinion.
True. Keep 'em coming, I'll post wether I think its reasonable/codeable Smile Taro
Some ideas:

*saved life - healed while mortally wounded
Problem is the health regeneration is over time, which makes tracking it rather hairy... I thought splitting it between bandaging and the real healing though, that should be easierTaro

*back to back badasses - when tightly grouped merc kills X amount of enemies
*got my back - merc performed an interrupt and killed aenemy while the opinion giver had no AP for shot and enemy was X squares from him and had line of fire on him
*sniper-spotter team - opinions are increased when snipers hits the shot and decreased a bit when misses
...
*given ammo by other merc - just a tiny bit of an increase in opinion.
[/quote]Problem is that a lot of these can be either artificially created by the player, just to 'farm positive opinion' (like positioning the mercs in a giant circle and then circulating a single mag), or are hard to track (your first point here requires to keep track of several mercs, over an indefinite time, to determine wether they never during that time exceed a certain distance and so on. I do want something like that, but haven't found an exploit-free but easy to track way yet.
Taro
*of course the loner-socialable dynamic and other traits (peaceful-aggressive/psychotic etc.)
That happens, but it alters morale directly, not opinions.
Taro
*fellow specialist - if mercs have similar training they have some common ground +x opinion per every trait point that matches (ie. sniper and marksmen get +1).
*same as above but with backgrounds, but bigger bonus as its pretty damn rare
There is a new background property that allows to dislike specific backgrounds - still have to post that one.
Taro
*trained by the specialist - may be modified by some character traits and the difference in skill
That is a good idea, will do.
Taro
*the naysayer - the opinion tanks when there is large difference in morale
Hmm. Need to think about that.

Grim
Are hits (on ennemies), kills, and other actions able to change mercs opinions on eachother ? Several already act on morale if i remember right.
Quite a few of them change morale, but not opinions. Personally I feel the morale gain for killing an enemy is waaay to high. As long as you kill people, morale is high, even if mercs should be at each other's throat. Another problem is that the strategic situation also gives a huge bonus to morale - in late game, it is really hard to get low morale. Perhaps I'll adress that soon.

@Taro: Hmm. If you are already on the site, that means that the logo loaded correctly. Not sure then what could cause a crash, I'll check on the weekend. Had some problems with VS2010 file when committing filters though, are you using that?

Report message to a moderator

Captain

Re: New Feature: Dynamic opinions[message #333290] Thu, 29 May 2014 16:24 Go to previous messageGo to next message
Taro_M is currently offline Taro_M

 
Messages:292
Registered:November 2008
Nope Im using VS2008. The crash happens after clicking, the "Downloading" bar pops up goes up some way and I just get CTD.

Report message to a moderator

Master Sergeant
Re: New Feature: Dynamic opinions[message #333292] Thu, 29 May 2014 16:31 Go to previous messageGo to next message
silversurfer

 
Messages:2791
Registered:May 2009
Flugente

; someone else used our body as a rifle rest
OPINIONEVENT_YOUMOUNTEDAGUNONMYBREASTS = -3

Hahaha, this reminds me of "Black Hawk Down".

"Don't shoot that gun next to my head!" *ratatatatata* Very Happy

Great stuff as always Flugente. I wonder how many more times I have to restart the game because you implement something I want to try out from the start. :thumbsup:

Please do not forget to update INIEditorJA2Options.xml.

A few more positive modifiers would be good. Taro already pointed out some options. Maybe assists could be one of them? The game already keeps track of those but I'm not sure if that code can be used.
How about a modifier for messy death? Hardasses might be amused about this while the softer mercs may be annoyed. Wink


@Tbird94lx and Shanga
Development Source Code:
https://ja2svn.no-ip.org/source/ja2/trunk/GameSource/ja2_v1.13
Development GameDir:
https://ja2svn.no-ip.org/source/ja2_v1.13_data/GameDir

@Taro
Check the GameDir files that come with AFS. If you use any mod you are responsible for merging that with the new files manually.

Report message to a moderator

Lieutenant
Re: New Feature: Dynamic opinions[message #333293] Thu, 29 May 2014 17:59 Go to previous messageGo to next message
rummtata is currently offline rummtata

 
Messages:103
Registered:April 2011
Location: Germany
Time for some input.

(1) Avenger I/II/III: If a merc is hit/wounded/killed by a specific enemy, whoever kills this enemy is better liked by the victim resp. friends of the victim

(2) Exterminator: Mercs with the "fear of insects" personality will like comrades better who kill bugs in their presence

(3) Gender trouble: "sexist" mercs will like "show-offs" of the opposite gender even less for showing off (like killing lots of enemies)

(4) Pyromaniac: mercs with the "Demolitions" skill enjoy seeing enemies burned/blown up (killed by explosioves/heavy weapons) and like the responsible team member better

(5) Sadist: mercs with the "Malicious" personality enjoy seeing heads reduced to a bloody mess and like the responsible team member better


Report message to a moderator

Sergeant
Re: New Feature: Dynamic opinions[message #333294] Thu, 29 May 2014 18:12 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3653
Registered:July 2009
I'd argue 4. Some of the demo experts are quite stable and professional folks who wouldn't get any maniacal glee out of it. Psychos would totally dig that shit though.

Report message to a moderator

Captain

Re: New Feature: Dynamic opinions[message #333296] Thu, 29 May 2014 18:34 Go to previous messageGo to next message
rummtata is currently offline rummtata

 
Messages:103
Registered:April 2011
Location: Germany
Hmm, true. Maybe something more generic, like:

(6) Evil Glee: "Psychos" and "Malicious" mercs like team members for detonating, incinerating, decapitating or hitting enemies in the groin, also [if possible] for killing enemies with mustard gas

Report message to a moderator

Sergeant
Re: New Feature: Dynamic opinions[message #333297] Thu, 29 May 2014 18:36 Go to previous messageGo to next message
Taro_M is currently offline Taro_M

 
Messages:292
Registered:November 2008
Quote:
Hahaha, this reminds me of "Black Hawk Down".

"Don't shoot that gun next to my head!" *ratatatatata* grin


WOW! WOWOWOWOWOW...wow

Now that is something that we dont have: getting deafened by someone firing a lound gun from behind you, or if you fire a loud gun X times in a short time. Now this would put some balance into the game and nerf the tactic of just bunching up your mercs in a tiny room and corner camping the enemies.

Add in earplugs and other ear protection.

Also the smaller the room and the louder the gun the more likely it is that shooting it will cause deafness to someone.

Of course the deafness would case a sharp or total reduction in hearing range. The ear protection would decrease it as well, but less. Also less hearing, mean lower interrupt chance (improved interrupts), with also nerfs the corner camping, balance all around.

[Updated on: Thu, 29 May 2014 19:08] by Moderator

Report message to a moderator

Master Sergeant
Re: New Feature: Dynamic opinions[message #333298] Thu, 29 May 2014 19:28 Go to previous messageGo to next message
rummtata is currently offline rummtata

 
Messages:103
Registered:April 2011
Location: Germany
(7) Samaritan: "Sociable" and "Pacifist" (maybe also "Normal") mercs like team mates better for bandaging militia or civilians

(Cool Hero worship: If a merc dies, any friends he had will like each other better

(9) Group gloating: If a merc dies, any haters he had will like each other better

(10) Chivalry: "Gentleman" mercs are liked better by opposite sex mercs, unless those are sexist, for their accomplishments (body count / exp gain / doctoring / teaching / etc)

(11) People person: "Sociable" mercs are liked better by team members whom they spend time with, unless those are "Loners" or "Psychos"

Report message to a moderator

Sergeant
Re: New Feature: Dynamic opinions[message #333310] Fri, 30 May 2014 03:33 Go to previous messageGo to next message
anv is currently offline anv

 
Messages:258
Registered:March 2013
Mind blown.

Ideas for more:

Jealous - Merc A likes Merc B, Merc B doesn't care about Merc B but likes Merc C. Merc A gets jealous and dislikes Merc B - Raider, Raven & Hitman situation.

Crazed Fan - Merc A considers Merc B a buddy. Merc B doesn't care about Merc A but eventually gets annoyed. Bonus points if Merc B is a loner.

Undeserved Hate - Merc A hates Merc B. Merc B doesn't care about Merc A but eventually gets annoyed too.

Enemy Of Mine - Two mercs who hate each other survive a dangerous battle together and call a truce for a moment.

Respect - Merc hears that another merc killed Crepitus Queen/General but wasn't around himself. Bonus points for rebel RPCs.

Proper Maintenance - Merc repairs another merc's equipment (probably farmable).

Bad Teacher/Bad Learner - trainers without teaching trait should get annoyed by stupid (low wisdom or primitive) students and students by stupid trainers.

I Taught Him That - trainer should be proud when his ex-student excels in taught skill (probably hard to track, sadly).

Blame - Merc A likes Merc B. Merc B gets killed, Merc A blames Merc C who was around.

Pathetic Display of Ineptitude - experienced mercs should get annoyed by others screwing up - soldiers with high marksmanship when witnessing others miss easy shots, demolitions experts witnessing mercs blowing themselves up, etc.

It's Getting Personal - mercs who get a lot of negatives in short time should get extra penalty.

Bossed Around - mercs with lower exp levels should get annoyed when in team with unliked squad leader (actual quality of command irrelevant).

New Guy - mercs in a well-knit team (lot of positive opinion modifiers) should get annoyed when new guy joins.

Jonah - when a team of mercs performs badly (deaths, retreats, etc.) they might together start blaming the least liked merc for bringing bad luck.

Early Bird - tired mercs should get annoyed when cooperating with well-rested mercs.

Rival - arrogant mercs should get annoyed by other mercs with same traits. Bonus points if rival has higher exp level. Extra bonus points if rival is arrogant too or a show-off.

Terrorised - cowards should get scared of psychos and aggressive mercs who dislike them.

Big Damn Heroes - mercs in bad shape (outnumbered, wounded) get grateful toward mercs arriving in sector as reinforcements.

That's Better - merc knocked out by gas should get grateful when applied gas mask by a teammate. Bonus points if teammate gives him his own (and only) mask.

Foreigner - when team consists mostly of one nationality (>3 people?), odd foreigners should get annoyed. Bonus of course if it's his hated nationality.

He's Infected! - mercs get distrusftul towards others hit by zombies:P

About Orders Retreat - pacifists and cowards should get grateful toward senior comrade instead.

And minor nitpick - could opinion modifiers on MeLoDy get justified to the right (at least in pairwise comparison)?

Report message to a moderator

Master Sergeant

Re: New Feature: Dynamic opinions[message #333319] Fri, 30 May 2014 05:01 Go to previous messageGo to next message
Slax is currently offline Slax

 
Messages:1410
Registered:July 2006
Location: People riding polar bears...
Noticed "Sexist +1" in the video. Maybe it should say Gentleman instead.

Report message to a moderator

Sergeant Major
Re: New Feature: Dynamic opinions[message #333341] Fri, 30 May 2014 16:33 Go to previous messageGo to next message
krux is currently offline krux

 
Messages:62
Registered:June 2011
Cool feature. But if the highest ranking merc is blamed for failures, shouldn't he also get some cred for successful battles? Otherwise all leaders will most likely be hated. If I hire one of the best mercs people will hate him for his high wage, but if he leads us to victory every time he should still be liked.

Hating a merc for earning more than you do could be based on effectiveness if possible. If someone gets paid more than me, but has a substantially higher kill score than me (hard to evaluate non-combat usefulness I guess), then I would probably be more understanding.

Report message to a moderator

Corporal
Re: New Feature: Dynamic opinions[message #333361] Fri, 30 May 2014 21:21 Go to previous messageGo to next message
Gambigobilla

 
Messages:693
Registered:July 2008
What the hell is "sexist +1"? Will there be an "Ivan of Sharpness +5"?

Report message to a moderator

First Sergeant
Re: New Feature: Dynamic opinions[message #333362] Fri, 30 May 2014 21:46 Go to previous messageGo to next message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
So many ideas... seems I'll have to enlarge the data structure soon Smile

RoWa has found the error that causes the website to crash sometimes. I'll fix that in the weekend. Thanks, Rowa!

'Sexist', in this case, means that the merc is somewhat sexist and judges people of the opposite gender by their looks. Which results in a '+' concerning Fox.

Also note that, theoretically, we could use the website to compare other properties of mercs than just opinions. If the need ever arises.

Report message to a moderator

Captain

Re: New Feature: Dynamic opinions[message #333366] Sat, 31 May 2014 00:03 Go to previous messageGo to next message
rummtata is currently offline rummtata

 
Messages:103
Registered:April 2011
Location: Germany
(12) Safety First: "Nervous" and "Cowardly" mercs like team mates better for defusing mines and disabling traps

(13) Exit Strategy: "Claustrophobic" mercs like team mates better for picking locks

(14) Death to Campers: Taking down a sniper calms everyone's nerves. Killing an enemy with the "sniper" role yields a small relation bonus with the rest of the squad

(15) Head of the Snake: Mercs with high wisdom (80+ ?) appreciate it when their colleagues take out enemies with the "officer" role

(16) Red Cross Hairs: "Aggressive" and "Malicious" Mercs have now qualms about hitting the enemy where it hurts. They respect team mates for eliminating enemies with the "medic" role

(17) Geneva Convention: "Pacifist" and "Social" Mercs just can't shake a bad feeling when they see their comrades gunning down a field medic, hostile or not, and think slightly lesser of them

(18) Take them Alive: "Pacifist" and "Social" Mercs approve of taking prisoners instead of killing them. For handcuffing an enemy, they will like a team mate a little better.

(19) Strength in Numbers: "Nervous" and "Cowardly" mercs are grateful for being backed by meat shields. RPCs approve of defending Arulcan towns and organizing the resistance. Both will like team mates better for successfully training a unit of militia

Report message to a moderator

Sergeant
Re: New Feature: Dynamic opinions[message #333370] Sat, 31 May 2014 00:46 Go to previous messageGo to next message
anv is currently offline anv

 
Messages:258
Registered:March 2013
More: Very Happy

First Impression - special modifier for merc with neutral opinion about someone with value depending if first real modifier is negative or positive.

Remember That Time? - mercs who finish quest together or capture a town should get bonus.

Spilled The Beans - merc witnessed another merc giving up info to Deidranna during interrogation.

Waste Of A Perfectly Good Shootout - aggressive mercs should get irritated at merc who offers enemies surrender.

Never Give Up - agressive mercs should get especially pissed at their leader when surrendering (or person who offers to surrender if prompted by player).

Unsportsmanlike Conduct - pacifists and snobs should get angry at mercs who kill already incapacitated enemies.

Brothers Behind Bars - mercs who are POWs together should get bonus for surviving captivity.

In It For The Money - rebels RPCs should get annoyed by mercs demanding a raise or refusing contract extension due to lack of money.

They're On His Side - any time merc gets angry at player, his opinion about IMPs should decrease.

Wait For Me! - mercs should get angry for comrades who retreat from battle leaving them behind.

Came To Take All The Credit - low level cheap mercs who are on place for a long time should be concerned about new high level mercs arriving.

Team Killer - if one of our mercs killed another (ordered by player, so not accidently), everyone else should be appropriately freaked out.

He's On Our Side Now? - RPCs who just switched sides (Conrad, Igmus, Mike) should be distrusted by all mercs at least for few days after joining.

Serious Business - sober rebel RPCs and snobs should get annoyed when in battle together with drunk mercs.

Killjoy - Drunk mercs should get irritated by sober squad leaders and snobs (not only in battle).

Nice Job, Clumsy - merc should get annoyed when someone else screws up sneaking and causes enemies to notice him too.

You Call That Maintenance? - mercs should get irritated at technician when their lately repaired equipment malfunctions.

Bullet Magnet - mercs should get irritated when attack meant for their teammate hit them instead. Target should be grateful instead.

Report message to a moderator

Master Sergeant

Re: New Feature: Dynamic opinions[message #333379] Sat, 31 May 2014 12:51 Go to previous messageGo to next message
krux is currently offline krux

 
Messages:62
Registered:June 2011
While I like all suggestions above, at some point though I wonder if the player would get anything out of a simulation that complex?

Each of these traits would need some dialogue or other hint for the player so that he knows why the mercs likes or dislikes eachother.

I haven't tried the feature yet, but for example, if I pay one of my mercs and another gets insulted because he's been with you longer, is there any hint of that?

I think that before adding more complex rules for opinions, it has to be connected to the dialogue system. It could also feature responses and counter insults. And someone gets insulted or cursed another merc might defend him or join in on the bashing.

Report message to a moderator

Corporal
Re: New Feature: Dynamic opinions[message #333382] Sat, 31 May 2014 16:17 Go to previous messageGo to next message
Maalstroom is currently offline Maalstroom

 
Messages:340
Registered:December 2008
Location: en route to San Hermanos
@Flug awesome as always,
@anv - i love your ideas Smile
@kux and @anv - it seems it's time for new taunts Smile

Report message to a moderator

Master Sergeant
Re: New Feature: Dynamic opinions[message #333390] Sat, 31 May 2014 23:09 Go to previous messageGo to next message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
Update: r7249 should fix issues of the website crashing.
@krux: The new website is there for that reason - you can read about everybodies problems there.

Report message to a moderator

Captain

Re: New Feature: Dynamic opinions[message #333393] Sun, 01 June 2014 02:02 Go to previous messageGo to next message
Azure_Repeater

 
Messages:144
Registered:March 2014
Location: Philippines
Ah, awesome work, Flugente! Very Happy

Report message to a moderator

Sergeant
Re: New Feature: Dynamic opinions[message #333395] Sun, 01 June 2014 03:21 Go to previous messageGo to next message
anv is currently offline anv

 
Messages:258
Registered:March 2013
Past Acquaintance - If I understand correctly all events at the moment only matter for four days max. It's a bit unrealistic that after 4 days of not seeing each other mercs who possibly went through hell together getting matching BFFs tatoos in the process would become complete strangers - opinions should be part of character development. Maybe after sum of modifiers reaching certain treshold part of it could be translated to time independent modifier.

Example: Let's say time independent modifier can be up to momentary modifier/5. Merc's opinion modifier about another merc reaches 25 at one point. It increases his time independent modifier to 5. Four days pass by, other modifiers expire, but opinion stays at +5 - merc remembers at one point they're were friends. It will stay at least at this level forever unless certain negative is reached - when momentary modifier reaches -5 time independent modifier is decreased by 1 from +5 to +4, and so on - with decrease hitting daily, but not past the limit - if merc modifiers are kept steadily at around -5, it will take 6 days for TIM to go from +5 to -1, but won't decrease further. And the same way around, if they are at one point jumping at each other throats, they will be slightly hostile to each other even long after, unless they actively cooperate and get high positive modifiers.

And another portion of silliness:

Game Over Man - when in sector surrounded by enemies and knowing about it (like just before Drassen Counterattack, 3 neighboring sectors with big red question marks preparing for coordinated attack) cowards should start freaking out, annoying their teammates.

Donner Party - when entire team is out of food and starving, they should start getting distrustful toward each other.

Life Changing Experience - mercs who face death (<5 HP?) but survive could randomly forfeit most of their petty grudges.

Those Two Again - if two mercs hate each others, those who aren't their friends (and therefore don't take sides) around them should be annoyed by their constant bickering.

Is This Some Kind Of A Joke? - mercs who have seen crepitus and try to talk about it to others who didn't should be ridiculed, resulting in both sides annoying each other.

Paranoia Fuel - after discovering enemy assassin, mercs should become distrustful to all non-rebel RPCs.

Proving Their Worth - experienced mercs should look warmly at rookies who just levelled up.

Report message to a moderator

Master Sergeant

Re: New Feature: Dynamic opinions[message #333397] Sun, 01 June 2014 04:12 Go to previous messageGo to next message
krux is currently offline krux

 
Messages:62
Registered:June 2011
It would be cool with some kind of direct feedback though if it's possible.

[Updated on: Sun, 01 June 2014 13:34] by Moderator

Report message to a moderator

Corporal
Re: New Feature: Dynamic opinions[message #333403] Sun, 01 June 2014 16:28 Go to previous messageGo to next message
anv is currently offline anv

 
Messages:258
Registered:March 2013
OK, how about something like this:
Toggle Spoiler

Every time opinion event happens, merc in question would say specified quote. At first quote is selected by event tag (in this case 1), but modders could specify more, ehrm, specific selectors, like:
Toggle Spoiler
In which case most fitting quote is selected top-down from the most fitting to the most generic. Reasoning is that writing 100 (mercs) * 100 (target mercs) * 25 (events) * 3 (friendly, neutral, hostile) would be... problematic? But 25 generic ones + 2-5 per merc in only some situations is not.

And more generic banter (per event only):
Toggle Spoiler
And generic answers:
Toggle Spoiler
used when opinion event is two-way, or when two mercs in row get same event with same merc (pretty much same rule as with already used "I agree with previous speaker" quote).

And another idea for backgrounds - modifiers for certain opinion events. Addicts and thieves shouldn't have that much problem with others stealing and abusing, Spam should be particularly annoyed by killing civilians (even more than other pacifists), Turtle by people not sharing food, ex-prisoners by getting captured, Postie by snitches and rich guys, Hurl grateful for bandaging and so on.

Report message to a moderator

Master Sergeant

Re: New Feature: Dynamic opinions[message #333407] Sun, 01 June 2014 18:53 Go to previous messageGo to next message
krux is currently offline krux

 
Messages:62
Registered:June 2011
That would be awesome. Maybe each merc could have a "politeness stat" (or maybe there already is some smilar value that could be used).

So an rude merc would curse more while the polite one would more likely just point out the others fault.

If each dialogue line could have tags, for example: 75
A merc with a low "rudeness" would then try to chose a less rude comment if available.

Report message to a moderator

Corporal
Re: New Feature: Dynamic opinions[message #333408] Sun, 01 June 2014 21:21 Go to previous messageGo to next message
Maalstroom is currently offline Maalstroom

 
Messages:340
Registered:December 2008
Location: en route to San Hermanos
there should be opinions about players imp character... why not?

Report message to a moderator

Master Sergeant
Re: New Feature: Dynamic opinions[message #333422] Mon, 02 June 2014 20:40 Go to previous messageGo to next message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
Quite a few nice ideas here, I'll see...

A problem in regards to anv's dialogue idea... we cannot do the dialogue at the moment we add an opinion. At least not always. The reason is that some opinions checks are evaluated only once per day, and then for everybody. As a result, you'd have a huge amount of dialogue at 00:00, an nothing at other times.

Another problem is that if we start the dialogue once an opinion was set, and then spin retorts/ripostes/banter out of it, we'd do that 2 times even if the same flag is added for 2 guys at the same time, not one dialogue for both events. Hmpf. Perhaps I need to set up a separate dialogue queue system for this...

Report message to a moderator

Captain

Re: New Feature: Dynamic opinions[message #333423] Mon, 02 June 2014 21:41 Go to previous messageGo to next message
anv is currently offline anv

 
Messages:258
Registered:March 2013
For those midnight events you could set them up with AddStrategicEvent with check execution time randomly next day, it maybe could even prevent possible exploits like spreading mercs between neighboring sectors minutes before 00.00 to avoid all possible negative opinions.

For repeating conversations - if you handle flag checks for both guys in batch, you could set temporary table of booleans per merc/event and when opinion flag is set, set appropriate values for all possible event banter participants, so when flag is set for the 2nd guy, you won't handle his version of dialogue about it. Or you could handle it in HandleDialogueEnd by removing next dialogues in queue referring to the same event that but would probably get messy. If flags for both guys aren't set in row, you could even check if corresponding opinion flag of other guy is already set, and if it is, assume conversation was already said or is waiting in the queue, and block the new one from happening.

In unrelated news:

Drives Me Crazy - psychos and drunk mercs behind the wheel should freak out passengers when travelling between sectors. Bonus points for sexists if woman drives Very Happy

Wrong Parking Spot - mercs in vehicle should be angry at driver if vehicle gets under heavy fire.

This Time It Wasn't Me, I Swear - mercs can incorrectly blame thieves who are around when BR shipment turns out to be incomplete.

Champion - hand-to-hand and martial artists should respect merc who won boxing match.

Return Ticket - mercs currently in helicopter and in hostile air zone should be thankful if others manage to take control of SAM.

Improper Recon - leader should be blamed for his squad getting ambushed.

Lazy Bums - mercs on work assignments should be jealous of mercs resting or drinking.

Doing Everything Myself - merc should be angry at another merc on the same work assignment if he requires much more sleeping hours.

What Do You Pay Them For - mercs should get angry at specialists who don't perform their duties - mercs getting blown up at demo experts nearby, bleeding mercs at paramedics who don't help them, mercs with malfunctioning equipment at technicians, mercs under artillery fire at radio operators.

Report message to a moderator

Master Sergeant

Re: New Feature: Dynamic opinions[message #333428] Tue, 03 June 2014 09:23 Go to previous messageGo to next message
tbird94lx is currently offline tbird94lx

 
Messages:682
Registered:April 2002
Location: ohhhhhh canada
my imp..despises buzz and spends all his time with poor morale except whenkilling..due to she messed with my stuff ..or something..yet..buzz now loves my imp cause he's fun to drink with..LOL it didnt work both ways..his drunk didnt fix her interfereing o.O

Report message to a moderator

First Sergeant

Re: New Feature: Dynamic opinions[message #333457] Tue, 03 June 2014 23:53 Go to previous messageGo to next message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
@anv: I'm making progress on this, though it will be a while before its commmit-worthy. Provided there are no sudden problems we are not yet aware, this could become a feature of its own. Of course it'll be somewhat odd without sound... any ideas on that?

Report message to a moderator

Captain

Re: New Feature: Dynamic opinions[message #333460] Wed, 04 June 2014 01:35 Go to previous messageGo to next message
anv is currently offline anv

 
Messages:258
Registered:March 2013
If opinion event happens in tactical, banter could be displayed above soldier as a civ quote without talking face, like it was in Fallout when player's companions could exchange some banter without opening normal dialogue interface - but unfortunately most will probably happen in strategic. Time of display for unvoiced quotes is already handled properly, but disabling mouth movement on talking portrait when sound is unavailable might be an option anyway. Another is displaying two portraits - opinion giver and opinion target below or on the other side of screen - should distract from the fact that their dialogue lacks sound and make those stand out from normal voice acknowledgements. Finally, depending if event is positive or negative, banter can be accompanied by Cool/Curse battle sound at the quote start to fill aural void and cut it off from previous and following voiced quotes.
https://farm3.staticflickr.com/2939/14317705126_7fbb780820_o.png
Mock-up
If it's any consolation I estimate speech synthesis to be able to pull off relatively good replacements in around 20 years :cheerleader:

Report message to a moderator

Master Sergeant

Re: New Feature: Dynamic opinions[message #333461] Wed, 04 June 2014 03:02 Go to previous messageGo to previous message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
Hmm. Tactical civ dialogue does not sound good, as it would be easy to miss when moving in the map. I like your mock-up better. I like the idea of 'seeing' mercs arguing. My current idea would be to slowly have these picture/text combos appearing, with several visible at a time (like in your pic). As mercs are likely arguing, we could place those with differing opinions on the left an right side of the screen, thereby visually increasing the impression of an argument.

Odd idea... the old GTA 1 (the very first one, where you saw everything top-down, couldn't save and died from one bullet) had this funny soundbite when using a telephone. Perhaps something like that? A simple sound that sounds like talking but can't be attributed to a single person.

Report message to a moderator

Captain

Previous Topic: New merc (kinda): chaos Buns
Next Topic: New feature: new drug system
Goto Forum:
  


Current Time: Sun Dec 01 23:19:12 GMT+2 2024

Total time taken to generate the page: 0.03326 seconds