Raised This Month: $51 Target: $400
 12% 

[TF2] My Little Pony Dispenser (ponyspenser)


Post New Thread Reply   
 
Thread Tools Display Modes
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-01-2011 , 15:49   Re: [TF2] My Little Pony Dispenser (ponyspenser)
Reply With Quote #31

Quote:
Originally Posted by nineteeneleven View Post
anyway to add a client side option to turn it off.
You mean per player? No, it's not possible. Both the graphics and sounds are added to the world itself. If it were just sounds that were played directly to players (like Quake Sounds), that would be different.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Rainicorn
Member
Join Date: Jun 2011
Location: Palo Alto, California
Old 08-11-2011 , 00:43   Re: [TF2] My Little Pony Dispenser (ponyspenser)
Reply With Quote #32

This mod is impressive... and cute! I love it to bits.

As the owner of a My Little Pony-themed server however, I already have a lot of custom content installed (map + sounds). I'm worried that players might have a lot to download in addition to all of these chiptunes and textures.

Would you please consider adding an option in a future version of this plugin so that we could choose to install the dispensers without the music, or at the very least select only one song to play?

Having the option to change the paths for the songs would be nice too, since then we could add our own, or just set it to a single song.

I just want to limit the download time for new users connecting to my server as much as possible, and that is difficult to do when trying to make everything as pony-themed as possible.

Great work on the plugin BTW -- it is absolutely adorable! ^_^

EDIT: I just noticed that in the sp there is a list of the songs and paths, so I could probably edit it as it is now. Disregard my post if that is the case. I am going to try it now~
__________________
=~ s/(.*)/<ditziness>$1<\ditziness>/g if any point you wish();

Last edited by Rainicorn; 08-11-2011 at 00:47.
Rainicorn is offline
Rainicorn
Member
Join Date: Jun 2011
Location: Palo Alto, California
Old 08-11-2011 , 02:20   Re: [TF2] My Little Pony Dispenser (ponyspenser)
Reply With Quote #33

Editing the sp did nothing, it still downloads and plays all the chiptunes. =( I can't find a link to the source either.
__________________
=~ s/(.*)/<ditziness>$1<\ditziness>/g if any point you wish();
Rainicorn is offline
FunkyLoveCow
Senior Member
Join Date: May 2010
Old 08-11-2011 , 08:58   Re: [TF2] My Little Pony Dispenser (ponyspenser)
Reply With Quote #34

Quote:
Originally Posted by Rainicorn View Post
Editing the sp did nothing, it still downloads and plays all the chiptunes. =( I can't find a link to the source either.
Did you recompile the sp?
FunkyLoveCow is offline
tatercrisp
SourceMod Donor
Join Date: Mar 2008
Location: Chicken Coop
Old 08-11-2011 , 19:10   Re: [TF2] My Little Pony Dispenser (ponyspenser)
Reply With Quote #35

How can i make so only admins get ponyspenser?
tatercrisp is offline
Rainicorn
Member
Join Date: Jun 2011
Location: Palo Alto, California
Old 08-11-2011 , 22:22   Re: [TF2] My Little Pony Dispenser (ponyspenser)
Reply With Quote #36

Quote:
Originally Posted by FunkyLoveCow View Post
Did you recompile the sp?
I might have done it wrong. I edited this part of the sp:

new String:Music[][PLATFORM_MAX_PATH]=
{
"ponyspenser\\at_the_gala.mp3",
"ponyspenser\\winter_wrap_up.mp3",
"ponyspenser\\friendship_is_magic.mp3",
"ponyspenser\\giggle_at_the_ghostes.mp3",
"ponyspenser\\you_gotta_share.mp3",
"ponyspenser\\art_of_the_dress.mp3",
"ponyspenser\\hush_now.mp3",
"ponyspenser\\cupcakes.mp3",
"ponyspenser\\cmc_theme.mp3",
"ponyspenser\\evil_enchantress.mp3",
"ponyspenser\\singing_telegram.mp3",
"ponyspenser\\poney_pokey.mp3"
};

I removed all the songs except for one. But it still plays/downloads all of them.

EDIT: Nevermind I think I did this wrong. D= I am going to try compiling and uploading and trying this again.

EDIT EDIT: Okay I got it to compile and work the way I wanted. =D Before I was deleting them all and just setting it to this:

Quote:
new String:Music[][PLATFORM_MAX_PATH]=
{
"ponyspenser\\song.mp3"
};
But all I did was break it I think. XD The way I got it to work was by leaving the code alone and renaming each song to the same song. Now it only downloads/plays one song like I wanted. =)

It looks super adorable on my server too. Everyone loves making dispensers just to see a new pony on it each time. I love this plugin!!

Sometimes when there are a lot of dispensers that get destroyed though, you still see the pony overlay just floating there after the dispenser died.
__________________
=~ s/(.*)/<ditziness>$1<\ditziness>/g if any point you wish();

Last edited by Rainicorn; 08-12-2011 at 00:21.
Rainicorn is offline
DarkEnergy
SourceMod Donor
Join Date: Apr 2008
Location: Georgia Tech, MSECE
Old 08-12-2011 , 20:04   Re: [TF2] My Little Pony Dispenser (ponyspenser)
Reply With Quote #37

for those who are concerned with user download content size (like me), i have converted the songs to 32Kbps mp3, saving you ~13megs of downloads with trivial degration in quality. its 8 bit music anyway.

and now i shall change my avatar to rainbow dash

Quote:
Originally Posted by napalm00 View Post
Quote:
Originally Posted by DarkEnergy View Post
O M F G
lol another pony hater?
btw can you make the ponies to move? THAT would be cool
COME AGAIN?


BUG: (idk if u can fix this) if an engineer builds a dispenser during "Waiting for players" period, and dispenser gets removed after the waiting period ends, the sound stays and plugin cannot stopsound because the overlay entity has already been removed. sound will still play until that mp3 expires;

BUG: LastMusic[dispenser][client]>=0) && LastMusic[dispenser][client]<10 would prevent songs 11 12.... from stopping properly.

FIX: use #define MUSICSDEFINED 12
and LastMusic[dispenser][client]>=0) && LastMusic[dispenser][client]<MUSICSDEFINED
Attached Files
File Type: zip ponyspencerOUT.zip (4.45 MB, 220 views)
__________________
War3:Source Developer
"Your CPU is just a bunch of Muxes"

Last edited by DarkEnergy; 08-13-2011 at 20:59.
DarkEnergy is offline
Eggman
Senior Member
Join Date: Jan 2010
Old 08-15-2011 , 14:29   Re: [TF2] My Little Pony Dispenser (ponyspenser)
Reply With Quote #38

Quote:
Originally Posted by Eggman View Post
  1. Install SDKHooks
  2. Install ponyspenser_14.zip to tf\ folder of server
  3. Do you use sv_downloadurl? Install ponyspenser_14_bz2.zip to tf\ folder or FastFTP, or clients will see ERROR...and no music.
  4. turn sv_pure to 0 or add custom resources of ponyspenser to sv_pure's whitelist.

<...>

Version 1.4
  1. Now player must type /pony into chat to build ponyspenser.
    1. Player don't needs type /pony in every map. Only once.
    2. List of players with ponyspenser is in tf\addons\sourcemod\configs\ponyspenser_list. cfg
  2. Added Pinkie's Parasprite Polka
  3. Added So Many Wonders
  4. Added Hop, Skip and Jump Beta
  5. Music has been compressed to 64kbps.
Eggman is offline
millmae
New Member
Join Date: Oct 2011
Old 10-19-2011 , 01:02   Re: [TF2] My Little Pony Dispenser (ponyspenser)
Reply With Quote #39

can i remodeling to this, and use it?
And i have a question.
What is this?

new Float:MusicTime[]={199.0,196.0,32.0,67.0,70.0,252.0,43.0,26.0, 140.0,39.0,14.0,82.5,48.5,88.0,22.5};

199.0

199 - seconds?
0 - repeat count?

Last edited by millmae; 10-19-2011 at 01:03.
millmae is offline
DarkEnergy
SourceMod Donor
Join Date: Apr 2008
Location: Georgia Tech, MSECE
Old 10-19-2011 , 01:22   Re: [TF2] My Little Pony Dispenser (ponyspenser)
Reply With Quote #40

no, its the music time in a floating point, aka decimal value, its just 199.0 seconds
__________________
War3:Source Developer
"Your CPU is just a bunch of Muxes"
DarkEnergy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode