Thread: Mapend Sounds
View Single Post
Plugin Info:     Modification:          Category:          Approver:   Xanimos (85)
ntfs
Member
Join Date: Jun 2006
Location: Germany
Old 08-10-2006 , 17:38   Mapend Sounds
Reply With Quote #1

Another plugin that just plays sounds, but viewing the scoreboard without any music is quite boring, so i wrote this plugin....
You can add 94517436986... (and more ) sounds into the "Mapend-Sounds.cfg" the plugin will automaticly upload only the sound to the client, that will be played @ mapend.

If you specified a wrong path to a soundfile, the plugin automaticly will take another soundfile.
You also can mark sounds with ";" that you dont want to play.

Only use mp3 soundfiles wav is too big
Good files: ~20 sec. || 96kbit (64kbit) || 44kHz (22kHz) -----> 200kb

Code:
USED CVARS:
amx_mapend_sounds_advert - (0/1) Set to "0" if u want to disable advertising
If you want to compile the version on your own, u have to use the newest amxxpc compiler!

Code:
Installation:

Download mapend_sounds.amxx to amxmodx/plugins/
Add mapend_sounds.amxx to plugins.ini
Download matrix.mp3 to cstrike/sound/mapend-sounds/
Download Mapend-Sounds.cfg to amxmodx/configs/
Add mp_chattime 15 to amxmodx/configs/amxx.cfg
Change map or restart the server
Code:
Releaselist:

*** v 1.0 ***
          - First Release

*** v 1.1 ***
          - Some Bugfixes

*** v 1.2 ***
          - Added FCVAR

*** v 1.3 ***
          - use the file_size native instead of loops
          - use get_configsdir instead of using hardcoded path
          - fixed a declaration

*** v 1.31 ***
          - added info

*** v 1.32 ***
          - added Hudmessage

*** v 1.33 ***
          - fixed stupid bug :(
Attached Files
File Type: zip example_sound.zip (277.2 KB, 12376 views)
File Type: cfg Mapend-Sounds.cfg (30 Bytes, 8098 views)
File Type: sma Get Plugin or Get Source (mapend_sounds.sma - 11355 views - 1.7 KB)

Last edited by ntfs; 10-24-2006 at 11:48.
ntfs is offline