ReFLeX Posted May 2, 2006 Share Posted May 2, 2006 Bonjour Je cherche un moyen d'avoir un sons perssonalizé par admin a la connextion de celui ci ex: je me connecte a mon serv et celui ci envoi un son perssonel qui indique au autre joueur que jarrive dans la parti "ces aussi pour voir les admins qui se connecte sans leur pseudo tags ;)" comment faire ... jai essayer de bidouiller le events script d'aprés les tuto deja disponible mais je nai pas reussis aidez moi merci beaucoup :) Quote Link to comment Share on other sites More sharing options...
Volti Posted May 2, 2006 Share Posted May 2, 2006 Et bien, il te sera plus facile d avoir une reponse sur le forum de Mattie et evenscritp specialise.... Je ne pense pas que ton probleme soit un probleme VG source :wink: Je deplace ton post dans la bonne partie du forum ++ Quote Link to comment Share on other sites More sharing options...
ReFLeX Posted May 2, 2006 Author Share Posted May 2, 2006 Connect_Sounds v1.1 Quick Description: Quote: Once you add a player's SteamID to the list, you can configure a sound to play and a message to display (that rhymes). It's as simple as editing a text file. Ideas for Usage: Quote: 1. When an admin connects. 2. When a clan member connects. 3. When a frequent player connects. 4. When a hottie connects... (off-base) Choosing a color for the messages: Quote: In the Connect_Sounds folder, located the server.cfg. Open the server.cfg and edit to the color that you want to use: Quote: // Choose the color of the message text // 0 = Gold // #lightgreen = Light Green // #green = Green es_xsetinfo xecs_color 0 How to modify the es_connect_sounds_db.txt: Quote: Initially, the database will have 3 sections you need to edit in order to add a player to the database. These are: STEAM_0:0:xxxxxxx sound message Here is an example of an "empty" database prior to editing that you will see. Highlighted in different colors are what you would edit to add a player to the connect_sounds database. Each color represents a different player's information added to the database: es_connect_sounds_db.txt wrote: "connect_sounds" { "STEAM_0:0:xxxxxxx" { "sound" "0" "message" "0" } "STEAM_0:0:xxxxxxx" { "sound" "0" "message" "0" } "STEAM_0:0:xxxxxxx" { "sound" "0" "message" "0" } "STEAM_0:0:xxxxxxx" { "sound" "0" "message" "0" } "STEAM_0:0:xxxxxxx" { "sound" "0" "message" "0" } "STEAM_0:0:xxxxxxx" { "sound" "0" "message" "0" } } Now, edit the information for each player: es_connect_sounds_db.txt wrote: "connect_sounds" { "STEAM_0:1:1234567" { "sound" "admin_plugin/mattie.mp3" "message" "(ADMIN) Mattie! has connected! Feel the scripts pulse through your veins!" } "STEAM_0:1:2345678" { "sound" "admin_plugin/hebans.mp3" "message" "He is Shro. He bans people...and he HAS connected!!!" } "STEAM_0:0:xxxxxxx" { "sound" "0" "message" "0" } "STEAM_0:0:xxxxxxx" { "sound" "0" "message" "0" } "STEAM_0:0:xxxxxxx" { "sound" "0" "message" "0" } "STEAM_0:0:xxxxxxx" { "sound" "0" "message" "0" } } 1. Be sure that you leave the quotations intact. 2. Your message can not contain quotes unless using the ' character. 3. If you only want to message when a player connects to the server, leave the sound value at "0". 4. If you want to play a sound but have no message, leave the message value at "0". 5. If you want the message to be a different color other than the gold, add #green or #lightgreen in front of the message. Make sure to add a space between #green/#lightgreen and your message. How to Auto-Download Custom Sounds with Mani: Quote: (located in cstrike\cfg\mani_admin_plugin\downloads.txt) downloads.txt wrote: "downloads.txt" { // Add any files you wish to have downloaded to a clients system in here // The key can be any name you wish. // The value must be the location on your server of the file "downloads" { "ManUp_Connect" "sound/admin_plugin/manup.mp3" "Shro_Connect" "sound/admin_plugin/hebans.mp3" "Mattie_Connect" "sound/admin_plugin/mattie.mp3" } } Installation: Quote: 1. Unzip. 2. Copy the Connect_Sounds folder to your eventscripts_subdirectory (if no eventscripts_subdirectory is specified, this will be cstrike/cfg) . 3. Place the following code in your autoexec.cfg: Code: eventscripts_register Connect_Sounds 4. Edit the es_connect_sounds_db.txt and add the players' SteamID, sound, and message (located in the Connect_Sounds directory). 5. You may have to restart your server or exec your autoexec.cfg if this update is done while the server is up. 6. Play away. Please feel free to suggest additional features, comments, or suggestions. I love feedback...especially the good kind!!! Special thanks goes out to Awuh0 for contributing some of the coding via the forums... http://www.mattie.info/cs/forums/viewtopic.php?t=2821 merci a toi volti :) Quote Link to comment Share on other sites More sharing options...
Volti Posted May 2, 2006 Share Posted May 2, 2006 de rien :wink: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.