XCOM 2
[WOTC] LW2 Classes and Perks
Nadarith Apr 19, 2021 @ 1:30am
Fix for grenadier abilities for Tier 3 Grenades and Superior Explosives
So i got the SDK and after suffering for several hours with the damn program not wanting to compile the few lines i changed i figured it out and recompiled this mod so sting grenades, bluescreen grenades and dense smoke now work with both Tier III Grenades and Superior explosives

if anyone wants the fix here's the link:
https://drive.google.com/file/d/1WcVyeBZcn3BIadjeD9sWyJUxUrOkBY-4/view?usp=sharing

Installation instructions:
1. Download the zip
2. Navigate to steam\steamapps\workshop\content\268500\
3. Unpack it here, overwriting files

your flashbang and smoke warheads should now be able to stun, lower hack and give +10 defense with those abilities correctly (if not and something gets borked just unsubscribe and subscribe again to this mod to redownload it as it was before the overwrite)

sadly i couldn't fix rapid deployment to work with those because i have no idea where it gets the valid support grenades, it doesn't have a simple template list that i can add grenades to
< >
Showing 1-11 of 11 comments
Nadarith Aug 2, 2021 @ 3:50pm 
Adding these lines into the XComLW_SoldierSkills.ini file in this mods config directory (Steam\steamapps\workshop\content\268500\1335226018\Config) under their respective [LongWar2AbilitiesForWotc.] lines should also make the grenades work with Rapid Deployment and Fullkit, credit to @Agape for his comment on the superior explosives mod page, i just added tier 3 grenades (and a couple others) to the list as well:

[LongWar2AbilitiesForWotc.X2Ability_LW2WotC_PassiveAbilitySet]

+FULL_KIT_ITEMS=AcidGrenadeMk3
+FULL_KIT_ITEMS=EMPGrenadeMk3
+FULL_KIT_ITEMS=FlashbangGrenadeMk2
+FULL_KIT_ITEMS=FlashbangGrenadeMk3
+FULL_KIT_ITEMS=GasGrenadeMk3
+FULL_KIT_ITEMS=FirebombMk3
+FULL_KIT_ITEMS=PlasmaGrenadeMk3
+FULL_KIT_ITEMS=ProximityMineMk2
+FULL_KIT_ITEMS=ProximityMineMk3
+FULL_KIT_ITEMS=SmokeGrenadeMk3
+FULL_KIT_ITEMS=FrostBombMk2
+FULL_KIT_ITEMS=FrostBombMk3
+FULL_KIT_ITEMS=FireGrenadeM3
+FULL_KIT_ITEMS=AcidGrenadeM3
+FULL_KIT_ITEMS=GasGrenadeM3
+FULL_KIT_ITEMS=SmokeGrenadeM3
+FULL_KIT_ITEMS=AlienGrenadeM3
+FULL_KIT_ITEMS=RM_APGrenade
+FULL_KIT_ITEMS=RM_APGrenade_MK2
+FULL_KIT_ITEMS=FragGrenadeMk2
+FULL_KIT_ITEMS=MD_WOTC_IW_GND_FRAG_STD_T2
+FULL_KIT_ITEMS=MD_WOTC_MWR_GND_FRAG_M67_STD_T1
+FULL_KIT_ITEMS=MD_WOTC_MWR_GND_FRAG_M67_STD_T2
+FULL_KIT_ITEMS=MD_WOTC_MWR_GND_STUN_M84_STD
+FULL_KIT_ITEMS=MD_WOTC_MWR_GND_SMOKE_M18_STD_T1
+FULL_KIT_ITEMS=MD_WOTC_MWR_GND_SMOKE_M18_STD_T2
+FULL_KIT_ITEMS=IRI_X2Rocket_Standard
+FULL_KIT_ITEMS=IRI_X2Rocket_Plasma
+FULL_KIT_ITEMS=IRI_X2Rocket_Elerium
+FULL_KIT_ITEMS=IRI_X2Rocket_Shredder
+FULL_KIT_ITEMS=IRI_X2Rocket_Acid
+FULL_KIT_ITEMS=IRI_X2Rocket_WhitePh
+FULL_KIT_ITEMS=IRI_X2Rocket_Napalm
+FULL_KIT_ITEMS=IRI_X2Rocket_Thermobaric
+FULL_KIT_ITEMS=IRI_X2Rocket_PlasmaEjector
+FULL_KIT_ITEMS=IRI_Molotov
+FULL_KIT_ITEMS=HealBomb
+FULL_KIT_ITEMS=HealBomb_Mk2
+FULL_KIT_ITEMS=Weapon_AshConcussionGrenadeXCom
+FULL_KIT_ITEMS=PsiosGrenade
+FULL_KIT_ITEMS=MountainMistRewardGrenade

[LongWar2AbilitiesForWotc.X2Condition_LW2WotC_SupportGrenade]

+VALID_GRENADE_TYPES="SmokeGrenadeMk3"
+VALID_GRENADE_TYPES="FlashbangGrenadeMk2"
+VALID_GRENADE_TYPES="FlashbangGrenadeMk3"
+VALID_GRENADE_TYPES="FrostbombMk2"
+VALID_GRENADE_TYPES="FrostbombMk3"
+VALID_GRENADE_TYPES="Weapon_AshConcussionGrenadeXCom"
+VALID_GRENADE_TYPES="MD_WOTC_MWR_GND_STUN_M84_STD"
+VALID_GRENADE_TYPES="MD_WOTC_MWR_GND_SMOKE_M18_STD_T1"
+VALID_GRENADE_TYPES="MD_WOTC_MWR_GND_SMOKE_M18_STD_T2"
+VALID_GRENADE_TYPES="SmokeGrenadeM3"
+VALID_GRENADE_TYPES="HealBomb"
+VALID_GRENADE_TYPES="HealBomb_Mk2"
+VALID_GRENADE_TYPES="MountainMistRewardGrenade"
+VALID_GRENADE_TYPES="XcomProximityStunMine"
+VALID_GRENADE_TYPES="SubSonicGrenade"
+VALID_GRENADE_TYPES="UltrasonicLure"
+VALID_GRENADE_TYPES="SonicBeacon"
+VALID_GRENADE_TYPES="StunGrenade"
+VALID_GRENADE_TYPES="GhostGrenade"
Last edited by Nadarith; Dec 1, 2022 @ 2:31am
Zigg Price Sep 10, 2021 @ 9:54pm 
This an amazing list, thank you.

I assume the items I don't recognize/don't have won't cause an issue, right? For instance, I don't know what a "Healbomb" is, so I assume it is a mod I am not using. Adding that line in won't actually break anything, right? I don't really want to figure out what I have and don't have, LoL.

Also, you have SmokeGrenadeM3 and SmokeGrenadeMk3. Are they different?
Nadarith Sep 11, 2021 @ 1:31am 
I myself don't have half of those and its fine, its an inclusive list not a requirement list, having a listing for a healbomb but not having the heal bomb mod won't break anything

M3 is what tier 3 grenades use for their template names while Mk3 is for superior explosives, i have no idea why tier 3 uses just the M at the end for its grenades instad of MK but it does
Last edited by Nadarith; Sep 11, 2021 @ 1:34am
Zigg Price Sep 11, 2021 @ 4:06pm 
Gotcha. Some other mods still have the ME, vs Mk3, in their compatibility settings. So I'm glad I learned that so I could fix them. Thanks for the list and the download. Doing the work of the gods, sir!
eastpaw Dec 26, 2021 @ 11:42pm 
Awesome stuff, Nadarith. Thank you!
Is it possible to make this work for LWOTC? LWOTC doesn't use this LW2 Abilities mod
Nadarith Mar 7, 2022 @ 1:37am 
Originally posted by marshmallow justice:
Is it possible to make this work for LWOTC? LWOTC doesn't use this LW2 Abilities mod
Superior explosives isn't even updated for lwotc so i don't even know why you're asking

not that i have lwotc, it probably has configs for abilities you could add grenade templates to for them to be valid for them, unless it's badly made and like this mod it has that config locked in the code

and considering lwotc is at least order of magnitude more complex AND actively developed i wouldn't envy anyone trying to recompile it

actually it's still actively developed so maybe ask that under lwotc instead of here? they should be able to help you more
Last edited by Nadarith; May 17, 2022 @ 10:21pm
Layth36 Nov 4, 2022 @ 8:19am 
Man I was really hoping this was compatible with LWOTC.. such a bummer :steamsad:
Nadarith Nov 4, 2022 @ 9:07am 
Originally posted by Layth36:
Man I was really hoping this was compatible with LWOTC.. such a bummer :steamsad:
Figure out the LWOTC config, ask someone on the LWOTC mod page for help, i don't know that mod so i can't help
modifieda4 Nov 30, 2022 @ 8:34pm 
@Nadarith: this is the list i finally came up with, since there were some missing from Agape's list and I also took inspiration from the ini in the silent throwing mod:

+VALID_GRENADE_TYPES="FlashbangGrenadeMk2"
+VALID_GRENADE_TYPES="FlashbangGrenadeMk3"
+VALID_GRENADE_TYPES="ProximityMine"
+VALID_GRENADE_TYPES="ProximityMineMk2"
+VALID_GRENADE_TYPES="ProximityMineMk3"
+VALID_GRENADE_TYPES="SmokeGrenadeMk3"
+VALID_GRENADE_TYPES="EmpGrenade"
+VALID_GRENADE_TYPES="EmpGrenadeMk2"
+VALID_GRENADE_TYPES="EmpGrenadeMk3"
+VALID_GRENADE_TYPES="XcomProximityCLAYMORE"
+VALID_GRENADE_TYPES="XcomProximityStunMine"
+VALID_GRENADE_TYPES="SubSonicGrenade"
+VALID_GRENADE_TYPES="UltrasonicLure"
+VALID_GRENADE_TYPES="SonicBeacon"
+VALID_GRENADE_TYPES="StunGrenade"
+VALID_GRENADE_TYPES="LW2WotC_GhostGrenade"
+VALID_GRENADE_TYPES="GhostGrenade"
Last edited by modifieda4; Nov 30, 2022 @ 8:36pm
Nadarith Dec 1, 2022 @ 2:28am 
Pretty sure half of those aren't *support* grenades, also is that an lwotc grenade in here?

i'll add some of them to the list above as they seem supporty enough and i missed those the first time around
Last edited by Nadarith; Dec 1, 2022 @ 2:35am
< >
Showing 1-11 of 11 comments
Per page: 1530 50