Home » MODDING HQ 1.13 » Flugente's Magika Workshop » Ancient feature: sexism, racism, cursing the french and other human relations
Ancient feature: sexism, racism, cursing the french and other human relations[message #326828] Sat, 19 October 2013 19:33 Go to previous message
Flugente

 
Messages:3461
Registered:April 2009
Location: Germany
Racism/Sexism/Appearance/Refinement/Hated Nationalities

For a game that calls itself Jagged Alliance, relations between mercenaries are pretty easygoing. Sure, everyone hates up to 3 people, but that is not much, considering the number of people we have... Apart from that, our mercenaries are a happy bunch, provided you fulfill your daily quota of massacres.

Well, no more of that happy hippie-ing! Sirtech originally planned to include sexism, racism and other human relation stuff. They created the variables and even filled the old profile data with it, but it got left out of the game... at least it is not used anywhere in the code I know (apart from a small section revived by Headrock). But the entries are still there in old files... So I simply made them work. They will now influence the hourly morale update of our mercs. There are now a bunch of new tags in MercProfiles.xml:
  • is your race: WHITE = 0, BLACK = 1, ASIAN = 2, ESKIMO = 3, HISPANIC = 4,
  • is your nationality, is what nationality you hate (-1 for no hate):
    Toggle Spoiler
    More can be coded very easy.
  • sets your appearance: average = 0, ugly = 1, homely = 2, attractive = 3, total babe = 4
  • determines how distinguished you are: average = 0, slob = 1, snob = 2
  • , and determine how much you care about one aspect: not at all = 0, somewhat = 1, extremely = 2
  • is how racist you are against everyone of any other race: none = 0, some = 1, very = 2
  • is ho sexist you are: none = 0, some = 1, very = 2, and with 3 you are a gentle(wo)man. Being a gentleman does not result in morale modifiers on other genders, but they get a morale drop if you marry away teammates against their will in a certain quest.
Depending on all these settings, each merc will have a much more finetuned opinion on other people. Some opinions will rise (sexists favour attractive members of the other gender), but most of the stuff is negative. Yes, this will mean that dumping Fox into a squad of male sexists will boost their morale. As will dumping Danny into a female party, as he's a total babe, says the game.

http://i39.tinypic.com/20qidsg.jpg
When creating an IMP, you can select all that. Yes, this means that we can now built dropdown selections, as I built that. Which was horrifying work, thank you.

http://i39.tinypic.com/2h3assh.png
Of course, you will want to know all that. so here you can see it.

Selecting a nationality/race/appearance does not yield any other boni/mali, and it will stay that way. Otherwise I expect this thread to violently go up in flames once people offer such distinguished opinions as "asians should get a malus to driving cars", "israelis want higher wages" or "beautiful women with blond hair should get -x% wisdom stat effectiveness". Should that be your opinion, post it somewhere else and not here.

As I am unfamiliar with the DG/WF/UB mercs, I did not fill out values those, hoping that someone else can. There are also some odd sirtech values (like Blood being american instead of south-african).

While this feature was planned to be in the released game, an thus never optional, there is still a way to turn it off if you want. I added modifiers to JA2_Options.ini each topic that control the severity of a morale penalty:
Toggle Spoiler
Setting all these values to 0 will effectively turn this feature off.

While this feature will not break existing games, mercs wont have only default values unless you loaded your merc data from PROF.DAT. In that case everybody will be totally average (=american).

This does not break savegame compatibility.

This feature is in the trunk as of r6510 and GameDir r1835.

Edit 1: r6521 adds a bit of new goodies:
  • mercs with average refinement get a morale penalty if they care extremely about refinement and the other merc is a slob or snob
  • added belgian and portoguese nationalities
  • Fix: race, sexism etc. xml data didn't correctly overwrite PROF.DAT data
  • Reworked DropDown class. It is now much easier to use, the user has to implement only one function. See Documentation in DropDown.h.
  • Added Helptexts to DropDown that will show when hovering over the main region of the DropDown.


 
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 feature: Covert operations
Next Topic: New feature: enemy generals
Goto Forum:
  


Current Time: Sat Sep 21 03:50:55 EEST 2019

Total time taken to generate the page: 0.01100 seconds