XCOM 2
31 ratings
[WOTC] LordAbizi's Revised Stock and Scope attachments
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
239.694 KB
19 Apr, 2022 @ 10:46pm
24 Aug, 2022 @ 12:02am
2 Change Notes ( view )

Subscribe to download
[WOTC] LordAbizi's Revised Stock and Scope attachments

In 2 collections by lordabizi
LordAbizi's War Of The Glass
34 items
War Of The Glass Collection
450 items
Description
Revised Stock and Scope Attachments

Abstract
This mod introduces modifications to the base game stock and scope attachments, in spirit of DerBK's modification of the Scope attachment, and the LW2 version of the Stock attachment.



Modified Stock
The stock attachment will use the "Steady Weapon" mechanic introduced in LW2. Stock grants the user the "Steady Weapon" ability, that grants +5/10/15 aim/crit on the next shot from this weapon. The bonus is lost if the user takes an action, or is damaged. Insider Knowledge resistance card will increase all of those numbers by 5.



Modified Scope
The scope attachment will be changed according to the way it is changed in DerBK's mod. Basic scope will negate the chance of dodge from this weapon, Advanced Scope will grant the user Covering Fire, and Superior scope will grant both. Insider Knowledge has no effect on this attachment.



Author's Recommendation
  • In case the reader is not a fan of the Covering Fire ability, one can use the Accurate Covering Fire mod to make it better.
  • The author's personal preference for attachments is the following: Base game laser sight, auto loader, expanded magazines, the two attachments introduced in this work, Better Hair Triggers, Sting Repeaters, and Heavy Barrels (this mod also works correctly not in LWOTC, and is encouraged over the one that does not have LWOTC in its name). These provide an interesting alternative to the best game attachments.


Configuration
Thanks to Template Master, this mod is highly configurable. If you do not like the changes to one of the attachments, then you can go to XComTemplateEditor.ini and delete the lines that pretain to it. If you want the new bonuses to be ON TOP of the old ones, then you can delete the lines which refer to AbiziDummyTemplate in this file. If you want to replace the abilities granted by the scope or stock to different ones, it's also a simple change. The aim bonuses from Steady Weapon and the degree to which Insider Knowledge affects it is configurable in XComAbiziAttachments.ini.
If you disable some of the changes this mod makes, it will not display this information correctly in game (but the changes will still work). For now, the solution is to manually remove the parts that touch the attachments that are no longer relevant in the localization files. I might create a smarter approach for this in the future, but this is unlikely.


Compatiblity
No vanilla or LWOTC or TFTD versions. This mod will obviously not work with other mods that overhaul attachments, like DerBK's original mod, or Musashi's standalone RPGO attachments. Technically this IS compatible with Weapon and Item Overhaul by method of exclusion: WIO removes the base game attachments, and this mod changes the base game attachments, so these mods will work together, it's just that this mod will do nothing. If you edited WIO to keep the base game attachments, then they should be changed correctly to the versions introduced here. Other than that, since these are edits to the base game attachments, they should be compatible with any modded weapon or anything else.


Acknowledgements
The author would like to thank DerBK for the permission to take the idea of his mod, and use his code to create this work. The author is also grateful to Pavonis Interactive for the code for the Steady Weapon ability, and to Favid, as the code for that ability was extracted from his LW2 Classes and Perks mod. The author would also like to thank Iridar for the amazing tool that is Template Master, and for his useful comments as to how to use it to achieve my needs.
The author also appreciates greatly the users of the MEME Discord server for useful discussions and their continued emotional support.
24 Comments
Oniwabanshu 28 Oct, 2024 @ 5:54pm 
nvm, i don't know why i thought it would do that ._.
jahsinha 16 Jul, 2023 @ 8:24am 
With PBNE you get rookies and other classes that have terrible aim, on mid range classes, this could be a good attachment to keep them relevant, also on Cast classes that don't shoot much but are on several turn cool downs for their Powers. Snipers too but I tend to roll with snipers with good aim already so rarely need this. Unless, I combine with dead-eye or something next turn.
lordabizi  [author] 16 Jul, 2023 @ 7:51am 
my main motivation (which is inspired by the lwotc motivation) for steady weapon is for sniper with death from above, that can't take a shot with only one action, so they use this action re-steady, and keep a constant aim and crit bonus as long as they can get kills.
But of course, you are free to play with it and find other applications for this.
jahsinha 16 Jul, 2023 @ 7:49am 
Ok. Thanks. I'll delete those lines. I'm experimenting with the cool downs.
lordabizi  [author] 15 Jul, 2023 @ 11:17am 
The last 3 lines are redundant, since these are the attachments, not the abilities.
You still need a line per ability, since these are 3 separate abilities.
So the first 3 lines you wrote at the start are correct and should work.
Cooldown seems a bit excessive, but hey, that's your boat :)
Good job on figuring it out :)
jahsinha 15 Jul, 2023 @ 11:08am 
+Abilities = (AbilityName=AbiziSteadyWeaponM1, Cooldown=2, APCost=1, EndsTurn=false)
+Abilities = (AbilityName=AbiziSteadyWeaponM2, Cooldown=3, APCost=1, EndsTurn=false)
+Abilities = (AbilityName=AbiziSteadyWeaponM3, Cooldown=4, APCost=1, EndsTurn=false)
+Abilities = (AbilityName=MissDamageUpgrade_Bsc, Cooldown=2, APCost=1, EndsTurn=false)
+Abilities = (AbilityName=MissDamageUpgrade_Adv, Cooldown=3, APCost=1, EndsTurn=false)
+Abilities = (AbilityName=MissDamageUpgrade_Sup, Cooldown=4, APCost=1, EndsTurn=false)

That is what I did in Ability Editor and it seems to work ( I don't normally use Steady weapon ever because the AP is too high). It is, at least, Blue in game. I chose different cool downs per tier for balance but I don't know if it works like that. Question: if I just wanted a global change, would I just use the Template name and not the tiers?
lordabizi  [author] 14 Jul, 2023 @ 2:31am 
Unfortunately, it appears that I did not make it configurable. So your choices are either: to wait for an update in which I will make those configurable, or use something like Ability Editor mod by Boundir that allows you to change such parameters with configs.
jahsinha 14 Jul, 2023 @ 12:36am 
What do I do if I want to change the AP cost of Steady Weapon?
lordabizi  [author] 22 Jan, 2023 @ 9:05am 
Yes, I just saw your post on Discord. I'm sorry, I don't know what this is about. Might be Steam being wonky, maybe you should try again a bit later.
SthreeP 22 Jan, 2023 @ 8:57am 
ah, I see. thanks for the heads up, steam don't want me to download that mod for some reason tho.