Radioactivelad Posted March 22, 2019 Share Posted March 22, 2019 (edited) Basically I want the player to select a terminal option which will initiate the playback. I tried simply setting the Display Note to a Voice Note, but that just results in nothing happening. I figure I could just use a Sound object + PlaySound result script rather than true dialogue via a Topic, but I was curious if my initial plan was possible. Edited March 22, 2019 by Radioactivelad Link to comment Share on other sites More sharing options...
dubiousintent Posted March 22, 2019 Share Posted March 22, 2019 It is my understanding that a "note" (of whatever type) is generally added to your Pipboy, though I am sure it can be "displayed" as a "messagebox" or "menu option" outside of the Pipboy. (See 'TIP Passing a Note to the player' under the "Scripting" section of the wiki "Getting started creating mods using GECK" article.) For an "audio" note you then have to "play" the audio file in the "Radio" tab. For your intended purpose I would think you need to consider your playback as a piece of "Dialog". It might be possible as you suggest, but "sound objects" are not handled the same as "voice files" ("sounds" are handed off to a subsystem and played independently of the game framerate). Please see the distinctions among the "sound" file types under the "Music and Sounds" section, as well as 'TIP Text display timing' and the other information under the "Dialogue and Lipsynch" section. -Dubious- Link to comment Share on other sites More sharing options...
madmongo Posted March 23, 2019 Share Posted March 23, 2019 I personally have never tried to play a sound, but in my experience, most things that are activated by a terminal script don't actually do their thing until you exit the terminal. This is probably why in-game terminals download the audio note to your pip-boy instead of playing it immediately. Link to comment Share on other sites More sharing options...
Radioactivelad Posted March 23, 2019 Author Share Posted March 23, 2019 I know Playsound can work in-terminal as the Winnebago mod does it for a small gag. I'm actually not trying to avoid having the player obtain an actual note, I just wanted to see if I can add more instant feedback to the typical Terminal experience. you gave me an idea though. I tested to see if I could an Add and equip an item on the player from a terminal and that does in fact work. The equip sound plays and checking Damage Threshold with the console shows that it all updated while I was still in the Terminal View. The only problem I'm seeing at this point is I'm not aware of any way to "equip" a Note via script to start the playback. (Equipitem doesn't work.) Link to comment Share on other sites More sharing options...
RoyBatterian Posted March 26, 2019 Share Posted March 26, 2019 If you make them sounds instead of dialogue, then yes you can play them via playsound in the menumode for terminals. Link to comment Share on other sites More sharing options...
Mktavish Posted April 1, 2019 Share Posted April 1, 2019 I know Playsound can work in-terminal as the Winnebago mod does it for a small gag. I'm actually not trying to avoid having the player obtain an actual note, I just wanted to see if I can add more instant feedback to the typical Terminal experience. you gave me an idea though. I tested to see if I could an Add and equip an item on the player from a terminal and that does in fact work. The equip sound plays and checking Damage Threshold with the console shows that it all updated while I was still in the Terminal View. The only problem I'm seeing at this point is I'm not aware of any way to "equip" a Note via script to start the playback. (Equipitem doesn't work.) Notes are not equip-able items. But you could run a result script from the terminal , to add the note /close the terminal ... then tap keys , first in game mode , then menu mode for the inventory bringing up the note tab and starting the last note added. ( just test in game to see what key presses)And I guess the trick would be to restart the terminal back to the spot you left ? Unless like Roy says works. Begin MenuMode 1057 If mycondition == 1 PlaySound MyNote Set mycondition to 0 endifEnd Link to comment Share on other sites More sharing options...
Recommended Posts