The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Music Terminal
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#1
Music Terminal

Okay so I'm trying to create a music playing terminal using the StationGui_AudioPlaybackApp. The text "OfficeTerminalFileName" shows up with the correct text so the script is functioning, except for the actual sound file. I suspect it doesn't support the format.

Is there another command that I can replace the AddAudioFile_Voice with that will play .snt/.ogg files? I've looked on the wiki, but I can't find anything concerning Depth_ImGui at all.



Script:
Spoiler below!


void MusicTerminal_OnGui(const tString&in asEntityName, float afTimeStep)
{
ImGui_SetTransCategory("Office_Text");

StationGuiBG_Backdrop();
StationGuiBG_Scanlines();

Depth_ImGui_AddAudioFile_Voice("OfficeTerminalFileName_"+i, "00_03_apartment1/amb/object/radio_show/music/radio_song_"+i);
StationGui_AudioPlaybackApp();
}


**Sorry for posting in quick succession, but I'm into modding again.**

"What you think is irrelevant" - A character of our time

A Christmas Hunt
04-10-2016, 12:50 AM
Find


Messages In This Thread
Music Terminal - by i3670 - 04-10-2016, 12:50 AM
RE: Music Terminal - by Abion47 - 04-10-2016, 09:44 PM
RE: Music Terminal - by i3670 - 04-10-2016, 09:54 PM
RE: Music Terminal - by Abion47 - 04-11-2016, 01:35 AM
RE: Music Terminal - by i3670 - 04-11-2016, 07:33 AM



Users browsing this thread: 1 Guest(s)