Sound: SoundControllers – Arma 3
Jump to navigation
Jump to search
m (minor fix) |
(added ship to table) |
||
Line 21: | Line 21: | ||
!CfgVehicles (Helicopter) | !CfgVehicles (Helicopter) | ||
!CfgVehicles (Plane) | !CfgVehicles (Plane) | ||
!CfgVehicles (Ship) | |||
|- | |- | ||
|interior | |interior | ||
Line 28: | Line 29: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 38: | Line 40: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 46: | Line 49: | ||
|<0;1> | |<0;1> | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 58: | Line 62: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 68: | Line 73: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 78: | Line 84: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 88: | Line 95: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 97: | Line 105: | ||
|Yes | |Yes | ||
|No | |No | ||
| | |||
| | | | ||
| | | | ||
Line 111: | Line 120: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
|- | |- | ||
|rain | |rain | ||
Line 121: | Line 131: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
|- | |- | ||
|fog | |fog | ||
Line 131: | Line 142: | ||
|? | |? | ||
|? | |? | ||
| | |||
|- | |- | ||
|daytime | |daytime | ||
Line 136: | Line 148: | ||
|<0;1> | |<0;1> | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 147: | Line 160: | ||
|Yes | |Yes | ||
|No | |No | ||
| | |||
| | | | ||
| | | | ||
Line 156: | Line 170: | ||
|<0;1> | |<0;1> | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 167: | Line 182: | ||
|Yes | |Yes | ||
|No | |No | ||
| | |||
| | | | ||
| | | | ||
Line 176: | Line 192: | ||
|m | |m | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 188: | Line 205: | ||
|No | |No | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 199: | Line 217: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 206: | Line 225: | ||
|m | |m | ||
|? | |? | ||
| | |||
| | | | ||
| | | | ||
Line 216: | Line 236: | ||
|<0;1> | |<0;1> | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 227: | Line 248: | ||
|Yes | |Yes | ||
|No | |No | ||
| | |||
| | | | ||
| | | | ||
Line 241: | Line 263: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
|- | |- | ||
|randomizer | |randomizer | ||
Line 251: | Line 274: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
|- | |- | ||
|speed | |speed | ||
Line 261: | Line 285: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
|- | |- | ||
|thrust | |thrust | ||
Line 271: | Line 296: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
|- | |- | ||
|camPos | |camPos | ||
Line 281: | Line 307: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
|- | |- | ||
|playerPos | |playerPos | ||
Line 291: | Line 318: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
|- | |- | ||
|engineOn | |engineOn | ||
Line 301: | Line 329: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
|- | |- | ||
|angVelocity | |angVelocity | ||
Line 311: | Line 340: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
|- | |- | ||
|gmeterZ | |gmeterZ | ||
Line 321: | Line 351: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
|- | |- | ||
|roughness | |roughness | ||
Line 329: | Line 360: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 339: | Line 371: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 349: | Line 382: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 359: | Line 393: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 369: | Line 404: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 379: | Line 415: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 389: | Line 426: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 399: | Line 437: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 409: | Line 448: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 419: | Line 459: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 429: | Line 470: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 439: | Line 481: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 449: | Line 492: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
| | | | ||
Line 461: | Line 505: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
| | |||
|- | |- | ||
|machCone | |machCone | ||
Line 471: | Line 516: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
|- | |- | ||
|gear | |gear | ||
Line 481: | Line 527: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
|- | |- | ||
|flaps | |flaps | ||
Line 491: | Line 538: | ||
| | | | ||
|Yes (buggy) | |Yes (buggy) | ||
| | |||
|- | |- | ||
|rotorThrust | |rotorThrust | ||
Line 500: | Line 548: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
|- | |- | ||
Line 510: | Line 559: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
|- | |- | ||
Line 520: | Line 570: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
|- | |- | ||
Line 530: | Line 581: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
|- | |- | ||
Line 540: | Line 592: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
|- | |- | ||
Line 550: | Line 603: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
|- | |- | ||
Line 560: | Line 614: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
|- | |- | ||
Line 570: | Line 625: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
|- | |- | ||
Line 580: | Line 636: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
|- | |- | ||
Line 590: | Line 647: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
|- | |- | ||
Line 600: | Line 658: | ||
| | | | ||
|Yes | |Yes | ||
| | |||
| | | | ||
|} | |} |
Revision as of 20:24, 25 February 2018
Sound Controllers
Sound controllers deliver data from the engine in real time which makes them perfect to control volumes and frequencies of sounds. If you want to monitor sound controllers, you can use these functions:
- getAllSoundControllers - can only be used on vehicles.
- getSoundController - can only be used on vehicles.
- getSoundControllerResult - can only be used on vehicles.
- getAllEnvSoundControllers - can only be used on positions.
- getEnvSoundController - can only be used on positions.
Also look at this forum post for a video showcase and a great and simple to use example mission.
Sound Controller | Description / Notes | type/range of value | Usable in EnvSounds | CfgWeapons | CfgAmmo | CfgVehicles (Land) | CfgVehicles (Helicopter) | CfgVehicles (Plane) | CfgVehicles (Ship) |
---|---|---|---|---|---|---|---|---|---|
interior | Surface texture name below character character starts with int_, character is inside building (time based transition, 0.8s) | <0;1> | Yes | Yes | |||||
houses | local density of object type “building”, derived from map | <0;1> | Yes | Yes | Yes | ||||
meadow | derived from map - probably outdated: getAllEnvSoundControllers returns meadows (A3 1.80) | <0;1> | Yes | ||||||
meadows | derived from map | <0;1> | Yes | Yes | |||||
forest | local density of trees, derived from map | <0;1> | Yes | Yes | Yes | ||||
trees | local density of trees (different settings), derived from map | <0;1> | Yes | Yes | Yes | ||||
sea | derived from map | <0;1> | Yes | Yes | Yes | ||||
windy | wind intensity - probably outdated: getAllEnvSoundControllers returns wind (A3 1.80) | <0;1> | Yes | No | |||||
wind | wind intensity | <0;1> | No | Yes | Yes | Yes | |||
rain | rain intensity | <0;1> | Yes | No | Yes | Yes | Yes | ||
fog | fog intensity | <0;1> | ? | ? | ? | ? | ? | ||
daytime | relative daytime (0 = midnight, 0.5 = noon) | <0;1> | Yes | ||||||
night | night time with transitions at ~17:30-18:00 and 07:00 – 07:15 | <0;1> | Yes | No | |||||
raindrops | presence/density of objects above SoundSource location - not available as EnvSoundController (A3 1.80) | <0;1> | Yes | ||||||
altitudeGround | gound altitude | m | Yes | No | |||||
altitudeSea | sea level altitude | m | Yes | ||||||
coast | precise sea shore detection, calculation includes high above sea level (~50m) | <0;1> | Yes | No | Yes | ||||
waterDepth | sea depth - not available as EnvSoundController (A3 1.80) | m | Yes | No | Yes | ||||
distance | distance to player? | m | ? | ||||||
shooting | firefight detection, 1 = no firefight, value is divided by 2 with every shot | <0;1> | Yes | ||||||
deadBody | presense of dead body (~10m) | <0;1> | Yes | No | |||||
rpm | actual rpm of the vehicle engine | rpm | Yes | Yes | Yes | ||||
randomizer | generates random number between 0 and 1 (once per live of instance) | <0;1> | Yes | Yes | Yes | ||||
speed | actual speed of the vehicle | m/s | Yes | Yes | Yes | ||||
thrust | thrust of the vehicle engine (acceleration) | <0;1> | Yes | Yes | Yes | ||||
camPos | position of camera (0 = internal, 1 = external) | <0;1> | Yes | Yes | Yes | ||||
playerPos | position of player within the vehicle (0 = front, 1 = Passenger) | <0;1> | Yes | Yes | Yes | ||||
engineOn | state of vehicle engine | 0/1 | Yes | Yes | Yes | ||||
angVelocity | speed of rotation (in all axes) | Yes | Yes | Yes | |||||
gmeterZ | accelleration meter | Yes | Yes | Yes | |||||
roughness | roughness of surface (0 = "glass") | Yes | |||||||
dustness | roughness of surface (0 = no dust) | Yes | |||||||
damper0 | dampers | Yes | |||||||
rock | surface type | Yes | |||||||
sand | surface type | Yes | |||||||
grass | surface type | Yes | |||||||
mud | surface type | Yes | |||||||
gravel | surface type | Yes | |||||||
asphalt | surface type | Yes | |||||||
latSlip | Yes | ||||||||
latSlipDrive | Yes | ||||||||
longSlip | Yes | ||||||||
longSlipDrive | Yes | ||||||||
lateralMovement | Yes | Yes | Yes | ||||||
machCone | only for Jets, makes sure sound is within machCone, if not -> sound will be silent | <0;1> | Yes | ||||||
gear | Yes | ||||||||
flaps | Yes (buggy) | ||||||||
rotorThrust | Yes | ||||||||
rotorSpeed | Yes | ||||||||
rotorDamage | Yes | ||||||||
motorDamage | Yes | ||||||||
transmissionDamage | Yes | ||||||||
slingLoadActive | Yes | ||||||||
scrubLand | object is scrubbing terrain | Yes | |||||||
scribObject | object is scrubbing another object (vehicle ↔ vehicle) | Yes | |||||||
scrubTree | object is scrubbing object type: tree | Yes | |||||||
scrubBuilding | object is scrubbing object type: building | Yes | |||||||
scrubArmor | object is scrubbing armored vehicle (tank) | Yes |