Merge pull request #3 from dvdvideo1234/icon_fix

Fix player TV icons being broken fom last game update
This commit is contained in:
Physics-Dude 2021-11-22 08:59:54 -05:00 committed by GitHub
commit 717c6f585c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 117 additions and 94 deletions

View File

@ -22,13 +22,14 @@ end
local function AddMediaPlayerModel( name, model, config)
if util.IsValidModel( model ) then
local spawnName = "../spawnicons/"..model:sub(1, -5)
list.Set( "SpawnableEntities", spawnName, {
list.Set( "SpawnableEntities", model, {
PrintName = name,
Spawnable = true,
AdminSpawnable = true,
DropToFloor = true,
Type = "anim",
Model = Model(model),
IconOverride = "materials/spawnicons/"..model:sub(1, -5)..".png",
Author = "Physics Dude",
KeyValues = { model = model },
ClassName = "mediaplayer_tv_ext",
@ -50,10 +51,11 @@ AddMediaPlayerModel(
"Plate TV (05x075)",
"models/hunter/plates/plate05x075.mdl",
{
angle = Angle(0, 90, 0),
angle = Angle(0, 90, 0), -- Screen offset angle according to the base prop
offset = Vector(-12.11, 23.98, 1.75), -- Forward/Back | Left/Right | Up/Down
width = 36.09,
height = 24.22
width = 36.09, -- Screen width size for aspect ratio
height = 24.22, -- Screen height size for aspect ratio
aface = Angle(-90,0,0) -- Model custom angle for facing the player when spawned
}
)
AddMediaPlayerModel(
@ -61,9 +63,10 @@ AddMediaPlayerModel(
"models/hunter/plates/plate075x1.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-23.98, 23.97, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-23.98, 23.97, 1.75),
width = 47.95,
height = 36.09
height = 36.09,
aface = Angle(-90,0,0)
}
)
AddMediaPlayerModel(
@ -71,9 +74,10 @@ AddMediaPlayerModel(
"models/hunter/plates/plate1x2.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-23.98, 47.7, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-23.98, 47.7, 1.75),
width = 95.4,
height = 47.95
height = 47.95,
aface = Angle(-90,0,0)
}
)
AddMediaPlayerModel(
@ -81,9 +85,10 @@ AddMediaPlayerModel(
"models/hunter/plates/plate2x3.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-47.7, 71.42, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-47.7, 71.42, 1.75),
width = 142.85,
height = 95.4
height = 95.4,
aface = Angle(-90,0,0)
}
)
AddMediaPlayerModel(
@ -91,9 +96,10 @@ AddMediaPlayerModel(
"models/hunter/plates/plate2x4.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-47.7, 95.15, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-47.7, 95.15, 1.75),
width = 190.3,
height = 95.4
height = 95.4,
aface = Angle(-90,0,0)
}
)
AddMediaPlayerModel(
@ -101,9 +107,10 @@ AddMediaPlayerModel(
"models/hunter/plates/plate3x4.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-71.43, 95.15, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-71.43, 95.15, 1.75),
width = 190.3,
height = 142.85
height = 142.85,
aface = Angle(-90,0,0)
}
)
AddMediaPlayerModel(
@ -111,9 +118,10 @@ AddMediaPlayerModel(
"models/hunter/plates/plate3x5.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-71.43, 118.87, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-71.43, 118.87, 1.75),
width = 237.75,
height = 142.85
height = 142.85,
aface = Angle(-90,0,0)
}
)
AddMediaPlayerModel(
@ -121,9 +129,10 @@ AddMediaPlayerModel(
"models/hunter/plates/plate4x7.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-95.15, 166.32, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-95.15, 166.32, 1.75),
width = 332.65,
height = 190.3
height = 190.3,
aface = Angle(-90,0,0)
}
)
AddMediaPlayerModel(
@ -131,9 +140,10 @@ AddMediaPlayerModel(
"models/hunter/plates/plate4x8.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-95.15, 190.05, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-95.15, 190.05, 1.75),
width = 380.1,
height = 190.3
height = 190.3,
aface = Angle(-90,0,0)
}
)
--[[
@ -154,9 +164,10 @@ AddMediaPlayerModel(
"models/hunter/plates/plate8x16.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-190.05, 379.85, 2.5), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-190.05, 379.85, 2.5),
width = 759.7,
height = 380.1
height = 380.1,
aface = Angle(-90,0,0)
}
)
AddMediaPlayerModel(
@ -164,9 +175,10 @@ AddMediaPlayerModel(
"models/hunter/plates/plate16x24.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-379.85, 569.65, 3), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-379.85, 569.65, 3),
width = 1139.3,
height = 769.7
height = 769.7,
aface = Angle(-90,0,0)
}
)
AddMediaPlayerModel(
@ -174,10 +186,11 @@ AddMediaPlayerModel(
"models/hunter/plates/plate24x32.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-569.95, 759.45, 3), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-569.95, 759.45, 3),
aface = Angle(-90,0,0),
width = 1518.9,
height = 1139.3
height = 1139.3,
aface = Angle(-90,0,0)
}
)
--[[
@ -187,7 +200,7 @@ AddMediaPlayerModel(
"models/hunter/plates/plate025x025.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-6.18, 6.18, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-6.18, 6.18, 1.75),
width = 12.36,
height = 12.36
}
@ -197,7 +210,7 @@ AddMediaPlayerModel(
"models/hunter/plates/plate025x05.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-6.18, 12.11, 1.75),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-6.18, 12.11, 1.75),
width = 24.22,
height = 12.36
}
@ -207,7 +220,7 @@ AddMediaPlayerModel(
"models/hunter/plates/plate05x05.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-12.11, 12.11, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-12.11, 12.11, 1.75),
width = 24.23,
height = 24.23
}
@ -217,7 +230,7 @@ AddMediaPlayerModel(
"models/hunter/plates/plate5x7.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-118.88, 166.32, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-118.88, 166.32, 1.75),
width = 332.65,
height = 237.75
}
@ -227,7 +240,7 @@ AddMediaPlayerModel(
"models/hunter/plates/plate3x6.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-71.43, 142.6, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-71.43, 142.6, 1.75),
width = 285.20,
height = 142.85
}
@ -237,7 +250,7 @@ AddMediaPlayerModel(
"models/hunter/plates/plate4x6.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-95.15, 142.6, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-95.15, 142.6, 1.75),
width = 285.20,
height = 190.3
}
@ -247,7 +260,7 @@ AddMediaPlayerModel(
"models/hunter/plates/plate2x2.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-47.7, 47.7, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-47.7, 47.7, 1.75),
width = 95.4,
height = 95.4
}
@ -257,7 +270,7 @@ AddMediaPlayerModel(
"models/hunter/plates/plate1x1.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-23.98, 23.98, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-23.98, 23.98, 1.75),
width = 47.95,
height = 47.95
}
@ -267,7 +280,7 @@ AddMediaPlayerModel(
"models/hunter/plates/plate6x8.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-142.6, 190.05, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-142.6, 190.05, 1.75),
width = 380.10,
height = 285.20
}
@ -279,7 +292,7 @@ AddMediaPlayerModel(
"models/props_c17/tv_monitor01.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(7.28-1.75, 11.21-1.75, 8.28-2.25),-- Forward/Back | Left/Right | Up/Down
offset = Vector(7.28-1.75, 11.21-1.75, 8.28-2.25),
width = 15,
height = 11
}
@ -289,7 +302,7 @@ AddMediaPlayerModel( --some other source game
"models/props_debris/tv_monitor01.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(10.76-0.3, 17.60-4, 12.87-4),-- Forward/Back | Left/Right | Up/Down
offset = Vector(10.76-0.3, 17.60-4, 12.87-4),
width = 22,
height = 17
}
@ -299,7 +312,7 @@ AddMediaPlayerModel(
"models/props_lab/citizenradio.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(9.41-0.9, 14.28-8.25, 17.36-1.75),-- Forward/Back | Left/Right | Up/Down
offset = Vector(9.41-0.9, 14.28-8.25, 17.36-1.75),
width = 17.5,
height = 4
}
@ -309,7 +322,7 @@ AddMediaPlayerModel(
"models/props_lab/monitor01a.mdl",
{
angle = Angle(-86, 90, 0),
offset = Vector(13.69-1.88,11.78-2.3,13.62-2.3),-- Forward/Back | Left/Right | Up/Down
offset = Vector(13.69-1.88,11.78-2.3,13.62-2.3),
width = 19,
height = 15.3
}
@ -319,7 +332,7 @@ AddMediaPlayerModel(
"models/props_lab/monitor02.mdl",
{
angle = Angle(-82, 90, 0),
offset = Vector(10.1,11.78-2.3,24.8-2.2),-- Forward/Back | Left/Right | Up/Down
offset = Vector(10.1,11.78-2.3,24.8-2.2),
width = 19,
height = 15
}
@ -329,7 +342,7 @@ AddMediaPlayerModel(
"models/props_lab/monitor01b.mdl",
{
angle = Angle(-89, 90, 0),
offset = Vector(6.86-0.6,7.45-2,6.8-1.85),-- Forward/Back | Left/Right | Up/Down
offset = Vector(6.86-0.6,7.45-2,6.8-1.85),
width = 9,
height = 9
}
@ -339,7 +352,7 @@ AddMediaPlayerModel(
"models/props_interiors/computer_monitor.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(3.3,13-2.5,27-2.2),-- Forward/Back | Left/Right | Up/Down
offset = Vector(3.3,13-2.5,27-2.2),
width = 21,
height = 16
}
@ -349,7 +362,7 @@ AddMediaPlayerModel( --other
"models/props/cs_office/microwave.mdl",
{
angle = Angle(0, 180, 90),
offset = Vector(16-2.4,-11+0.5,17-3),-- Forward/Back | Left/Right | Up/Down
offset = Vector(16-2.4,-11+0.5,17-3),
width = 18,
height = 11
}
@ -359,7 +372,7 @@ AddMediaPlayerModel( --other
"models/props/cs_militia/tv_console.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(21.5,43-17,48-4),-- Forward/Back | Left/Right | Up/Down
offset = Vector(21.5,43-17,48-4),
width = 52,
height = 36
}
@ -369,7 +382,7 @@ AddMediaPlayerModel( --other
"models/props/cs_militia/television_console01.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(13.5,22,55.5),-- Forward/Back | Left/Right | Up/Down
offset = Vector(13.5,22,55.5),
width = 44,
height = 33
}
@ -379,7 +392,7 @@ AddMediaPlayerModel( --gmod
"models/props_office/computer_monitor_01.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(3.4,14.11-2.5,25.50-2.5),-- Forward/Back | Left/Right | Up/Down
offset = Vector(3.4,14.11-2.5,25.50-2.5),
width = 23,
height = 17
}
@ -389,7 +402,7 @@ AddMediaPlayerModel( --gmod
"models/props/radio_reference.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(3.6,2,5),-- Forward/Back | Left/Right | Up/Down
offset = Vector(3.6,2,5),
width = 4,
height = 3
}
@ -401,7 +414,7 @@ AddMediaPlayerModel( --wiremod
"models/blacknecro/tv_plasma_4_3.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(0.13,30.10-2,25.5-4),-- Forward/Back | Left/Right | Up/Down
offset = Vector(0.13,30.10-2,25.5-4),
width = 56,
height = 43
}
@ -411,7 +424,7 @@ AddMediaPlayerModel( --wiremod
"models/kobilica/wiremonitorbig.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(0.13,13.5-2,26.43-2),-- Forward/Back | Left/Right | Up/Down
offset = Vector(0.13,13.5-2,26.43-2),
width = 23,
height = 23
}
@ -421,7 +434,7 @@ AddMediaPlayerModel( --wiremod
"models/kobilica/wiremonitorsmall.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(0.13,5.25-0.75,10.26-0.75),-- Forward/Back | Left/Right | Up/Down
offset = Vector(0.13,5.25-0.75,10.26-0.75),
width = 9,
height = 9
}
@ -432,7 +445,7 @@ AddMediaPlayerModel( --stevventechno
"models/computerpack/monitor.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(-7.2,16.42-1,20.63-0.9),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-7.2,16.42-1,20.63-0.9),
width = 31,
height = 16
}
@ -442,7 +455,7 @@ AddMediaPlayerModel( --stevventechno
"models/electronicspack/bigscreen.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(-9.55,40.25-2.75,46.38-2.3),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-9.55,40.25-2.75,46.38-2.3),
width = 78.7,
height = 39
}
@ -452,7 +465,7 @@ AddMediaPlayerModel( --stevventechno
"models/electronicspack/bigscreennomount.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(-9.55,40.25-2.75,46.38-2.3),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-9.55,40.25-2.75,46.38-2.3),
width = 78.7,
height = 39
}
@ -462,7 +475,7 @@ AddMediaPlayerModel( --stevventechno
"models/electronicspack/general_electronics/tv/crt/0_1tvlarge1.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(-0.1,46.33-3,78.59-3),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-0.1,46.33-3,78.59-3),
width = 87,
height = 44
}
@ -472,7 +485,7 @@ AddMediaPlayerModel( --stevventechno
"models/electronicspack/general_electronics/tv/lcd/1_0tvlarge1.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(-12,47.61-2.7,55.01-2.7),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-12,47.61-2.7,55.01-2.7),
width = 90,
height = 40
}
@ -482,7 +495,7 @@ AddMediaPlayerModel( --stevventechno
"models/electronicspack/general_electronics/tv/lcd/1_1tvlarge1_nomnt.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(-0.5,47.61-2.5,46.6-1.3),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-0.5,47.61-2.5,46.6-1.3),
width = 90,
height = 40
}
@ -492,7 +505,7 @@ AddMediaPlayerModel( --stevventechno
"models/electronicspack/general_electronics/tv/lcd/1_2tvlarge2.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(-16.5,72.18-2.6,81.85-2.6),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-16.5,72.18-2.6,81.85-2.6),
width = 139,
height = 66
}
@ -502,7 +515,7 @@ AddMediaPlayerModel( --stevventechno
"models/electronicspack/general_electronics/tv/lcd/1_3tvlarge2_nomnt.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(-0.2,72.18-2.6,73.85-2.6),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-0.2,72.18-2.6,73.85-2.6),
width = 139,
height = 66
}
@ -512,7 +525,7 @@ AddMediaPlayerModel( --stevventechno
"models/electronicspack/general_electronics/tv/lcd/1_4tv_small.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(-8,25-2,33-1),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-8,25-2,33-1),
width = 47,
height = 25
}
@ -522,7 +535,7 @@ AddMediaPlayerModel( --stevventechno
"models/electronicspack/general_electronics/tv/lcd/1_5tv_small_nomnt.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(0,25-1.5,27-0.9),-- Forward/Back | Left/Right | Up/Down
offset = Vector(0,25-1.5,27-0.9),
width = 47,
height = 25
}
@ -532,7 +545,7 @@ AddMediaPlayerModel( --stevventechno
"models/laptop/laptop.mdl",
{
angle = Angle(-75, 90, 0),
offset = Vector(-9.6,10-1,15-0.9),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-9.6,10-1,15-0.9),
width = 19,
height = 12
}
@ -542,7 +555,7 @@ AddMediaPlayerModel( --stevventechno
"models/electronicspack/general_electronics/tv/crt/0_2_tv_small.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(-1,15,26),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-1,15,26),
width = 30,
height = 21.5
}
@ -554,7 +567,7 @@ AddMediaPlayerModel( --other
"models/testmodels/macbook_pro.mdl",
{
angle = Angle(-76.5, 90, 0),
offset = Vector(-10.6,13-0.1,18-0.3),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-10.6,13-0.1,18-0.3),
width = 26,
height = 17
}
@ -565,7 +578,7 @@ AddMediaPlayerModel( --other
"models/testmodels/apple_display.mdl",
{
angle = Angle(-85, 90, 0),
offset = Vector(1,21-0.25,25-1),-- Forward/Back | Left/Right | Up/Down
offset = Vector(1,21-0.25,25-1),
width = 41,
height = 23
}
@ -576,7 +589,7 @@ AddMediaPlayerModel( --other
"models/gmod_tower/suitetv.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(1,28-2,37-2),-- Forward/Back | Left/Right | Up/Down
offset = Vector(1,28-2,37-2),
width = 52,
height = 28
}
@ -587,7 +600,7 @@ AddMediaPlayerModel( --other
"models/u4lab/tv_monitor_plasma.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(5,59-14,67-5),-- Forward/Back | Left/Right | Up/Down
offset = Vector(5,59-14,67-5),
width = 90,
height = 58
}
@ -599,7 +612,8 @@ AddMediaPlayerModel( --sprops
"models/sprops/rectangles/size_1_5/rect_6x6x3.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-3, 3, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-3, 3, 1.75),
aface = Angle(-90,0,0),
width = 6,
height = 6
}
@ -609,7 +623,8 @@ AddMediaPlayerModel( --sprops
"models/sprops/rectangles/size_1_5/rect_6x12x3.mdl",
{
angle = Angle(0, 180, 0),
offset = Vector(6, 3, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(6, 3, 1.75),
aface = Angle(-90,90,0),
width = 12,
height = 6
}
@ -619,7 +634,8 @@ AddMediaPlayerModel( --sprops
"models/sprops/rectangles/size_2/rect_12x18x3.mdl",
{
angle = Angle(0, -180, 0),
offset = Vector(9, 6, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(9, 6, 1.75),
aface = Angle(-90,90,0),
width = 18,
height = 12
}
@ -629,7 +645,7 @@ AddMediaPlayerModel( --sprops
"models/sprops/rectangles/size_3/rect_24x36x3.mdl",
{
angle = Angle(0, -180, 0),
offset = Vector(18, 12, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(18, 12, 1.75),
aface = Angle(-90,90,0),
width = 36,
height = 24
@ -640,7 +656,8 @@ AddMediaPlayerModel( --sprops
"models/sprops/rectangles/size_4/rect_36x60x3.mdl",
{
angle = Angle(0, 180, 0),
offset = Vector(30, 18, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(30, 18, 1.75),
aface = Angle(-90,90,0),
width = 60,
height = 36
}
@ -650,7 +667,8 @@ AddMediaPlayerModel( --sprops
"models/sprops/rectangles/size_60/rect_60x96x3.mdl",
{
angle = Angle(0, 180, 0),
offset = Vector(48, 30, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(48, 30, 1.75),
aface = Angle(-90,90,0),
width = 96,
height = 60
}
@ -660,7 +678,8 @@ AddMediaPlayerModel( --sprops
"models/sprops/rectangles/size_6/rect_96x144x3.mdl",
{
angle = Angle(0, 180, 0),
offset = Vector(72, 48, 1.75), -- Forward/Back | Left/Right | Up/Down
offset = Vector(72, 48, 1.75),
aface = Angle(-90,90,0),
width = 144,
height = 96
}
@ -670,7 +689,8 @@ AddMediaPlayerModel( --sprops
"models/sprops/rectangles/size_7/rect_144x240x3.mdl",
{
angle = Angle(0, 180, 0),
offset = Vector(120, 72, 2), -- Forward/Back | Left/Right | Up/Down
offset = Vector(120, 72, 2),
aface = Angle(-90,90,0),
width = 240,
height = 144
}
@ -680,7 +700,8 @@ AddMediaPlayerModel( --sprops
"models/sprops/rectangles/size_8/rect_192x288x3.mdl",
{
angle = Angle(0, 180, 0),
offset = Vector(144, 96, 2), -- Forward/Back | Left/Right | Up/Down
offset = Vector(144, 96, 2),
aface = Angle(-90,90,0),
width = 288,
height = 192
}
@ -690,7 +711,8 @@ AddMediaPlayerModel( --sprops
"models/sprops/rectangles/size_9/rect_240x384x3.mdl",
{
angle = Angle(0, 180, 0),
offset = Vector(192, 120, 2), -- Forward/Back | Left/Right | Up/Down
offset = Vector(192, 120, 2),
aface = Angle(-90,90,0),
width = 384,
height = 240
}
@ -700,7 +722,8 @@ AddMediaPlayerModel( --sprops
"models/sprops/rectangles/size_10/rect_480x288x3.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-144, 240, 2), -- Forward/Back | Left/Right | Up/Down
offset = Vector(-144, 240, 2),
aface = Angle(-90,0,0),
width = 480,
height = 288
}
@ -712,7 +735,7 @@ AddMediaPlayerModel( --1950s 2
"models/polievka/televisionsmall.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(12,11,22),-- Forward/Back | Left/Right | Up/Down
offset = Vector(12,11,22),
width = 22,
height = 18
}
@ -722,7 +745,7 @@ AddMediaPlayerModel( --1950s
"models/polievka/televisionpolievka.mdl",
{
angle = Angle(90, -90, 0),
offset = Vector(-20.5,11,41.5),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-20.5,11,41.5),
width = 20,
height = 20
}
@ -732,7 +755,7 @@ AddMediaPlayerModel( --1950s
"models/polievka/1950shifi.mdl",
{
angle = Angle(0, 90, 0),
offset = Vector(-8,19,15.5),-- Forward/Back | Left/Right | Up/Down
offset = Vector(-8,19,15.5),
width = 16,
height = 9
}
@ -742,7 +765,7 @@ AddMediaPlayerModel( --1950s
"models/polievka/radiopolievka.mdl",
{
angle = Angle(180, 0, -90),
offset = Vector(3,-7.25,-1.5),-- Forward/Back | Left/Right | Up/Down
offset = Vector(3,-7.25,-1.5),
width = 6,
height = 3
}
@ -752,7 +775,7 @@ AddMediaPlayerModel( --1950s
"models/polievka/radiosquare.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(4.1,3.2,-1.5),-- Forward/Back | Left/Right | Up/Down
offset = Vector(4.1,3.2,-1.5),
width = 6.4,
height = 3.5
}
@ -764,7 +787,7 @@ AddMediaPlayerModel( --Fallout 4: Devices pack
"models/props/hightechtv01.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(10,10.5,48),-- Forward/Back | Left/Right | Up/Down
offset = Vector(10,10.5,48),
width = 21,
height = 16.5
}
@ -774,7 +797,7 @@ AddMediaPlayerModel( --Fallout 4: Devices pack
"models/props/insterminal01.mdl",
{
angle = Angle(-90, 90, -8),
offset = Vector(4.8,4.3-0.5,21-0.5),-- Forward/Back | Left/Right | Up/Down
offset = Vector(4.8,4.3-0.5,21-0.5),
width = 8,
height = 8
}
@ -784,7 +807,7 @@ AddMediaPlayerModel( --Fallout 4: Devices pack
"models/props/insterminalonwall.mdl",
{
angle = Angle(-90, 90, -8),
offset = Vector(10.8,4.3-0.5,33.5-0.5),-- Forward/Back | Left/Right | Up/Down
offset = Vector(10.8,4.3-0.5,33.5-0.5),
width = 8,
height = 8
}
@ -794,7 +817,7 @@ AddMediaPlayerModel( --Fallout 4: Devices pack
"models/props/prewarradio.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(7.5,1.5,9.5),-- Forward/Back | Left/Right | Up/Down
offset = Vector(7.5,1.5,9.5),
width = 3,
height = 2
}
@ -804,7 +827,7 @@ AddMediaPlayerModel( --Fallout 4: Devices pack
"models/props/prewartv01.mdl",
{
angle = Angle(-90, 89, 0),
offset = Vector(6,8,53),-- Forward/Back | Left/Right | Up/Down
offset = Vector(6,8,53),
width = 16,
height = 12
}
@ -814,7 +837,7 @@ AddMediaPlayerModel( --Fallout 4: Devices pack
"models/props/prewartv02.mdl",
{
angle = Angle(-90, 89, 0),
offset = Vector(6,8,29),-- Forward/Back | Left/Right | Up/Down
offset = Vector(6,8,29),
width = 16,
height = 12
}
@ -824,7 +847,7 @@ AddMediaPlayerModel( --Fallout 4: Devices pack
"models/props/insflatscreen01.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(0.5,24.5,27.5),-- Forward/Back | Left/Right | Up/Down
offset = Vector(0.5,24.5,27.5),
width = 49,
height = 26
}
@ -834,7 +857,7 @@ AddMediaPlayerModel( --Fallout 4: Devices pack
"models/props/insflatscreen02.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(0.5,24.5,52),-- Forward/Back | Left/Right | Up/Down
offset = Vector(0.5,24.5,52),
width = 49,
height = 50
}
@ -846,7 +869,7 @@ AddMediaPlayerModel( --Retro
"models/retrotelevision/retromonitor.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(5.5,7.25,23.5),-- Forward/Back | Left/Right | Up/Down
offset = Vector(5.5,7.25,23.5),
width = 15,
height = 10
}
@ -856,7 +879,7 @@ AddMediaPlayerModel( --Retro
"models/retrotelevision/retrostandingmonitor.mdl",
{
angle = Angle(-90, 90, 0),
offset = Vector(5.5,7.25,49),-- Forward/Back | Left/Right | Up/Down
offset = Vector(5.5,7.25,49),
width = 15,
height = 10
}

View File

@ -21,7 +21,7 @@ ENT.AdminSpawnable = true
ENT.Model = Model( "models/props_lab/huladoll.mdl" )
list.Set( "MediaPlayerModelConfigs", ENT.Model, {
angle = Angle(-90, 90, 0),
offset = Vector(0,8,15),-- Forward/Back | Left/Right | Up/Down
offset = Vector(0,8,15),
width = 16,
height = 9
} )