Back to Home

ESO Lua File v101038

ingame/optionspanels/optionspanel_camera_shared.lua

[◄ back to folders ]
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
local ZO_OptionsPanel_Camera_ControlData =
{
    --Camera
    [SETTING_TYPE_CAMERA] =
    {
        --Options_Camera_Smoothing
        [CAMERA_SETTING_SMOOTHING] =
        {
            controlType = OPTIONS_CHECKBOX,
            system = SETTING_TYPE_CAMERA,
            settingId = CAMERA_SETTING_SMOOTHING,
            panel = SETTING_PANEL_CAMERA,
            text = SI_INTERFACE_OPTIONS_CAMERA_SMOOTHING,
            tooltipText = SI_INTERFACE_OPTIONS_CAMERA_SMOOTHING_TOOLTIP,
        },
        --Options_Camera_InvertY
        [CAMERA_SETTING_INVERT_Y] =
        {
            controlType = OPTIONS_CHECKBOX,
            system = SETTING_TYPE_CAMERA,
            settingId = CAMERA_SETTING_INVERT_Y,
            panel = SETTING_PANEL_CAMERA,
            text = SI_INTERFACE_OPTIONS_CAMERA_INVERT_Y,
            tooltipText = SI_INTERFACE_OPTIONS_CAMERA_INVERT_Y_TOOLTIP,
        },
        --Options_Camera_FOVChangesAllowed
        [CAMERA_SETTING_FOV_CHANGES_ALLOWED] =
        {
            controlType = OPTIONS_CHECKBOX,
            system = SETTING_TYPE_CAMERA,
            settingId = CAMERA_SETTING_FOV_CHANGES_ALLOWED,
            panel = SETTING_PANEL_CAMERA,
            text = SI_INTERFACE_OPTIONS_CAMERA_FOV_CHANGES,
            tooltipText = SI_INTERFACE_OPTIONS_CAMERA_FOV_CHANGES_TOOLTIP,
        },
          --Options_Camera_AssassinationCamera
        [CAMERA_SETTING_ASSASSINATION_CAMERA] =
        {
            controlType = OPTIONS_CHECKBOX,
            system = SETTING_TYPE_CAMERA,
            settingId = CAMERA_SETTING_ASSASSINATION_CAMERA,
            panel = SETTING_PANEL_CAMERA,
            text = SI_INTERFACE_OPTIONS_CAMERA_ASSASSINATION_CAMERA,
            tooltipText = SI_INTERFACE_OPTIONS_CAMERA_ASSASSINATION_CAMERA_TOOLTIP,
        },
        --Options_Camera_ScreenShake
        [CAMERA_SETTING_SCREEN_SHAKE] =
        {
            controlType = OPTIONS_SLIDER,
            system = SETTING_TYPE_CAMERA,
            settingId = CAMERA_SETTING_SCREEN_SHAKE,
            panel = SETTING_PANEL_CAMERA,
            text = SI_INTERFACE_OPTIONS_CAMERA_SCREEN_SHAKE,
            tooltipText = SI_INTERFACE_OPTIONS_CAMERA_SCREEN_SHAKE_TOOLTIP,
            minValue = 0.0,
            maxValue = 1.0,
            valueFormat = "%.2f",
            showValue = true,
            defaultMarker = 100,
            showValueMin = 0,
            showValueMax = 100,
        },
        --Options_Camera_CameraSensitivityFirstPerson
        [CAMERA_SETTING_SENSITIVITY_FIRST_PERSON] =
        {
            controlType = OPTIONS_SLIDER,
            system = SETTING_TYPE_CAMERA,
            settingId = CAMERA_SETTING_SENSITIVITY_FIRST_PERSON,
            panel = SETTING_PANEL_CAMERA,
            text = SI_INTERFACE_OPTIONS_CAMERA_SENSITIVITY_FIRST_PERSON,
            tooltipText = SI_INTERFACE_OPTIONS_CAMERA_SENSITIVITY_FIRST_PERSON_TOOLTIP,
            minValue = 0.1,
            maxValue = 1.6,
            valueFormat = "%.2f",
            showValue = true,
            showValueMin = 0,
            showValueMax = 100,
        },
        --Options_Camera_FirstPersonFieldOfView
        [CAMERA_SETTING_FIRST_PERSON_FIELD_OF_VIEW] =
        {
            controlType = OPTIONS_SLIDER,
            system = SETTING_TYPE_CAMERA,
            settingId = CAMERA_SETTING_FIRST_PERSON_FIELD_OF_VIEW,
            panel = SETTING_PANEL_CAMERA,
            text = SI_INTERFACE_OPTIONS_CAMERA_FIRST_PERSON_FOV,
            gamepadTextOverride = SI_GAMEPAD_OPTIONS_CAMERA_FIRST_PERSON_FOV,
            tooltipText = SI_INTERFACE_OPTIONS_CAMERA_FIRST_PERSON_FOV_TOOLTIP,
            minValue = 35,
            maxValue = 65,
            valueFormat = "%.2f",
            showValue = true,
            defaultMarker = 50,
            showValueMin = 70,
            showValueMax = 130,
        },
        --Options_Camera_FirstPersonHeadBob
        [CAMERA_SETTING_FIRST_PERSON_HEAD_BOB] =
        {
            controlType = OPTIONS_SLIDER,
            system = SETTING_TYPE_CAMERA,
            settingId = CAMERA_SETTING_FIRST_PERSON_HEAD_BOB,
            panel = SETTING_PANEL_CAMERA,
            text = SI_INTERFACE_OPTIONS_CAMERA_FIRST_PERSON_BOB,
            gamepadTextOverride = SI_GAMEPAD_OPTIONS_CAMERA_FIRST_PERSON_BOB,
            tooltipText = SI_INTERFACE_OPTIONS_CAMERA_FIRST_PERSON_BOB_TOOLTIP,
            minValue = 0.0,
            maxValue = 1.0,
            valueFormat = "%.2f",
            showValue = true,
            defaultMarker = 100,
            showValueMin = 0,
            showValueMax = 100,
        },
        --Options_Camera_CameraSensitivityThirdPerson
        [CAMERA_SETTING_SENSITIVITY_THIRD_PERSON] =
        {
            controlType = OPTIONS_SLIDER,
            system = SETTING_TYPE_CAMERA,
            settingId = CAMERA_SETTING_SENSITIVITY_THIRD_PERSON,
            panel = SETTING_PANEL_CAMERA,
            text = SI_INTERFACE_OPTIONS_CAMERA_SENSITIVITY_THIRD_PERSON,
            tooltipText = SI_INTERFACE_OPTIONS_CAMERA_SENSITIVITY_THIRD_PERSON_TOOLTIP,
            minValue = 0.1,
            maxValue = 1.6,
            valueFormat = "%.2f",
            showValue = true,
            showValueMin = 0,
            showValueMax = 100,
        },
        --Options_Camera_ThirdPersonHorizontalPositionMutliplier
        [CAMERA_SETTING_THIRD_PERSON_HORIZONTAL_POSITION_MULTIPLIER] =
        {
            controlType = OPTIONS_SLIDER,
            system = SETTING_TYPE_CAMERA,
            settingId = CAMERA_SETTING_THIRD_PERSON_HORIZONTAL_POSITION_MULTIPLIER,
            panel = SETTING_PANEL_CAMERA,
            text = SI_INTERFACE_OPTIONS_CAMERA_THIRD_PERSON_HORIZONTAL_POSITION_MULTIPLIER,
            tooltipText = SI_INTERFACE_OPTIONS_CAMERA_THIRD_PERSON_HORIZONTAL_POSITION_MULTIPLIER_TOOLTIP,
            minValue = -1.0,
            maxValue = 1.0,
            valueFormat = "%.2f",
            showValue = true,
            defaultMarker = 100,
            showValueMin = -100,
            showValueMax = 100,
        },
        --Options_Camera_ThirdPersonHorizontalOffset
        [CAMERA_SETTING_THIRD_PERSON_HORIZONTAL_OFFSET] =
        {
            controlType = OPTIONS_SLIDER,
            system = SETTING_TYPE_CAMERA,
            settingId = CAMERA_SETTING_THIRD_PERSON_HORIZONTAL_OFFSET,
            panel = SETTING_PANEL_CAMERA,
            text = SI_INTERFACE_OPTIONS_CAMERA_THIRD_PERSON_HORIZONTAL_OFFSET,
            tooltipText = SI_INTERFACE_OPTIONS_CAMERA_THIRD_PERSON_HORIZONTAL_OFFSET_TOOLTIP,
            minValue = -1.0,
            maxValue = 1.0,
            valueFormat = "%.2f",
            showValue = true,
            defaultMarker = 0,
            showValueMin = -100,
            showValueMax = 100,
        },
        --Options_Camera_ThirdPersonVerticalOffset
        [CAMERA_SETTING_THIRD_PERSON_VERTICAL_OFFSET] =
        {
            controlType = OPTIONS_SLIDER,
            system = SETTING_TYPE_CAMERA,
            settingId = CAMERA_SETTING_THIRD_PERSON_VERTICAL_OFFSET,
            panel = SETTING_PANEL_CAMERA,
            text = SI_INTERFACE_OPTIONS_CAMERA_THIRD_PERSON_VERTICAL_OFFSET,
            tooltipText = SI_INTERFACE_OPTIONS_CAMERA_THIRD_PERSON_VERTICAL_OFFSET_TOOLTIP,
            minValue = -0.3,
            maxValue = 0.5,
            valueFormat = "%.2f",
            showValue = true,
            defaultMarker = 0,
            showValueMin = -60,
            showValueMax = 100,
        },
        --Options_Camera_ThirdPersonFieldOfView
        [CAMERA_SETTING_THIRD_PERSON_FIELD_OF_VIEW] =
        {
            controlType = OPTIONS_SLIDER,
            system = SETTING_TYPE_CAMERA,
            settingId = CAMERA_SETTING_THIRD_PERSON_FIELD_OF_VIEW,
            panel = SETTING_PANEL_CAMERA,
            text = SI_INTERFACE_OPTIONS_CAMERA_THIRD_PERSON_FOV,
            gamepadTextOverride = SI_GAMEPAD_OPTIONS_CAMERA_THIRD_PERSON_FOV,
            tooltipText = SI_INTERFACE_OPTIONS_CAMERA_THIRD_PERSON_FOV_TOOLTIP,
            minValue = 35,
            maxValue = 65,
            valueFormat = "%.2f",
            showValue = true,
            defaultMarker = 50, -- should match default from InterfaceSettingObject_Camera.cpp
            showValueMin = 70,
            showValueMax = 130,
        },
        --Options_Camera_ThirdPersonSiegeWeaponry
        [CAMERA_SETTING_THIRD_PERSON_SIEGE_WEAPONRY] =
        {
            controlType = OPTIONS_FINITE_LIST,
            system = SETTING_TYPE_CAMERA,
            panel = SETTING_PANEL_CAMERA,
            settingId = CAMERA_SETTING_THIRD_PERSON_SIEGE_WEAPONRY,
            text = SI_INTERFACE_OPTIONS_CAMERA_THIRD_PERSON_SIEGE_WEAPONRY,
            tooltipText = SI_INTERFACE_OPTIONS_CAMERA_THIRD_PERSON_SIEGE_WEAPONRY_TOOLTIP,
            valid = {SIEGE_CAMERA_CHOICE_FREE, SIEGE_CAMERA_CHOICE_CONSTRAINED,},
            valueStringPrefix = "SI_SIEGECAMERACHOICE",
        },
    },
}
ZO_SharedOptions.AddTableToPanel(SETTING_PANEL_CAMERA, ZO_OptionsPanel_Camera_ControlData)