XCOM 2
[LW2] XCom Pistols Enhanced Redux
DrunKraken  [developer] 9 Mar, 2017 @ 1:25am
General
Mod questions or feature requests here.
< >
Showing 1-15 of 18 comments
Zyrrashijn 13 Mar, 2017 @ 7:49am 
Does this again come with the alternative silencer models?
Thahat 13 Mar, 2017 @ 11:57am 
Request: somehow make compatible with LW2 style pistols (they are counted as items same as grenades and such, though im not sure how one would actually mod the guns from there..
Last edited by Thahat; 14 Mar, 2017 @ 6:00am
DrunKraken  [developer] 13 Mar, 2017 @ 1:29pm 
Originally posted by Thahat:
Requist: somehow make compatible with LW2 style pistols (they are counted as items same as grenades and such, though im not sure how one would actually mod the guns from there..

These pistols are accessible via the Secondary slot. Mod Everything does not support Utility slots. Even if it did in it's current state it'd allow attachments on every item including grenades, medpacks etc...
DrunKraken  [developer] 13 Mar, 2017 @ 1:31pm 
Originally posted by Zyrrashijn:
Does this again come with the alternative silencer models?

The core pistols still have the extra sockets. I think due to time I didn't add all the extra fluff to the Coil for sure. The Laser I think has at least the alternate suppressor mesh.
Zyrrashijn 13 Mar, 2017 @ 2:18pm 
Thahat: You can, sort of, make it work. As it is, you can equip the guns on any secondary slot, attach the mods you like, save, quit and then change the lines CVWPdata_T1_WeaponSlotSelect=Secondary to CVWPdata_T1_WeaponSlotSelect=Utility in the ini file. The guns will be available as utility items but retain their attached mods. It's just not changeable.

Krakah: I can't seem to attach auto loaders, expanded mags or stocks. Playing LW2. Any idea?
DrunKraken  [developer] 13 Mar, 2017 @ 2:26pm 
Originally posted by Zyrrashijn:
Thahat: You can, sort of, make it work. As it is, you can equip the guns on any secondary slot, attach the mods you like, save, quit and then change the lines CVWPdata_T1_WeaponSlotSelect=Secondary to CVWPdata_T1_WeaponSlotSelect=Utility in the ini file. The guns will be available as utility items but retain their attached mods. It's just not changeable.

Krakah: I can't seem to attach auto loaders, expanded mags or stocks. Playing LW2. Any idea?

Are you trying to reference the extra sockets?

Also I got super verbose with the attachments in the log file. By default I report all attachments and all their values.

So if you think maybe it was a phat finger moment editing the weapon config file. The log file will show where it last worked and where it broke.

Toss me a pastebin link of your log file when you get the chance.


Zyrrashijn 13 Mar, 2017 @ 2:31pm 
No, thats what i saw straight off the bat. Can't attach the weapon mods mentioned.
DrunKraken  [developer] 13 Mar, 2017 @ 6:06pm 
Originally posted by Zyrrashijn:
No, thats what i saw straight off the bat. Can't attach the weapon mods mentioned.

I'm working my way down from T5 for each weapon. So far the attachments are working. I sent you an invite, try and send me the log when you can.
Zyrrashijn 14 Mar, 2017 @ 1:44pm 
It is apparently Grimy's Loot mod that interferes with your mod. Without GLM, all weapon attachments are perfectly fine.
DrunKraken  [developer] 14 Mar, 2017 @ 7:23pm 
Originally posted by Zyrrashijn:
It is apparently Grimy's Loot mod that interferes with your mod. Without GLM, all weapon attachments are perfectly fine.

Hmm...GLM does this to more than just my mod as well.

All secondary items/weapons not in the "pistol" category have all attachments blocked. This would also be the case even if "Mod Everything" supported the Utility slot. GLM would block everything there as well.


Edit:
Bugger Grimy is in a retired from modding mode atm. He may or may not fix it. =(

Last edited by DrunKraken; 14 Mar, 2017 @ 7:34pm
Zyrrashijn 14 Mar, 2017 @ 10:17pm 
Ah, too bad. I'll probably ditch GLM then. It's severely OP anyway.
Zyrrashijn 14 Mar, 2017 @ 11:57pm 
wait, why are your pistols not in the pistol category?
Scryehard 15 Mar, 2017 @ 9:57am 
What about the Hunter pistol? How would one go about adding attachment slots to that?

Also, if I try to change my sharpshooter's secondary to something other than the holotargeter, it equips the standard holotarger instead and I lose the other item.

This is using LW2, obviously.
Last edited by Scryehard; 15 Mar, 2017 @ 10:09am
Zyrrashijn 15 Mar, 2017 @ 2:35pm 
No way to access the hunter pistol as of now. Needs an updated "Mod everything".

i took a look at grimy's files, but couldn't figure where he sets what category can use what mods. :/
DrunKraken  [developer] 15 Mar, 2017 @ 8:43pm 
Originally posted by Zyrrashijn:
No way to access the hunter pistol as of now. Needs an updated "Mod everything".

i took a look at grimy's files, but couldn't figure where he sets what category can use what mods. :/


My pistols are in the the "pistols" category. The function your looking for is in "GrimyLoot_UpgradesPrimary.uc" way at the bottom "UpdateOldTemplates()"

You'll see that the attachments that call "CanApplyUpgradeToWeaponPrimary" were the ones showing up as blocked.

The rest of the attachments calling "CanApplyUpgradeToWeaponPrimaryOrPistol" were still showing up. Which is in his "GrimyLoot_UpgradesSecondary.uc" file.

In there you'll see the category argument in that function.

The quick and dirty fix would be to add "CanApplyUpgradeToWeaponPrimaryOrPistol" to all the attachments in "UpdateOldTemplates()".
< >
Showing 1-15 of 18 comments
Per page: 1530 50