BF2.US bf2-rsdeveloper wiki Parity Discord bf2.us
generated from the code

sound

BF22142Heroes

27 commands. A game cell holds the argument types (and the return type after ->) that game registers; empty: the game does not have the command. Back to the console reference.

Scope badges
serveronly the server reads it: a mod on the server alone takes effect, players need nothingclientonly the game client reads it (drawing, sound, HUD): every player who should see it needs the modsharedthe server and every client read it: both need the same files, or the clients' view jumpsyesthe game has it; nobody has classified its scope yet
BF22142HeroesA game column holds that game's badge and the argument types its program registers; an empty cell means the game does not know the name. The Notes column gives the reason (how the scopes are worked out).
NameBF22142HeroesNotes
sound.addMenuSoundclient std::string, std::string, float, boolclient std::string, std::string, float, bool, boolclient std::string, std::string, float, bool, boolmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.addSoundclient std::stringclient std::stringclient std::stringmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.addTriggerclient std::stringclient std::stringclient std::stringmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.dopplerEffectclient float -> floatclient float -> floatclient float -> floatproperty; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.getAllSoundTemplatesclient -> std::stringclient -> std::stringclient -> std::stringmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.getPropertyclient std::string -> std::stringclient std::string -> std::stringclient std::string -> std::stringmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.getVolumeForGroupclient int -> floatclient int -> floatclient int -> floatmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.initializeclient int, std::string, int -> SoundInitResultclient int, std::string, int -> SoundInitResultclient int, std::string, int -> SoundInitResultmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.interactiveModeclient bool -> boolclient bool -> boolclient bool -> boolproperty; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.listenerReverbclient float -> floatclient float -> floatclient float -> floatproperty; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.loadMusicclient std::string -> boolclient std::string -> boolclient std::string -> boolmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.masterVolumeclient float -> floatclient float -> floatclient float -> floatproperty; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.playMusicclient -> boolclient -> boolclient -> boolmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.playSoundclient std::stringclient std::stringclient std::stringmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.removeAllTriggersclientclientclientmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.setMuteLevelclient int, floatclient int, floatmethod; 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.setPropertyclient std::string, floatclient std::string, floatclient std::string, floatmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.setReverbclient std::stringclient std::stringclient std::stringmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.setVolumeForGroupclient int, floatclient int, floatclient int, floatmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.showSoundSourcesclient bool -> boolclient bool -> boolclient bool -> boolproperty; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.showStatsclient bool -> boolclient bool -> boolclient bool -> boolproperty; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
Sound.startEnginesclient bool -> boolproperty; BF2: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.stopMusicclient float -> boolclient float -> boolclient float -> boolmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.stopSoundclient std::stringclient std::stringclient std::stringmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.tinnitusSetupclient std::string, float, float, float, floatclient std::string, float, float, float, floatclient std::string, float, float, float, floatmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.tweakTemplateclient std::string, float, float, float, float, float, floatclient std::string, float, float, float, float, float, floatclient std::string, float, float, float, float, float, floatmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
sound.windSetupclient std::string, floatclient std::string, floatclient std::string, floatmethod; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
Source: tools/devwiki/refs_console.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.