Sg music (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
(Created page with "==Slash command== {{SlashCommandArticle|command=sg_music|options=filename|note=Sets a sound file to play over the music channel in a supergroup base.}} * You must have base e...")
 
No edit summary
Line 2: Line 2:
{{SlashCommandArticle|command=sg_music|options=filename|note=Sets a sound file to play over the music channel in a supergroup base.}}
{{SlashCommandArticle|command=sg_music|options=filename|note=Sets a sound file to play over the music channel in a supergroup base.}}


The {{slashcommand|sg_music}} command plays .ogg music files from inside the piggs or data folders of the game, and everyone who enters the base will hear the music. Music file names that end in "_loop" will loop forever. So if you use <code>/sgmusic levelup7</code>, for example, it will play the level up sound once and then be silent, but if you use <code>/sgmusic Objective_loop</code> it will play the "glowies sound" forever.
* To remove the music from the SG base, use <code>/sgmusic ""</code>; currently playing music will fade out, not abruptly stop.
* You may also place your own .ogg music files into the <COH Install Directory>\data\sound\ogg folder, however only you will be able to hear the music. To share your custom music files with others so that they can hear it too, give them a copy of your music files and have them put it in the same folder that contains your file. 
* The music will update in real time if you use the command while inside your base, so you can use this to semi-DJ events in your base.
* The background sound WarehouseAmb2_loop that played on the Sound FX channel everywhere in the base was removed. You can, of course, keep that sound in your base by using /sgmusic WarehouseAmb2_loop.
* You must have base editing permissions to use this command.
* You must have base editing permissions to use this command.
* This will play any sound file from inside the piggs or data folders. Everybody who enters the base will hear the music you selected if it is in the pigg files; but if you place your own .ogg files in your data/sound/ogg folder, only you (and those who have a file with the same name in that folder) will hear it.
* The music will update in real time if you use the command while inside your base, so you can use this to pseudo-DJ events in your base.
* File names that end in _loop will loop forever. So if you use /sgmusic levelup7 it will play the level up sound once (when you enter the base) and then be silent, but if you use /sgmusic Objective_loop it will play the glowies sound forever (and drive everybody insane looking for it.)
* To remove the music, use /sgmusic ""; currently playing music will fade out, not abruptly stop.
* The background sound WarehouseAmb2_loop that played on the Sound FX channel everywhere in the base was removed. You can, of course, keep that sound in your base by using /sgmusic WarehouseAmb2_loop.

Revision as of 16:38, 24 June 2022

Slash command

/sg_music filename

Sets a sound file to play over the music channel in a supergroup base.

The /sg_music command plays .ogg music files from inside the piggs or data folders of the game, and everyone who enters the base will hear the music. Music file names that end in "_loop" will loop forever. So if you use /sgmusic levelup7, for example, it will play the level up sound once and then be silent, but if you use /sgmusic Objective_loop it will play the "glowies sound" forever.

  • To remove the music from the SG base, use /sgmusic ""; currently playing music will fade out, not abruptly stop.


  • You may also place your own .ogg music files into the <COH Install Directory>\data\sound\ogg folder, however only you will be able to hear the music. To share your custom music files with others so that they can hear it too, give them a copy of your music files and have them put it in the same folder that contains your file.
  • The music will update in real time if you use the command while inside your base, so you can use this to semi-DJ events in your base.
  • The background sound WarehouseAmb2_loop that played on the Sound FX channel everywhere in the base was removed. You can, of course, keep that sound in your base by using /sgmusic WarehouseAmb2_loop.
  • You must have base editing permissions to use this command.