XCOM 2
[WOTC] Soldier Development
 This topic has been pinned, so it's probably important
Hotl3looded  [developer] 3 Apr, 2018 @ 12:00pm
Mobility
TBC
< >
Showing 16-22 of 22 comments
BurgerKing 13 Apr, 2021 @ 4:33pm 
As Hotblood explained, you only have a chance for +Mobility if you dash in one go. This chance is roughly ~15% by with default settings. Secondly, you cannot perform anything else if you keep dashing during timed missions.

However, there is an exploit to proc +Mobility with just 1AP: https://ibb.co/WvkjL7G

NOTES:
Final Destination should be within Blue Range from Current Location.
CTRL-RMB, then RMB to Final Destination in one go. Melee Attacks works too.
This is not a true 1AP Dash. This mod simply checks the distance you travel to denote a dash instead of APs spent for a single move.
jasonw0041 6 Jun, 2021 @ 9:27pm 
Not sure if anyone encountered this. If the default mobility is set to 14, anyone with higher mobility that receives the mobility increase will be reset back to 14. I triggered 2 mobility increases on 2 soldiers with 16 and 15 mobility respectively. Both were reset back to 14 upon receiving the boost. I modified the INI file default value to 18 and the issue was gone.
Layth36 5 Aug, 2021 @ 4:17pm 
Originally posted by jasonw0041:
Not sure if anyone encountered this. If the default mobility is set to 14, anyone with higher mobility that receives the mobility increase will be reset back to 14. I triggered 2 mobility increases on 2 soldiers with 16 and 15 mobility respectively. Both were reset back to 14 upon receiving the boost. I modified the INI file default value to 18 and the issue was gone.
i did encounter it too. i tried on several soldiers and i was shocked i lost mobility instead of gaining it. ill try ur fix hopefully itll work
BurgerKing 28 Jan, 2022 @ 4:46pm 
@jasonw0041,
This is true. The original codes only check if it is already maxed, but not over:

X2EventListener_TacticalAction.uc, line 290
if (SourceUnit.GetBaseStat(StatType) == MaxStat)
return ELR_NoInterrupt;

It should be:

if (SourceUnit.GetBaseStat(StatType) >= MaxStat)
return ELR_NoInterrupt;
Last edited by BurgerKing; 28 Jan, 2022 @ 5:36pm
Zanten 8 Jun, 2022 @ 9:18am 
@ragnakore where i can find this file?
Last edited by Zanten; 8 Jun, 2022 @ 9:18am
Originally posted by ragnakore:
@jasonw0041,
This is true. The original codes only check if it is already maxed, but not over:

X2EventListener_TacticalAction.uc, line 290
if (SourceUnit.GetBaseStat(StatType) == MaxStat)
return ELR_NoInterrupt;

It should be:

if (SourceUnit.GetBaseStat(StatType) >= MaxStat)
return ELR_NoInterrupt;

Hi there, sorry I am pretty new to this, so I will ask straight away:
Do you mean that if I change the code from:

"if (SourceUnit.GetBaseStat(StatType) == MaxStat)
return ELR_NoInterrupt;"
to
"if (SourceUnit.GetBaseStat(StatType) >= MaxStat)
return ELR_NoInterrupt;"
Then I can worry not about the cap limit making my higher mobility units getting nerfed back to 14?
Last edited by Cringe Isekai Enjoyer; 19 Oct, 2022 @ 4:55am
EvilBob22 9 Nov, 2022 @ 2:44pm 
The code Ragnakore was talking about is in one of the Unreal script files (.uc), not a config (.ini). So yes, it will fix the problem, but only once the code is re-compiled. Either Hotblooded needs to do it, or someone else create an entire new mod from a copy of the code (with the fix included).
< >
Showing 16-22 of 22 comments
Per page: 1530 50