Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_RandomPositionalSounds.c File Reference

Go to the source code of this file.

Enumerations

enum  ESoundMapType
 

Functions

enum ESoundMapType BaseContainerProps (configRoot:true)
 

Variables

 MEADOW
 
 FOREST
 
 HOUSES
 
 SEA
 
 POND
 

Enumeration Type Documentation

◆ ESoundMapType

Definition at line 1 of file SCR_RandomPositionalSounds.c.

Function Documentation

◆ BaseContainerProps()

enum ESoundMapType BaseContainerProps ( configRoot:true  )

Spawns sounds arround camera based on define behaviour Basic building blocks are: SCR_SoundGroup defines a group of sounds. E.g. birds playing on trees close to the camera, or insects, or birds playing in the distance SCR_SoundType defines a group of sounds that can be played on a given location or entity. The definition varies based on the used ESpawnMethod SCR_SoundDef defines basic sound behaviour such as the number of repetitions, or daytime/wind behaviour

Loops through all playing sounds and removes the ones that do not pass time and weather check

Updates wind, rain and time modifiers based on current WindSpeed, RainIntensity and SunAngle

Attempts to find new position to play sound based on defined ESpawnMethod

Parameters
[in]worldTime
[in]camPos
[in]soundGroup

Definition at line 15 of file SCR_RandomPositionalSounds.c.

Variable Documentation

◆ FOREST

FOREST

Definition at line 3 of file SCR_RandomPositionalSounds.c.

◆ HOUSES

HOUSES

Definition at line 4 of file SCR_RandomPositionalSounds.c.

◆ MEADOW

MEADOW

Definition at line 2 of file SCR_RandomPositionalSounds.c.

◆ POND

POND

Definition at line 6 of file SCR_RandomPositionalSounds.c.

◆ SEA

SEA

Definition at line 5 of file SCR_RandomPositionalSounds.c.