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

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:2791
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

Report message to a moderator

Lieutenant
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 is currently offline Stavian

 
Messages:107
Registered:February 2019
Location: Philly/DC
Very nice thank you! Things that add realism and different options greatly improve replayability.

Report message to a moderator

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

Report message to a moderator

Captain

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

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


How to get: latest 1.13, 7609 and more | 7609 SCI (eng) | Compiling+SVN

I need more details. (Didi Hallervorden)

Report message to a moderator

Master Sergeant
Re: New feature: Administration assignment[message #361352 is a reply to message #356696] Tue, 22 September 2020 13:46 Go to previous messageGo to next message
Kurt is currently offline Kurt

 
Messages:420
Registered:March 2004
Flugente wrote on Thu, 14 February 2019 21:41
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

Pray tell, my Build 8796's "Items.xml" the laptop has the <usHackingModifier>, but there is no trace of an <usAdministrationModifier> anywhere.

Has this feature been abandoned?

Report message to a moderator

Master Sergeant
Re: New feature: Administration assignment[message #361353 is a reply to message #361352] Tue, 22 September 2020 13:55 Go to previous messageGo to next message
silversurfer

 
Messages:2791
Registered:May 2009
Kurt wrote on Tue, 22 September 2020 12:46
Flugente wrote on Thu, 14 February 2019 21:41
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
Pray tell, my Build 8796's "Items.xml" the laptop has the <usHackingModifier>, but there is no trace of an <usAdministrationModifier> anywhere.

Has this feature been abandoned?
No, Flugente has just forgotten to upload the updated Items.xml.



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

Report message to a moderator

Lieutenant
Re: New feature: Administration assignment[message #361362 is a reply to message #361353] Wed, 23 September 2020 17:13 Go to previous messageGo to next message
Kurt is currently offline Kurt

 
Messages:420
Registered:March 2004
I see. Thanks. So if I add those lines myself, it's bound to work, isn't it?

Report message to a moderator

Master Sergeant
Re: New feature: Administration assignment[message #365682 is a reply to message #361362] Mon, 21 August 2023 17:56 Go to previous message
Kitty

 
Messages:473
Registered:October 2017
Location: Germany
Better late than never

Added the missing <usAdministrationModifier>-tag to items.xml

and assigned it to item 1021 "Laptop" with a value of 20, granting a 20% effectivness to administrative work



[Updated on: Mon, 21 August 2023 17:56]




How to get: latest 1.13, 7609 and more | 7609 SCI (eng) | Compiling+SVN

I need more details. (Didi Hallervorden)

Report message to a moderator

Master Sergeant
Previous Topic: New Quest: a questline continues...
Next Topic: New feature: sector fortifications
Goto Forum:
  


Current Time: Thu Nov 28 20:38:56 GMT+2 2024

Total time taken to generate the page: 0.01119 seconds