XCOM 2
[WOTC] [FIXED] Clean TLE Weapons With Tiered Upgrades
AaronOnMoon 26. nov. 2019 kl. 22:50
Working flashlight variants for the conventional tier (Made by me)
I really like these weapons but they don't have flashlights, so I made changes to their upks adding them, I thought some other people would also like flashlights on these weapons so I'm going to show you how to add them as well.

Note this only changes the conventional versions of these weapons, I'm not sure if it works on the other weapon tiers.

Requirements
This mod (to add the weapons)
X2WOTCCommunityHighlander (for the +SOCKETS_TO_ADD command to work)
[WOTC] Iridar's Weapon Skin Replacer (to add the flashlight model)
My upk edits (to add functionality to the flashlight)

Step 1 download my edited upks https://drive.google.com/open?id=1TX5dVnX9RjM5KAUYKyN7fux4SSVFkJ6K

Step 2 go to this mods folder SteamApps\workshop\content\268500\1898540490

Step 3 open the Content folder and replace the upks in there with my edited upks

Step 4 go to the weapon skin replacer folder SteamApps\workshop\content\268500\1709345052\Config

Step 5 open the config file and add these lines

+SOCKETS_TO_ADD=(TEMPLATE=TLP_F_Rifle_CV, SOCKET_NAME=Light, OFFSET_X=29.948261f, OFFSET_Y=2.761644f, OFFSET_Z=5.249999f, dROLL=0, dPITCH=0, dYAW=0, SCALE_X=1.0f, SCALE_Y=1.0f, SCALE_Z=1.0f)
+SOCKETS_TO_ADD=(TEMPLATE=TLP_F_LMG_CV, SOCKET_NAME=Light, OFFSET_X=33.822338f, OFFSET_Y=2.250627f, OFFSET_Z=6.000000f, dROLL=0, dPITCH=0, dYAW=0, SCALE_X=0.990000f, SCALE_Y=1.172500f, SCALE_Z=0.900000f)
+SOCKETS_TO_ADD=(TEMPLATE=TLP_F_Shotgun_CV, SOCKET_NAME=Light, OFFSET_X=28.270552f, OFFSET_Y=-1.747118f, OFFSET_Z=9.268646f, dROLL=-151.70, dPITCH=0, dYAW=0, SCALE_X=1.0f, SCALE_Y=1.0f, SCALE_Z=1.0f)
+SOCKETS_TO_ADD=(TEMPLATE=TLP_F_Sniper_CV, SOCKET_NAME=Light, OFFSET_X=31.227783f, OFFSET_Y=1.565665f, OFFSET_Z=4.000000f, dROLL=0, dPITCH=0, dYAW=0, SCALE_X=1.0f, SCALE_Y=1.0f, SCALE_Z=1.0f)

+DEFAULT_ATTACHMENT=(TEMPLATE=TLP_F_Rifle_CV, SOCKET=Light, MESH="ConvAttachments.Meshes.SM_ConvFlashLight")
+DEFAULT_ATTACHMENT=(TEMPLATE=TLP_F_LMG_CV, SOCKET=Light, MESH="ConvAttachments.Meshes.SM_ConvFlashLight")
+DEFAULT_ATTACHMENT=(TEMPLATE=TLP_F_Shotgun_CV, SOCKET=Light, MESH="ConvAttachments.Meshes.SM_ConvFlashLight")
+DEFAULT_ATTACHMENT=(TEMPLATE=TLP_F_Sniper_CV, SOCKET=Light, MESH="ConvAttachments.Meshes.SM_ConvFlashLight")

Step 6 save the file and enjoy the flashlights :B1:
< >
Viser 1-7 af 7 kommentarer
Hel's Angel 1. feb. 2023 kl. 6:21 
Help ? i have the flash light but it does not shine
AaronOnMoon 1. feb. 2023 kl. 13:50 
@Chancellor Palpatine
Like you have the model on your weapons but no actual light is coming out of it?

Assuming you installed my edited UPK files then it might just be the mission your on

In Xcom 2 the flashlights only activate after concealment is broken and if the mission is dark enough
Hel's Angel 4. feb. 2023 kl. 9:03 
I download your edited UPK file, followed your step, but what ever i do, the flash light simply don't shine. Is there a way to fix this ?
Sidst redigeret af Hel's Angel; 4. feb. 2023 kl. 9:04
AaronOnMoon 4. feb. 2023 kl. 11:54 
@Chancellor Palpatine

Hmm, yeah I really have no idea why they wouldn't shine

This guide I made is pretty old by now and I don't use it nowadays
I personally use this mod instead because I think it looks better

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1726550197

Here's a screenshot I took with this mod

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2927077959

Sorry my edits didn't work for you
Hel's Angel 4. feb. 2023 kl. 16:59 
It's alright my dude, i like this mod better because it's has tons of different attachment, while the other one is cool, it has no variety
Hel's Angel 4. feb. 2023 kl. 20:57 
Great news man, i change socket name and socket from light to flash light and it work !
AaronOnMoon 4. feb. 2023 kl. 21:30 
@Chancellor Palpatine
Congrats on getting it to work! It feels nice to know that this guide is not entirely useless. Enjoy :D:
< >
Viser 1-7 af 7 kommentarer
Per side: 1530 50