OpenXcom Forum

Modding => OpenXcom Extended => OXCE Support => Topic started by: Thermite on April 10, 2020, 03:59:09 pm

Title: [Solved] Xcom Utils: statstrings
Post by: Thermite on April 10, 2020, 03:59:09 pm
 Hello, I don't know who keeps Xcom Utils, but I thought this might be the place to talk about it, since I didn't find it anywhere on the folders.
 So, I am playing Xcom Files, but the statstrings mod doesn't seem to work with it, I think because "sanity" was added. So could anyone help me out on how to make a fix for that? I know there is a way to solve it. Maybe even by making the original mod "platform" agnostic?
 Anyway, thanks for the help in advance.
Title: Re: Xcom Utils: statstrings
Post by: SIMON BAILIE on April 10, 2020, 05:38:26 pm
You could try this: change the master in the stat strings metadata.yml file from xcom1 to x-com-files-see attached. Note I have only tested this briefly and can't be sure if there would be any problems down the line, but IMO there shouldn't be.
Title: Re: Xcom Utils: statstrings
Post by: Thermite on April 11, 2020, 08:46:41 am
You could try this: change the master in the stat strings metadata.yml file from xcom1 to x-com-files-see attached. Note I have only tested this briefly and can't be sure if there would be any problems down the line, but IMO there shouldn't be.

What if I want to monitor sanity?
Title: Re: Xcom Utils: statstrings
Post by: SIMON BAILIE on April 11, 2020, 12:00:07 pm
I would pm Solarius for a more definitive answer.
Title: Re: Xcom Utils: statstrings
Post by: Solarius Scorch on April 11, 2020, 06:23:00 pm
I never used stat strings. And I don't think they will use properly with XCF, since different stages of the game have different stat scales.
Title: Re: Xcom Utils: statstrings
Post by: Thermite on April 12, 2020, 01:22:47 am
I never used stat strings. And I don't think they will use properly with XCF, since different stages of the game have different stat scales.

That can be added to the specifics of it, though, i.e.: it's ruleset...
Title: Re: Xcom Utils: statstrings
Post by: spawi on December 31, 2020, 12:39:00 pm
Here is how to make it work as of OXCE 6.8.3 and X-COM Files 1.7b:

Find the statstring .rul file in your OXCE installation. Example path on Windows:

C:\Users\yourUserName\yourPath\OXCE\standard\XcomUtil_Statstrings\XcomUtil_Statstrings.rul

Copy this file to your X-COM files mod dir ruleset. Example path on Windows:

C:\Users\yourUserName\yourPath\Documents\OpenXcom\mods\XComFiles\Ruleset

Done! Now your soldiers should have statstring. Edit the .rul file you copied to modify them.

Note there is no reason for this mod to not work with X-COM files. This is an OXCE feature. I believe "sanity" is just the name for "manaPool" from the statstrings ruleset reference: https://www.ufopaedia.org/index.php/Ruleset_Reference_Nightly_(OpenXcom)#StatStrings

NOTE However, there is a major issue with statstrings: they do not take into account bonuses from commendations, making them quite useless in my opinion.