XCOM 2
256 ratings
[WOTC] Iridar's Scatter Mod
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
488.769 KB
17 Mar, 2020 @ 3:48pm
10 Aug, 2021 @ 6:20am
10 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Iridar's Scatter Mod

Description
FEATURES

This mod makes it possible to add Scatter mechanics to weapons and abilities. In other words, things that normally guarantee a pixel-perfect hit, such as Grenades, can now be set up to miss the targeted area and hit elsewhere.

This is the core mod that contains all of the necessary code, but without additional configuration provided by yourself or another mod, it will do absolutely nothing.

SCATTER MECHANICS

If an ability is configured for scatter, it will now be able to "Hit" or "Miss".

The chance to hit can be configured to depend on distance and/or the Aim stat of the unit using the ability. Alternatively, you could set just a fixed chance that remains the same under all circumstances.

Each configured ability can have up to three scatter values:
* Hit Scatter - the base amount of scatter the ability will be subjected to before Range Table modifiers in case of a "Hit". This is effectively scatter radius, in Tiles.
* Miss Scatter - same, but used for "Misses".
* Min Scatter - the absolute minimum amount of scatter the ability will be subjected to, even after Range Table modifiers.
* Range Table - just like most weapons change their accuracy depending on range, the same can be set up for the Scatter. Range Table will adjust both soldier's Aim, which will affect Hit and Miss chances, and it will also scale the scatter itself, unless configured otherwise.

For example, if a range table is configured to provide a +30 bonus at a certain distance, it will increase the "Hit" chance by 30, and it will also reduce Hit Scatter and Miss Scatter by 30%.

The in-game targeting UI will display two circles. The green circle will show the area the ability can potentially affect in case of a "Hit", while the red circle will mark the area that can be potentially affected by a "miss".

You will also see three values under the cursor: Hit Chance / Hit Scatter / Miss Scatter.

SCATTER MODS

These mods are plugins that will add Scatter to specific items/abilities:

These mods add new items/weapons/abilities that already contain configuration for Scatter:

REQUIREMENTS

Can be safely added or removed mid-campaign, even mid-tactical.

X2 WOTC Community Highlander v1.22 or higher is required.

COMPATIBILITY

No known compatibility issues.

The mod is *intended* to be configured for abilities that use cursor targeting, such as grenade throws and rocket launches.

It might potentially also work with single-target abilities that only apply multi-target effects on an area around the target.

KNOWN ISSUES
  • If the Scatter-configured ability fires its projectiles on a ballistic trajectory (e.g. grenade), and the scatter makes the grenade hit a wall before reaching its destination, the grenade will detonate the moment it hits the wall. It will still properly deal damage around the scatter location, so this issue is purely cosmetic, but it can look pretty weird.

CONFIGURATION

The mod is entirely configurable through:
..\steamapps\workshop\content\268500\2025780967\Config\XComScatter.ini
If you make any config entries, make sure to also save a backup of this file in case it resets due to a mod update.
The mod's ReadMe.txt contains examples on how to make scatter config entries.

CREDITS

Huge thanks to Xymanek (Astral Descend) for his invaluable help with setting up systems for in-game scatter display.
Thanks to Beaglerush[www.twitch.tv] for commissioning, producing and live testing this mod.

Please support me on Patreon[www.patreon.com] if you require tech support, have a suggestion for a feature, or simply wish to help me create more awesome mods.
19 Comments
Lilly 14 Jan, 2023 @ 7:15pm 
Under the hood this mod is called "WOTCGrenadeScatter", and is explicitly not "[WOTC] Grenade Scatter" steam://openurl/https://steamproxy.net/sharedfiles/filedetails/?id=2025928724

confusing! lol
jay 25 Sep, 2022 @ 9:40am 
One of my favourite mods - Thank you. I have just tried it with LWOTC for the first time. It appears to work fine except that the green circle that would normally indicate where the grenade could hit (and the % change of a hit) are missing. The actual grenade does scatter though. Any ideas if this is an incompatibility with LWOTC or something else?
Iridar  [author] 18 Oct, 2021 @ 8:25am 
@CrazyOdd
This mod is not intended to contain any scatter configuration, that's for other mods to do.
CrazyOdd 18 Oct, 2021 @ 8:09am 
It seems that the heavy weapon rocket, is not configured for this mod. Dont know if the one in "Mechatronic Warfare: Total SPARK Overhaul" is different, for that matter.
Malek Deneith 8 Jul, 2020 @ 8:26am 
Very nice, thanks for letting me know :)
Iridar  [author] 8 Jul, 2020 @ 6:41am 
@Malek Deneith
Published an update, it's now possible to configure different scatter values if the unit has moved this turn. Check ReadMe.txt for specifics.
Iridar  [author] 23 Jun, 2020 @ 9:39am 
@Malek Deneith
You're right, it doesn't handle "after moving" currently. I'll address that when/if I'll make my own move of Rocket scatter to this mod.
Malek Deneith 23 Jun, 2020 @ 8:55am 
Well I tried just for the sake of knowing, and it seems at least on surface level it seems to work, yeah ( https://i.imgur.com/jDuYxS0.jpg ). Admittedly I would have to understand the scatter on LW2 Gauntlet or your Rocket Launchers better to decide on appropiate min and hit scatter values, *and* in the process I realized that this version of scatter doesn't handle "you have moved" increase (I tried leaving the 1 tile increase on base gauntlet unzeroed, but I doubt that interacts properly if at all)...

...but hell, that's details, it's cool enough to know that it *could* be made to work. Pardon my blathering: nice mod, that green ring/red ring visualization is much more helpful than the display used by older implementations of scatter :)
Iridar  [author] 23 Jun, 2020 @ 4:21am 
@Malek Deneith
Haven't tried, but should be possible, don't forget to zero out the original scatter, though.
Malek Deneith 23 Jun, 2020 @ 4:12am 
Curious, can this mod affect weapons that already use scatter mechanic? As in, for example, could it be configured to hijack Gauntlet from LW2 Secondaries, purely to let it benefit from better scatter visualisation?