[img]http://i.imgur.com/QJyDc.png[/img]
[b]Hi! My name is failcake. I've created a few(2) gamemodes called Gspleef and GarbageCollect.
I've decided to create a gamemode using the rythm theme for the GCC contest ([url]http://www.facepunch.com/showthread.php?t=1207202[/url]).
The gamemode is quite simple to play. Just aim and try not to fall / die. Your gun shoots with the music beats, so everyone shoots at the same rate![/b]
[img]http://i.imgur.com/zGzzz.png[/img]
[video=youtube;qG5ndMWL4QE]http://www.youtube.com/watch?v=qG5ndMWL4QE[/video]
[img]http://i.imgur.com/4McvJ.png[/img]
The New OLD HUD :
[img]http://i.imgur.com/EwdLm.png[/img]
The Final NEW HUD Stuff :
[img]http://cloud.steampowered.com/ugc/918988505498659925/FFB48E265A9BF9815D892FAEDC1220CFB8E64372/[/img]
Winner! :
[img]http://cloud.steampowered.com/ugc/918988505499076399/1A4DB7F8A9C574B5B1C9CAE3474E467982EA9D5D/[/img]
New Tracer Effect :
[img]http://cloud.steampowered.com/ugc/918988505499188407/04273BFCC30F2DC43711CE1945843681CF933B00/[/img]
New Map :
[img]http://cloud.steampowered.com/ugc/918989221707664085/011D61B4F45A8885253F64E6EC37177D6D529DA4/[/img]
[img]http://cloud-2.steampowered.com/ugc/918989221707667610/B82B2E6DD079D74C642667FFDC693C6F35DE309E/[/img]
Adding Custom Musics :
[img]http://i.imgur.com/o3LXn.png[/img]
[img]http://i.imgur.com/CjU9m.png[/img]
[code]
Q: What Is BeatBattle ?
A: BeatBattle is a deathmatch gamemode that uses musics beats in order to shoot. Every Beat change it shoots.
Q: How can we win?
A: After 10 mins the game will end. The player with more frags wins! Simple.
Q: How are you getting the Beats?
A: Me and Bromvlieg (helped with the beat part) created a program in XNA (C#) that detects the beats on a music and saves it on a file. Then that file is used on the gamemode.
Q: Any downsides?
A: A few =P. If a player connects while a music is already playing he must wait for the music to end. Only then he can spawn.
Another Downside is the fact that the player has to download the songs from the server (6 of them makes 30mbs).
Q: Can I Try it?
A: Sure. I just need to fix a few bugs before opening the server for beta. After its done i will release both the XNA program and the gamemode.
Q: Will it work on Gmod12?
A: No.
[/code]
[b][h2]Map Entities (Creating a custom map)[/h2][/b]
[code]
func_dance_ring -> A brush that makes the floor change colors with the beat of the music.
[/code]
[h2]How can i create a custom map?[/h2]
- Just create a normal deathmatch map and done! You can add the custom entities to it if you want it to be all Loco!
[h2]Heres a simple Tutorial (for advanced users) how to add custom musics to the gamemode :[/h2]
1: Rename the song you want to parse to song (needs to be a .mp3).
2: Open the project using C# 2010 Express with XNA 4.0
3: Drag the renamed music to the project content (where the song.mp3 is).
4: Compile the program, listen to the music. After its done recording it will create a out.txt file.
5: Rename both file and music to what ever you want.
6: Put the music on the gamemode content (songs) and add the resourcething so people will download it from the server.
7: Place the txt file into content/Data/BeatBattle.
8: Open the lua file sh_MusicList in the sh folder inside gamemode.
9: Edit the AddMusic with your music name and the beat file.
[code]
AddMusic(
"Pain Game", -- The Music Name
"pain_game.mp3", -- Music Name Path
"pain_game" -- C# Xna Beat File Name
)
[/code]
10: Done.
[b][h2]Server IP : 84.107.247.132:27019 (Server Open!)[/h2]
Please download musics at : [url]http://www.mediafire.com/?ghe3qz2h5vt8spw[/url]
Theres no Fastdl yet.
[/b]
[b][h2]Download Link :[/h2] [url]http://beatbattle-gamemode.googlecode.com/svn/trunk/[/url] (SVN)
[url]http://www.mediafire.com/?8a4l051jql82i4r[/url]
[/b]
[highlight]And sorry for my english :)[/highlight]
Lovely <3 :dance: GJ Bro. Thanks for making it a surprise instead of telling me when I had asked :D.
Server controlled gun firing. This is a concept I never considered before.
Before I settled on melonsurf I thought about doing the same with jumping, force players to jump on beats (more than your normal source jump), and then have them try and kill each other whilst the music throws them around.
I think the OP just won the GCC. Awesome job, keep it up.
Thanks everyone for the support :)!
ToDo list :
- Add a cool scoreboard.
- Make a nice HUD :).
- Finish the spectating system (perhaps you play a flash game while waiting for the current music to end?)
- Polish Everything!
Let the spectators interfere in the game at hand in minor ways, for example let them possess the blocks and move them slowly around, stuff like that. Enough to give them something to do but not enough so they can ruin it
Created a Hud. IM still finishing up the code before releasing it to public :) (Ill make a SVN using google)
The Hud is quite simple and nice looking (at least for my eyes). I will change the musics on it since youtube is being a douche to me (COPYRIGHT).
Check the main post.
Finished the Final HUD.
RE-Made the music weapon.
Remaking the beat system.
Added new Trace effect (currently using the lasertag texture)
Changed musics
Finishing up the AutoStart and stuff.
[QUOTE=failcake;37529358]The New HUD :
[img]http://i.imgur.com/EwdLm.png[/img][/QUOTE]
I think that "TotalFrags" should just be "Kills" or "Frags"
At the very least, use "Total Frags" with a space :p
[QUOTE=my_hat_stinks;37572475]I think that "TotalFrags" should just be "Kills" or "Frags"
At the very least, use "Total Frags" with a space :p[/QUOTE]
Changed it :), check it out on the main post. Also finished HUD.
New Map Being made.
Hey for adding music why don't you just add the function "SoundDuration(sound)" to get the time for you?
[QUOTE=jrj996;37627341]Hey for adding music why don't you just add the function "SoundDuration(sound)" to get the time for you?[/QUOTE]
Fairly sure it doesn't exist serverside.
New map! Screenshots coming soon. Adding new Songs. And re-checking code.
Going to release it today :)
The testing server is now open!
Ip : 84.107.247.132:27019
Please download musics at : [url]http://www.mediafire.com/?ghe3qz2h5vt8spw[/url] (no fastdl yet)
Gamemode SVN : [url]http://beatbattle-gamemode.googlecode.com/svn/trunk/[/url]
Gmod and Fraps decided to combine forces. Gmod fonts are all woawohdwohdwohwohwo to me and fraps won't load on gmod.
FUDGE!! Excellent Gamemode there! By the way, good luck finishing the gamemode fully :)
Great gamemode failcake, however I do have one question. It my just be a lack of intelligence on my part but how do we generate the beat files for our custom songs?
[QUOTE=Draze;37695862]Great gamemode failcake, however I do have one question. It my just be a lack of intelligence on my part but how do we generate the beat files for our custom songs?[/QUOTE]
[quote]Q: How are you getting the Beats?
A: Me and Bromvlieg (helped with the beat part) created a program in XNA (C#) that detects the beats on a music and saves it on a file. Then that file is used on the gamemode[/quote]
Fairly sure he said somewhere that he'd release the C# source as well.
I have an idea!
Make custom models for the blocks!
Simple blocks, with slightly rounded edges. Then you can apply an [I]env map [/I]and a[I] very slightly visible[/I] phong shader and all will look sexy too.
Then make custom skingroups for it, so hammer can be triggered to choose a random skin every color switch.
I'm guessing it's easier to script something for the blocks that way too, if they're models.
If you're going to make the spectators be able to manipulate stuff, or make it change color to the beats or something?
[QUOTE=_Kilburn;37696152]Fairly sure he said somewhere that he'd release the C# source as well.[/QUOTE]
Yeah, I was just asking if I had missed the download somewhere or if it was in another branch of his svn trunk.
Ye, im remaking it so its less buggy :
- The program gui freezes but it continues to parse.
- You need to recompile to add new musics.
- Your forced to listen to the whole music.
Also i've been busy with shcool stuff, so i don't have a lot of time to implement what i wanted to (spectator things and powerups). Also all the musics are less than 2 mins.
Edit : Released the C# parser, you will need C# Express 2010 and XNA 4.0 (For the moment.)
Heres a simple Tutorial (for advanced users):
1: Rename the song you want to parse to song (needs to be a .mp3).
2: Open the project using C# 2010 Express with XNA 4.0
3: Drag the renamed music to the project content (where the song.mp3 is).
4: Compile the program, listen to the music. After its done recording it will create a out.txt file.
5: Rename both file and music to what ever you want.
6: Put the music on the gamemode content (songs) and add the resourcething so people will download it from the server.
7: Place the txt file into content/Data/BeatBattle.
8: Open the lua file sh_MusicList in the sh folder inside gamemode.
9: Edit the AddMusic with your music name and the beat file.
[code]
AddMusic(
"Pain Game", -- The Music Name
"pain_game.mp3", -- Music Name Path
"pain_game" -- C# Xna Beat File Name
)
[/code]
10: Done.
AT the moment its quite hard to add custom musics since you do need the C# and xna to do it. Once im done with some things i will make it more simple.
Looks like garbage. There's just nothing to it.
Oh man, it looks like a public version of Gunstrumental from the Toybox.
I'll definitely check it out
Edit: It's pretty empty by now, t'sa shame
Judges are testing this one now.
i cant join the game / server
tells me Disconnect: Server uses different class tables.Disconnect: Server uses different class tables.
Sorry, you need to Log In to post a reply to this thread.