XCOM 2
99 ratings
Suppression Restrictions WOTC + TLP
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
80.168 KB
8 Sep, 2017 @ 6:07pm
16 Sep, 2019 @ 6:37pm
12 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Suppression Restrictions WOTC + TLP

Description
-= WHAT IT DOES =-

Disallow suppression if the weapon you are holding is not compatible. Basically, will prevent use of Suppression if you are holding a Sniper Rifle or a Shotgun for example.

-= CUSTOMIZABLE =-
The complete list of allowed weapons is in the INI file, and is customizable for custom classes/weapons. This mod is preloaded with all of the WOTC content.

-= WHY USE THIS? =-
I gave the Shotgun to other classes, and I also gave suppression to other classes. This ensures that they can only suppress when they are holding a rifle for example. This behavior existed in Long War 2.

V2.0 - Converted to OnPostTemplatesCreated

V2.1 - Fixed a bug where I'm an idiot, now it should kick in.

V2.2 - TLP Support
26 Comments
Juravis  [author] 24 Dec, 2022 @ 11:34pm 
Both
Anakameron 24 Dec, 2022 @ 11:16pm 
Just out of curiosity, this only applies to the player or will this affect enemies too?
Green Raven 3 Aug, 2020 @ 11:01pm 
Oh thanks! I'll take a look!
Juravis  [author] 3 Aug, 2020 @ 10:59pm 
You can use the Gun Range Tables to make the sniper more attractive at long range. The current game tables are atrocious, i highly suggest you install my New Weapon Range Table mod for WOTC.
Green Raven 3 Aug, 2020 @ 10:46pm 
Ah, what a pity.
Well there's a mod that gives Sniper Rifles an innate armor piercing, that should work. Not only does it make the sniper rifle an attractive option, it also reinforces the Snipers role in targeting key enemies.
Juravis  [author] 3 Aug, 2020 @ 10:44pm 
Interestingly enough it's also why the Hunter is bugged and can fire his Pistol at any range, because Farsight (the Squadsight on crack he has) gives him unlimited range.
Juravis  [author] 3 Aug, 2020 @ 10:43pm 
Giving a unit Squadsight gives that unit the ability to use Squadsight on any weapons that are valid. Firaxis didn't take the approach of coding weapons individually for Squadsight. It's why giving Rifles to Snipers make them use Squadsight with Rifles. It would be feasible, but not easy to code.
Green Raven 3 Aug, 2020 @ 10:21pm 
Hey Avenger... did you think you were free of me? YOU WILL NEVER BE RID OF ME!!! HA HA! BWAH HA HA! BWAHAHAHAHAH!!!

Sorry about that I'm exhuasted. Im actually going through a vicious liitle bout of insomnia, and i was surfing the workshop when I saw this. I actually had my request written out before I thought to check on the auther,,, and found you :D

Would it be easy to add to this mod weapons that cannot use squadsight? I'm interested in a mod that allows every class to use a standard rifle, but I can't have my Snipers taking actions and then firing.
Juravis  [author] 16 Sep, 2019 @ 6:36pm 
Had to update the mod, please restore your INI files.
Juravis  [author] 20 Aug, 2019 @ 11:22pm 
Boltcaster is considered a rifle. This is an xcom bug unfortunately. You can saturation with a rifle. You would have to make a specific gun exception and include it in the condition to fire. Its not impossible but i havent mod in ages