XCOM 2
[WOTC] Duke's M1911 Pistol
34 Comments
Orton Ville Oct 9, 2020 @ 9:24am 
@Iridar
Thanks, nice looking gun, I just wish it gets camo tint options in the future. Doesn't fit with my Ultra Camo team haha! Stay safe.
Iridar  [author] Oct 7, 2020 @ 10:06pm 
@Orton Ville
Only campaign restart will remove items broken by mod removal.
Orton Ville Oct 7, 2020 @ 7:23pm 
HI guys, I unsubscribed to this mod and error! none has no friendly name in the pistol selection is still persistent-lots of them! I've delete the config folder and it's still there. I'm using the latest AML version. How do I get rid of it? thanks.
Charlemagne Jul 22, 2020 @ 8:45pm 
It has appeared. :-) Confirm it can be used as primary and dual, and has its 3 slots.
Iridar  [author] Jul 22, 2020 @ 7:07pm 
@Charlemagne
It should be getting added automatically. Try loading a save game to Avenger.
Charlemagne Jul 22, 2020 @ 5:21pm 
I subscribed mid campaign, and it doesn't appear, do I need to start a new game?
HotelCharliHill Mar 9, 2020 @ 12:58am 
Yeah i read the desc, but im a newb so vocabulary is really unfamiliar to me, so i know it's "configurable" but whether it's configurable the way I'm thinking of is a mystery :D Thaniks
Iridar  [author] Mar 9, 2020 @ 12:19am 
@HotelCharliHill
If you read the description, it states where you can find the configuration file for this mod. It does let you change the damage done by this pistol.
HotelCharliHill Mar 8, 2020 @ 11:44pm 
Hey I don't need anything fancy, how do I make it so tier 2 it's twice as powerful (or maybe 1.5x) and tier 3 it's three times as powerful (or a further 1.5x - we'll have to look at the damage it's doing)?? thanks
DS_Cuchit0x Feb 3, 2020 @ 1:27pm 
Ok looking through the file and reading and actually understanding how the ini file references to the uc file, i was able to modify all my pistol mods by adding the pistolname_tier_iupgradeslots so they all have 1 slot for tier 1, 2 for mag and 3 for beam. Thanks for your help, really useful!
DS_Cuchit0x Feb 3, 2020 @ 12:19pm 
You are a true hero.
DS_Cuchit0x Feb 3, 2020 @ 12:07pm 
Oh, I see, so, is there a tutorial on how to change the number of slots of a modded weapon?
Iridar  [author] Feb 3, 2020 @ 12:05pm 
I added 3 upgrade slots, configurable.
Iridar  [author] Feb 3, 2020 @ 12:01pm 
@Obi-Wan Tennobi
Yes, that's the upgrade slot numbers. I hope you don't expect to be able to change mod's code just like that?

From xcom 2 modding wiki:
===============
Q: Can't I just edit mods' source code?

A: No. I mean, you can edit the source code all you want, but it will not lead to anything useful. The .uc source code files are shipped alongside mods just for reference. You could delete all of them and the mod would still work perfectly fine. The actual code of the mod is shipped in the form of compiled .u files. If you edit those, the game will likely just start crashing, and you will not be able to achieve what you wanted with your changes. Yes, even if you just want to change one digit of one number, it will still not work.
DS_Cuchit0x Feb 3, 2020 @ 11:49am 
Template.ItemCat = 'weapon';
Template.WeaponCat = 'pistol';
Template.strImage = "img:///IRI_DukeM1911.M1911_inv";
Template.EquipSound = "Secondary_Weapon_Equip_Conventional";

So it is categorized as a pistol as far as I understand

Template.InventorySlot = eInvSlot_SecondaryWeapon;

What's that line for?
DS_Cuchit0x Feb 3, 2020 @ 11:43am 
This mod file has the "Template.NumUpgradeSlots = 3;" line on it, is that the upgrade slots numbers?
Sorry, im kinda new to modding
Iridar  [author] Feb 3, 2020 @ 11:40am 
@Obi-Wan Tennobi
You probably just need to add upgrade slots to these pistols. Primary Secondaries adds upgrade slots only to vanilla pistols by default, I think.
DS_Cuchit0x Feb 3, 2020 @ 11:34am 
Ok, thanks for the answer! Im using M3 Predator Pistol and Duke's M1911 Pistol mods and I can't seem to find a way to attach upgrades (stocks/scopes/etc) to them, only to the ones mentioned before. I disabled all mods / wiped config, loaded only primary secondaries with needed mods and still got the same result.
Went to custom pistols files just to make sure and they are labeled as "pistol". Weird

Would be awesome to play akimbo with these customs pistols you made
Iridar  [author] Feb 3, 2020 @ 11:27am 
@Obi-Wan Tennobi
I'll look into it when I have time. Yes, primary variants of pistols are created by Primary Secondaries. Akimbo doesn't touch inventory items in any way.
DS_Cuchit0x Feb 3, 2020 @ 11:15am 
Hi! Im using Akimbo (with all its needed mods, have played several campaigns with akimbo's mod) and some modded pistols, and I can't get the pistols to act as primary weapons. I cannot use attachments on them, but with standard/legacy pistol there's no problems. Shouldnt modded pistols be loaded as primary weapons with primary secondaries?
Iridar  [author] Jul 3, 2019 @ 6:47am 
@Dr. Taffy Nibbles
Fixed, sorry about that.
Dr. Taffy Nibbles Jul 1, 2019 @ 12:12pm 
This mod crashes the game when you try to upgrade pistols to tier 3 for some reason.
Iridar  [author] Jun 15, 2019 @ 10:41am 
@tG-APasz 「アパゾ」
Ok, I agree, it's a bit louder than it should be.
APasz Jun 15, 2019 @ 10:11am 
Dude a bug report should not require a donation, period. Granted I should have been more clear.

Here is a video showing it. https://youtu.be/YEeO5IDmw_I In this specific instance master and effects volumes were at 50%.
When volume is set to max, the level of the pistol is a tad higher then it should be but it's well within reason.
Iridar  [author] Jun 15, 2019 @ 8:44am 
@tG-APasz 「アパゾ」
Sorry, I only typically do requests for people who support me on patreon. The firing sound is fine in my opinion. You can replace weapons' firing sounds with Weapon Skin Replacer.
APasz Jun 15, 2019 @ 8:31am 
Man it's loud. Any chance we could get a fix?
Doomknight May 24, 2019 @ 12:53pm 
Damn, those alien bastards are gonna pay for shooting up my ride
p6kocka May 21, 2019 @ 10:05am 
Thank you. It´s working now.
Iridar  [author] May 21, 2019 @ 6:21am 
@p6kocka
Pushed an update, should work now.
p6kocka May 20, 2019 @ 2:24pm 
I still don' t see the pistol in Armory.. Subbed mid-campaign.
dmc32 May 20, 2019 @ 1:06pm 
It's a quick bang too! Like either the shooter or gun is in 2x motion animation. Very accurate.
NightNinja54 May 18, 2019 @ 6:31am 
Sweet.
Arkhangel May 18, 2019 @ 6:27am 
Bang.
Zorbakaq May 18, 2019 @ 6:16am 
sexy looking pistol