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).
| Name | BF2 | 2142 | Heroes | Notes |
|---|---|---|---|---|
sound.addMenuSound | client std::string, std::string, float, bool | client std::string, std::string, float, bool, bool | client std::string, std::string, float, bool, bool | method; 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.addSound | client std::string | client std::string | client std::string | method; 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.addTrigger | client std::string | client std::string | client std::string | method; 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.dopplerEffect | client float -> float | client float -> float | client float -> float | property; 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.getAllSoundTemplates | client -> std::string | client -> std::string | client -> std::string | method; 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.getProperty | client std::string -> std::string | client std::string -> std::string | client std::string -> std::string | method; 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.getVolumeForGroup | client int -> float | client int -> float | client int -> float | method; 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.initialize | client int, std::string, int -> SoundInitResult | client int, std::string, int -> SoundInitResult | client int, std::string, int -> SoundInitResult | method; 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.interactiveMode | client bool -> bool | client bool -> bool | client bool -> bool | property; 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.listenerReverb | client float -> float | client float -> float | client float -> float | property; 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.loadMusic | client std::string -> bool | client std::string -> bool | client std::string -> bool | method; 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.masterVolume | client float -> float | client float -> float | client float -> float | property; 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.playMusic | client -> bool | client -> bool | client -> bool | method; 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.playSound | client std::string | client std::string | client std::string | method; 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.removeAllTriggers | client | client | client | method; 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.setMuteLevel | client int, float | client int, float | method; 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) | |
sound.setProperty | client std::string, float | client std::string, float | client std::string, float | method; 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.setReverb | client std::string | client std::string | client std::string | method; 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.setVolumeForGroup | client int, float | client int, float | client int, float | method; 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.showSoundSources | client bool -> bool | client bool -> bool | client bool -> bool | property; 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.showStats | client bool -> bool | client bool -> bool | client bool -> bool | property; 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.startEngines | client bool -> bool | property; BF2: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) | ||
sound.stopMusic | client float -> bool | client float -> bool | client float -> bool | method; 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.stopSound | client std::string | client std::string | client std::string | method; 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.tinnitusSetup | client std::string, float, float, float, float | client std::string, float, float, float, float | client std::string, float, float, float, float | method; 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.tweakTemplate | client std::string, float, float, float, float, float, float | client std::string, float, float, float, float, float, float | client std::string, float, float, float, float, float, float | method; 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.windSetup | client std::string, float | client std::string, float | client std::string, float | method; 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.