Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: Administration assignment
New feature: Administration assignment[message #356696] Thu, 14 February 2019 22:41 Go to next message
Flugente

 
Messages:3476
Registered:April 2009
Location: Germany
This most boring feature is to adress the following issues:

  • We have a wide variety of mercenaries at our disposal, with widely differing talents. Most are good at combat. Some at training. Or doctoring. Or repairing. Or spying. Or shoveling graves. There are, however, a few mercs that barely qualify for anything *waves at early M.E.R.C. roster*. Would be neat if at least some of them had a specific talent.
  • The player themselves does all kinds of logistics/administering. While we can't have the mercs do that, it would be neat, if only from a roleplay perspective, if we could represent that ingame.

I've adressed this by adding a new assignment: Administration.

https://i.imgur.com/SSf2dFl.png

A merc on this new assignment will generate assignment points. These points are then calculated into a percentual increase in other merc's effectivity at their assignments and evenly distributed. The first number on the portrait shows the percentage generated, the second one is the percentage for merc who receives this benefit. Due to technical reasons, the second number only takes into account the mercs who have been at their assignment long enough to count, so this isn't immediately correct upon setting the assignment.

https://i.imgur.com/y7cr8T9.png

Shepard's normal max points for training militia (84) are smaller than the number she currently has, 96, due to Lara and Sara boosting assignments in Drassen by 15%. Notice that Lara benefits others even though she is in another sector (C13 vs D13). For ease of use, the administration bonus is shard over all sectors in a town. Outside of towns it only works for the sector itself.

The point generation works like this:
Toggle Spoiler


Most assignments benefit from this - they are:

  • any doctor task
  • any repair task
  • traing oneself, being a trainer, being student
  • training/drilling militia/workers
  • moving items
  • staffing facilities
  • spreading rumous
  • interrogation
  • fortification
  • burial
  • diagnosing/treating disease

The maximum bonus one can reach is limited by an ini value. As the points are distributed, obviously the benefits are smaller if more mercs share them between them.

JA2_Options.ini values:
Toggle Spoiler


There is a modifier for this assignment in Backgrounds.xml. I've set it for a few mercs, which will make Flo, Carp, Speck, Biff and a few others very useful on this assignment.
Toggle Spoiler


There is also a new Items.xml tag, I've set it for the laptop, because it seems to be the most useful item if one were to perform some sort of office work:
https://i.imgur.com/S0TSM0D.png
Toggle Spoiler


This is fully savegame compatible.

This has been added to the trunk in r8665 & GameDir r2472. Using the new exe without the new GameDir hastens the dawn of the century of blood by a sennight.

[Updated on: Thu, 14 February 2019 22:47]




I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Re: New feature: Administration assignment[message #356697 is a reply to message #356696] Fri, 15 February 2019 00:54 Go to previous messageGo to next message
silversurfer

 
Messages:2599
Registered:May 2009
Finally a use for those bad mercs besides slowly repairing items. I assume that they will gain some wisdom and leadership from this assignment?

Now we just need a cellphone in addition to the laptop. Then we can hire Biff to run this gig.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: New feature: Administration assignment[message #356699 is a reply to message #356697] Fri, 15 February 2019 01:32 Go to previous messageGo to next message
Stavian

 
Messages:95
Registered:February 2019
Location: Philly/DC
Very nice thank you! Things that add realism and different options greatly improve replayability.
Re: New feature: Administration assignment[message #356703 is a reply to message #356699] Fri, 15 February 2019 02:24 Go to previous messageGo to next message
Flugente

 
Messages:3476
Registered:April 2009
Location: Germany
@silversurfer: yep, they gain a bit of wisdom, leadership and experience for this... but only for those points that were actually used up by others.

This still leaves some mercs with no speciality, like Haywire, but it at least slims the collection of useless dudes.



I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Re: New feature: Administration assignment[message #356802 is a reply to message #356696] Sun, 24 February 2019 06:21 Go to previous message
Kitty

 
Messages:84
Registered:October 2017
Location: Germany
A little feedback here. While playing with version 8665 on 2472, the assigned mercs stopped (or at least entry started blinking red) when the supported merc (the one doing a job in same sector) went asleep. In ini-settings i have synched sleep/work, but maybe that doesn't come in account for administer? They start working again, if the other one is awake again. The bliking red is just a little disturbing.



I need more details.

(Didi Hallervorden)
Previous Topic: New feature: Tripwire-triggered mines, directional mines (claymores), mines display, layered hierarc
Next Topic: New feature: new drug system
Goto Forum:
  


Current Time: Tue Nov 12 10:38:52 EET 2019

Total time taken to generate the page: 0.01219 seconds