1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-06-25 23:37:05 +02:00
parent ef00e4f084
commit b0cd3a04a6

View file

@ -70,11 +70,11 @@ Config.keyToStopChannel = "SPACE"
-- Default youtube playing volume
-- Only goes for youtube...
Config.defaultVolume = 50
Config.defaultVolume = 40
-- i dont recommend to change this number
-- how far away TV can be visible
Config.visibleDistance = 20
Config.visibleDistance = 10
-- if you want have whitelist to prevent troll links keep this on true.
-- i dont recommend turning this option off, people just can use
@ -265,7 +265,24 @@ function PlayWearAnimation()
TaskPlayAnim(ped, dict, anim, 8.0, 1.0, -1, 48, 0.0, false, false, false)
end
-- this will create television at defined coords with default URL.
Config.PlayingTelevisionOnLocation = {
}
Config.ReplaceObjects = {
{
pos = vector3(-54.47, -1087.27, 27.27),
radius = 2.0,
originalModelHash = 1036195894,
newModelHash = GetHashKey("prop_tv_flat_01"),
}
}
-- this will create television on coords that can be used by other folks
Config.CreateTelevisionModelOnCoords = {
}
-- if this is set to true it will preload one scaleform of television if some users experiencing bad loading
Config.UsePreloaded = true
@ -278,23 +295,9 @@ Config.DefaultOpenDistance = 1.5
-- i wouldn't recommend to change anything there unless you know what you're doing
Config.resolution = {
[-240931727] = {
['ItemToOpen'] = nil, -- Nordis Haus
['distance'] = 20,
['ScreenOffSet'] = vec3(-1.501170, -0.053320, 0.882935),
[1036195894] = {
['ScreenSize'] = vec3(0.000000, 0.000000, 0.000000),
['Job'] = nil,
['ScreenSize'] = vec3(0.004715, 0.002255, 0.000000),
['distanceToOpen'] = 1.5,
['CameraOffSet'] = {
['z'] = 0.35,
['rotationOffset'] = vec3(0.000000, 0.000000, 0.000000),
['x'] = 0.0,
['y'] = -3.0
}
},
[1358323305] = {
['ItemToOpen'] = nil, -- Kino
['Job'] = { ["admin"],["cinema"] },
['CameraOffSet'] = {
['y'] = -3.0,
['z'] = 0.35,
@ -302,46 +305,10 @@ Config.resolution = {
['x'] = 0.0
},
['distance'] = 10,
['ScreenOffSet'] = vec3(-6.955480, -0.547680, 2.841110),
['ScreenSize'] = vec3(-0.010440, 0.052160, 0.000000),
['distanceToOpen'] = 1.5
},
[1026865267] = {
['ItemToOpen'] = nil, --PHP Büro
['distanceToOpen'] = 1.5,
['Job'] = nil,
['CameraOffSet'] = {
['z'] = 0.35,
['rotationOffset'] = vec3(0.000000, 0.000000, 0.000000),
['x'] = 0.0,
['y'] = -3.0
},
['ScreenSize'] = vec3(0.007260, 0.001845, 0.000000),
['distance'] = 20,
['ScreenOffSet'] = vec3(-1.414970, -0.077085, 0.883600)
['ScreenOffSet'] = vec3(-1.045570, -0.069395, 1.058675),
['ItemToOpen'] = nil
},
[60046420] = {
['Job'] = nil, -- Nordi Schlafzimmer
['distance'] = 20,
['CameraOffSet'] = {
['y'] = -3.0,
['x'] = 0.0,
['rotationOffset'] = vec3(0.000000, 0.000000, 0.000000),
['z'] = 0.35
},
['distanceToOpen'] = 1.5,
['ItemToOpen'] = nil,
['ScreenOffSet'] = vec3(-1.127840, -0.093100, 1.138510),
['ScreenSize'] = vec3(-0.021280, -0.011970, 0.000000)
},
[1522819744] = {
--Job = { ["police"] = {"*"}, },
@ -360,6 +327,7 @@ Config.resolution = {
rotationOffset = vector3(0, 0, 180),
},
},
[GetHashKey("ch_prop_ch_tv_rt_01a")] = {
--Job = { ["police"] = {"*"}, },
--ItemToOpen = { "remote", "another item" },
@ -377,6 +345,7 @@ Config.resolution = {
rotationOffset = vector3(0, 0, 90), -- rotation of camera
},
},
[GetHashKey("prop_monitor_w_large")] = {
--Job = { ["police"] = {"*"}, },
--ItemToOpen = { "remote", "another item" },
@ -423,6 +392,7 @@ Config.resolution = {
rotationOffset = vector3(0, 0, 0),
},
},
[GetHashKey("apa_mp_h_str_avunitl_01_b")] = {
--Job = { ["police"] = {"*"}, },
--ItemToOpen = { "remote", "another item" },