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 previous message
Flugente

 
Messages:3507
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.

Report message to a moderator

Captain

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New Quest: a questline continues...
Next Topic: New feature: sector fortifications
Goto Forum:
  


Current Time: Thu Nov 28 22:32:32 GMT+2 2024

Total time taken to generate the page: 0.00747 seconds