Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Gameover music
Gameover music [message #251670] Sun, 25 March 2007 20:36 Go to next message
AoBfrost is currently offline  AoBfrost
Messages: 1248
Registered: March 2007
Karma: 0
General (1 Star)
Hi, I know alot about hosting renegade servers using FDS and have hosted a few as test, or real servers temporary, but I was wondering if there was a script to play music at the game over/scoreboard when you see everyone's score, I know nightma12 had this in Nightregulator if you set a time limit and it ran out, it would play "Sakura_dogfight.mp3", I use Nightregulator but don't have a time limit, but then it also had a countdown timer and game over sound, how can i add this to the game over screen without adding time to the server? It doesn't need the countdown since my server is a marathon with no time, but is it possible to mod the scripts to play a certain part of the mp3 during scoreboard? Thanks.

http://i4.photobucket.com/albums/y133/FMAROCKS/godotsig.gif
Scrin wrote on Fri, 05 October 2007 12:19

''whoa im the photoshop''

KANE LIVES!!!
Re: Gameover music [message #251678 is a reply to message #251670] Sun, 25 March 2007 22:51 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3808
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
You could use script to play the music once one teams buildings were destroyed.

Re: Gameover music [message #251738 is a reply to message #251670] Mon, 26 March 2007 10:12 Go to previous messageGo to next message
AoBfrost is currently offline  AoBfrost
Messages: 1248
Registered: March 2007
Karma: 0
General (1 Star)
Well, i have no experience what so ever really scripting, but I think making it play music after all buildings were killed would need to be done for every map because of differences such as silo's agt/obby and power plant not on all maps. Though I got this idea from Nightma12, he might know a way easily.

http://i4.photobucket.com/albums/y133/FMAROCKS/godotsig.gif
Scrin wrote on Fri, 05 October 2007 12:19

''whoa im the photoshop''

KANE LIVES!!!
Re: Gameover music [message #251739 is a reply to message #251670] Mon, 26 March 2007 10:14 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
I'm sure the FDS sends a command out at the end of a match. Just hook onto that command with the SNDA console command.
Re: Gameover music [message #251744 is a reply to message #251670] Mon, 26 March 2007 10:19 Go to previous messageGo to next message
AoBfrost is currently offline  AoBfrost
Messages: 1248
Registered: March 2007
Karma: 0
General (1 Star)
But how can I do that? I'm not really sure, if you know could you do a quick step by step tutorial? Or is it possible in a .ini file.

http://i4.photobucket.com/albums/y133/FMAROCKS/godotsig.gif
Scrin wrote on Fri, 05 October 2007 12:19

''whoa im the photoshop''

KANE LIVES!!!

[Updated on: Mon, 26 March 2007 10:20]

Report message to a moderator

Re: Gameover music [message #251745 is a reply to message #251670] Mon, 26 March 2007 10:21 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
It would be in the scripts.dll file and i don't know C++ so i can't exactally tell you what to do. Best to ask a programmer Razz
Re: Gameover music [message #251749 is a reply to message #251670] Mon, 26 March 2007 10:27 Go to previous messageGo to next message
AoBfrost is currently offline  AoBfrost
Messages: 1248
Registered: March 2007
Karma: 0
General (1 Star)
Time to download C++ and screw with the settings I guess....my friend Saad knows C++ so maybe I should ask him since he modded his scripts.dll very well, but then again, modding scripts.dll wont work with people that dont have newer scripts, and as usual....it wont work for them because most people dont even know whats scripts are.

Off topic: Thanks megro for your tutorial on NR on nightma12's website, it helped me alot when making my WOL server.


http://i4.photobucket.com/albums/y133/FMAROCKS/godotsig.gif
Scrin wrote on Fri, 05 October 2007 12:19

''whoa im the photoshop''

KANE LIVES!!!

[Updated on: Mon, 26 March 2007 10:28]

Report message to a moderator

Re: Gameover music [message #251755 is a reply to message #251670] Mon, 26 March 2007 10:59 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
That's not entierly true. I know a friend who has his bot inside the scripts.dll file and that works perfectly serverside.

Only cirtain things are needed on both the client and the server. SNDA is already on both so that's ok. You just need a script to call it.
Re: Gameover music [message #251757 is a reply to message #251670] Mon, 26 March 2007 11:02 Go to previous messageGo to next message
AoBfrost is currently offline  AoBfrost
Messages: 1248
Registered: March 2007
Karma: 0
General (1 Star)
Ah! True true.....but playing only a certain section of the song, thats where I am clueless. The only thing I can find that would be easier is playing "sakura dogfight.mp3" since it sounds better playing from beggining, I will try some scripting later today.

http://i4.photobucket.com/albums/y133/FMAROCKS/godotsig.gif
Scrin wrote on Fri, 05 October 2007 12:19

''whoa im the photoshop''

KANE LIVES!!!
Re: Gameover music [message #251783 is a reply to message #251670] Mon, 26 March 2007 12:51 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
Snda will play the track from the start to the finnish once. Musica will play the track over and over untill NoMusica is 'heard'.
Re: Gameover music [message #251878 is a reply to message #251670] Tue, 27 March 2007 05:32 Go to previous messageGo to next message
AoBfrost is currently offline  AoBfrost
Messages: 1248
Registered: March 2007
Karma: 0
General (1 Star)
I'm hosting a server now temporarly for a friend since he doesnt have a server for his clan anymore, so I just changed to to all out war, so far 0 games have gone past 30minutes, so I think it's appropriete to place time at 30 minutes...and if it runs iout...it will play the music =D

http://i4.photobucket.com/albums/y133/FMAROCKS/godotsig.gif
Scrin wrote on Fri, 05 October 2007 12:19

''whoa im the photoshop''

KANE LIVES!!!
Re: Gameover music [message #251911 is a reply to message #251670] Tue, 27 March 2007 10:15 Go to previous message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
Either that or you could just play music throughout the match.
Previous Topic: Cabin
Next Topic: Stealth Suit Drop...How???
Goto Forum:
  


Current Time: Sat Sep 07 23:16:58 MST 2024

Total time taken to generate the page: 0.00810 seconds