![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_PositionalInsectType |
| Base class that handles different insects based on their type. More... | |
| class | SCR_PositionalAmbientLeafParticles |
| Handles insects that are supposed to be spawned trees. More... | |
Functions | |
| class SCR_PositionalInsectType | BaseContainerProps (configRoot:true) |
| Handles insects that are supposed to be spawned around light sources defined in prefab names array. | |
| void | Init (notnull SCR_AmbientSoundsComponent ambientSoundsComponent, notnull SCR_ObjectPositionalInsects objectPositionalInsects, notnull SCR_AmbientInsectsComponent ambientInsectsComponent) |
| void | Update (vector cameraPos) |
| Performs updates to the Insect type. | |
| void | RandomizeAnimation (IEntity entity) |
| Randomises animation for Insect. | |
| void | SpawnParticle (ParticleEffectEntitySpawnParams spawnParams, int chance=100) |
| void | RemoveDistantInsects () |
| Deletes Insects that are too far away. | |
| set< BaseContainer > | GetPrefabContainerSet () |
| void | AddClosestEntity (IEntity entity) |
| void | ClearClosestEntities () |
| Clears closest entities array for selected insect type. | |
| void | ProcessTrees () |
| Processes closest trees and spawns Insects on correct positions. | |
Variables | |
| ref array< ref SCR_InsectDef > | m_aInsectDef |
| ResourceName | m_sSpawnDef |
| int | m_iSpawnChance |
| vector | m_vOffset |
| SCR_AmbientSoundsComponent | m_AmbientSoundsComponent |
| SignalsManagerComponent | m_LocalSignalsManager |
| ref array< IEntity > | m_aClosestEntities = {} |
| ref array< IEntity > | m_aActiveEntities = {} |
| ref array< ref SCR_InsectParticle > | m_aParticles = {} |
| ref set< ref Resource > | m_ResourceSet = new set<ref Resource>() |
| ref set< BaseContainer > | m_PrefabContainerSet = new set<BaseContainer>() |
| ref SCR_InsectSpawnDef | m_SpawnDef |
| float | m_fDayTimeCurve = 1 |
| float | m_fRainIntensityCurve = 1 |
|
protected |
Adds entity to the closest entities array for selected insect type
| [in] | entity |
Definition at line 324 of file SCR_PositionalInsectType.c.
| class SCR_PositionalInsectType BaseContainerProps | ( | configRoot:true | ) |
Handles insects that are supposed to be spawned around light sources defined in prefab names array.
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array.
Initialises necessary things for Insect type
Performs updates to the Insect type
| [in] | state |
Processes closest light sources and spawns Insects on correct positions
Initialises necessary things for Insect type
Performs updates to the Insect type
Processes closest entities and spawns Insects on correct positions
Definition at line 1 of file SCR_PositionalInsectType.c.
|
protected |
Clears closest entities array for selected insect type.
Definition at line 331 of file SCR_PositionalInsectType.c.
|
protected |
Get prefab container set
Definition at line 316 of file SCR_PositionalInsectType.c.
|
protected |
Initialises necessary things for Insect type
| [in] | ambientSoundsComponent | |
| [in] | objectPositionalInsects | |
| [in] | ambientInsectsComponent |
Definition at line 205 of file SCR_PositionalInsectType.c.
|
protected |
Processes closest trees and spawns Insects on correct positions.
Definition at line 373 of file SCR_PositionalInsectType.c.
|
protected |
Randomises animation for Insect.
Definition at line 230 of file SCR_PositionalInsectType.c.
|
protected |
Deletes Insects that are too far away.
Definition at line 297 of file SCR_PositionalInsectType.c.
|
protected |
Spawns particle with sound based on spawnParams and randomized chance
| [in] | spawnParams | |
| [in] | chance |
Definition at line 248 of file SCR_PositionalInsectType.c.
|
protected |
Performs updates to the Insect type.
Performs updates to the Insect type
| [in] | cameraPos |
Definition at line 359 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 188 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 187 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 173 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 184 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 189 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 195 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 196 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 179 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 185 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 192 of file SCR_PositionalInsectType.c.
Definition at line 191 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 194 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 176 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 182 of file SCR_PositionalInsectType.c.