Raised This Month: $7 Target: $400
 1% 

[ANY] EnterSounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Kemsan
Member
Join Date: Sep 2009
Location: Poland, Bytom
Plugin ID:
2179
Plugin Version:
1.6
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    31 
    Plugin Description:
    After connect too server - you hear random sound / music
    Old 01-18-2011 , 10:10   [ANY] EnterSounds
    Reply With Quote #1

    EnterSounds v1.6

    Description:
    After connect to server - you hear random sound / music

    Cvars:

    sm_enter_sounds_version - Version of plugin
    sm_enter_sound - Enable/Disable(1/0) enter sounds
    sm_enter_sound_notify - Enable/Disable(1/0) notyfi in enter sounds
    sm_enter_sound_notify_msg - Notify msg - "{olive}You listen {green}{SOUND_NAME}{olive}. Have fun", where {SOUND_NAME} are sound name to show
    sm_enter_sound_delay - Play sound after X delay seconds (def. 0.1 )
    sm_enter_sound_notify_delay - Show sound notify after X delay seconds (def 0.1 )
    sm_enter_sound_play_type - 0 - play client command (play X), 1 - play from sdk sound command (EmitSound) (def. 0 )
    sm_enter_sound_color_msg - 0 - turn off color chat print, 1 - turn on color chat print (def. 1 )

    Changelog:
    • Version 1.1 (18.01.2011)
      • Initial/Public Release
    • Version 1.3.5 (06.05.2011)
      • Many bugfixes
      • Two new cvars - sm_enter_sound and sm_enter_sound_notify (default 1)
    • Version 1.4 (18.06.2011)
      • Bugfix
    • Version 1.5 (21.08.2011)
      • New cvars
        • sm_enter_sound_notify_msg - Notify message, no hardcoded now! (def "{olive}You listen {green}{SOUND_NAME}{olive}. Have fun", where {SOUND_NAME} are sound name to show )
        • sm_enter_sound_delay - Play sound after X delay seconds (def. 0.1 )
        • sm_enter_sound_notify_delay - Show sound notify after X delay seconds (def 0.1 )
        • sm_enter_sound_play_type - 0 - play client command (play X), 1 - play from sdk sound command (EmitSound) (def. 0 )
    • Version 1.6 (28.08.2011)
      • Fixed "Client X not connected" bug
      • New cvar
        • sm_enter_sound_color_msg- 0 - turn off color chat print, 1 - turn on color chat print (def. 1 )

    Installation:

    • Put enter_sounds.smx to sourcemod/plugins
    • Put enter_sounds.sp to sourcemod/scripting
    • Put enter_sounds.txt to sourcemod/configs
    In .zip you find sample of enter_sounds.txt
    Wait for change map or write in rcon - sm plugins load enter_sounds

    Plugin using:
    Warning! Werborten! Uwaga!

    If you do not hear music after download it from server - restart your Team Fortress 2 / CS:S / DOD:S, any other game.

    Sorry for my bad english:]
    Attached Files
    File Type: zip enter_sounds.zip (702.4 KB, 4525 views)
    File Type: smx enter_sounds.smx (8.9 KB, 1438 views)
    File Type: sp Get Plugin or Get Source (enter_sounds.sp - 1211 views - 6.3 KB)
    File Type: txt enter_sounds.txt (44 Bytes, 1899 views)
    __________________

    Last edited by Kemsan; 08-28-2011 at 11:42. Reason: Version update.
    Kemsan is offline
    Kemsan
    Member
    Join Date: Sep 2009
    Location: Poland, Bytom
    Old 01-24-2011 , 11:49   Re: [ANY] EnterSounds
    Reply With Quote #2

    Uploaded again. Enjoy
    Kemsan is offline
    blue zebra
    BANNED
    Join Date: Jun 2010
    Old 02-21-2011 , 08:07   Re: [ANY] EnterSounds
    Reply With Quote #3

    CRC error in the mp3 file.
    blue zebra is offline
    daveyboye
    Senior Member
    Join Date: Aug 2008
    Old 02-22-2011 , 10:36   Re: [ANY] EnterSounds
    Reply With Quote #4

    Can you use SteamID #'s instead of names? Also, can you add enter text too? For example when I enter, it will play my sound and also include a on-screen message that says, "Beware, Master Admin Dirty`Dave has entered the server."
    daveyboye is offline
    xomp
    BANNED
    Join Date: Jul 2008
    Old 02-23-2011 , 10:28   Re: [ANY] EnterSounds
    Reply With Quote #5

    Doesn't work. The mp3 isn't getting pushed to clients.
    xomp is offline
    Send a message via Skype™ to xomp
    tejeskifly
    Senior Member
    Join Date: Jun 2009
    Location: Hungary, Szeged
    Old 04-23-2011 , 08:51   Re: [ANY] EnterSounds
    Reply With Quote #6

    Don't work
    tejeskifly is offline
    Send a message via MSN to tejeskifly
    Kemsan
    Member
    Join Date: Sep 2009
    Location: Poland, Bytom
    Old 05-31-2011 , 18:44   Re: [ANY] EnterSounds
    Reply With Quote #7

    Updated to 1.3.5 - must work!
    Kemsan is offline
    xomp
    BANNED
    Join Date: Jul 2008
    Old 05-31-2011 , 20:59   Re: [ANY] EnterSounds
    Reply With Quote #8

    works!
    xomp is offline
    Send a message via Skype™ to xomp
    Fearts
    ferts of daeth
    Join Date: Oct 2008
    Old 06-01-2011 , 13:35   Re: [ANY] EnterSounds
    Reply With Quote #9

    Not trying to bad mouth your script but why not just add the sound clip as a stream in MOTD?

    Code:
    <embed src="LINKHERE.wav" hidden="true" autostart="true" loop="0"></embed>
    This way you don't have to make your players download another file.
    __________________
    Fearts is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 06-01-2011 , 13:36   Re: [ANY] EnterSounds
    Reply With Quote #10

    Quote:
    Originally Posted by Fearts View Post
    Not trying to bad mouth your script but why not just add the sound clip as a stream in MOTD?

    Code:
    <embed src="LINKHERE.wav" hidden="true" autostart="true" loop="0"></embed>
    From what I understood, MOTD doesn't allow that anymore...
    TnTSCS is offline
    Reply


    Thread Tools
    Display Modes

    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:34.


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