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

[DEV]Sound Wrapper


Post New Thread Reply   
 
Thread Tools Display Modes
Author
javalia
Senior Member
Join Date: May 2009
Location: korea, republic of
Plugin ID:
1969
Plugin Version:
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    gives Sound Wrapper function to devolopers
    Old 09-24-2010 , 14:56   [DEV]Sound Wrapper
    Reply With Quote #1

    this plugin is not for normal server admin or uses.
    this is for devolopers.

    u are tired to manage hundreds of sounds on your plugin?
    u need simple way to play random sound by 1 function call?
    u are tired to precache sound of plugin?

    than this plugin is for u!

    this plugin automatically precaches and select random sound from list of sound by masterkey

    masterkey is a string that determinds group of sound.

    in this soundwrapper, if u want to play a sound,

    u should use masterkey, instead of sound file`s path

    than plugin will automatically select 1 sound from sounds that having same masterkey and play

    to use this plugin, compile the plugin, and put inc file to include folder and use that inc file in your code.
    there is example code too!
    Attached Files
    File Type: sp Get Plugin or Get Source (SoundWrapper.sp - 416 views - 19.1 KB)
    File Type: sp Get Plugin or Get Source (soundwrappertest.sp - 281 views - 6.6 KB)
    File Type: inc SoundWrapper.inc (5.8 KB, 402 views)
    __________________

    Last edited by javalia; 10-07-2010 at 04:42.
    javalia is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 09-24-2010 , 15:56   Re: [DEV] Sound Wrapper
    Reply With Quote #2

    But as far i can tell you still have to 'register' every single soundfile? I thought it was something automated
    AtomicStryker is offline
    javalia
    Senior Member
    Join Date: May 2009
    Location: korea, republic of
    Old 09-25-2010 , 00:31   Re: [DEV] Sound Wrapper
    Reply With Quote #3

    Quote:
    Originally Posted by AtomicStryker View Post
    But as far i can tell you still have to 'register' every single soundfile? I thought it was something automated
    nice point. yes, u should still register every single sound. but, what should be a automatic way to regist sound? hm...some auto loading keyvalue files from specific folder? can u give me any idea that u imagine?
    __________________
    javalia is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 09-25-2010 , 12:19   Re: [DEV] Sound Wrapper
    Reply With Quote #4

    The problem is you basically can't make improvements. Sounds differ from game to game, you only want specific ones, you have to specify them one way or another.

    This Plugin is sort of an elaborate macro to skip precaching and add randomizing, but as a developer, you're gonna write that yourself anyway.
    AtomicStryker is offline
    javalia
    Senior Member
    Join Date: May 2009
    Location: korea, republic of
    Old 09-25-2010 , 13:22   Re: [DEV] Sound Wrapper
    Reply With Quote #5

    you are right. that is true. this plugin has intended to skep precache and randomize. well.....yes....lol...
    __________________
    javalia is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 09-26-2010 , 09:22   Re: [DEV] Sound Wrapper
    Reply With Quote #6

    Hey if you had fun coding it, thats all it takes

    I mean look at me .. writing the coolest competitive plugin nobody uses
    AtomicStryker 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 03:09.


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