XCOM 2
[WOTC] Pistol Expert Ability
49 Comments
Veehementia  [author] 12 Apr, 2023 @ 3:57pm 
@zin try to reload your saved game.
zin 12 Apr, 2023 @ 3:34pm 
I have a problem: I got a Sharpshooter as a mission reward, and she does has Return Fire, not Pistol Expert. I have ‘SWAP_RETURNFIRE’ set to true in the config.

I tried using the RebuildSelectedSoldier class command from this mod:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1370543410

However, regardless of how many times I do that, they still have Return Fire, yet the command worked when I used it on another Sharpshooter, which was a standard soldier not obtained from a mission reward.
RustyDios 9 Apr, 2023 @ 1:36pm 
yes
zin 9 Apr, 2023 @ 1:27pm 
Thank you. If I set both swap and cross-class to true, does that mean Sharpshooter will get the ability 100% instead of Return Fire, and all other classes have a chance of randomly getting the ability?
Veehementia  [author] 9 Apr, 2023 @ 1:13pm 
@zin Yes to your first question, technically yes for the second. It being a cross-class perk means your Sharpshooter might roll it in his XCOM row. The only way to get it for sure would be to manually edit the Sharpshooter class and insert the ability in its config file in place of something else.
zin 9 Apr, 2023 @ 12:30pm 
Oh, okay. So with swap set to false and cross-class set to true, it’s a random ‘XCOM’ perk that can show up for anyone (including Sharpshooters), but not 100% of the time for Sharpshooters? Is this correct?

Also, I was hoping that with swap off, I’d get it in addition to Return Fire. Is there a way to achieve that?
Veehementia  [author] 9 Apr, 2023 @ 11:53am 
@zin It is just a random perk now. If you set ‘SWAP_RETURNFIRE’ to ‘false’ it will not swap Return FIre, meaning your sharpshooters won't have Pistol Expert in its place. ‘MAKE_ABILITY_CROSS_CLASS’ makes it so other soldiers can roll Pistol Expert in their XCOM row (true to allow it, false to make it exclusive to sharpshooters)
zin 9 Apr, 2023 @ 11:02am 
Thank you.

I have a problem, by the way!” I set ‘SWAP_RETURNFIRE’ to ‘false’ and ‘MAKE_ABILITY_CROSS_CLASS’ to ‘true’ in the config, also changing some of the stats for the ability in the same config file.

Then, I started a brand new WotC playthrough. However, when I promoted a rookie to a Sharpshooter, I realized she doesn’t have Pistol Expert. Return Fire is there, as expected, but where’s Pistol Expert? I hope it’s not just a random perk now.
Veehementia  [author] 9 Apr, 2023 @ 9:11am 
@zin What you've wrote is semantically correct, though I don't know what you want to do with it.
Pistol Expert works with any weapon that has the "pistol" weapon category (I.E. can be equipped by a vanilla Sharpshooter), modded or otherwise. It will not work with Autopistols as they have the "sidearm" weapon category.
zin 9 Apr, 2023 @ 9:05am 
Oh, and also, just wondering, does this work with the Autopistol, Shadowkeeper, and modded pistols?
zin 9 Apr, 2023 @ 9:04am 
Looked at the code and it’s called ‘VEE_PistolExpert’.
Is the following correct, or should it not be applied to the secondary weapon?

(AbilityName="VEE_PistolExpert", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon)
zin 9 Apr, 2023 @ 9:02am 
Hi, love the mod! Just wondering, what is the ability name in the code?

Just wondering if this is correct:
(AbilityName="PistolExpert", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon)
Zoinho1 25 Oct, 2021 @ 11:00am 
Could you make an option for a "better return-fire"? Be a cross-class skill and use primary guns.
Return-fire fit more for Ranger/Skirmisher than Sharpshooter class.
NightNinja54 11 Aug, 2021 @ 6:58pm 
Kudos to you for swapping out abilities within the class.ini!
Veehementia  [author] 23 May, 2021 @ 1:28am 
@ophanbmw AFAIK under the hood all weapons in Iridar's 5 tier overhaul still use the vanilla three tiers (conv, mag, beam) so Pistol Expert should work without issue.
ophanbmw 22 May, 2021 @ 8:43pm 
Any compatibility issues with Iridar's 5 tier weapon mod? Iridar's Five Tier Weapon Overhaul
Thane_Ragnar 7 Apr, 2021 @ 6:33pm 
Yes, it did update after reloading. Thank you.
Veehementia  [author] 7 Apr, 2021 @ 7:17am 
@Thane_Ragnar Try to reload the game after getting the sharpshooter. It should automatically update his abilities.
Thane_Ragnar 6 Apr, 2021 @ 8:01pm 
The first Sharpshooter which got promoted from Rookie had the Pistol Expert Perk. The second one I got from scanning a World Map "Soldier" Rumor had the old Return Fire Perk.
Lavernius Regalis 28 Oct, 2020 @ 6:31pm 
Alright, cheers.
Veehementia  [author] 28 Oct, 2020 @ 6:21pm 
@Lavernius Regalis No and yes respectively.
Lavernius Regalis 28 Oct, 2020 @ 2:47pm 
Just out of curiosity, does this work with the Templar's sidearms, and/or with primary pistols?
dmc32 6 Oct, 2020 @ 12:22am 
Excellent mod, base game soldiers could use this, specifically the sharpshooter. The open ini makes it even better, thanks.
Veehementia  [author] 15 Sep, 2020 @ 3:30pm 
@slnch2 The mod you listed is perfectly compatible as its changes are only cosmetic. Unfortunately I can't add complete support for actual laser and coilgun tiers as many mods implement them in different ways and I can't include them all.
slnich2 15 Sep, 2020 @ 2:44pm 
Great Mod! Do you know if there are any conflicts with mods that effect the weapons tree? Like Coilguns Beam Tier Replacer for example?
Veehementia  [author] 14 Sep, 2020 @ 2:09am 
@EvilPolygons Feel free to copy my mod and use it to swap that perk, if you so choose.
EvilPolygons 14 Sep, 2020 @ 1:40am 
I'm so glad this mod exists. It fits snipers way better than Return Fire. Aside from that though, one of the few class mods I use is The Supporter Class (by Nor Dogroth), but I've never been happy about Manual Override being an ability pick at Major. Pistol Expert fits the Supporter SO much better than Manual Override, I think.
Green Raven 13 Sep, 2020 @ 4:32pm 
Perfect, thank you. Return Fire was never a viable option... if your sniper is so close to the enemy that theyre targeting him, something's gone horribly wrong already!
RustyDios 12 Sep, 2020 @ 1:29pm 
GREAT NEWS :) Thankyou for making the cross-class change
Veehementia  [author] 12 Sep, 2020 @ 6:54am 
@Everyone UPDATE IS OUT:
- Mod should now no longer require a New Game in order to swap the Sharpshooter's Return Fire ability.
- Due to popular demand, Pistol Expert can now be configured to be a cross class perk. You can do so in the mod's configuration file.
Veehementia  [author] 12 Sep, 2020 @ 6:51am 
@2ScoopsPlz Now it does.
2ScoopsPlz 11 Sep, 2020 @ 10:48pm 
Think this'll work with a in-progress game?
TeslaRage 11 Sep, 2020 @ 6:38pm 
Interesting. I have not used base classes in a while now so not going to be useful for me. But if this is included in the random pool it would be useful. Akimbo class with this could be OP, not that it's not already OP lol
Medicman 11 Sep, 2020 @ 5:42pm 
Nice, can this appear as a AWC perk or is it standalone?
dstaal 11 Sep, 2020 @ 3:17pm 
Nice. Return Fire is basically useless IMHO - it requires you to be shot at, and have a good shot back to be any use. I've had it trigger and help me once I think - I'm fully onboard with replacing it with something that makes me think a bit about how I build my Sharpshooters.
RustyDios 11 Sep, 2020 @ 12:10pm 
@Veehementia, just to keep the steam thread updated ... I will look into the options provided ;)
Veehementia  [author] 11 Sep, 2020 @ 9:48am 
@RustyDios Damn, sorry, it completely slipped my mind to answer you. No, it's not elegible as a cross class ability, even if it works with all classes, because I wanted to make this a Sharpshooter-exclusive thing. You can use other mods to make it so, though (if I remember correctly, one from ADVENTAvenger should help you do exactly that)
RustyDios 11 Sep, 2020 @ 9:39am 
@Veehementia I think my comment got lost somehwere.... :)

If I edit the config so it doesn't replace Return-Fire, is the ability set up to be legible as a 'random xcom pool cross-class' ability?

So if using, for example Dedicated Pistol Slot on my classes, there is chance someone might roll the ability in the XCOM line and be 'better' with pistols ?
Veehementia  [author] 11 Sep, 2020 @ 9:29am 
@Masterman Read my answer to EvilPolygons.
Jestimac 11 Sep, 2020 @ 7:12am 
To Vehementia. OK, thanks for the answer. I'll try and report. Rgds
nathanx2000 11 Sep, 2020 @ 7:09am 
Iridar truly does help this community :)
Medicman 11 Sep, 2020 @ 6:37am 
So it adds in a new ability or a full replacement of return fire? Would I be able use Pistol Expert along side Return fire if a class has them in the same skill tree just at different ranks?
Veehementia  [author] 10 Sep, 2020 @ 11:06pm 
@Jestimac I don't use RPGO so I can't really say for certain, but I see no reason why it wouldn't work.
Jestimac 10 Sep, 2020 @ 6:59pm 
Great idea by the way ! I should have stated this first !
Jestimac 10 Sep, 2020 @ 6:58pm 
Hello. As this is an ability, I assume that the mod is fully compatible with RPGO ? Am I correct stating that It will add the pistol expert ability to the list of available abilities related to the gunslinger specialisation ?
RustyDios 10 Sep, 2020 @ 6:36pm 
This is great... is the ability automatically added to the 'xcom' random pool?
I'd love it if that was the case. As I intend to have this as a random ability and used alongside the Dedicated Pistol Slot mod ;)
EvilPolygons 10 Sep, 2020 @ 4:54pm 
Great, thanks!
Veehementia  [author] 10 Sep, 2020 @ 4:42pm 
@EvilPolygons Still available. I just removed it from the Sharpshooter's ability tree, not from the game.
EvilPolygons 10 Sep, 2020 @ 4:27pm 
Is Return Fire available as a random ability through the Training Center? Or did you just completely remove it?