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

MessageSound v2.1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CyberGuerrier
Senior Member
Join Date: May 2004
Old 12-26-2005 , 18:06   MessageSound v2.1.1
Reply With Quote #1

MessageSound v2.1.1

Presentation:
MessageSound it's a plugin for AMX/X allowing to play a sound saying by a player (say) by the player.

For example if a player during the plays say woohoo, and that in the directory sound/msound/ there exists a file woohoo.wav there will be to play, if there is not the plugin will seek the file woohoo.mp3 if there exists it will be to play the falling case and well it will not occur anything special

The files sounds to play by the plugin are to play in all the players to connect to the server, as well the file wav as mp3.



Installation of MessageSound:

Veiled in some stages how to install the plugin MessageSound 2

1 - To go in the directory of scripts for AMXX addons/amxmodx/scripting/

2 - Record the code of the plugin in your directory of scripts

3 - To compile the plugin execute compile.exe


NOTE: If you to use a MOD which as well does not use a MOTD HTML you must to edit this line:

Code:
#define MS_CSMOD

to modify it as follows:

Code:
//#define MS_CSMOD


4 - Installation of the plugin on the server:

copy the file addons/amxmodx/scripting/compiled/MessageSound2.amxx in the directory addons/amxmodx/plugins/

then open the file addons/amxmodx/configs/plugins.ini then all has the end of the file to add the line:

Code:
MessageSound2.amxx

5 - Install of the help files:

Copy the files msound_userhelp.txt, msound_adminhelp.txt and msound_cvarhelp.txt in the directory addons/amxmodx/configs


6 - Installation of the file of language:

To copy the file msound.txt in the directory addons/amxmodx/data/lang/


7 - Installation of the files sounds:

To go in the file sound/ of your MOD and create in this a sub directory named msound/ (sound/msound/) it is there in this file that you will have to place your file sounds (wav and mp3) that you to wish to be able to use with MessageSound



The different chat commands:

/msound switch
Allows not to hear the sounds more play by the plugin

/msound list
Allows to display the sounds installed on the server

/msound buy
Allows has a player to buy a new sound when the mod "credit" is to activate and that the number of its is to limited

/msound help
Display user help

/msound ahelp
Display the admin help (only if the player is an admin on the server else display anything)

/msound chelp
Display the CVARs list with their descriptions (only if the player is an admin on the server else display anything)



Console commands:

msound_play <sound>
Ex: msound_play woohoo
Allow an admin to play a sound with this command


msound_addsound < sound >
Ex: msound_addsound woohoo
Allow admins to reserve sounds that only the admins of the server will be able to play


msound_addcredit < name or userid > < number of credit(s) >
Ex: msound_addcredit Cyber 5
Allows the admins to give again credit has a player what allows has this same player of play gain the number of sounds gived by the admin, if the mod "credit" is to activate and that the number of sounds is limited




Configuration of MessageSound:

It is not obligatorily necessary to pass by this stage, except if you to wish to set the various options which the plugin MessageSound purpose.

The configuration of the plugin MessageSound is done by various clean CVARs already defined in the code , here is the list with their descriptions:


msound_enabled
Allows to activate or deactivate the plugin, 1 = to activate (by default) 0 = deactivate

msound_list_enabled
Allows to activate or deactivate the list of the sounds installed for the plugin, 1 = to activate (by default) 0 = deactivate

msound_list_cols
Allows to define the number of collones for the displaying of the sounds by the saying command /msound list (only for HTML displaying)

msound_admin_only
The mod "admin only" makes it's possible to activate so that only the admins can use the plugin by the msound_play command or by the say if the cvar msound_admin_chat is 1

msound_admin_chat
Allows to authorize that the admin passes by the chat to launch a sound when the plugin turns in mod "admin only"

msound_mask_say
Allows to mask the sounds said by the players (or the admins), 1 = to activate 0 = deactivate (by default)

msound_user_maxsound
Allows to define a maximum number of sounds by players, by default the maximum number is of 10 sounds, for not limited put the CVAR on -1

msound_user_control
Allows to authorize the players not to hear the sounds more play by the plugin by using the saying command /msound switch 1 = to authorize the switch 0 = to prohibit the switch (by default)

msound_credit
Allows to activate or deactivate the mod "credit" (which makes it possible to the player to repurchase sounds when it one reaches the limit its to fix by msound_user_maxsound), 1 = to activate (by default)/0 = deactivate

msound_credit_price
Define the price for the purchase of a sound when the mod "credit" is to activate, ($1000 per default)

msound_timer_enabled
Allows to activate or deactivate the "timer" of MessageSound allowing to fix a limit of time between each sounds to play by a same player, 1 = to activate (default) 0 = deactivate

msound_timer_playing
Allows to define time, in seconds, between each sounds being able beings to play by a same player when msound_timer_enabled is on 1, (120seconds (2minutes) by default)



The msound.zip is an archive contain some sounds.
Attached Files
File Type: zip msound.zip (210.1 KB, 734 views)
File Type: txt msound.txt (991 Bytes, 585 views)
File Type: txt msound_adminhelp.txt (358 Bytes, 509 views)
File Type: txt msound_cvarhelp.txt (1.3 KB, 504 views)
File Type: txt msound_userhelp.txt (622 Bytes, 488 views)
File Type: sma Get Plugin or Get Source (MessageSound2.sma - 2348 views - 19.6 KB)
__________________

Last edited by CyberGuerrier; 08-10-2006 at 19:38. Reason: Update
CyberGuerrier is offline
badboyz
Member
Join Date: Dec 2005
Location: East Brunswick NJ
Old 12-26-2005 , 20:42  
Reply With Quote #2

Great! Good JOB! Would go on my server.

One question... Where are the sounds?
__________________

Warcraft3 FT -=oG=- Clan
69.248.82.68:27016

-=oG=- Normal Server ~Tryout~
69.248.82.68:27023
-=oG=- Clan Website
badboyz is offline
Send a message via AIM to badboyz Send a message via MSN to badboyz
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 12-26-2005 , 21:14  
Reply With Quote #3

Code:
#else     #include <amdmod> #endif
amxmod*
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 12-26-2005 , 23:17  
Reply With Quote #4

A little redundant.
http://forums.alliedmods.net/showthr...?t=10368+sound
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
CyberGuerrier
Senior Member
Join Date: May 2004
Old 12-27-2005 , 05:36  
Reply With Quote #5

Quote:
Originally Posted by v3x
Code:
#else     #include <amdmod> #endif
amxmod*
It's for compatibility with AMX ( www.amxmod.net )

If u comment the #define MS_AMXX line you can compile the plugin on AMX 0.9.9 or higher.

But i have missed a letter (i have edited my plugin for corrected this)
__________________
CyberGuerrier is offline
CyberGuerrier
Senior Member
Join Date: May 2004
Old 12-27-2005 , 05:44  
Reply With Quote #6

Quote:
Originally Posted by badboyz
One question... Where are the sounds?
Sorry i missed to put the url for download the pack sound:
http://files.cyberguerrier.free.fr/f...ins/msound.rar

These sounds come from one can everywhere on the Net
__________________
CyberGuerrier is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 12-27-2005 , 06:15  
Reply With Quote #7

I think you missed v3x's point. You have #include <amdmod>. It should be #include <amxmod>.

If this plugin does the same as at least one other plugin here and only adds AMXMod support, what's the point in posting it? You know that we don't support AMXMod.
Brad is offline
CyberGuerrier
Senior Member
Join Date: May 2004
Old 12-27-2005 , 07:26  
Reply With Quote #8

Quote:
Originally Posted by Brad
I think you missed v3x's point. You have #include <amdmod>. It should be #include <amxmod>.
Thank i have edited and re-uploaded the sma file.

Quote:
Originally Posted by Brad
If this plugin does the same as at least one other plugin here and only adds AMXMod support, what's the point in posting it? You know that we don't support AMXMod.
This plugin is for AMX MOD X and AMX MOD not for only one of this.


Code from the plugin:

Code:
#define MS_AMXX //comment this line for AMX #if defined MS_AMXX     #include <amxmodx>     #include <engine> #else     #include <amxmod> #endif
__________________
CyberGuerrier is offline
badboyz
Member
Join Date: Dec 2005
Location: East Brunswick NJ
Old 12-27-2005 , 09:44  
Reply With Quote #9

Can you make the sound pack .zip and not .rar? Many people get confused...
__________________

Warcraft3 FT -=oG=- Clan
69.248.82.68:27016

-=oG=- Normal Server ~Tryout~
69.248.82.68:27023
-=oG=- Clan Website
badboyz is offline
Send a message via AIM to badboyz Send a message via MSN to badboyz
CyberGuerrier
Senior Member
Join Date: May 2004
Old 12-27-2005 , 09:54  
Reply With Quote #10

Quote:
Originally Posted by badboyz
Can you make the sound pack .zip and not .rar? Many people get confused...
It's done.
__________________
CyberGuerrier 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 15:46.


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