Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
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
6
class
ForestGeneratorDistaceAttribute
7
{
8
DistanceType
m_iDistanceType;
9
10
//------------------------------------------------------------------------------------------------
11
// constructor
13
void
ForestGeneratorDistaceAttribute(
DistanceType
distanceType)
14
{
15
m_iDistanceType = distanceType;
16
}
17
}
18
19
class
ForestGeneratorGroupIndexAttribute
20
{
21
}
22
27
class
ForestGeneratorCapsuleStartAttribute
28
{
29
}
30
32
class
ForestGeneratorCapsuleEndAttribute
33
{
34
}
35
36
class
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"
)]
42
float
m_fMaxScale
;
43
44
[
Attribute
(
""
,
UIWidgets
.ResourcePickerThumbnail,
"Prefab of this object"
,
"et"
)]
45
ResourceName
m_Prefab
;
46
47
[
Attribute
(defvalue:
"1"
, uiwidget:
UIWidgets
.SpinBox,
"Minimum required radius in the bottom layer for this object to spawn"
),
ForestGeneratorDistaceAttribute
(
DistanceType
.BOTTOM)];
48
float
m_fBotDistance
;
49
50
[
Attribute
(
"0"
, uiwidget:
UIWidgets
.SpinBox,
"Maximum random pitch angle"
,
"0 180 1"
)]
51
float
m_fRandomPitchAngle
;
52
53
[
Attribute
(
"0"
, uiwidget:
UIWidgets
.SpinBox,
"Maximum random roll angle"
,
"0 180 1"
)]
54
float
m_fRandomRollAngle
;
55
56
[
Attribute
(defvalue:
"0"
,
desc
:
"Fixed vertical offset at which to place this object [m]"
)]
57
float
m_fVerticalOffset
;
58
59
[ForestGeneratorGroupIndexAttribute()]
60
int
m_iGroupIndex
;
61
62
float
m_fScale
= 2;
63
SCR_ETreeType
m_eType
;
64
65
//------------------------------------------------------------------------------------------------
67
void
AdjustScale
();
68
}
SCR_ETreeType
SCR_ETreeType
Definition
ForestGeneratorEntity.c:2523
m_fMaxScale
float m_fMaxScale
Definition
ForestGeneratorObjects.c:42
m_fBotDistance
float m_fBotDistance
Definition
ForestGeneratorObjects.c:48
m_Prefab
ResourceName m_Prefab
Definition
ForestGeneratorObjects.c:45
m_fVerticalOffset
float m_fVerticalOffset
Definition
ForestGeneratorObjects.c:57
m_fRandomRollAngle
float m_fRandomRollAngle
Definition
ForestGeneratorObjects.c:54
m_fScale
float m_fScale
Definition
ForestGeneratorObjects.c:62
ForestGeneratorDistaceAttribute
void ForestGeneratorDistaceAttribute(DistanceType distanceType)
Definition
ForestGeneratorObjects.c:5
m_fRandomPitchAngle
float m_fRandomPitchAngle
Definition
ForestGeneratorObjects.c:51
m_iGroupIndex
int m_iGroupIndex
Definition
ForestGeneratorObjects.c:60
AdjustScale
void AdjustScale()
m_eType
SCR_ECampaignBaseType m_eType
Definition
SCR_CampaignMilitaryBaseComponent.c:22
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
params
category params
Definition
SCR_SpherePointGeneratorPreviewComponent.c:21
ForestGeneratorTreeBase
Definition
ForestGeneratorTreeBase.c:13
ResourceName
Definition
ResourceName.c:13
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
DistanceType
DistanceType
Definition
DistanceType.c:13
scripts
Game
Generators
ForestGenerator
ForestGeneratorObjects.c
Generated by
1.17.0