XCOM 2
[WOTC] WSR Weapon Skin Replacer - Configuration
218 commentaires
HastatusPrior 17 sept. à 22h55 
I am trying to scale down Sword_CV by some 20% so it looks more like a machete and less like a broadsword. The sword itself is properly shrunk with WEAPON_REPLACEMENT, but its sheath isn't. I tried shrinking the sheath separately through SOCKETS_TO_ADD (which as far as I understand is supposed to scale default attachments, overriding existing ones) but it didn't help. Is this Sheath attachment peculiar in some way ? Please help.
CzechBall 13 juin à 14h26 
er, config code to make this work
CzechBall 13 juin à 14h23 
i'm looking at trying to alter the mag SMG so that it fires like the mag bullpup in its anims, if someone already has a mod for that, send me a link to it, if no mod exists rn, send me the code to make this work
Iridar  [créateur] 27 mai à 7h14 
Sorry, but I'm not gonna be holding your hand here. If you can't figure it on your own, you can try asking for help on the modmaking discord.
Lebowskichild 27 mai à 3h25 
Good morning @Iridar, thank you for your help so far.

I have added +WeaponCategories="C4" to the XComGameData.ini in OCWR

I have added these 3 lines in XComWeaponSkinReplacer.ini
+CHANGE_TEMPLATE=(TEMPLATE="TacticalC4", SET_WEAPON_CAT="C4", SET_INVENTORY_SLOT=eInvSlot_SecondaryWeapon)
+CHANGE_TEMPLATE=(TEMPLATE="TacticalX4", SET_WEAPON_CAT="C4", SET_INVENTORY_SLOT=eInvSlot_SecondaryWeapon)
+CHANGE_TEMPLATE=(TEMPLATE="TacticalE4", SET_WEAPON_CAT="C4", SET_INVENTORY_SLOT=eInvSlot_SecondaryWeapon)

And I have added this line to one of my custom classes in the XComClassData.ini

Would you happen to know if there is anything I have done wrong or missed?
Iridar  [créateur] 27 mai à 1h57 
You need to give the X4 a new weapon category and set the secondary weapon inventory slot for it. Then in the soldier class config in XComClassData.ini, allow that weapon category in the secondary weapon slot.
Lebowskichild 26 mai à 11h23 
Hi again @Iridar.

Could you explain what line I would need to add to this mods ini file to achieve turning the Tactical X4 item into a secondary weapon.

I have looked through the documentation for WSR but am unsure about which variables need to be added.
Iridar  [créateur] 26 mai à 7h17 
Should be
Lebowskichild 26 mai à 7h10 
Hi @Iridar. I was wondering if you could tell me, is it possible to use this mod to alter the availability of the WotC Tactical X4 mods item, so that it becomes a secondary weapon that can only be used by a specific class?
Grompaa 13 nov. 2024 à 16h43 
That did it! Thank you so much! I'm really not proficient with coding so would have never found out that was the issue even if it was that simple. You're a life saver thank you really!
Dragon32 13 nov. 2024 à 16h35 
@Grompaa
By starting a line with ; you're commenting it out so the game never reads it.
Grompaa 13 nov. 2024 à 16h22 
Thanks for the quick reply! This is the command I've been using: ;+PROJECTILE_REPLACEMENT=(ACCEPTOR_TEMPLATE=BF4Railgun_MG, DONOR_TEMPLATE=ChosenSniperRifle_XCOM)
I also tried the same but using only base game weapons to test: ;+PROJECTILE_REPLACEMENT=(ACCEPTOR_TEMPLATE=VektorRifle_BM, DONOR_TEMPLATE=Bullpup_CV) also didn't seem to work... Im putting the commands under the "enter your commands bellow" on the ini file. is there something I'm missing maybe? Thanks again for the reply!
Iridar  [créateur] 13 nov. 2024 à 16h16 
Hi. Something about the command is incorrect, that's the most I can say.
Grompaa 13 nov. 2024 à 13h29 
Hi @Iridar, been enjoying quite a few of your mods and this one has been an interesting one to learn but I've been having an issue with a projectile replacement... I'm trying to give a modded weapon (bf4 railgun) the chosen sniper rifle projectile effect. I've managed to get all the information to make the command work but for some reason it doesn't seem to affect it at all. I'm not super experienced with modding so I hope you could offer some light on what the issue could be. Thanks for the great mod!
Aeterna25 4 oct. 2024 à 10h58 
hey, sorry if this question has already been asked but how do i make weapons invisible? mainly for the spark
Pete 17 mai 2024 à 12h51 
Ahh that makes a lot of sense, so the path is already in game then. Thanks a lot!
Iridar  [créateur] 17 mai 2024 à 8h18 
If a mod doesn't have a content folder it means it's using assets from another mod (which would be typically marked as required) or from the game itself, which I assume is the case for cut content ammo, cuz it's literally game's cut content.
Pete 17 mai 2024 à 7h52 
Hi @Iridar, thanks for the great mod! You mention in the documentation If you want to use assets from a certain mod that aren't active, you copy the Content folder into another active mod. But I've noticed some mods like Cut Content Ammo by GrimyBunyip don't have a content folder, what do you do then?

I ask because I want the ammo from [WOTC] Cut Content Ammo to look like Cut Content Ammo by GrimyBunyip. The two are duplicates and can't run together, but I really like how the latter looks, but the former has better rounds overall. Any advice? Thanks!
Rost Kurt 24 avr. 2024 à 15h26 
@Iridar, как заменить улучшение Буллпаппа, чтобі он улучшался вместе со Штурмовой винтовкой?
wilnemo35795 21 déc. 2023 à 13h55 
From reading the Documentation for Template master, this is what I wrote for the Plasma Warhead:
+Edit_X2WeaponTemplate = (T = "PLASMAGRENADEMK3", P = "Cost",\\
Cost = (ResourceCosts[0] = (ItemTemplateName = "Supplies", Quantity = 20),\\
ResourceCosts[1] = (ItemTemplateName = "AlienAlloy", Quantity = 1),\\
ResourceCosts[2] = (ItemTemplateName = "EleriumDust", Quantity = 1),\\
ArtifactCosts[0] = (ItemTemplateName = "EleriumCore", Quantity = 1)))
Stukov81-T.TV 20 déc. 2023 à 15h19 
that would be done more easily with template master.

Similar to this:
+Edit_X2WeaponTemplate = (T = "Medikit", P = "HideIfResearched", OP = "Remove")
+Edit_X2WeaponTemplate = (T = "NanoMedikit", P = "HideIfResearched", OP = "Remove")
+Edit_X2WeaponTemplate = (T = "NanoMedikit", P = "BaseItem", OP = "Remove")
+Edit_X2WeaponTemplate = (T = "BioMedikit", P = "BaseItem", OP = "Remove")

making them buildable can be done in WSR or Template Master by setting CanBeBuilt to true and adding a cost
wilnemo35795 20 déc. 2023 à 13h28 
I want to change the grenades from Superior explosives from being upgraded automatically by the Superior explosives weapons project, to built individually after research, what command would i use to edit to remove the grenades from being upgraded?
Iridar  [créateur] 2 déc. 2023 à 2h43 
@Forny
Read the documentation, the "WEAPONS_TO_HIDE_KEEP_SCHEMATIC" command does just that.

Alternatively, you can do that with the Item Hider mod using in-game UI.
Giggles 2 déc. 2023 à 1h55 
Yeah, in the exact same boat as you Forny, annoying that the cod weapon classes don't apply to LWOTC.
Forny 18 sept. 2023 à 16h08 
wow, this mod is awesome. But I'm a little useless with these things. I replace the weapons in the game with more realistic weapon skins like those in the CoD mods using the xSkin mod but it is very tedious to do it on each soldier one by one when you play Long War of the Chosen with dozens of soldiers. Also I don't want all those weapons to appear in the game's armory and so on. I want them to remain as ghost templates. I think all that could be changed with this mod but I can't figure out how to do it.
Gwynbleiid 12 sept. 2023 à 22h37 
@Iridar Ok thx
Iridar  [créateur] 12 sept. 2023 à 22h30 
@Gwynbleiid
Yes, add it as a default attachment.
Gwynbleiid 12 sept. 2023 à 22h01 
Question, can I make a weapon have a weapon attachment visual even if it doesn't have the attachment? Like adding the visuals of the repeater for all Vektor tiers as default visuals
Iridar  [créateur] 25 juin 2023 à 0h47 
That's not unexpected.
Earendil_ 25 juin 2023 à 0h40 
I succesfully changed weapon projectiles, however, If I change weapon appearence using Xskin, the projectile does not apply.
OVER JUSTICE 25 févr. 2023 à 10h40 
Is it possible to add the -10 aim and -1 mobility of the base ballistic shields mod to other mods that add new shields but don't include the negative stat effects? Some shield mods have it and some don't, and I can't find the exact way in which they have included the stat debuff
Iridar  [créateur] 5 févr. 2023 à 22h03 
Currently not.
Hel's Angel 5 févr. 2023 à 20h59 
Is it possible using this mod to remove the light from flashlight ? i just want the attachment, but the flash light gone.
cyrneco 1 oct. 2022 à 3h29 
I can't manage to make sniper rifles (from mods or vanilla) to change rate of fire. What is the proper INI code for it? I tried the 'change rate of fire' and 'change animation commands but no luck...
Iridar  [créateur] 4 sept. 2022 à 6h45 
хз посмотри как в Mod Jam прописано.
STRIKER 11 aout 2022 à 1h01 
@iridar,
Thanks, Will do.
Iridar  [créateur] 10 aout 2022 à 18h54 
@STRIKER
Use XSkin instead.
STRIKER 10 aout 2022 à 16h55 
is there any way to streamline this somewhat? i'm kinda fearful at the idea to read a full doc and enter several command lines just to cosmetically change a rifle's appearence
Bastion 30 juil. 2022 à 11h03 
Its not the animation that bothers me really, i just want to have a kenetic glaive for thier psi weapon so i can make a 40k grey knight.
Iridar  [créateur] 30 juil. 2022 à 10h47 
You can reskin shard gauntlets all you want, but shard blades are a part of the templar Rend animations and cannot be changed.
Bastion 30 juil. 2022 à 10h38 
Could i use this to make templar shard blade look and act like a sword but still be shards??
Jess 27 juin 2022 à 5h35 
Hi im trying to change the icon of an ability and i just want to make sure the command im using is correct because it doesn't seem to work.

+CHANGE_ABILITY_TEMPLATE = (TEMPLATE = "WOTC_APA_AmbushToggle", ICON_IMAGE = "img:///UILibrary_WOTC_APA_Class_Pack.perk_Ambush")

I cant seem to get this work.
Haywire 12 avr. 2022 à 17h50 
@Dragon32 & XpanD

Oh for Frith's sake... lol. Yes, that did it. Thanks all. :-D
Dragon32 12 avr. 2022 à 15h17 
@Haywire
Try "cannon" not "canon", unless you're changing some religious law.
XpanD 12 avr. 2022 à 15h16 
Those IDs aren't correct, you're missing one of the "N"s in "Cannon". Does it work with those added in?
Haywire 12 avr. 2022 à 15h09 
Hey all! So, I've used this setup to make all tier cannons look like tier 1 but lately it seems to have defaulted back to vanilla models for each tier. Has the syntax changed lately or am I missing something? I haven't made any changes for awhile now.

+WEAPON_REPLACEMENT=(ACCEPTOR_TEMPLATE=Canon_CV, DONOR_TEMPLATE=Canon_CV)
+WEAPON_REPLACEMENT=(ACCEPTOR_TEMPLATE=Canon_MG, DONOR_TEMPLATE=Canon_CV)
+WEAPON_REPLACEMENT=(ACCEPTOR_TEMPLATE=Canon_BM, DONOR_TEMPLATE=Canon_CV)
Iridar  [créateur] 14 déc. 2021 à 3h27 
@Metal Machine
По идее такая замена должна заменять анимации тоже, не знаю с чего бы звуку пропадать.
Металiчна машинка 14 déc. 2021 à 0h36 
@Iridar, смотри, заменил себе оружейку, но на пулемете, замененным z6, пропал звук. Это значит что он завязан на анимацию и будет работать только на родном темплейте?

+WEAPON_REPLACEMENT=(ACCEPTOR_TEMPLATE=Cannon_CV, DONOR_TEMPLATE=WP_Z6Rotary, HIDE_ACCEPTOR_ATTACHMENTS=True, HIDE_DONOR_TEMPLATE=True, HIDE_DONOR_SCHEMATIC=True)

+WEAPON_REPLACEMENT=(ACCEPTOR_TEMPLATE=Cannon_MG, DONOR_TEMPLATE=WP_Z6Rotary, HIDE_ACCEPTOR_ATTACHMENTS=True, HIDE_DONOR_TEMPLATE=True, HIDE_DONOR_SCHEMATIC=True)

+WEAPON_REPLACEMENT=(ACCEPTOR_TEMPLATE=Cannon_BM, DONOR_TEMPLATE=WP_Z6Rotary, HIDE_ACCEPTOR_ATTACHMENTS=True, HIDE_DONOR_TEMPLATE=True, HIDE_DONOR_SCHEMATIC=True)

+WEAPONS_TO_HIDE=WP_Z6Rotary_MG
+WEAPONS_TO_HIDE=WP_Z6Rotary_BM
XpanD 11 déc. 2021 à 5h58 
The goal is to have the lower-tier items disappear from the menu if mag/beam is already unlocked, but I just seem to get all three showing at the same time. I've tried passing in Cannon_MG_Schematic/Cannon_BM_Schematic as well, but same result.

Anything I'm missing here, or any other ways to approach this? Thanks. (again!)

(testing these on a fresh debug cheat campaign, in case that affects anything)
XpanD 11 déc. 2021 à 5h58 
I'm currently trying to create an upgrade path for an item that's been converted to single production, but I'm hitting a bit of a roadblock -- I can't seem to get HIDE_IF_PURCHASED to work.

Here's what I'm doing:
+CHANGE_TEMPLATE=(TEMPLATE=WP_GethSpitfire, SET_CAN_BE_BUILT=1, SET_STARTING_ITEM=0, HIDE_IF_PURCHASED=Cannon_MG, CHANGE_REQUIREMENTS=true, RESOURCE_COSTS[0]=(costs here))
+CHANGE_TEMPLATE=(TEMPLATE=WP_GethSpitfire_MG, SET_CAN_BE_BUILT=1, SET_STARTING_ITEM=0, HIDE_IF_PURCHASED=Cannon_BM, CHANGE_REQUIREMENTS=true, REQUIREMENTS=(RequiredTechs[0]=GaussWeapons), RESOURCE_COSTS[0]=(costs here))
+CHANGE_TEMPLATE=(TEMPLATE=WP_GethSpitfire_BM, SET_CAN_BE_BUILT=1, SET_STARTING_ITEM=0, CHANGE_REQUIREMENTS=true, REQUIREMENTS=(RequiredTechs[0]=HeavyPlasma), RESOURCE_COSTS[0]=(costs here))