76 lines
1.9 KiB
Lua
76 lines
1.9 KiB
Lua
local ATT = {}
|
|
local iconfolder = "entities/uplp_attachements/"
|
|
|
|
-- Barrels
|
|
|
|
ATT = {}
|
|
|
|
ATT.PrintName = "G36 18.9\" (480mm) Barrel"
|
|
ATT.CompactName = "480mm"
|
|
ATT.Description = "Full-length barrel for the G36."
|
|
ATT.Category = "uplp_g36_barrel"
|
|
|
|
-- Positives
|
|
ATT.HeatCapacityMult = 1.24
|
|
|
|
ARC9.LoadAttachment(ATT, "uplp_g36_barrel_19")
|
|
|
|
ATT = {}
|
|
|
|
ATT.PrintName = "G36K 12.5\" (318mm) Barrel"
|
|
ATT.CompactName = "318mm"
|
|
ATT.Description = "Carbine-length barrel for the G36K."
|
|
ATT.Category = "uplp_g36_barrel"
|
|
ATT.Ignore = true -- This one is installed by default.
|
|
|
|
ARC9.LoadAttachment(ATT, "uplp_g36_barrel_12")
|
|
|
|
ATT = {}
|
|
|
|
ATT.PrintName = "G36C 9\" (228mm) Barrel"
|
|
ATT.CompactName = "228mm"
|
|
ATT.Description = "Extremely compact barrel for the G36C. The extremely short barrel and reduced size of the gas system improves the cyclic rate of the weapon, but performs worse under pressure and heat."
|
|
ATT.Category = "uplp_g36_barrel"
|
|
|
|
-- Positives
|
|
ATT.RPMMult = 1.18
|
|
ATT.AimDownSightsTimeAdd = -0.03
|
|
ATT.SprintToFireTimeAdd = -0.03
|
|
|
|
-- Negatives
|
|
ATT.HeatCapacityMult = 0.34
|
|
ATT.RecoilUpMult = 1.35
|
|
ATT.RecoilSideMult = 1.3
|
|
ATT.RecoilAutoControlMult = 0.6
|
|
ATT.SpreadAddHipFire = -0.01
|
|
|
|
ARC9.LoadAttachment(ATT, "uplp_g36_barrel_9")
|
|
|
|
-- Stocks
|
|
|
|
ATT = {}
|
|
|
|
ATT.PrintName = "G36 Carbine Stock"
|
|
ATT.CompactName = "Carbine"
|
|
ATT.Description = "Shortened stock for G36C and used on later models of the G36K for its better handling while using body armor."
|
|
ATT.Category = "uplp_g36_stock"
|
|
|
|
ATT.AimDownSightsTimeAdd = -0.1
|
|
ATT.SprintToFireTimeAdd = -0.1
|
|
ATT.SpreadAddHipFire = -0.01
|
|
ATT.SpeedMultSights = 1.11
|
|
|
|
ATT.RecoilAutoControlMult = 0.8
|
|
|
|
ARC9.LoadAttachment(ATT, "uplp_g36_stock_carbine")
|
|
|
|
-- Optic
|
|
|
|
ATT = {}
|
|
|
|
ATT.PrintName = "G36 Integrated Optic"
|
|
ATT.CompactName = "Integrated"
|
|
ATT.Description = "Integrated optic for the G36."
|
|
ATT.Category = "uplp_g36_optic"
|
|
|
|
ARC9.LoadAttachment(ATT, "uplp_g36_optic_integrated") |