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

[ANY] Time Left Actions (3.0, 2015-May-01)


Post New Thread Reply   
 
Thread Tools Display Modes
daveyboye
Senior Member
Join Date: Aug 2008
Old 07-05-2011 , 12:56   Re: Timeleft Voice v1.5.30
Reply With Quote #61

Let me find a link for you. @ work right now and eventscripts website is blocked. What it does is allow you to play any defined sounds you want at specific time lefts.
daveyboye is offline
sipster19
Senior Member
Join Date: Mar 2011
Old 07-05-2011 , 21:01   Re: Timeleft Voice v1.5.30
Reply With Quote #62

http://addons.eventscripts.com/addons/view/time_left
sipster19 is offline
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Old 07-06-2011 , 15:10   Re: Timeleft Voice v1.5.30
Reply With Quote #63

well let me rephrase:"I don't know the plugin, I found it via google, but tell me what my plugin can't do".

__________________
[ SourceModPlugins.org ][ My Plugins ]

Thank you for donations: [ Paypal ]

Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
Chanz is offline
sipster19
Senior Member
Join Date: Mar 2011
Old 07-08-2011 , 00:58   Re: Timeleft Voice v1.5.30
Reply With Quote #64

I'd just like to see it work properly. I have been checking this thread quite often to see if you've released an update.
sipster19 is offline
daveyboye
Senior Member
Join Date: Aug 2008
Old 07-09-2011 , 01:51   Re: Timeleft Voice v1.5.30
Reply With Quote #65

Sorry I haven't got back to this in such a long time chanz. I'm just seeing if this plugin is capable of doing the same thing Hunters Time Left is before I actually make the switch. I'm trying to phase out eventscripts and was looking for a nice alternative. Here is an example of two scripts that Hunters addon does. The first is how I configure sounds to be played in the background, and the same is how I configure chat messages to appear on the server...all at time intervals determined by how much time is left on the server:

Code:
Content-Type: text/plain

"time_left_sound"
{
    "sounds"
    {
        // "{timeleft}" "{soundpath}"
        // {soundpath} relativ to sounds/ directionary of client games.
        // eg. "1" "npc/overwatch/radiovoice/one.wav"
        // Note: 1200 seconds = 20 minutes
        //
        //"1200" "admin_plugin/20min.mp3"        // 
        //////////////////////////////////////////////////////////
        //
      "880" "admin_plugin/time_left/galaxy_ss.mp3"
        "850" "admin_plugin/time_left/advisory_ss.wav"
        //"840" "admin_plugin/time_left/motdradio_ss.mp3"
        "820" "admin_plugin/time_left/visitwebsite_ss.mp3"
        //"810" "admin_plugin/time_left/becomearegular_ss.mp3"
        "790" "admin_plugin/time_left/skulshock_rap_ss.mp3"
        //"750" "admin_plugin/time_left/metal1_ss.mp3"
        "720" "admin_plugin/time_left/if_it_moves_ss.mp3"
        //"690" "admin_plugin/time_left/movebitch_ss.mp3"
        //"670" "admin_plugin/time_left/shotgunopera_ss.mp3"
        //"640" "admin_plugin/time_left/welcometothejungle_ss.mp3"
        "600" "admin_plugin/time_left/10_remaining_ss.mp3"
        //"580" "admin_plugin/time_left/metal2_ss.mp3"
        "550" "admin_plugin/time_left/advisory_ss.wav"
        //"530" "admin_plugin/time_left/cusssong_ss.mp3"
        //"490" "admin_plugin/time_left/visitwebsite_ss.mp3"
        "470" "admin_plugin/time_left/becomearegular_ss.mp3"
        //"440" "admin_plugin/time_left/goingcamping_ss.mp3"
        //"410" "admin_plugin/time_left/motdradio_ss.mp3"
        //"380" "admin_plugin/time_left/grenadepins_ss.mp3"
        //"350" "admin_plugin/time_left/if_it_moves_ss.mp3"
        "300" "admin_plugin/time_left/vote_hit_esc.mp3"
        //"280" "admin_plugin/time_left/boots_walking_ss.mp3"
        "250" "admin_plugin/time_left/skulshock_remix_ss.mp3"
        //"200" "admin_plugin/time_left/notgonnatakeit_ss.mp3"
        //"180" "admin_plugin/time_left/metal4.mp3"
        "150" "admin_plugin/time_left/visitwebsite_ss.mp3"
        //"140" "admin_plugin/time_left/becomearegular_ss.mp3"
        //"110" "admin_plugin/time_left/maninthebox_ss.mp3"
        "60" "admin_plugin/time_left/60_remaining_ss.mp3"
        "30" "admin_plugin/time_left/30_remaining_ss.mp3"
        //"23" "admin_plugin/time_left/bodies_ss.mp3"
        "7" "admin_plugin/time_left/321_7_bells_ss.mp3"
        "1" "admin_plugin/time_left/borat_iwin_ss.mp3"
    }
}
Code:
"time_left_text"
{
    // Note: Every text is shown GLOBAL to all players!
    //
    "texts"
    {
"875" "Welcome to Skul`Shock by Dirty`Dave"
"850" "Parental Discretion is Advised!"
"820" "Type MOTD and slect the music option to listen to the radio!"
"790" "Visit www.SKULSHOCKCOMMUNITY.com"
"760" "Become a Skul`Shock Regular at www.SKULSHOCKCOMMUNITY.com"
"730" "Please do not mic and sound whore!  Abusers will be kicked!"
"700" "Don't like the map, type rtv"
"670" "This server is hosted by Skul`Shock Servers"
"640" "Your Master Admin is Dirty`Dave"
"620" "Admin Associates are Rogue77`, Th`, 12Guage`, Hentality`, Smaj`, Smogboy`"
"617" "BeenieWeenie`, red_red_groovy`, Lady_Mortisha`, Statik`, Datkid`, Vinautomatic`,"
"614" "Brad`Pitt, Intestinal`Disgorge, Medical`Marijuana, Black`Justin, annexea`,"
"611" "oLd SkEWl SoLduRR, Dahlia`, joe`, Borat`Sagdiyev, amclint`, cheetara`"
"608" "Ballzdeep`, Krazy`, Thane`, and Dazn`"
"600" "10 minutes remaining"
"570" "Map, Settings, or any other suggestions, send them to [email protected]"
"540" "Our Servers Are Run By Donations, help us out at www.SKULSHOCKCOMMUNITY.com"
"490" "Visit www.SKULSHOCKCOMMUNITY.com"
"470" "Become a Skul`Shock Regular at www.SKULSHOCKCOMMUNITY.com"
"410" "Type MOTD and slect the music option to listen to the radio!"
"380" "Sound suggestions?  Send them to DirtyDave at [email protected]"
"350" "Type !soundlist and hit esc to bring up list of chat sounds!"
"300" "Hit esc now to vote!"
"270" "Our Servers Are Run By Donations, help us out at www.SKULSHOCKCOMMUNITY.com"
"210" "This is an open community!  Please be respectful of others!"
"190" "Please do not mic or sound whore!  Abusers will be kicked!"
"160" "Visit www.SKULSHOCKCOMMUNITY.com"
"130" "Become a Skul`Shock Regular at www.SKULSHOCKCOMMUNITY.com"
"100" "Skul`Shock brought to you by DirtyDave"
"60" "60 seconds remaining!  Let the bodies hit the floor!"
"30" "30 seconds remaining."
"15" "15 seconds remaining."
"10" "10 seconds remaining."
"5" "5 seconds remaining."
"1" "Skul`Shock is preparing next map..."
    }
}
daveyboye is offline
daveyboye
Senior Member
Join Date: Aug 2008
Old 07-16-2011 , 16:26   Re: Timeleft Voice v1.5.30
Reply With Quote #66

any response Chanz?
daveyboye is offline
daveyboye
Senior Member
Join Date: Aug 2008
Old 07-26-2011 , 13:48   Re: Timeleft Voice v1.5.30
Reply With Quote #67

Checking back again.
daveyboye is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-26-2011 , 14:40   Re: Timeleft Voice v1.5.30
Reply With Quote #68

@daveyboy:
This doesn't support printing custom strings to users.

Additionally, it expects all sounds to be named in a specific way and reads all sounds at the start of a map or whenever the "sm_timeleftvoice_path" cvar changes. This is documented in "sound/timeleft/readme, if you want to use custom sounds.txt" (no, I'm not kidding, that's the filename).

P.S.
I can't help but think that the code could be optimized a bit using a Trie for lookups and EmitSoundToAll to play the sounds...
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Old 07-26-2011 , 16:38   Re: Timeleft Voice v1.5.30
Reply With Quote #69

Quote:
Originally Posted by Chanz View Post
Give me some time I gonna rewrite it from scratch!
Yes this plugin could so much be optimized. :-)
__________________
[ SourceModPlugins.org ][ My Plugins ]

Thank you for donations: [ Paypal ]

Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
Chanz is offline
daveyboye
Senior Member
Join Date: Aug 2008
Old 08-04-2011 , 19:20   Re: Timeleft Voice v1.5.30
Reply With Quote #70

Hey Chanz, what sort of time table are we looking at? I'd really like to move completely off eventscripts and this is the last script I am trying to find an alternative for.
daveyboye 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 11:54.


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