XCOM 2
[WOTC] Bayonets by Iridar
380 Comments
Iridar  [author] 4 Mar @ 7:32am 
No.
Poker Penguin 4 Mar @ 6:53am 
Can you add these SPARK weapons?
Iridar  [author] 12 Jan @ 5:53am 
Should work, yeah.
Remster1236 12 Jan @ 5:04am 
can I add this mid game?
Templar 6 Dec, 2024 @ 4:54pm 
COMPANY, WILL FIX BAYONETS!
Haydern 2 Oct, 2024 @ 6:41am 
@Kinsect i have the same problem. Even reduce the drops, but a i still getting 2 or more per mission
Epic Dovahkiin 19 Sep, 2024 @ 1:19am 
with the existence of these and under barrel attachments i'm surprised no one has made a Lancer from Gears of War yet
Enemy Post 27 Jul, 2024 @ 11:51pm 
I did a playthrough with this, great mod. I enjoyed the tactical element of deciding when to do a bayonet charge, and the guns having knives on them is just fun in itself.
Kinsect 4 Nov, 2023 @ 4:09pm 
I turned the config's loot drop to false and I'm still getting them?
Iridar  [author] 2 Nov, 2023 @ 8:14pm 
Yeah
Kinsect 2 Nov, 2023 @ 4:08pm 
Is their a config of sorts to disable the bayonet's from spawning in the loot pools?
Aquilio 23 Aug, 2023 @ 7:34am 
Thanks for clarifying :steamthumbsup:
Iridar  [author] 23 Aug, 2023 @ 7:28am 
@Aquilio
The problem is that bayonet sockets are added dynamically and the offset is based on weapon's template name, which is not changed by XSkin.

Bayonets mod cannot tell the difference between a reskinned and not reskinned weapon, all it sees is the template name, whcih is not changed by reskinning a weapon. It's not a bug per se, more of an unfortunate interaction. There's not much I can do about it without reworking the whole Bayonets mod, so I'm afraid you'll just have to live with it.
Aquilio 23 Aug, 2023 @ 7:07am 
Hi, I wanted to report a suspected interaction between the Bayonets mod and XSkin, related to socket offsets.
How to reproduce:
- Have a stock Assault Rifle equipped on a soldier (e.g. a conventional one)
- Attach a Bayonet to it in the Weapon Upgrade Menu
- Reskin the rifle using XSkin to a different modded bayonet config-compatible weapon (e.g. AK-15, NC Weapons or Resistance Firearms)
- The reskinned rifle will retain the bayonet with the same offset as the original gun, sometimes resulting in floating/clipping bayonets

This issue is not present when reskinning between vanilla weapons (Conv/Mag/Plasma Rifle).
Tested with minimal mod setup (only important ones such as Highlander/WSR) with framerate smoothing disabled, as well as before/after regenerating user configs.
Technical Difficulties 18 Aug, 2023 @ 8:00pm 
Aight, figured I'd ask just in case you had some specific preference. I've known some people who are really insistent that you do things one way over another.
Iridar  [author] 18 Aug, 2023 @ 7:22pm 
@Technical Difficulties
Makes no difference to me.
Technical Difficulties 18 Aug, 2023 @ 6:40pm 
Since I haven't seen anyone else do it, I set up the .ini to work with pistols (including proper positioning). Should I just leave that in a discussion or something?
Iridar  [author] 17 Aug, 2023 @ 10:41pm 
@Technical Difficulties
There could be a mod that adds them to TLP weapons, but I don't know for sure. But yeah, you can always add them yourself.
Technical Difficulties 17 Aug, 2023 @ 9:48pm 
Can these be applied to the weapons from the Tactical Legacy and/or Alien Hunters DLCs, or would we have to do that ourselves?
Iridar  [author] 10 Jun, 2023 @ 11:12pm 
@Soulfire72
This question should be directed at Mod Jam.
Soulfire72 10 Jun, 2023 @ 10:59pm 
Playing with Mod Jam and LWOTC, but the item is not available in "Build items" despite the Stun Lancer autopsy saying it's available. Is this intended?
4rrakis 17 May, 2023 @ 3:03pm 
Mod Jam covers that.
Neko-san 17 May, 2023 @ 2:39pm 
@Iridar Can a compatibility mod be made for the LWOTC weapons?
It's jarring in gameplay when I can only really attach bayonets to the default starting rifles...
Iridar  [author] 3 Apr, 2023 @ 12:03am 
@zin
The bayonets wouldn't be available to most LWOTC weapons, particularly the laser and coil tiers. The damage also wouldn't be balanced.
Mechanically it should function, though.
zin 2 Apr, 2023 @ 10:22pm 
Hi, love your mods! Is this mod compatible with Long War of the Chosen?
Iridar  [author] 1 Apr, 2023 @ 4:22am 
Open up the config files for this mod. If there's nothing there regarding that, then there's nothing you can do.
Aonova 1 Apr, 2023 @ 3:43am 
How would I go about the config for modifying whether bayonet skill can be used when disoriented/burning?
Iridar  [author] 15 Nov, 2022 @ 5:46pm 
I don't take commissions and I don't do cosmetic mods.
X-COM 15 Nov, 2022 @ 3:37pm 
Iridar how much would you charge to make an armor pack? I'm serious, I have a decent budget and would like to buy some custom armor from you, and you can upload it here. I'll foot the bill so everyone can have this armor.
✨Frankster✨ 25 Jul, 2022 @ 10:08pm 
I can't see the bayonets on the Assault Rifle.
CockMeatSandvich 24 May, 2022 @ 9:08am 
@Not Mike
Did you managed to get this mod work with LWOTC?
[CN]突击队队员 1 May, 2022 @ 6:00am 
you can use +STANDARD_MELEE_EXCLUSIONS= to fix.
you just need add

[StandardMelee.X2DownloadableContentInfo_StandardMelee]
+STANDARD_MELEE_EXCLUSIONS=Bayonet_Stab_Conv
+STANDARD_MELEE_EXCLUSIONS=Bayonet_Stab_Mag
+STANDARD_MELEE_EXCLUSIONS=Bayonet_Stab_Beam
+STANDARD_MELEE_EXCLUSIONS=Bayonet_Ripper_Stab_Conv
+STANDARD_MELEE_EXCLUSIONS=Bayonet_Ripper_Stab_Mag
+STANDARD_MELEE_EXCLUSIONS=Bayonet_Ripper_Stab_Beam
+STANDARD_MELEE_EXCLUSIONS=Bayonet_Stab_Psi

then no more UI error.
mod is compatible with this little XComStandardMelee.ini Config.
FreshGrape 15 Feb, 2022 @ 8:45pm 
This Bayonet is not for XCOM, for the GEARS!!
Mike 23 Jan, 2022 @ 9:20pm 
Holy cow i didnt know about that! thanks @iridar!
Iridar  [author] 23 Jan, 2022 @ 9:08pm 
Mike 23 Jan, 2022 @ 6:58pm 
I do have a question though. I am using LWOTC and tried following your instructions to add bayonets to the laser guns series. Would it be

+WEAPONS_TO_ADD_BAYONETS=(TEMPLATE=LaserRifle_LW, TIER=LW)

It would be LaserRifle and the tier would be spelled LW right?
Mike 23 Jan, 2022 @ 6:51pm 
Thank you so much for this mod Iridar, I had fun making an assault only squad with a Templar leader.
holgerschlegel 9 Jan, 2022 @ 3:13am 
@Parameter
The download has been removed because the translation is now part of the mod
Deutsche Mod-Übersetzungen
Parameter 9 Jan, 2022 @ 2:27am 
@ holgerschlegel.

Thank you very much for your translation. Finally a mod that I don't need to translate. :)

Unfortunately I can't download your translation. I get the message: "The file is in the owner's recycle bin".
holgerschlegel 7 Jan, 2022 @ 9:14am 
@Iridar
And here comes the German translation for this mod.
https://drive.google.com/file/d/1IpO2yVCM6TBxtqVk8N2avZn1smFZDapM/view?usp=sharing
Just in case you want to include it in the next update.
Iridar  [author] 19 Nov, 2021 @ 7:33pm 
@SportyHeadShot
That's not the kind of problem that crashes the game, which you can easily test for by disabling the mod and trying to launch.
SportyHeadShot 19 Nov, 2021 @ 3:28pm 
The game crashes before loading, in the crash log report the only problem I can make out is that it couldnt load bayonet lighsaber model mesh
Iridar  [author] 19 Nov, 2021 @ 1:41am 
@SportyHeadShot
Is there an actual problem in-game?
SportyHeadShot 19 Nov, 2021 @ 12:43am 
Im getting some bayonets error regarding a missing mesh for lightsabers?
Iridar  [author] 7 Oct, 2021 @ 10:06pm 
@Valvatorez
No
Valvatorez(Cox Cable = awful ISP 7 Oct, 2021 @ 9:10pm 
@Iridar

Is there a way to add bayonets across weapon types instead of having to cut and paste a new weapon each time? (.i.e. (WEAPON_CAT=rifle) instead of (TEMPLATE=AssaultRifle_CV)
Sir George 2 Oct, 2021 @ 10:42am 
this mod is great thank you
Iridar  [author] 14 Sep, 2021 @ 11:11pm 
@Lux Manifestus

Sounds about right, but I'm not 100% sure.

https://www.reddit.com/r/xcom2mods/wiki/index/template_names
Lux Manifestus 14 Sep, 2021 @ 9:49pm 
I've been trying to create configuration files for a PA and CI bridge with little luck. What are the datanames? Bayonet_Classic and Bayonet_Ripper? Any help is appreciated.
Lux Manifestus 14 Sep, 2021 @ 2:18pm 
wow