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

KK Random Intro


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Camaron
Member
Join Date: Jan 2007
Location: Torrevieja, Spain
Plugin ID:
619
Plugin Version:
0.1.0.2
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    KK Random Intro plugin
    Old 10-28-2008 , 20:10   KK Random Intro
    Reply With Quote #1

    Ok so I read the rules and hope I remember them all.

    Plugin plays a random *.mp3 file from a given directory (defaults to sound/intros) each mapchange.

    convars:
    kk_intro_version: version number.
    kk_intro_prefix: directory under <modname>/sound/. Defaults to "intros/". Trailing slash probably imperative! I myself have not tested that feature, I believe it works though. If in doubt, try intros/

    Based on: joinsnd/"Welcome Sound", by R-Hehl.

    Included in archive are 2 .mp3 files for testcase.
    Install:
    1 - Make sure there's actually .mp3 files in sound/intros/ or whatever you specified.
    2 - kk_intros.smx in plugins/
    3 - sm plugins load kk_intro

    Changelog:
    + check if file exists before precaching and adding to downloadtables

    + changed cvar name.
    + included source

    Greetings to Bailopan.
    Attached Files
    File Type: rar kk_intro.rar (2.54 MB, 1249 views)
    File Type: sp Get Plugin or Get Source (kk_intro.sp - 2140 views - 2.0 KB)

    Last edited by Camaron; 11-02-2008 at 11:47. Reason: adding source
    Camaron is offline
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 10-29-2008 , 08:47   Re: KK Random Intro
    Reply With Quote #2

    nice work! =)

    i need a RANDOM intro player too long time.
    but noone want to realise it.

    thanks!
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    ottobohn
    Senior Member
    Join Date: Sep 2007
    Old 10-30-2008 , 03:21   Re: KK Random Intro
    Reply With Quote #3

    Glad you guys did this. We have a MOTD that plays an mp3, but I'd like to get random like this.. Thanks!

    otto
    ottobohn is offline
    Liam
    SourceMod Developer
    Join Date: Jan 2008
    Location: Atlanta, GA
    Old 10-31-2008 , 10:53   Re: KK Random Intro
    Reply With Quote #4

    You need to attach the source to the original post and not in a zip file.
    __________________
    Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

    Weapon Restrictions w/ Warmup
    High Ping Kicker - Lite Edition
    AFK Manager
    Liam is offline
    Camaron
    Member
    Join Date: Jan 2007
    Location: Torrevieja, Spain
    Old 11-01-2008 , 12:08   Re: KK Random Intro
    Reply With Quote #5

    sorry
    __________________
    Camaron is offline
    Huski
    Junior Member
    Join Date: Jul 2008
    Location: Germany
    Old 11-01-2008 , 14:45   Re: KK Random Intro
    Reply With Quote #6

    This Plugin is waht i search a long time. but i didnīt get it to run. when i start the plugin, the server will crash. this is the error


    Code:
    Host_Error: CEngineSoundServer::PrecacheSound:  Bad string:
    Huski is offline
    [DevilsBrigade]Liberator
    Junior Member
    Join Date: Oct 2008
    Old 11-02-2008 , 10:19   Re: KK Random Intro
    Reply With Quote #7

    So does this work or not?
    [DevilsBrigade]Liberator is offline
    Camaron
    Member
    Join Date: Jan 2007
    Location: Torrevieja, Spain
    Old 11-02-2008 , 11:49   Re: KK Random Intro
    Reply With Quote #8

    fixed to not to precache if there's no files found.
    Huski, did you change kk_intro_prefix?
    Did you actually have mp3 files under sound/intros/?
    __________________
    Camaron is offline
    geimeris
    New Member
    Join Date: Jan 2008
    Old 11-06-2008 , 14:50   Re: KK Random Intro
    Reply With Quote #9

    OK ur plugin looks nice but it wont work for me i use 1.1 snapshot mesages show up n all but the sound wont play... It shows precach errors in the console :" yes the folder is left at the defaut value there are files in it... the sounds are downloaded...But they WON'T play :"
    P.S. sry for my bad english
    geimeris is offline
    Camaron
    Member
    Join Date: Jan 2007
    Location: Torrevieja, Spain
    Old 11-10-2008 , 09:53   Re: KK Random Intro
    Reply With Quote #10

    I'll fix it tonight or tomorrow night.
    __________________
    Camaron 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 17:50.


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