playSound – Talk
Jump to navigation
Jump to search
HeliJunkie (talk | contribs) No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "<code>" to "<code style="display: block">") |
||
Line 3: | Line 3: | ||
Some examples: | Some examples: | ||
<code><nowiki>playsound "Nuke"; | <code style="display: block"><nowiki>playsound "Nuke"; | ||
playsound "All_haha"; | playsound "All_haha"; | ||
playsoung "missile" | playsoung "missile" | ||
</nowiki></code> | </nowiki></code> | ||
Maybe an Easteregg ??? | Maybe an Easteregg ??? | ||
<code><nowiki>playsound "SILVIE_carradio"; | <code style="display: block"><nowiki>playsound "SILVIE_carradio"; | ||
</nowiki></code> | </nowiki></code> | ||
wich is defined as: | wich is defined as: | ||
<code><nowiki>class SILVIE_carradio { | <code style="display: block"><nowiki>class SILVIE_carradio { | ||
sound[] = {"\ca\Music\Track27_Eastern_Eggs_-_Killing_Machines.ogg", 0.0630957, 1}; | sound[] = {"\ca\Music\Track27_Eastern_Eggs_-_Killing_Machines.ogg", 0.0630957, 1}; | ||
titles[] = {}; | titles[] = {}; | ||
}</nowiki></code> | }</nowiki></code> | ||
--[[User:HeliJunkie|HeliJunkie]] 19:39, 6 July 2010 (CEST) | --[[User:HeliJunkie|HeliJunkie]] 19:39, 6 July 2010 (CEST) |
Latest revision as of 11:52, 11 January 2023
The sounds can also be from configFile (GameConfig). All classes in configFile/"CfgSounds" are valid too.
Some examples:
playsound "Nuke";
playsound "All_haha";
playsoung "missile"
Maybe an Easteregg ???
playsound "SILVIE_carradio";
wich is defined as:
class SILVIE_carradio {
sound[] = {"\ca\Music\Track27_Eastern_Eggs_-_Killing_Machines.ogg", 0.0630957, 1};
titles[] = {};
}
--HeliJunkie 19:39, 6 July 2010 (CEST)