Garry's Mod

Garry's Mod

TTT to CW2.0 Weapon Conversion Addon V2
This topic has been locked
Attachmentstyle set to 3 doesn't seem to work.
I've got the custom attpacks that include ENT.Custom = true in them. Restarted maps multiple times. Custom attachment packs never appear.
< >
Showing 1-9 of 9 comments
quickmonkeySC 31 Dec, 2019 @ 7:27pm 
example file:
D:\Steam\steamapps\common\GarrysMod\garrysmod\addons\customizable_weaponry_2.0_349050451\lua\entities\cw_attpack_ar15_stocks2\shared:
=========================
ENT.Type = "anim"
ENT.Base = "cw_attpack_base"
ENT.PrintName = "AR-15 - stocks package"
ENT.PackageText = "AR-15 Stocks"
ENT.Category = "CW 2.0 Attachments"
ENT.Author = "Spy"
ENT.Spawnable = true
ENT.AdminSpawnable = true

ENT.attachments = {"bg_ar15sturdystock", "bg_ar15heavystock"}
=============================
ttt_cw20conversionmod_attachmentstyle set to 3
quickmonkeySC 31 Dec, 2019 @ 7:28pm 
ttt_cw20conversionmod_attachmentstyle 1 works fine
Logan  [developer] 31 Dec, 2019 @ 7:31pm 
I don't see ENT.Custom = true anywhere in this file
quickmonkeySC 31 Dec, 2019 @ 7:32pm 
dumbass mode, i copied the wrong file, my bad.
================
ENT.Type = "anim"
ENT.Base = "cw_attpack_base"
ENT.PrintName = "AR-15 - stocks package"
ENT.PackageText = "AR-15 Stocks"
ENT.Category = "CW 2.0 Attachments"
ENT.Author = "Spy"
ENT.Spawnable = true
ENT.AdminSpawnable = true
ENT.Custom = true

ENT.attachments = {"bg_ar15sturdystock", "bg_ar15heavystock"}
====================
this would be it
Logan  [developer] 31 Dec, 2019 @ 7:44pm 
Everything looks good on my end, I don't know what the problem could be. It may be the addon itself. It's possible an update broke it.

A second option is just editing the base packs and it keeping it on mode 1.
quickmonkeySC 31 Dec, 2019 @ 7:49pm 
may I ask how did you set up your files so i can try to replicate it the way you do?
quickmonkeySC 31 Dec, 2019 @ 8:27pm 
oh well, modifying the attpacks and setting attachmentstyle to 1 works. thanks for the help
< >
Showing 1-9 of 9 comments
Per page: 1530 50