XCOM 2
[WOTC] Visual Attachments for Pistols (Supports Coil, Laser and Primary Secondaries)
101 条留言
3D Master 5 月 3 日 下午 4:21 
I assume this supercedes your previous mod that essentially does the same, and I can remove the older one, right?
Epic Dovahkiin 2024 年 9 月 26 日 下午 7:57 
to clear the user config (which i recommend doing if your mods don't work as expected and before every new campaign) go to (whatever drive you use in my case it's the C drive)\Users\(user name)\Documents\My Games\XCOM2 War of the Chosen\XComGame and delete the config folder then using the 2k launcher with mods disabled launch the game which will restore user config to a vanilla state
Epic Dovahkiin 2024 年 9 月 26 日 下午 7:35 
(putting this here because i can't edit @MrDespresso the reason i can't help you if you don'tuse aml is because steam lists all workshop items as a folder with a string of numbers within another folder that's also numbered which in turn represents the game which (on top of the 2k launcher not liking mods) is why i suggest only ever using AML)
Epic Dovahkiin 2024 年 9 月 26 日 下午 7:26 
show in explorer* my bad
Epic Dovahkiin 2024 年 9 月 26 日 下午 7:25 
@MrDespresso if you don't use AML you absolutely should (and i cannot help you there) otherwise right click on the mod in AML (in this case true primary secondaries) and click "open in explorer" then go to config and then XComTruePrimarySecondaries.ini
MrDespresso 2024 年 9 月 25 日 下午 10:51 
I know that in the discussions tab, there are instructions as to what to do if you have flying attachments to your pistols but where is the location of the mod folder? I don't think that this has been addressed yet.
rene.hanke 2024 年 9 月 25 日 上午 11:30 
Is it normal that when you want to equip attachments to pistols, there are no images in the item descriptions? Iridar's Autopistol Overhaul has got these.

Additionally, the pistols do not get these little icons on the left side of their picture (Loadout menu) that show the equipped attachments which the Autopistol Overhaul provides as well.

Is this a bug or a known issue?

Any way to fix this?
Epic Dovahkiin 2024 年 9 月 17 日 下午 2:55 
so for everyone having issues of floating visuals either do some ini tweaking in TPS (check discussions) or try clearing your user config
Kinsect 2023 年 11 月 6 日 下午 5:41 
I've been getting that same issue as well with the floating rifle-like attachments
not only that but one of the wio scope rifle attachments clip into itself with the laser sight attachment and reaper scope
Jaylo 2023 年 8 月 29 日 下午 12:43 
Same here.
What i am seeing is when using LWOTC and TPS, CNV, MG and presumably BM pistol attachements all show fine but LS and Coil attachments don't show up because these two tiers seem to be named differently between TPS. and LWOTC.

When adding this mod, LS and Coil pistol attachments now show up fine but some CNV, MG and presumably BM attachments are now displaced.
Raidar V. 2023 年 8 月 24 日 上午 11:09 
Yeah, after deleting and reinstalling the mods it should be patching, the mod has broken visuals.
Elster 2023 年 4 月 17 日 上午 6:56 
I can also confirm the reports of floating attachments on conventional and mag pistols (haven't unlocked beam yet). Doesn't seem to be affecting the TLP Visual Attachments Redux pistols, though, or the laser/coil pistols when I reskin them.
vulgar_monkey 2023 年 4 月 10 日 下午 1:09 
Ok, looks like WIOs config was taking precedence over most slots (which makes sense and I shouldve thought of sooner), but confusingly wasnt applying to the bog-standard T1 pistol (the revolver), which I assume is being overwritten by the primary secondary mod/s,

Sorry for the comment spam! Hopefully might be of some use to others at least. :)
vulgar_monkey 2023 年 4 月 10 日 上午 11:43 
Ah, nm, the renamed TLP weapons are from the vis attachments REDUX. :)
Probably not related to the pistol thing then - sounds like that might be to do with Prototype Armory?
vulgar_monkey 2023 年 4 月 10 日 上午 10:36 
To confirm, I'v e recently been running into the same problem as below with displaced attachments under TPS, but have no such issue with regular PS. Assuming some sort of compatibility issue there - not sure if TPS updated recently?

Only other issue I am seeing re pistols is that the TLE pistol is listed as 'fully upgraded' by default and has no slots. I should note that all my TLE weapons are listed as 'xcom rifle/pistol/shotgun/etc' which iirc might be the result of another mod (I forget what vanilla stuff looks like now tbh, think they were originally named 'legacy' weapons right?), but all non-pistol TLE 'xcom' variants seem to have slots as usual.
Plemous 2023 年 3 月 16 日 上午 12:58 
Thanks for your work !
I'm encountering a visual bug : attachments are displayed "far" from the pistols on my campaign (ie. the suppressor floats in front of the gun, or the laser sight floats over it). Do you have any idea what might be causing it ? I'm using proficiency classes with TPS, dedicated pistol slot, and WIO. I think the problem appears for my gunslingers and phalanx (I'm not using pistols on other classes for now)
RakkoHug~<3 2022 年 11 月 19 日 上午 10:40 
Oh, Pardon me, Vee, What I meant was that rifle attachment shows up as well as pistol attachment simultaneously. Rifle part shows up floating in air. :)

So far it only seems to happen for Conventional pistol + repeater.
Veehementia  [作者] 2022 年 11 月 19 日 上午 7:14 
@RakkoHug What do you mean "rifle repeater attachments"? As you can see in the screenshot, the conventional pistol uses the same rifle repeater model but scaled down to size. I don't see the issue?
RakkoHug~<3 2022 年 11 月 18 日 下午 7:46 
Vee, I am getting what appears to be rifle repeater attachments on conventional pistols. Has there been a report previously?
Wolfram 2022 年 8 月 11 日 下午 5:05 
does this also make attachments visible on autopistols?
Jess 2022 年 7 月 4 日 上午 12:04 
The update works great thanks a lot @Veehementia and @MrMister your a legend mate your fix for the primary secondary duplicates works too. Thanks a lot to both of you! :D
MrMister 2022 年 7 月 3 日 上午 7:37 
In any case, thank you for the update, I really apprecieate it!

If you reeeeaally wanted to you could re-release the mod to solve that TPS priority conflict, but that's a bit like getting a new flashlight when the old one's batteries stop working.
MrMister 2022 年 7 月 3 日 上午 7:33 
@Veehementia LS and CG pistols' visual upgrades now working great with both LWOTC and Dual Wielded Pistols, thanks!

The only problem with using the mods as-is now is that the duplicate misaligned attachements for vanilla tiers are back.

I'm 90% sure that the problem stems from this mod being older than True Primary Secondaries.

If I copy the 6 "-ArchetypeReplacements" lines from your XComTruePrimarySecondaries.ini into another, younger-than-TPS, mod's XComTruePrimarySecondaries.ini, like Mod Jam's, without doing any changes to them, then the duplicate attachements are gone and it works fine.

I've tried any and all combinations of unsubbing, resubbing and ini purging I could think of, since you say the subscription order matters, but alas.
Veehementia  [作者] 2022 年 7 月 3 日 上午 6:00 
@MrMister Update is up.
Veehementia  [作者] 2022 年 7 月 3 日 上午 5:52 
@MrMister K. Should be up in a matter of minutes. Also doing some much needed cleanup of the code + fixing Laser pistol animation issue.
MrMister 2022 年 7 月 3 日 上午 5:38 
Yep, that should do it. You're missing the closing parenthesis though.

Just for reference, here it is copypasted from my working config:

+ArchetypeReplacements=(TemplateName=Pistol_CV, GameArchetype="Conv.Archetype.WP_Pistol_CV", COPY_DONOR_ATTACHMENTS=True, HIDE_ACCEPTOR_ATTACHMENTS=True)
Jess 2022 年 7 月 3 日 上午 5:03 
@MrMister
So it should look like this?

+ArchetypeReplacements=(TemplateName=Pistol_CV, GameArchetype="Conv.Archetype.WP_Pistol_CV", NumUpgradeSlots=1)COPY_DONOR_ATTACHMENTS=True HIDE_ACCEPTOR_ATTACHMENTS=True

Sorry im bad at this sort of thing
MrMister 2022 年 7 月 3 日 上午 4:23 
This should not create any problems for players without LWOTC. As proof to this claim, I see that you already did this very thing but for "Pistol_CL", to account for whatever coilgun tier mod out there uses the _CL naming convention for coils instead of _CG, and that hasn't caused any problems for players without the Pistol_CL template, has it?

I've tried doing this myself to avoid annoying you, but I can't manage to get modbuddy to rebuild your scripts.


Soooo could you please do this little itty bitey update please? If you want I can even provide you with the changed full contents of the file so you just have to copypaste them.
MrMister 2022 年 7 月 3 日 上午 4:23 
Hey @Veehementia , the reason one can't simply use WSR to make the attachements show up in LWOTC's laser and coil pistols is that the Pisto_LS and Pistol_CG templates are never created in a proper LWOTC installation.

What I think could work is if you duplicate every line in X2DownloadableContentInfo_WOTC_Pistol_Attachments.uc that references "Pistol_LS" and "Pistol_CG" templates, and replace these terms in the new lines with "LWPistol_LS" and "LWPistol_CG".
MrMister 2022 年 7 月 3 日 上午 2:13 
@Jess not the laser and cg yet, no.
Jess 2022 年 7 月 3 日 上午 1:02 
@MrMister
Thanks mate ill give that a go, do you know how to get it to work with LWOTC?
MrMister 2022 年 7 月 2 日 下午 3:36 
FYI, all you need to do to make it work with Dual Wielded Pistols is add the COPY_DONOR_ATTACHMENTS=True and HIDE_ACCEPTOR_ATTACHMENTS=True flags to all six +ArchetypeReplacements lines in XComTruePrimarySecondaries.ini. I've tested this in a LWOTC Mod Jam environment and now vanilla-tier pistols use these mod's visuals correctly.

The problem was that it adds the new attachements without removing the old ones.

I don't think adding those flags would affect non-DualWieldedPistols users, so if you want you can update the mod and add those flags by default, and you'll stop further comments about this problem.
Jess 2022 年 7 月 2 日 上午 2:05 
Can you please update this to work with LWOTC? Ive tried getting it to work myself but havent had any luck at all, from what people say in the comments its not compatible with dual pistols either.
onestrongbow GocleCD 2022 年 6 月 26 日 下午 5:59 
oh my bad , it's because of dual pistols that uses their own attachments too
onestrongbow GocleCD 2022 年 6 月 26 日 下午 5:18 
same as @brandon
brandon980604 2022 年 3 月 10 日 下午 12:42 
Attachments spawn away from the pistol for some reason and I did follow the instructions. Could it be a mood conflict?
Zoinho1 2021 年 11 月 16 日 上午 9:15 
Could you do visual attachments for Spark cannon too?
aciel.samael 2021 年 9 月 14 日 下午 1:09 
Understood, Thank you for the confirmation.
Veehementia  [作者] 2021 年 9 月 14 日 上午 1:51 
aciel.samael No. The only thing you can do is equip attachments while a pistol is set up as a secondary/DPS weapon and then see if you can put the already modified gun into your US.
aciel.samael 2021 年 9 月 13 日 下午 8:13 
Didn't see it mentioned, but is there a way to get these to work with Utility Slot Sidearms [WOTC]?
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1194081262
Jaylo 2021 年 3 月 19 日 上午 11:46 
@Veehementia Would these be the correct entries for WSR?

+WEAPON_REPLACEMENT=(ACCEPTOR_TEMPLATE=LWPistol_LS, DONOR_TEMPLATE=Pistol_LS, COPY_DONOR_ATTACHMENTS=true)
+WEAPON_REPLACEMENT=(ACCEPTOR_TEMPLATE=LWPistol_LS_Primary, DONOR_TEMPLATE=Pistol_LS_Primary, COPY_DONOR_ATTACHMENTS=true)
+WEAPON_REPLACEMENT=(ACCEPTOR_TEMPLATE=LWPistol_CG, DONOR_TEMPLATE=Pistol_CG, COPY_DONOR_ATTACHMENTS=true)
+WEAPON_REPLACEMENT=(ACCEPTOR_TEMPLATE=LWPistol_CG_Primary, DONOR_TEMPLATE=Pistol_CG_Primary, COPY_DONOR_ATTACHMENTS=true)
Veehementia  [作者] 2021 年 3 月 19 日 上午 10:52 
@Jaylo I do not plan to update any of my mods for LWOTC. You can however use WSR to fix this by swapping the "LWPistol_LS" and "LWPistol_CG" templates with their normal counterparts (PIstol_LS, Pistol_CG)
Jaylo 2021 年 3 月 19 日 上午 7:20 
Would it be possible to update this for the latest LWOTC as laser and coil pistols are now named "LWPistol_LS" and "LWPistol_CG" and not Pistol_LS, Pistol_CG anymore.
Wet Dog Squad 2020 年 11 月 23 日 上午 11:14 
Just your mod that adds visuals to Shiremct's Overhaul, and Dual Wielded Pisto—
...oh.

I just checked the description for the Dual Wielding mod and apparently it adds visual attachments to pistols, I didn't know that. RIP, thanks for helping me see the obvious.
Veehementia  [作者] 2020 年 11 月 23 日 上午 10:25 
@Lynry sounds like a mod conflict to me. Do you have any other mods that add visual attachments for pistols?
Wet Dog Squad 2020 年 11 月 23 日 上午 9:30 
I'm getting a weird bug where the conventional pistol is using the coil pistol's upgrade graphics, and they're all really displaced (the expanded magazine and repeater, for example, are floating in front of the gun and the stock is clipping through the revolver's grip). I've encountered this bug on three separate fresh installs (one of which was on an entirely different computer) and I can't figure out what's causing it.
SoloCross 2020 年 11 月 15 日 下午 9:14 
Is there a way to make certain attachments unequippable? Wanna do that to Shiremct´s Bipods cause Bipods on a pistol is a bit silly and they have no visual anyway.
Aerodious 2020 年 11 月 4 日 上午 6:37 
@Veehementia
Thanks for the quick response!
I'll go with your "Better Visual Attachments" and make the configuration. I appreciate the list of options and detailed run down.

Peace
Veehementia  [作者] 2020 年 11 月 4 日 上午 4:35 
@Aerodius
Theoretically, it would be possible to add the function to disable components. But I won't do for several reasons:
1 - You can do it yourself via WSR if you so desire.
2 - I set the TLP DLC as a requirement for a reason. It means it's needed.
3 - There are other versions of this mod that fulfill the same purpose, made by me. Look at "Complete Pistols Overhaul" (of which you can disable the stat changes to only have the attachments show up) or "Better Visual Attachments for Primary Secondaries" (which you can configure to also affect normal pistols via WSR) (2/2)
Veehementia  [作者] 2020 年 11 月 4 日 上午 4:34 
@Aerodious
So. The "strange light purple hue" you mention is the game failing to find (and load) textures. Which is likely since you do not have the TLP DLC, which is the one certain models pull the textures from. It's not a bug, you're missing a requirement.

The reflex is partly my mistake. Its textures are taken from the Alien Hunters DLC, which I forgot to add as a requirement when I added those in later down the road. That's my bad, sincere apologies. I'll correct the mistake now. (1/2)