XCOM 2
Soldier Fatigue Updated
444 条留言
spaceweezle 2024 年 4 月 2 日 下午 10:17 
Thanks a lot for making this. Game feels so wrong without fatigue. Also feels very limited having only 4 classes. Wonder if there's a mod that incorporates classes from LW.

I didn't like the overall design and balancing of LW2 so I'm trying vanilla for the first time.
agris 2024 年 3 月 14 日 下午 5:35 
Thanks, I've tried all permutations of placing:

[SoldierFatigueUpdated.UIPersonnel_LivingQuartersFatigue]
Y_POSITION = -50

in XComSoldier_Fatigue.ini, XComFatigue_Settings_Defaults.ini, and %USERPROFILE%\Documents\My Games\XCOM2\XComGame\Config\XComFatigueSettings.ini

The former two files are in the game's workshop directory, the latter being in user space. I can't make the Y axis setting change the living quarters text.

While I don't know unreal 3.5 (or any version) scripting language, I can stick a fork in an electrical socket like the best of them. I found your LivingQuarters_Listener.uc source, and it looks like the text that is drawn over the semi-transparent box has a hardcoded relative position to the box [code]DisplayText.SetY(BGBox.Y + 10)[/code] which is not user-editable in the compiled *.u script.

Like most of my remaining mod niggles, I'll need to probably configure the SDK to make this change if my OCD won't calm down.
Numbers  [作者] 2024 年 3 月 14 日 下午 1:58 
Changing that value should be correct. I haven't had the game installed in a long time but make sure you're editing the version of the ini that is loaded by the game and not the one downloaded by the workshop. I think it is in Appdata or Documents or something, not the Steam/workshop folders.

There's also a chance that those X/Y coordinate can be adjusted by the MCM if you're using that. Genuinely don't remember. Apologies.
agris 2024 年 3 月 9 日 上午 10:52 
@Numbers

I'm using this with Vanilla XCOM2, no conflicts in AML, and the fatigue panel in the living space is not aligned with the names. https://i.imgur.com/XvPBDMw.png (This is probably due to my aspect ratio being 16:10 instead of 16:9, not a big deal)

I thought this would be an easy fix by modifying the Y_Position variable under [SoldierFatigueUpdated.UIPersonnel_LivingQuartersFatigue] in your mod's XComSoldier_Fatigue.ini, but that doesn't do anything. I also tried putting the setting in your defaults ini file, but also did nothing.

Is there a way to change the text or panel alignment in your mod?
VitaminBlitz 2023 年 8 月 4 日 上午 7:38 
WOTC Doesn't need this mod, XCOM 2 Classic does.
WarLLT1315 2022 年 12 月 31 日 下午 10:31 
@cruiser → Pause Scanning [WOTC] This mod , It completely meets your requirements. https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1154579172 [/url
cruiser 2022 年 7 月 23 日 下午 6:01 
Is it possible to have the game pause, or at least show a notification, when a soldier gets out of fatigue? Would make it much easier to juggle the Living Quarters slots.
[DG] Z Type Knight 2019 年 7 月 26 日 上午 12:03 
It's nice for people who play Vanilla XCOM 2 and would like a reason for larger soldier rosters. It's unnecessary for War of the Chosen players, as WotC has a stock fatigue system.
Daiggsta 2018 年 3 月 9 日 上午 11:37 
@Numbers thanks dude
Numbers  [作者] 2018 年 3 月 9 日 上午 10:49 
It is not. WotC implements its own fatigue system so I have don't plan on updating this. It'd be redundant.
Daiggsta 2018 年 3 月 9 日 上午 10:39 
Do we know if this is compatible with WotC?
macelharen 2017 年 9 月 20 日 下午 12:42 
roger that
Numbers  [作者] 2017 年 9 月 20 日 上午 9:34 
I can look at it but I have a sneaking suspiciion it has something to do with the fact that Shen's last gift is split up into the three parts. Its possible the fatigue scaling is only taking the last part into account. Let me know if it happens on other missions.
macelharen 2017 年 9 月 20 日 上午 2:10 
oh hey. i'm baaaaack. was off bugging XCOM2 Siege's author. uhm...unrelated to last conversation, i'm not getting scaling on my fatigued soldiers. seems it's just giving the base fatigue...started noticing it a few missions ago.
I just finished "Shen's Gift" with 56 turns under everyone's belt and the fatigue is around 4 days (checked settings and sure enough i have 20 days scaling with 12hrs as the next slider)

Haven't really pinned down a suspect mod yet.
My most recent acquisitions are:
Don't Point At Me
Clean Camera Angles Fix
Change National Languages
Disable UI Distortion Effect
qUIck_FIX & SwappImg
*frowns* jeeez, i hope it's not quick_fix/swappimg

I rarely use the alternative launcher, but i'll fire it up and see if it spots anything wierd. uhm...nope. but, then again, i don't really trust that launcher much for anything subtle.
============
as for the other problem i posted about earlier...hmmm...i'll keep an eye out once i get 6+ roster
macelharen 2017 年 9 月 3 日 上午 11:18 
it might. i had to subscribe to "ultrawide fix" to deal with warped soldier images and their corresponding buttons below. stands to reason that not only would the fatigue be displaced (as shown), but also that other cosmetic bugs would be present...caused probably by longwar toolbox &/or a combo of other mods.
Numbers  [作者] 2017 年 9 月 3 日 上午 11:13 
Does that only happen with 5 people?
macelharen 2017 年 9 月 2 日 下午 10:01 
http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1126849528 (this was after a 4 days scan right after a mission that showed the fatigue times as shown in the after action panel)
http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1126850653 (after exiting that screen, then clicking mission on map almost immediately)
Numbers  [作者] 2017 年 9 月 2 日 下午 6:05 
Can you post a screenshot of what you mean?
macelharen 2017 年 9 月 2 日 下午 5:22 
ahhhh question: is it going to be possible to clear the buggy fatigue displays in load out screen? they're almost always incorrect and i feel like i have to clear squad to refresh the fatigue counters
macelharen 2017 年 9 月 2 日 下午 5:15 
"if wishes were horses, beggars would ride"
It would be neat, i totally agree. Although i bet it's impossible mod wise, unless the author hacks the code bigtime.
Zombra 2017 年 8 月 29 日 下午 4:27 
It would be neat if this mod removed fatigued soldiers from the "auto-populate" for new missions. Like, I do a mission, all my guys get fatigued, then I do another mission and those same guys are automatically assigned, so I have to remove them manually.

Also it would be neat if there was some kind of periodic message to remind me to move soldiers out of barracks resting slots, I just put guys in there and forget about them for weeks :)

Note I play vanilla modded, not WOTC and not LW2, if that matters.
Numbers  [作者] 2017 年 8 月 28 日 下午 8:14 
I think its a mix of my fault and long war's fault. Long war reworks how staff slots work a little bit and I don't think I correctly block soldiers from doing things when they are recovering from fatigue.

Sorry about that problem but if you don't assign a soldier to do two jobs at once then it shouldn't occur. I wish that I could get a soldier to leave the barracks when they are done recovering from fatigue but that would require completely rewriting how fatigue works. Apologies.
eldiabs 2017 年 8 月 28 日 下午 5:23 
Not sure if it's a combination of this mod and long war 2 or what, but I'm getting soldiers stuck in various training menus when they are set in a fatigue slot, then set to train somewhere else. They block out the officer and AWC training slots in long war 2 due to this. Pretty game breaking as those slots are fairly critical. Can't find a way around fixing it unfortunately. The soldiers show as active, but the slots are permanently blocked.
Dio Off-Brando 2017 年 7 月 21 日 下午 4:45 
This mod made me get the beginner's luck achievement. Thank you for making me grow some balls in XCOM again.
irishmafia2020 2017 年 7 月 18 日 下午 5:09 
War of the chosen has fatigue? Awesome - this is the one of my favorite features from LW 1 (and I have really enjoyed your mod here) and oddly it is one of the factors in me not enjoying LW2 as much... I realize that their "infiltration" feature is similiar, but I miss having an army of 60-80 soldiers and needing send rookies out on mid game dangerous missions...
Marol 2017 年 6 月 25 日 下午 1:46 
Aye, they're implementing a lot of stuff that has showed up as mods first, such as soldier bonds.
Numbers  [作者] 2017 年 6 月 25 日 上午 11:15 
I saw that. Glad someone besides me likes the fatigue system :)
Marol 2017 年 6 月 25 日 上午 10:45 
To think this mod will soon be obsolete - War of the Chosen is bringing a fatigue system into the game.
Numbers  [作者] 2017 年 6 月 10 日 上午 8:41 
Naw. You're good man. :)
Jewels 2017 年 6 月 9 日 下午 9:21 
no no it is fine, no need to rush, and no it can't be set to 0 sadly, I apologize if I sounded demanding :)
Numbers  [作者] 2017 年 6 月 9 日 下午 6:18 
I will try to create a version without the staff slots. No promise on when it will appear though. (I can promise it around the time that the expansion comes out though) If you need it now, there's a copy on the nexus mods without staff slots. Go to the files tab and download version 1.06. I'm not 100% sure what other features will be missing from that copy but it's fully functional.
Numbers  [作者] 2017 年 6 月 9 日 下午 6:09 
I apologize as I haven't looked at the mod code for this in a long time. I know that I made the number of slots customizable. Did I allow you to set 0 of them?
Jewels 2017 年 6 月 9 日 下午 5:54 
can you make a version to disable any modifications to the living quarters please, I am irritated how all the troops disapear when it isn't in use in the Avenger view
Weimond 2017 年 6 月 7 日 上午 10:27 
The mod works mostly just fine but for me I can´t use the livingquarters and speed up the fatigue recovery time, quite annoying and forced me to tweak other setting parameters to make things playable.
Thor of Florida 2017 年 5 月 26 日 下午 8:12 
Mod's pretty good for the first time i tried it, but I had to take off the mission scaling as it was making me run out of soldiers to use (with true concealment, i could go on very long missions). I did increase the base fatigue setting to ten, tho i might increase the variance later a bit too.
One suggestion i would make is that, like the wounded to active soldiers, there would be a notification that the soldier is rested up (or at least the ones that are put into the living quarters). Speaking of which, could you add in that the ones put into the living quarters are automatically removed when the fatigue is gone? Would be great to know if i can put in a new person to rest up faster.
Dragon32 2017 年 4 月 24 日 下午 4:47 
Trying the mod out for the first time this campaign, really enjoying the challenge it gives. Although I only enabled it after the first Retaliation mission so I had a pool of soldiers to work with. I'm a wuss.

I'm using it with Scanning Sites Plus and Improved Mission Variance so I don't have a quite vanilla mission breakdown. Oh, and I added Configurable Mission Timers after I started using A Better AI. Wuss, see above.

Anyway.

With all those mods I've been playing about with the settings, and MCM support is just fantastic for that so thanks for that. I was wondering if it would be possible to allow the "SCALING_PENALTY" to be less than 24? I've been thinking of making it maybe 6 hours per turn. I think I could change it in the MCM folder INI but I'm not sure if that would be reset each time I open the MCM options pane for this mod. Or maybe each time I open MCM.

This adds good depth to the game so I have to build up a sizable roster rather than relying on just one teams.
UnterSS 2017 年 2 月 17 日 下午 1:13 
Make weary soldiers who were sent on a mission, will have reduced, accuracy, agility, dodge, defense, etc.
The soldier was wounded just because I was tired, it does not seem logical. (Sorry for my english. Google translator)
marshmallow justice 2017 年 1 月 31 日 上午 7:14 
I've got 6 days with 2 spread, and anything past 10-12 turns adds 12 hrs, with 3 resting slots. Usually this means 3 blokes are off duty if a <6 day infil pops up after.

One issue maybe though is that it might bug out the Officer training slots.. My 2Lt is stuck forever in the officer training school, though I can use her and she has all the perks from 2Lt. I might have had her in fatigue resting at the same time, no idea.
Numbers  [作者] 2017 年 1 月 30 日 下午 5:46 
I haven't tried but my 5-10 minute think on the matter hasn't really found a nice way to balance it. I wouldn't really reccommend it honestly but I'm open to any ideas that people come up with to balance with LW2.
Balmong7 2017 年 1 月 30 日 下午 5:09 
Has anyone spent some time figuring out the balance in LW2 of soldiers for this? I'm finding that you need just a ridiculous amount of units make fatigue balanced. Otherwise you get to a point where you literally cannot field mission have to let like 10 pass by (which you know, can lead to a game loss). I love the idea of the fatigue mod and I want to use it. I tried doubling my starting barracks. but it still doesn't seem to be enough. Anyone else mess with it and found a good balance?
Numbers  [作者] 2017 年 1 月 22 日 上午 9:48 
Thinking about it, My instinct is that fatigue is probably compatable. The living quarter staff slots might or might not work correctly and I have no clue if soldiers would recover from fatigue while infiltrating but it probably works. Again, untested though.
I Beat Moderate AI 2017 年 1 月 22 日 上午 8:16 
In my opinion, there is no obvious reason, why this shouldn't work. So if it gets ****ed up, it will be in the middle of the campain for some very elusive unobvious reason :-).
marshmallow justice 2017 年 1 月 22 日 上午 6:56 
It doesn't fuck up the game though, if I use it right? I've no issues of making it harder, just wondering if LW2 borked it.
I Beat Moderate AI 2017 年 1 月 21 日 上午 10:54 
The LW guys specifically stated, that one of the purposes of Infiltration is replacing Fatique as the mechanism to limit your ability to use the same squad all the time. (And it does much more, of course). So this mod would be redundant with LW2.
Numbers  [作者] 2017 年 1 月 21 日 上午 9:01 
Long war 2 does not have fatigue however it does have a mechanic where soldiers will only be able to go on one mission every few days similar to fatigue.

Long war 2 is very difficult as is and I will be either updating this or making a compatable version but honestly I wouldn't recommend it. It would be extremely difficult.
marshmallow justice 2017 年 1 月 21 日 上午 12:03 
Does LW2 have fatigue? do I need this still?
Maceman121 2017 年 1 月 19 日 上午 10:27 
Oh, right, forgot about that. Just found it odd that the wounded ones had less time fatigue than the rest. Otherwise, with that math, looks good, so thank you :-). I will need to play around with settings to get a good time settled, but doing great.
Numbers  [作者] 2017 年 1 月 19 日 上午 9:54 
The first time a soldier gets fatigue you get 4 extra days which I do for balance reasons. You should see the numbers you're expecting after that.
Maceman121 2017 年 1 月 19 日 上午 7:59 
@Numbers I took 16 turns. The mission was meant to be 9, but have the mod that while in concealment, turn countdown doesn't go. I turned off the setting and things seemed a bit better after replaying that last turn. I do find it interesting that when I turned the base turns to 6 with a range of 4, I have fatigue of 7, 8, and 9 days for my wounded 3, and 9, 9, 14 days for my unwounded ones. My gravely wounded only got 9 days fatigue and 16 days wounded.... yet my unwounded guy got 14 days fatigue all on his own.
Numbers  [作者] 2017 年 1 月 18 日 下午 11:39 
Did you take a lot of turns on the mission?

There's a mechanic called fatigue scaling where if you start to take a really long time in a mission, soldiers will start to get extra fatigue. I cap it at 21 days so that you don't get a soldier being fatigued for several months from one mission. You can turn this off in the settings.

I'm going to turn it off by default in the next update. It can be pretty brutal in difficulty sometimes.