XCOM 2
1,129 ratings
[WOTC] Idle Suppression
5
4
3
10
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
301.786 KB
Aug 7, 2018 @ 6:59am
Oct 18, 2018 @ 4:41pm
10 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Idle Suppression

Description
----------

IMPORTANT NOTE

Since people can't take 2 minutes to read through the description, take note of this here:

Q: The mod crashes the game a lot / Nearly unplayable FPS. Why is that?
A: This seems to be inconsistent behavior and it's due to how Firaxis programmers made the firing effects happen. There isn't a direct fix, but many users suggest bringing the Translucency setting to low helps reduce the crashes immensely. Some report that bringing the Shadow setting to Only static shadows also helps. Other are just SOL.

----------

This mod adds Idle Suppression to all units. What does that mean? Well, instead of units sitting still, waiting for their turn, they will visually pick a random enemy target and fire at it. Now imagine about 8 people doing that, suddenly it feels like a lot more engaging firefight.

The mod was inspired by the old Idle Suppression for the legacy game, made by robojumper.

Conditions for Idle Suppression attacker:

- Unit must not be selected.
- Unit must have a compatible weapon and ability.
- Unit must have ammo for their weapon.
- Unit must not be concealed.
- Unit must not be flanked.
- Unit must not be on Overwatch.
- Unit must pass the roll for Idle Suppression ( configurable ).

Conditions for Idle Suppression receiver:

- Unit must be visible.
- Unit must not be concealed.
- Unit must be in combat.
- Unit must not be targeted.
- Unit must pass basic checks, such as being alive, not cosmetic, not a civillian, etc.

Configuration:

I've tried to expose as many configurable variables as possible so that people can change them up as they please. Currently there are configs for:

- What type of weapons can be used for Idle Suppression.
- What abilities can be referenced for Idle Suppression.
- The chance for a unit to begin Idle Suppressing, instead of Peeking or Idling.
- The chance for a unit to fire more than 1 shot in a row while Idle Suppressing (And adjusting how many).
- Minimum and Maximum time between peeks for units who use cover.
- Minimum and Maximum time between idles for units who don't use cover. (Reason I seperated these was so I can configure non-cover units to Idle Suppress more often)
- Change it so that Idle Suppression ONLY plays for units who are overwatching.
- Adjust the speed for idle suppression. By default, it's slightly faster than regular animations.
- And more keep getting added every so often.

FAQ

Q: Does this do any actual damage / does it actually suppress the target / does it consume ammo?
A: No, it's purely visual. The mod is entirely cosmetic. It's aim is to make the battles more visually appealing, it does not add, nor change any game rules that you are used to.

Q: Do I need to start a new campaign/new mission for this to take effect?
A: No, it should work immediately.

Q: Does this have any ModClassOverrides?
A: Yes, I am overriding XComIdleAnimationStateMachine, which as far as I know, shouldn't affect any other mod, since it's a very obscure file to even consider editing.

Q: Are there any mod conflicts?
A: Not as far as I know. This should work fine with just about every mod. (Only exception being if any mod overrides what I mentioned above, which is again highly unlikely)

Q: Do I need anything in order to run this mod?
A: It needs the community highlander.

Q: How do I change the settings for this mod?
A: Find the mod's config files. If you don't know where they are, google it or use this link for a visual guide: https://imgur.com/a/RpyEd#vvXAO2v

Q: The mod crashes the game a lot / Nearly unplayable FPS. Why is that?
A: This seems to be inconsistent behavior and it's due to how Firaxis programmers made the firing effects happen. There isn't a direct fix, but many users suggest bringing the Translucency setting to low helps reduce the crashes immensely. Some report that bringing the Shadow setting to Only static shadows also helps. Other are just SOL.

Changelog:

v1.0
- Initial release

v1.01
- Properly caching Screenshakes and Cinematic camera events now, so they don't get removed until a restart.
- Added a config allowing Screenshakes from weapon animations during Idle Suppression

v1.02
- Added a fix where enemy units were being Idle Suppressed while they were first revealed.

v1.03
- Fixed some cases where enemy units wouldn't fire.
- Units who are carrying bodies will no longer attempt to Idle Suppress.

v1.04
- Added some slight optimization.
- Chosen assassin will no longer do Idle Suppression while concealed.
- Decals from Idle Suppression are now disabled by default. You can reenable them from the config settings.
- Added config that makes units no longer fire at The Lost when it comes to Idle Suppression.

v1.05
- Added config allowing you to adjust the maximum amount of units that can Idle Suppress at the same time.

v1.06
- Rebuilt to work with the Legacy Pack update.
- Added a safety check for a repeating error, game should crash less often.

v1.07
- Added new config, which allows soldier to "Idle Reload" their weapons from time to time.
- Fixed slight issue which might cause soldiers to not Idle suppress sometimes.

Credits:

CGNick (Me) - For spending a few days, seeing what I can do.
robojumper - For writing the original code, which pointed me in the right direction on how I can go about making this mod.

And everybody else who helped me test this for any issues before releasing it.
648 Comments
Pat The Cat Jun 16 @ 8:13am 
anyone ever fingure out if it was possible to restrict the types of enemies targeted by the idle suppression?
I assume since the lost can be turned off it's possible, and I recall it being asked some years back, but was it ever disclosed?
Nullified Jan 4 @ 2:09pm 
Update on my experience, although the mod works, LWOTC user here, I experience CTD straight to desktop and freezing during alien movement when this mod is enabled, I have extensively tested the same battle 8 times 4 times with the mod enabled, 4 times without the mod enabled, prior to diagnoses that this mod was causing issues I haven't had any issues with the mod In LWOTC campaign until I started playing Tactical legacy. crashing 1-2 times every other battle. 7 missions to be exact.

Note. what I have realised is, it only seems to crash using laser/magnetic weapons however as stated in the desc v1.06
- Rebuilt to work with the Legacy Pack update.
- Added a safety check for a repeating error, "game should crash less often" doesn't sound very consoling.
R0CKETB0MB Nov 30, 2024 @ 3:57pm 
Thank you for blessing my 350th hour with XCOM 2 and porting to WOTC, runs smooth as butter on my rig and the live firefights look incredible while choosing between targets
ArtanisKAI Nov 21, 2024 @ 8:07pm 
its not a serious problem sincew my 1660 can more than hanfdle the chaos, but at tines, the shooting causes my sound to get too muffled. its like my entire game is drowning in water.
=[NK]= Col. Jack O'Neil Sep 14, 2024 @ 4:56pm 
Use the lite version. I run it on my ally rog and no issues.
X-COM Sep 14, 2024 @ 1:09pm 
@Gandalf my rig is a super computer and it still crashes. The problem is the game + this mod, not your rig.
Gandalf the Morally Grey Sep 6, 2024 @ 9:51pm 
I only wished it worked well on my rig, as it stands, I crash to desktop a lot. Are there any other games that do what this mod does?
DerkDurk May 24, 2024 @ 11:09am 
Just a word of warning: DO NOT use this mod when playing with 5 times the enemies and 20 squad size
Rikimaru Feb 3, 2024 @ 10:06pm 
Thanks pal, that's very helpful.

Luckily, I only get it consistently when there's a lot of characters on the field.
But I'll try that out if/when it starts up again. :steamthumbsup::luv: