DemocraticAlliance15 Posted July 11, 2013 Share Posted July 11, 2013 What I am trying to do is when a song starts on the radio station I am creating I would like it to display a message with the song title. I remember seeing a mod in Fallout 3 when you equip an item and it would tell you that song titles are on. When the radiostation was on it displayed the song as a message. This mod was Vocaloid Radio. I need help because I am trying to re-write the code so I could use it but I have no Luck with it. Link to comment Share on other sites More sharing options...
DemocraticAlliance15 Posted July 11, 2013 Author Share Posted July 11, 2013 (edited) Here are the scripts to the Vocaloid Radio Mod VRTogglerScript scn VRTitleToggleScript begin onequip if vocaloidRadioQuest.showtitle == 0set vocaloidRadioQuest.showtitle to 1player.unequipitem VrTitleToggler1 1showMessage VRMsgTitlesOn elseif vocaloidRadioQuest.showtitle == 1 set vocaloidRadioQuest.showtitle to 0 player.unequipitem VrTitleToggler1 1 showMessage VRMsgTitlesOFFendifend --------------------------------------------------------------------------------------------- Radio Script scn VocaloidRadioScript short SongsPlayed short AlreadyPlayed short AlreadyPlayed2short AlreadyPlayed3short AlreadyPlayed4short AlreadyPlayed5short AlreadyPlayed6 short AlreadySaid short AlreadySaid2short AlreadySaid3short AlreadySaid4short AlreadySaid5 short IntroSaidshort IntroSaid2 short IntroSaid3short IntroSaid4short IntroSaid5 short ShowTitle short Debug short DoOncefloat StartTimer BEGIN GameMode if player.getitemcount VRTitleToggler1 == 0 player.additem VRTitleToggler1 1 endif if ( DoOnce == 0 ) VocaloidRadioREF.Disable if ( RadioEnclaveRef.GetDisabled == 0 ) set DoOnce to 1 set StartTimer to 10 elseif ( GetStage MQ09 >= 0 ) Set DoOnce to 1 Set StartTimer to 5 endif elseif ( DoOnce == 1 ) if ( StartTimer <= 0 ) VocaloidRadioREF.Enable set DoOnce to 1 ForceRadioStationUpdate ResetPipboyManager Set DoOnce to -1 else set StartTimer to ( StartTimer - GetSecondsPassed ) endif endif END----------------------------------------------------------------Now Playing Script (result script begin) if VocaloidRadioQuest.showtitle == 1showmessage VRMsgAiKotoba (Place message in here)endif-------------------------------------------------------------------------------Result Script End set VocaloidRadioQuest.Debug to 2set VocaloidRadioQuest.AlreadyPlayed6 to VocaloidRadioQuest.AlreadyPlayed5set VocaloidRadioQuest.AlreadyPlayed5 to VocaloidRadioQuest.AlreadyPlayed4set VocaloidRadioQuest.AlreadyPlayed4 to VocaloidRadioQuest.AlreadyPlayed3set VocaloidRadioQuest.AlreadyPlayed3 to VocaloidRadioQuest.AlreadyPlayed2set VocaloidRadioQuest.AlreadyPlayed2 to VocaloidRadioQuest.AlreadyPlayedset VocaloidRadioQuest.AlreadyPlayed to 1set VocaloidRadioQuest.SongsPlayed to ( VocaloidRadioQuest.SongsPlayed + 1 ) Edited July 11, 2013 by DemocraticAlliance15 Link to comment Share on other sites More sharing options...
DemocraticAlliance15 Posted July 12, 2013 Author Share Posted July 12, 2013 Don't worry now I have figured out how to do it and it is working properly. Link to comment Share on other sites More sharing options...
Recommended Posts