Module ORGM.Sounds

Info:

  • Copyright: 2018 File: shared/1LoadOrder/ORGMSounds.lua
  • Release: 3.09
  • Author: Fenris_Wolf.

Functions

add (name, data) Adds a sound to the QueueTable if its not already there.
setup () Adds any sounds in the QueueTable to the FMOD soundbanks.

Tables

Profiles Profiles Table.


Functions

Methods
add (name, data)
Adds a sound to the QueueTable if its not already there.

This is called in ORGM.Firearm.register.

Parameters:

  • name string name of the sound (also the filename without .ogg extension)
  • data nil or table data to be passed to getFMODSoundBank():addSound(). Any missing Key/Value pairs are set to a default.
setup ()
Adds any sounds in the QueueTable to the FMOD soundbanks.

This is triggered by ORGM.Callbacks.loadSoundBanks.

Tables

Profiles
Profiles Table.

Sound profiles are used to save redundant work when settings up new firearms. Many firearms use identical sounds for the actions, this profile can be used to save on repetative data entry.

A profile is a table with the sound type as key, and the string filename as a value.

Fields:

generated by LDoc 1.4.3 Last updated 2019-04-11 18:37:45