Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_VehicleCameraDataComponent.c
Go to the documentation of this file.
1[ComponentEditorProps(category: "GameScripted/Vehicle", description:"Vehicle camera data")]
3{
4 [Attribute("false", UIWidgets.CheckBox, "Override the vehicle camera data component of the parent Vehicle\n")]
5 bool m_bOverrideVehicleSettings;
6 [Attribute("1", UIWidgets.EditBox, "Height the camera should stay above the vehicle's bounding box center\n[m]")]
7 float m_fHeight;
8 [Attribute("1", UIWidgets.EditBox, "Speed-based view bobbing multiplier\n[x * 100%]")]
9 float m_fBobScale;
10 [Attribute("1", UIWidgets.EditBox, "Acceleration-based view shaking multiplier\n[x * 100%]")]
11 float m_fShakeScale;
12 [Attribute("150", UIWidgets.EditBox, "Maximum speed at which camera distance and FOV adjustments are at their maximum\n[km/h]")]
13 float m_fSpeedMax;
14 [Attribute("8", UIWidgets.EditBox, "Maximum distance the camera should keep from the vehicle\n[m]")]
15 float m_fDist_Max;
16 [Attribute("3", UIWidgets.EditBox, "Minimum distance the camera should keep from the vehicle\n[m]")]
17 float m_fDist_Min;
18 [Attribute("5", UIWidgets.EditBox, "Desired distance the camera should keep from the vehicle\n[m]")]
19 float m_fDist_Desired;
20 [Attribute("70", UIWidgets.EditBox, "Field Of View of the camera\n[deg]")]
21 float m_fFOV;
22 [Attribute("10", UIWidgets.EditBox, "Maximum Field Of View adjustment based on speed\n[deg]")]
23 float m_fFOV_SpeedAdjustMax;
24 [Attribute("0.4", UIWidgets.Slider, "How much roll of the parent vehicle is applied to 3rd camera\n[x * 100%]", params: "-5 5 0.001")]
25 float m_3rdPersonRollFactor;
26 [Attribute("0.2", UIWidgets.Slider, "How much pitch of the parent vehicle is applied to 3rd camera\n[x * 100%]", params: "-5 5 0.001")]
27 float m_3rdPersonPitchFactor;
28 [Attribute("0.4", UIWidgets.Slider, "How much roll of the parent vehicle is applied to camera\n[x * 100%]", params: "-5 5 0.001")]
29 float m_fRollFactor;
30 [Attribute("0.2", UIWidgets.Slider, "How much pitch of the parent vehicle is applied to camera\n[x * 100%]", params: "-5 5 0.001")]
31 float m_fPitchFactor;
32 [Attribute("20", UIWidgets.EditBox, "Angle in first person added to the camera on the vehicle\n[deg]")]
33 float m_fAngleFirstPerson;
34 [Attribute("20", UIWidgets.EditBox, "Angle in third person added to the camera on the vehicle\n[deg]")]
35 float m_fAngleThirdPerson;
36 [Attribute(uiwidget: UIWidgets.Object)]
37 ref SCR_VehicleCameraAimpoint m_pCameraAimpointData;
38 [Attribute(uiwidget: UIWidgets.Object)]
39 ref SCR_VehicleCameraAlignment m_pCameraAlignData;
40 [Attribute(desc: "Camera pivot point. Vehicle's COM is used if this isn't present")]
41 ref PointInfo m_pPivot;
42 [Attribute("true", UIWidgets.CheckBox, "Use NoParent camera\n")]
43 bool m_bNoParent;
44 [Attribute("false", UIWidgets.CheckBox, "Use forces based camera movement for 3PV\n")]
45 bool m_UseForceBased_3PVCamera;
46 [Attribute("50", UIWidgets.EditBox, "Movement force factor used for 3PV camera movement\n")]
47 float m_MovementForceFactor;
48 [Attribute("0.01", UIWidgets.EditBox, "Movement force threshold used for 3PV camera movement\n")]
49 float m_MovementForceThreshold;
50 [Attribute("25", UIWidgets.EditBox, "Spring force factor used for 3PV camera movement\n")]
51 float m_SpringForceFactor;
52 [Attribute("false", UIWidgets.CheckBox, "Use Dolly zoom in 3PV (change FOV based on camera distance in order to maintain the size of the target object on the screen)\n")]
53 bool m_3PVDollyZoomEffect;
54 [Attribute("5", UIWidgets.EditBox, "Spring lag amount used for horizontal movement\n")]
55 float m_HorizontalSpringLag;
56 [Attribute("30", UIWidgets.EditBox, "Spring lag max angle used for horizontal movement\n")]
57 float m_HorizontalSpringLagMaxAngle;
58}
59
60
61class SCR_VehicleCameraDataComponent : ScriptComponent
62{
63}
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
PointInfo - allows to define position.
Definition PointInfo.c:9
SCR_FieldOfViewSettings Attribute