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

[CS:GO] Model Sounds + Team Sounds V1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Author
tumtum
Senior Member
Join Date: Aug 2012
Plugin ID:
4055
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Put sounds on players!
    Old 01-18-2014 , 19:37   [CS:GO] Model Sounds + Team Sounds V1.0
    Reply With Quote #1

    Model Sounds

    What is it?
    With this plugin you can put sounds up to 6 models.

    For example:
    In our MG Server we have a homer skin.
    Search for a funny quote as MP3: http://www.jahozafat.com/TV_Shows/homer.html
    Put the model path and the sound path in the generated CFG and enable it for a model.

    Every player with an homer skin will make sound. And yes it comes from the player so not everyone can hear it Like real talking!

    You can setup the duration as example:
    Audiofile of 1sec in a loop (if you want it for a mod) = modelsnd_xx_duration 1.0
    You want to play the audiofile every 100 seconds? = modelsnd_xx_duration 100.0

    This plugin is compatible with all Skin Choosers or Stores.

    To use more sounds on 1 model, put then a model 2 times and set different times.
    Model 1 hello.mp3 = Duration every 100 seconds
    Model 1 imfine.mp3 = Duration every 150 seconds
    With this method, you can play more sounds on 1 model on different times.

    I think it works with css or tf2, but i'm not sure. Someone can confirm this?

    Options:
    There are a lot cvars and options and will be generated in a cfg:

    Code:
    // Model Sound Enable or Disable
    "modelsnd_m1", "0", "Enable Model 1 Sounds (Default Disabled)"
    "modelsnd_m2", "0", "Enable Model 2 Sounds (Default Disabled)"
    "modelsnd_m3", "0", "Enable Model 3 Sounds (Default Disabled)"
    "modelsnd_m4", "0", "Enable Model 4 Sounds (Default Disabled)"
    "modelsnd_m5", "0", "Enable Model 5 Sounds (Default Disabled)"
    "modelsnd_m6", "0", "Enable Model 6 Sounds (Default Disabled)"
    	
    // Team Sound Enable or Disable
    "modelsnd_t", "0", "Enable Team Sound for T"
    "modelsnd_ct", "0", "Enable Team Sound for CT"
    	
    // Duration Model Sound
    "modelsnd_m1_duration", "50.0", "Sound/Timer Duration Model 1"
    "modelsnd_m2_duration", "50.0", "Sound/Timer Duration Model 2"
    "modelsnd_m3_duration", "50.0", "Sound/Timer Duration Model 3"
    "modelsnd_m4_duration", "50.0", "Sound/Timer Duration Model 4"
    "modelsnd_m5_duration", "50.0", "Sound/Timer Duration Model 5"
    "modelsnd_m6_duration", "50.0", "Sound/Timer Duration Model 6"
    	
    // Team Duration
    "modelsnd_T_duration", "50.0", "Sound/Timer Duration T"
    "modelsnd_CT_duration", "50.0", "Sound/Timer Duration CT"
    	
    // Model Paths
    "modelsnd_m1_path", "models/player/xxxx/model.mdl", "Model 1 Path"
    "modelsnd_m2_path", "models/player/xxxx/model.mdl", "Model 2 Path"
    "modelsnd_m3_path", "models/player/xxxx/model.mdl", "Model 3 Path"
    "modelsnd_m4_path", "models/player/xxxx/model.mdl", "Model 4 Path"
    "modelsnd_m5_path", "models/player/xxxx/model.mdl", "Model 5 Path"
    "modelsnd_m6_path", "models/player/xxxx/model.mdl", "Model 6 Path"
    	
    // Sound Paths
    "modelsnd_m1_sndpath", "music/xxx/sound.mp3", "Model 1 Sound Path (without sound/)"
    "modelsnd_m2_sndpath", "music/xxx/sound.mp3", "Model 2 Sound Path (without sound/)"
    "modelsnd_m3_sndpath", "music/xxx/sound.mp3", "Model 3 Sound Path (without sound/)"
    "modelsnd_m4_sndpath", "music/xxx/sound.mp3", "Model 4 Sound Path (without sound/)"
    "modelsnd_m5_sndpath", "music/xxx/sound.mp3", "Model 5 Sound Path (without sound/)"
    "modelsnd_m6_sndpath", "music/xxx/sound.mp3", "Model 6 Sound Path (without sound/)"
    	
    // Team Sounds
    "modelsnd_T_sndpath", "music/xxx/sound.mp3", "T Sound Path (without sound/)"
    "modelsnd_CT_sndpath", "music/xxx/sound.mp3", "CT Sound Path (without sound/)"
    	
    // Volume
    "modelsnd_volume", "1.0", "(1.0 = Max volume | 0.0001 = Not audible)"
    Installation:
    Drop the smx in addons/sourcemod/plugin/ and configure the cfg.

    Background:
    Official used on our servers (Team-Secretforce.com) Take a look

    Enjoy
    Attached Files
    File Type: sp Get Plugin or Get Source (model_sounds.sp - 917 views - 13.4 KB)

    Last edited by tumtum; 01-18-2014 at 19:55.
    tumtum 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 18:17.


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