Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
ForestGeneratorObjects.c
Go to the documentation of this file.
1//------------------------------------------------------------------------------------------------
2// Bindings of C++ helpers for ForestGeneratorEntity
3//------------------------------------------------------------------------------------------------
4
5// Do not rename unless it is renamed gamecode-side as well
6class ForestGeneratorDistaceAttribute
7{
8 DistanceType m_iDistanceType;
9
10 //------------------------------------------------------------------------------------------------
11 // constructor
13 void ForestGeneratorDistaceAttribute(DistanceType distanceType)
14 {
15 m_iDistanceType = distanceType;
16 }
17}
18
19class ForestGeneratorGroupIndexAttribute
20{
21}
22
27class ForestGeneratorCapsuleStartAttribute
28{
29}
30
32class ForestGeneratorCapsuleEndAttribute
33{
34}
35
36class SCR_ForestGeneratorTreeBase : ForestGeneratorTreeBase
37{
38 [Attribute("0.8", UIWidgets.SpinBox, "Min scale of this object", params: "0 1000 0.01")]
39 float m_fMinScale;
40
41 [Attribute("1.2", UIWidgets.SpinBox, "Max scale of this object", params: "0 1000 0.01")]
43
44 [Attribute("", UIWidgets.ResourcePickerThumbnail, "Prefab of this object", "et")]
46
47 [Attribute(defvalue: "1", uiwidget: UIWidgets.SpinBox, "Minimum required radius in the bottom layer for this object to spawn"), ForestGeneratorDistaceAttribute(DistanceType.BOTTOM)];
49
50 [Attribute("0", uiwidget: UIWidgets.SpinBox, "Maximum random pitch angle", "0 180 1")]
52
53 [Attribute("0", uiwidget: UIWidgets.SpinBox, "Maximum random roll angle", "0 180 1")]
55
56 [Attribute(defvalue: "0", desc: "Fixed vertical offset at which to place this object [m]")]
58
59 [ForestGeneratorGroupIndexAttribute()]
61
62 float m_fScale = 2;
64
65 //------------------------------------------------------------------------------------------------
68}
float m_fMaxScale
float m_fBotDistance
ResourceName m_Prefab
float m_fVerticalOffset
float m_fRandomRollAngle
float m_fScale
void ForestGeneratorDistaceAttribute(DistanceType distanceType)
float m_fRandomPitchAngle
int m_iGroupIndex
void AdjustScale()
SCR_ECampaignBaseType m_eType
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_FieldOfViewSettings Attribute
DistanceType