Site Tools


ac6-refmat:param:grasstypeparam

GrassTypeParam

Fields

Field Type Offset Description Notes
lod0ClusterType s8 0x0 The LOD0 cluster type this grass asset belongs to. This field uses the following enum: GRASS_CLUSTER_TYPE_ENUM
lod1ClusterType s8 0x1 The LOD1 cluster type this grass asset belongs to. This field uses the following enum: GRASS_CLUSTER_TYPE_ENUM
lod2ClusterType s8 0x2 The LOD2 cluster type this grass asset belongs to. This field uses the following enum: GRASS_CLUSTER_TYPE_ENUM
pad1 dummy8 0x3 This field is padding.
baseDensity f32 0x4 The base density value for the grass clumping.
modelName fixstrW 0x8 The grass model to define the parameters for.
flatTextureName fixstrW 0x28 The flat texture ID to use for this grass asset.
billboardTextureName fixstrW 0x68 The billboard texture ID to use for this grass asset.
normalInfluence u8 0xa8 The percentage of tilt that is applied to the grass asset based on its normal map.
inclinationMax u8 0xa9 The maximum percentage of tilt that can be applied to the grass. In degrees.
inclinationJitter u8 0xaa The amount of jitter to apply to the tilt angle for this grass asset. In degrees.
scaleBaseMin u8 0xab The minimum width scale to apply to the grass asset.
scaleBaseMax u8 0xac The maximum width scale to apply to the grass asset.
scaleHeightMin u8 0xad The minimum height scale to apply to the grass asset.
scaleHeightMax u8 0xae The maximum height scale to apply to the grass asset.
colorShade1_r u8 0xaf The red element of this color for multiplication color 1.
colorShade1_g u8 0xb0 The green element of this color for multiplication color 1.
colorShade1_b u8 0xb1 The blue element of this color for multiplication color 1.
colorShade2_r u8 0xb2 The red element of this color for multiplication color 2.
colorShade2_g u8 0xb3 The green element of this color for multiplication color 2.
colorShade2_b u8 0xb4 The blue element of this color for multiplication color 2.
flatSplitType s8 0xb5 The plane separation type to use for this grass asset's flat texture. This field uses the following enum: GRASS_FLAT_SPLIT_TYPE_ENUM
flatBladeCount u8 0xb6 The number of planes to use for this grass asset's flat texture.
flatSlant s8 0xb7 The angle of this grass asset's flat texture from the asset's position.
flatRadius f32 0xb8 The distance of this gtass asset's flat texture from the asset's position.
castShadow u8 0xbc Whether this grass asset will cast a shadow. This field uses the following enum: GRASS_SHADOW_TYPE_ENUM
windAmplitude u8 0xbd The amplitude to apply to any wind force that affects this grass asset.
useDmyPolyDir u8 0xbe Adjust the angle of the plane to the dummy polygon's direction. This field is a boolean.
windCycle u8 0xbf The speed to apply to any wind force that affects this grass asset.
orientationAngle f32 0xc0 Determines the orientation direction for this grass asset. -1 for random orientation.
orientationRange f32 0xc4 Determines the range for the orientation direction parameter.
simpleModelName fixstrW 0xc8 The model ID to use the simple representation of this grass asset.
lodRangeId u16 0xe8 The grass LOD range parameter to use for this grass asset. This field refers to the following params: GrassLodRangeParam
pad3 dummy8 0xea This field is padding.
sfxId s32 0xec The SFX ID to apply to this grass asset when generated. This field takes an Particle ID.
pad dummy8 0xf0 This field is padding.

Enums

GRASS_CLUSTER_TYPE_ENUM

Option Description Notes
0 None
1 Model
2 Billboard
3 Flat tuft
4 Simple Model

GRASS_FLAT_SPLIT_TYPE_ENUM

Option Description Notes
0 Half
1 Full

GRASS_SHADOW_TYPE_ENUM

Option Description Notes
0 On
1 Off
ac6-refmat/param/grasstypeparam.txt · Last modified: by admin