[ANY] Disco Mod! *Updated: 2/26/13
6 Attachment(s)
Description: If you may have noticed on event scripts there is a disco mod, well im here to tell you that i made that 2x better, with better effects, and better music playing! What i have done is that you can set up to 30 songs in a config file, with this it uses the MOTD panel function, so there's no reason you would need to make clients download large mp3's for something to simple. http://i.imgur.com/GXIPb.jpg How it works:
DO NOT TOUCH UNLESS YOU KNOW WHAT YOU'RE DOING. sm_disco_custommodel - Default "models/roller_spikes.mdl", Set this to a model that will be the disco ball. sm_disco_zoffset - Default "0.0", Offset on the Z pos for the lights.. sm_disco_rotation - Def: "11.25 0.0 11.25", Rotation of the ball. Custom Model (S-Low's Disco Ball) Cvars: sm_disco_custommodel "models/props/slow/spiegelkugel/slow_spiegelkugel.mdl" sm_disco_zoffset "42.0" sm_disco_rotation "0.0 11.25 0.0" PUT THESE IN YOUR: cfg/sourcemod/plugin.disco.cfg Please NOTE THAT YOU NEED TO USE THIS PLUGIN FOR DISCOBALL TO DOWNLOAD TO THE CLIENTS: SM DOWNLOADER http://i.imgur.com/rZIP4.jpg Current Bugs: (that cant be fixed!)
sm_disco_reloadconfig - Reloads the musicconfig.cfg, with out reloading the plugin. Also recache's the cvars Todo:
Please Note if you do not want a sound with version 0.1.7 you dont have to have a config file. and it will not play any music. The Config file must be saved in the sourcemod/config folder as: musicconfig.cfg Code:
"MusicConfig" Link Below Credits: DoctorMcKay, Even with out asking i used his url for his music :P Fearts, Gave me the idea to re-write the script into sourcemod. :D Changes: Code:
2/26/13 = 1.0.0: Deleted excess stuff, fixed some precache errors, made more cvars. |
Re: [ANY] Disco Mod! *Published: 3/16/12
Quote:
|
Re: [ANY] Disco Mod! *Published: 3/16/12
i went to go show him and he told me i should ask first D:, but he was iight with it.
|
Re: [ANY] Disco Mod! *Updated: 3/16/12
God damn dude. I suggest he make this like last night and it is already done. You're a beast dude.
|
Re: [ANY] Disco Mod! *Updated: 3/16/12
Most of it i tipped from like the mod ytou showed me (the admin flags)
The config was from my shop mod i changed some of it. and the disco timer was easy. i also ripped the sprites off of vog_fireworks. :P |
Re: [ANY] Disco Mod! *Updated: 3/17/12
2 Attachment(s)
EDIT: USE CODE IN OP
I am using a modified version with a real disco ball model made by S-Low. I attached the files to this post if your interested in the model version. http://i.imgur.com/rZIP4.jpg |
Re: [ANY] Disco Mod! *Updated: 3/17/12
Looks impressive, especially with the disco ball model.
I don't mind a few people using my bandwidth, but I'd appreciate if people could host their own MP3s. :) Can you take my URLs out of your default config? You might mention that music requires Flash For Other Browsers on the clients. Could a version be made that doesn't play music, only does the disco effects? Finally, it'd be nice if you removed the "Made by Mitch" thing in the menu. The majority of people using the plugin won't know who "Mitch" is, and if anyone cares who made it, there's sm plugins. Feedback on the code: PHP Code:
PHP Code:
Provide a command accessible to users to turn off the music. Telling them to type motd won't work if the server has a textual MOTD or if basetriggers isn't running. Please don't use a cvar for access to a command. Use RegAdminCmd instead and we can continue using our override system. |
Re: [ANY] Disco Mod! *Updated: 3/17/12
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
Re: [ANY] Disco Mod! *Updated: 3/17/12
24/7 cp_foundry no time limit. worked as I tested first but later nothiung happend. only menu could be opened.
PHP Code:
|
Re: [ANY] Disco Mod! *Updated: 3/17/12
Im not 100% sure how tf2 event's are.
|
All times are GMT -4. The time now is 15:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.