-
Notifications
You must be signed in to change notification settings - Fork 7
/
config.lua
69 lines (60 loc) · 2.57 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Config = {}
-- The targeting solution (3rd eye) to use.
-- false = don't use any targeting solution.
-- 'qb-target' = qb-target by BerkieBb and its many other contributors. (https://github.com/BerkieBb/qb-target)
-- 'qtarget' = qTarget by Linden (thelindat), Noms (OfficialNoms) and its many other contributors. (https://github.com/overextended/qtarget)
-- 'ox_target' = ox_target by Linden (thelindat) and its many other contributors. (https://github.com/overextended/ox_target)
Config.Target = false
-- Targeting
Config.Targeting = {
Icon = "fas fa-binoculars",
Label = "Use Telescope"
}
-- Localization
Config.Localization = {
HelpText = "Press ~INPUT_PICKUP~ to look through the telescope",
NonFound = "No telescope was found!",
TelescopeInUse = "Someone else is already using the telescope!",
TelescopeTooTilted = "This telescope is too tilted to be used!",
ToFarAway = "You went to far away!",
Exit = "Exit Telescope"
}
-- Other
Config.UseDistanceThread = true
Config.MaxInteractionDist = 1.75
Config.MaxTilt = 20.0
Config.MovementSpeed = {
Keyboard = 2.75,
Controller = 1.0
}
Config.Zoom = {
Max = 50.0,
Min = 5.0,
Speed = 5.0
}
Config.Animations = {
["default"] = {
enter = "enter_front",
enterTime = 1500,
exit = "exit_front",
idle = "idle"
},
["public"] = {
enter = "public_enter_front",
enterTime = 1500,
exit = "public_exit_front",
idle = "public_idle"
},
["upright"] = {
enter = "upright_enter_front",
enterTime = 2500,
exit = "upright_exit_front",
idle = "upright_idle"
}
}
Config.Models = {
[`prop_telescope_01`] = { MaxHorizontal = 55.0, MaxVertical = 20.0, offset = vector3(-0.03, 0.96, 0.0), headingOffset = 180.0, animation = "public", cameraOffset = vector3(0.0, -0.5, 0.7), scaleform = "OBSERVATORY_SCOPE" }, -- Public
[`prop_telescope`] = { MaxHorizontal = 55.0, MaxVertical = 20.0, offset = vector3(0.02, -0.78, 1.0), animation = "upright", cameraOffset = vector3(0.0, 0.2, 1.7), scaleform = "BINOCULARS" }, -- Mount Chilliad
[`prop_t_telescope_01b`] = { MaxHorizontal = 55.0, MaxVertical = 35.0, offset = vector3(1.14, 0.0, 0.0), headingOffset = 90.0, animation = "default", cameraOffset = vector3(-0.25, 0.0, 1.3), scaleform = "OBSERVATORY_SCOPE" }, -- Domestic
[`xs_prop_arena_telescope_01`] = { MaxHorizontal = 55.0, MaxVertical = 20.0, offset = vector3(-0.03, 0.96, 0.0), headingOffset = 180.0, animation = "public", cameraOffset = vector3(0.0, -0.5, 0.7), scaleform = "BINOCULARS" }, -- Arena
}