Attachments

This commit is contained in:
Fesiug 2024-03-15 22:24:36 -04:00
parent f87de3a989
commit ae38493cb4
Signed by: Fesiug
GPG Key ID: 374BFF45E1EEF243
27 changed files with 18905 additions and 25 deletions

BIN
.workfiles/Mk23_Fesiug.blend (Stored with Git LFS)

Binary file not shown.

BIN
.workfiles/Mk24_Fesiug.blend (Stored with Git LFS)

Binary file not shown.

BIN
.workfiles/Mk25_Fesiug.blend (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,19 @@
$modelname "weapons/arc9/uplp/mk23_lam_new-1.mdl"
$bodygroup "ref" {
studio "ref_lam_new.smd"
}
$collisionmodel "ref_lam_new.smd"
$surfaceprop "weapon"
$contents "solid"
$cdmaterials "models\weapons\arc9\uplp-f"
$attachment "1" "light" 0 0 0 rotate 0 -180 90
$attachment "2" "laser1" 0 0 0 rotate 0 -180 90
$attachment "3" "laser2" 0 0 0 rotate 0 -180 90
$sequence "ref" {
"ref_lam_new.smd"
}

View File

@ -0,0 +1,19 @@
$modelname "weapons/arc9/uplp/mk23_lam_old-2.mdl"
$bodygroup "ref" {
studio "ref_lam_old.smd"
}
$collisionmodel "ref_lam_old.smd"
$surfaceprop "weapon"
$contents "solid"
$cdmaterials "models\weapons\arc9\uplp-f"
$attachment "1" "light" 0 0 0 rotate 0 -180 90
$attachment "2" "laser1" 0 0 0 rotate 0 -180 90
$attachment "3" "laser2" 0 0 0 rotate 0 -180 90
$sequence "ref" {
"ref_lam_old.smd"
}

View File

@ -0,0 +1,17 @@
$modelname "weapons/arc9/uplp/mk23_suppressor-3.mdl"
$bodygroup "ref" {
studio "ref_suppressor.smd"
}
$collisionmodel "ref_suppressor.smd"
$surfaceprop "weapon"
$contents "solid"
$cdmaterials "models\weapons\arc9\uplp-f"
$attachment "1" "muzzle" 0 0 0 rotate -90 0 0
$sequence "ref" {
"ref_suppressor.smd"
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,185 @@
local ATT = {}
local iconfolder = "entities/uplp_attachements/"
-- H&K PHASE 1 PROTOTYPE LASER AIMING MODULE
ATT = {}
ATT.PrintName = "H&K Phase I Laser Aiming Module"
ATT.CompactName = "H&K PROTO"
ATT.Description = ATT.PrintName
ATT.Icon = Material(iconfolder .. "pistcomb.png", "mips smooth")
ATT.Model = "models/weapons/arc9/uplp/mk23_lam_old-2.mdl"
ATT.ActivateElements = {"uplp_tac_used"}
ATT.ToggleOnF = true -- This attachment is toggleable with the flashlight key.
ATT.ToggleStats = {
{
PrintName = ARC9:GetPhrase("uplp_togglestat_on"),
Laser = true,
LaserStrength = 1,
LaserColor = Color(255, 0, 0),
LaserAttachment = 2,
Flashlight = true,
FlashlightColor = Color(255, 255, 255),
FlashlightMaterial = "effects/flashlight001",
FlashlightDistance = 512,
FlashlightFOV = 31,
FlashlightAttachment = 1,
Flare = true,
FlareColor = Color(255, 0, 0),
FlareSize = 1,
FlareAttachment = 1,
FlareFocus = false,
-- Positives
SpreadAddHipFire = -0.01,
RecoilPerShotMult = 0.5,
-- Negatives
-- AimDownSightsTimeMult = 1.2,
},
{
PrintName = ARC9:GetPhrase("uplp_togglestat_off"),
}
}
ATT.CustomPros = {
[ARC9:GetPhrase("uplp_togglestat_on") .. " - " .. ARC9:GetPhrase("autostat.spread") .. " " .. ARC9:GetPhrase("autostat.secondary.hipfire")] = "-0.01",
-- [ARC9:GetPhrase("uplp_togglestat_on") .. " - " .. ARC9:GetPhrase("autostat.recoilpershot")] = "-50%",
}
-- ATT.CustomCons = {
-- [ARC9:GetPhrase("uplp_togglestat_on") .. " - " .. ARC9:GetPhrase("autostat.aimdownsightstime")] = "+20%",
-- }
ATT.SprintToFireTimeMult = 1.05
ATT.Category = {"uplp_tac", "uplp_tac_pistol"}
-- ATT.Category = "uplp_tac_pistol"
ATT.MenuCategory = "ARC9 - Poly Arms Attachments"
ATT.ModelOffset = Vector(-0.8, 0, 0)
ATT.Scale = 1/(4/3)
ATT.ModelAngleOffset = Angle(0, 0, 180)
ARC9.LoadAttachment(ATT, "uplp-f_tac_lamhk")
-- INSIGHT LASER AIMING MODULE AN/PEQ-6
ATT = {}
ATT.PrintName = "Insight AN/PEQ-6 Laser Aiming Module"
ATT.CompactName = "AN/PEQ-6"
ATT.Description = ATT.PrintName
ATT.Icon = Material(iconfolder .. "pistcomb.png", "mips smooth")
ATT.Model = "models/weapons/arc9/uplp/mk23_lam_new-1.mdl"
ATT.ActivateElements = {"uplp_tac_used"}
ATT.ToggleOnF = true -- This attachment is toggleable with the flashlight key.
ATT.ToggleStats = {
{
PrintName = ARC9:GetPhrase("uplp_togglestat_on"),
Laser = true,
LaserStrength = 1,
LaserColor = Color(255, 0, 0),
LaserAttachment = 2,
Flashlight = true,
FlashlightColor = Color(255, 255, 255),
FlashlightMaterial = "effects/flashlight001",
FlashlightDistance = 512,
FlashlightFOV = 31,
FlashlightAttachment = 1,
Flare = true,
FlareColor = Color(255, 0, 0),
FlareSize = 1,
FlareAttachment = 1,
FlareFocus = false,
-- Positives
SpreadAddHipFire = -0.01,
RecoilPerShotMult = 0.5,
-- Negatives
-- AimDownSightsTimeMult = 1.2,
},
{
PrintName = ARC9:GetPhrase("uplp_togglestat_off"),
}
}
ATT.CustomPros = {
[ARC9:GetPhrase("uplp_togglestat_on") .. " - " .. ARC9:GetPhrase("autostat.spread") .. " " .. ARC9:GetPhrase("autostat.secondary.hipfire")] = "-0.01",
-- [ARC9:GetPhrase("uplp_togglestat_on") .. " - " .. ARC9:GetPhrase("autostat.recoilpershot")] = "-50%",
}
-- ATT.CustomCons = {
-- [ARC9:GetPhrase("uplp_togglestat_on") .. " - " .. ARC9:GetPhrase("autostat.aimdownsightstime")] = "+20%",
-- }
ATT.SprintToFireTimeMult = 1.05
ATT.Category = {"uplp_tac", "uplp_tac_pistol"}
-- ATT.Category = "uplp_tac_pistol"
ATT.MenuCategory = "ARC9 - Poly Arms Attachments"
ATT.ModelOffset = Vector(-0.8, 0, 0)
ATT.Scale = 1/(4/3)
ATT.ModelAngleOffset = Angle(0, 0, 180)
ARC9.LoadAttachment(ATT, "uplp-f_tac_laminsight")
-- KAC MK.23 SUPPRESSOR
ATT = {}
ATT.PrintName = "KAC Suppressor"
ATT.CompactName = "KAC Supp."
ATT.Description = ATT.PrintName
ATT.SortOrder = 100
ATT.Icon = Material(iconfolder .. "heavypistsup.png", "mips smooth")
ATT.Model = "models/weapons/arc9/uplp/mk23_suppressor-3.mdl"
ATT.ModelOffset = Vector(0, 0, 0)
-- ATT.Scale = 1
ATT.Category = {"uplp_muzzle_pistol"}
ATT.MenuCategory = "ARC9 - Poly Arms Attachments"
ATT.ActivateElements = {"uplp_muzzle_used"}
ATT.Silencer = true
ATT.MuzzleParticleOverride = "muzzleflash_suppressed"
ATT.MuzzleParticleOverride_Priority = 10
ATT.MuzzleDevice = true
ATT.CustomPros = {
[ARC9:GetPhrase("uplp_stat_suppressed")] = " ",
}
ATT.ShootVolumeMult = 0.7
ATT.BarrelLengthAdd = 4
ATT.RangeMaxMult = 0.85
ATT.RecoilMult = 0.85
ATT.AimDownSightsTimeAdd = 0.04
ATT.SprintToFireTimeAdd = 0.03
ATT.Overheat = true
ATT.HeatCapacityMult = 1 --
ATT.HeatDissipation = 5 --
ATT.HeatPerShot = 1
ATT.HeatLockout = false
ATT.MalfunctionWait = 0
ATT.SpreadAddHot = 0.05
ATT.RPMMultHot = 0.85
ARC9.LoadAttachment(ATT, "uplp-f_muzzle_kacsup")

View File

@ -84,7 +84,7 @@ SWEP.AnimReload = ACT_HL2MP_GESTURE_RELOAD_MAGIC
---- Weapon Stats and Behaviour
-- Damage
SWEP.DamageMax = 33
SWEP.DamageMax = 34
SWEP.DamageMin = 12
SWEP.DamageType = DMG_BULLET
@ -136,9 +136,9 @@ SWEP.RecoilMultCrouch = 0.75
SWEP.VisualRecoil = 0.75
SWEP.VisualRecoilMultSights = 1
SWEP.VisualRecoilCenter = Vector(2, 11, 2)
SWEP.VisualRecoilUp = -7.15 -- Vertical tilt
SWEP.VisualRecoilUp = -5.15 -- Vertical tilt
SWEP.VisualRecoilSide = 0 -- Horizontal tilt
SWEP.VisualRecoilRoll = 130 -- Roll tilt
SWEP.VisualRecoilRoll = 50 -- Roll tilt
SWEP.VisualRecoilPunch = 4.0 -- How far back visual recoil moves the gun
SWEP.VisualRecoilDampingConst = 200
SWEP.VisualRecoilSpringMagnitude = 1.44
@ -386,11 +386,10 @@ SWEP.Animations = {
},
["ready"] = {
Source = "ready",
Mult = 1.1,
EventTable = {
{ s = path1911 .. "draw.ogg", t = 0 / 60, c = ca, v = 0.8 },
{ s = pathUT .. "slidepull.ogg", t = 5 / 60, c = ca, v = 0.8 },
{ s = pathUT .. "sliderel.ogg", t = 15 / 60, c = ca, v = 0.8 },
{ s = pathDE .. "rack1.ogg", t = 10 / 60, c = ca, v = 0.8 },
{ s = pathDE .. "rack2.ogg", t = 37 / 60, c = ca, v = 0.8 },
{s = pathUTC .. "cloth_4.ogg", t = 22 / 60},
},
IKTimeLine = {
@ -481,12 +480,12 @@ SWEP.Animations = {
PeekProgress = 0.825,
RefillProgress = 0.675,
FireASAP = true,
Mult = 1.2,
Mult = 1.1,
EventTable = {
{ s = pathUTC .. "pistol_rattle_2.ogg", t = 0 / 60, c = ca },
{ s = pathDE .. "magout.ogg", t = 12.5 / 60, c = ca },
{ s = pathDE .. "magout.ogg", t = 7 / 60, c = ca },
{ s = pathUTC .. "magpouch_pull_small.ogg", t = 20 / 60, v = 0.3 },
{ s = pathDE .. "magin.ogg", t = 42 / 60, c = ca },
{ s = pathDE .. "magin.ogg", t = 36 / 60, c = ca },
{ s = UTCrattle, t = 55 / 60, c = ca },
{hide = 0, t = 0},
{hide = 1, t = 0.4},
@ -506,13 +505,13 @@ SWEP.Animations = {
PeekProgress = 0.85,
RefillProgress = 0.725,
FireASAP = true,
Mult = 1.2,
Mult = 1.1,
EventTable = {
{ s = pathUTC .. "pistol_rattle_2.ogg", t = 0 / 60, c = ca },
{ s = pathDE .. "magout.ogg", t = 10 / 60, c = ca },
{ s = pathDE .. "magout.ogg", t = 7 / 60, c = ca },
{ s = pathUTC .. "magpouch_pull_small.ogg", t = 20 / 60, v = 0.3 },
{ s = pathDE .. "magin.ogg", t = 35 / 60, c = ca },
{ s = pathDE .. "chamber.ogg", t = 60 / 60, c = ca },
{ s = pathDE .. "magin.ogg", t = 36 / 60, c = ca },
{ s = pathDE .. "chamber.ogg", t = 56 / 60, c = ca },
{ s = UTCrattle, t = 67.5 / 60, c = ca },
{hide = 0, t = 0},
{hide = 1, t = 0.4},
@ -612,9 +611,9 @@ SWEP.Attachments = {
PrintName = ARC9:GetPhrase("uplp_category_tactical"),
Category = {"uplp_tac_pistol"},
Bone = "body",
Pos = Vector(0, -1.25, 6.7),
Pos = Vector(0, -1.25, 7.01),
Ang = Angle(90, 90, 0),
Scale = 1.3334,
Scale = (4/3),
},
-- Cosmetic shit

View File

@ -4,10 +4,10 @@ VertexLitGeneric
$bumpmap "dev/flat_normal"
$halflambert 1
$envmap "env_cubemap"
$envmaptint "[0 0 0]"
$envmaptint "[.006 .006 .010]"
$phong 1
$phongboost 1
$phongexponent 10
$phongexponent 40
$phongfresnelranges "[0 1 10]"
}

Binary file not shown.

View File

@ -0,0 +1,15 @@
VertexLitGeneric
{
$basetexture "models/weapons/arc9/uplp-f/ref2"
$bumpmap "dev/flat_normal"
$halflambert 1
$envmap "env_cubemap"
$envmaptint "[8 8 8]"
$phong 1
$phongboost 1
$phongexponent 10
$phongfresnelranges "[0 1 10]"
$nocull 1
}

BIN
materials/models/weapons/arc9/uplp-f/ref2.vtf (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/uplp/mk23_lam_new-1.dx90.vtx (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/uplp/mk23_lam_new-1.mdl (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/uplp/mk23_lam_new-1.phy (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/uplp/mk23_lam_new-1.vvd (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/uplp/mk23_lam_old-2.dx90.vtx (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/uplp/mk23_lam_old-2.mdl (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/uplp/mk23_lam_old-2.phy (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/uplp/mk23_lam_old-2.vvd (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/uplp/mk23_suppressor-3.dx90.vtx (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/uplp/mk23_suppressor-3.mdl (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/uplp/mk23_suppressor-3.phy (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/uplp/mk23_suppressor-3.vvd (Stored with Git LFS) Normal file

Binary file not shown.