Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ObjectBrushArrayConfig.c
Go to the documentation of this file.
1#ifdef WORKBENCH // this config is only related to a Workbench tool (SCR_ObjectBrushTool)
2[BaseContainerProps(configRoot: true)]
3class SCR_ObjectBrushArrayConfig
4{
5 [Attribute()]
6 ref array<ref SCR_ObjectBrushObjectBase> m_aObjectArray;
7
8 //------------------------------------------------------------------------------------------------
9 // constructor
10 void SCR_ObjectBrushArrayConfig()
11 {
12 if (!m_aObjectArray)
13 m_aObjectArray = {};
14 }
15}
16
18class SCR_ObjectBrushObjectBase : SCR_ForestGeneratorTreeBase
19{
20 [Attribute(defvalue: "0", uiwidget: UIWidgets.Slider, desc: "Maximum random Yaw angle", "0 180 1")]
22
23 [Attribute(defvalue: "0", uiwidget: UIWidgets.Slider, desc: "Sets the prefabs Y position offset", "-1000 1000 0.5")]
24 float m_fPrefabOffsetY;
25
26 [Attribute(defvalue: "0", params: "-1000 0 inf", precision: 2, uiwidget: UIWidgets.Slider, desc: "Minimum random vertical offset, considers Prefab Offset Y")]
27 float m_fMinRandomVerticalOffset;
28
29 [Attribute(defvalue: "0", params: "0 1000 inf", precision: 2, uiwidget: UIWidgets.Slider, desc: "Maximum random vertical offset, considers Prefab Offset Y")]
30 float m_fMaxRandomVerticalOffset;
31
32 [Attribute(defvalue: "0", desc: "Override the default prefab randomization")]
33 bool m_bOverrideRandomization;
34
35 [Attribute(defvalue: "1", uiwidget: UIWidgets.Slider, desc: "Sets the probability of this object being selected", "0 100000 1")]
36 float m_fWeight;
37
38 [Attribute(defvalue: "0", desc: "Should the prefab align to the terrain?")]
39 bool m_bAlignToNormal;
40
41 [Attribute(defvalue: "0", desc: "Should this prefab be affected by the scale falloff?")]
42 bool m_bScaleFalloff;
43
44 [Attribute(defvalue: "0.8", uiwidget: UIWidgets.Slider, desc: "Min scale after fall off of this object", "0 1000 0.1")]
45 float m_fLowestScaleFalloffValue;
46
47 int m_iSubareaIndex;
48}
49#endif // WORKBENCH
params precision
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
float m_fRandomYawAngle
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_FieldOfViewSettings Attribute