G36 int optic works

This commit is contained in:
Fesiug 2024-03-23 20:17:42 -04:00
parent 7c4d30bbb8
commit 65022272db
Signed by: Fesiug
GPG Key ID: 374BFF45E1EEF243
8 changed files with 3455 additions and 4 deletions

View File

@ -0,0 +1,16 @@
$modelname "weapons/arc9/uplp-f/g36_optic.mdl"
$cdmaterials "models/weapons/arc9/uplp"
$cdmaterials "models/weapons/arc9/uplp-f"
$cdmaterials "effects/arc9/"
$bodygroup "body"
{
studio "ch_r_optic_rtscope.smd"
}
$sequence "idle" {
"ch_r_optic_rtscope.smd"
}

File diff suppressed because it is too large Load Diff

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

Binary file not shown.

View File

@ -63,6 +63,11 @@ ATT.CompactName = "Bull 510mm"
ATT.Description = "Match-grade, heavy barrel for the SL8."
ATT.Category = "uplp_g36_barrel"
-- Positives
-- Negatives
ATT.RPMMult = 0.75
ARC9.LoadAttachment(ATT, "uplp_g36_barrel_sl8")
-- Stocks
@ -89,9 +94,16 @@ ATT = {}
ATT.PrintName = "G36 SL8 Receiver & Stock"
ATT.CompactName = "SL8"
ATT.Description = "SL8 receiver and stock for the G36.."
ATT.Description = "SL8 receiver and stock for the G36."
ATT.Category = "uplp_g36_reciever"
-- Positives
ATT.RecoilMult = 0.2
ATT.VisualRecoilMult = 0.2
-- Negatives
ATT.RPMMult = 0.6
ARC9.LoadAttachment(ATT, "uplp_g36_receiver_sl8")
-- Mags
@ -143,9 +155,12 @@ ATT.CompactName = "Integrated"
ATT.Description = "Integrated optic for the G36."
ATT.Category = "uplp_g36_optic"
ATT.Model = "models/weapons/arc9/uplp-f/g36_optic.mdl"
ATT.FoldSights = true
ATT.Sights = {
{
Pos = Vector(0, 7.5, -0.52),
Pos = Vector(0, 7.5 + 2, -0.52 - 2.04),
Ang = Angle(0, -0, 0),
Magnification = 1.25,
ViewModelFOV = 45,
@ -167,6 +182,18 @@ ATT.RTScopeBlackBoxShadow = true
ATT.ScopeScreenRatio = 0.66
ATT.ModelOffset = Vector(2, 0, -2.04)
ATT.ModelAngleOffset = Angle(0, 0, 0)
ATT.Attachments = {
{
PrintName = ARC9:GetPhrase("uplp_category_backup"),
Category = "uplp_optic_backup",
Pos = Vector(3, 0, -1.3),
Ang = Angle(0, 0, 0),
},
}
table.Merge(ATT, stats_mid)
ARC9.LoadAttachment(ATT, "uplp_g36_optic_integrated")

View File

@ -770,6 +770,7 @@ SWEP.Attachments = {
Ang = Angle(90, 90, 180),
ActiveElements = {"uplp_g36_rsinstalled"},
InstalledElements = {"ironsattached"},
ExcludeElements = {"uplp_g36_optic_integrated"},
},
{
PrintName = ARC9:GetPhrase("uplp_category_optic"),

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.