Raised This Month: $ Target: $400
 0% 

Loading Music II v1.2.9


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   VEN (29)
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 03-01-2007 , 10:38   Loading Music II v1.2.9
Reply With Quote #1

This is the most downloadable plugin of my collection in my country. Why not to release it right here? Here it is. Hope, you'll like its stability & new features.

Preamble:
* this plugin is intended to completely replace all the following
plugins: Loading Song (by Torch), Loading Song Advanced (by eFrigid) &
Loading Sound (by [OSA]Odin). This plugin will never replace
Loading Music (by Andrax2000) cause i don't like that concept.

Info:
* plugin for playing sound file or music track during connection to the
server, first team selection (under CS only) or during spectator mode.

Features:
* support for mp3/wav files
* playlist support ($AMXMODX/config/loading_music.ini or hardcoded by
g_sDefaultPlaylist array)
* support for separate playlist for each map (usage: just create
a playlist $AMXMODX/config/loading_music/<mapname>.ini)
* support for separate playlist for each group of maps (usage: just
create a playlist $AMXMODX/config/loading_music/<prefix>_.ini)
* up to 30 filenames (can be changed by MAX_TRACKS macro within the script
file)
* playlist-random/playlist-single-file/single-file playback modes
* precaching of any file within $AMXMODX/sound/ folder (in playlist
playback mode only)
* fadeout effect for mp3 tracks
* and more...

Notes:
* mp3/wav files can be placed anywhere within $MODDIR/, but only under
$MODDIR/sound/ folder they will be precached
* external playlist editing rules see inside .ini file supplied
with plugin

Installation:
* read install.txt inside .zip file

Requirements:
* any mod (preferably HLDM/CS/CZ)
* AMX/X 1.7x (or higher)
* Fakemeta module

New cvars:
* amx_loading_track <number|filename> (default=-1)
sets playback mode:
-1 - random order
0 - play nothing (disable plugin)
N - play single file from playlist (N=1..30)
filename - name of file to play ignoring the playlist (it's
a single-file playback mode); if this is a file under precache dir
it won't be precached
* amx_loading_loop <0|1|2> (default=0)
customizes loop mode playback:
0 - play mp3/wav until a player starts to play
1 - play mp3 once till the end; play wav as described above
2 - play mp3/wav forever (strongly do not recommend
if 'amx_loading_flags' cvar has no flag 'a')
* amx_loading_delay <float> (default=0.0)
if your clients often complain about silence while connecting to your
server try to set this cvar to non-zero number to delay (in sec)
playback after connection event has been triggered
* amx_loading_flags <flags> (default=abc)
a - play mp3 files only on player connection/spectating; otherwise
wav files are possible (strongly do not recommend to turn this flag
OFF because you may get an unstoppable ambient cyclic sound during
the game)
b - play mp3 on spectate; otherwise stop playing track when player
goes to spectator
c - (CS specific) play wav files only on team select; otherwise
connection track will continue playing (under CS it can be turned off
by the game; try using flag 'd' to fix this issue)
d - (CS specific) restart a track on team select to fix a CS bug;
has minor priority than flag 'c'
e - don't play a spectator track on dead players (consider to use it
if you enabled flag 'b')

Known issues:
* mp3 track will continue playing if player disconnects before
he is spawned for the first time; in such a case client should manually
execute 'mp3 stop' or 'stopsound' command in console to stop playing a
track (impossible to fix)
* on loading you may notice a short gap while music is playing;
it's a client related problem (impossible to fix)

TODO:
* apply fadeout effect for wav files

Credits:
* White Panther for the idea

History:
1.2.9 [2007-05-05]
! fixed a bug when the last player in team was dead
and a new round was started, a track was played on him till the end; this bug occasionally occured under CS when flag 'b' was active
+ added new flag 'e' to not play a track on dead players when they
temporarily become a spectators
* Fakemeta module is required now
1.2.8 [2007-03-31]
! fixed improper storing of file extension
! fixed a potential bug when mp3 files under 'sound' folder were not precached
1.2.7 [2007-03-23]
+ added support for separate config files for maps by prefix
(again req. by arkshine)
... (see .sma file for full changelog)
Attached Files
File Type: zip loading_music2-1.2.7.zip (176.1 KB, 17586 views)
File Type: zip loading_music2-1.2.8.zip (176.1 KB, 11357 views)
File Type: zip loading_music2-1.2.9.zip (177.9 KB, 30831 views)
File Type: sma Get Plugin or Get Source (loading_music2.sma - 24174 views - 24.8 KB)
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm

Last edited by Simon Logic; 05-08-2007 at 10:18. Reason: updated
Simon Logic is offline
Send a message via Skype™ to Simon Logic
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-01-2007 , 11:29   Re: Loading Music II v1.2.5
Reply With Quote #2

Very nice !

I will try asap.



EDIT : can you add a per-map feature please ? I mean to define sounds by map. It's useful on my server because the sounds are played according map ambience.
__________________

Last edited by Arkshine; 03-01-2007 at 11:37.
Arkshine is offline
HighX
Junior Member
Join Date: Feb 2007
Location: OH
Old 03-01-2007 , 18:12   Re: Loading Music II v1.2.5
Reply With Quote #3

Cool. Going to go load this on.
HighX is offline
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 03-02-2007 , 06:37   Re: Loading Music II v1.2.5
Reply With Quote #4

Damn, i used old .wav samples while creating a loading_music2-1.2.5.zip file. Fixed! Please, redownload .zip.

arkshine, ok, i'll consider later. I think it would be a one .ini file per each map. E.g. loading_music-de_dust.ini for De Dust map. Or a separate folder to leave configs folder clean enough.
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 03-03-2007 , 10:48   Re: Loading Music II v1.2.5
Reply With Quote #5

I can't make a decision on this, so for now it's going to be the only plugin in the new submissions. There's no record of anyone saying it works, and it's sort of redundant.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 03-03-2007 , 12:30   Re: Loading Music II v1.2.5
Reply With Quote #6

Somebody told that there is no 100% working plugin today. Also i was too unsatified with existent plugins. I think that those plugins are redundant rather than mine because they are abandoned & contain bugs.

> There's no record of anyone saying it works
There is no answers that it does not work also. By default that should mean that everything is ok because people usually post bad news than good one.

Also i'm open to fix any touble with this plugin if one detects it.

Well, let's wait for answers.
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm

Last edited by Simon Logic; 03-03-2007 at 20:44. Reason: damn grammar mistakes
Simon Logic is offline
Send a message via Skype™ to Simon Logic
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-03-2007 , 12:35   Re: Loading Music II v1.2.5
Reply With Quote #7

I'm testing...
__________________
Arkshine is offline
6pack
BANNED
Join Date: Mar 2006
Location: Cedarhurst, Long Island
Old 03-03-2007 , 23:17   Re: Loading Music II v1.2.5
Reply With Quote #8

This plugin is not all that great. For a server that has many mods, it makes people download more crap.
Loading sounds (HL Sounds) is a much better plugin.
Also, I can't find it right now but there is an AMX plugin out there that was ported that does not have all the crap that this 1 does and worked like a charm.....iF I find i Will post it for ya.

Last edited by 6pack; 03-03-2007 at 23:21.
6pack is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 03-03-2007 , 23:34   Re: Loading Music II v1.2.5
Reply With Quote #9

Quote:
Originally Posted by 6pack View Post
This plugin is not all that great. For a server that has many mods, it makes people download more crap.
Loading sounds (HL Sounds) is a much better plugin.
Also, I can't find it right now but there is an AMX plugin out there that was ported that does not have all the crap that this 1 does and worked like a charm.....iF I find i Will post it for ya.
Yeah, for once I agree with you.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Optimus Prime
BANNED
Join Date: Jan 2007
Old 03-04-2007 , 00:08   Re: Loading Music II v1.2.5
Reply With Quote #10

Quote:
Originally Posted by 6pack View Post
This plugin is not all that great. For a server that has many mods, it makes people download more crap.
Loading sounds (HL Sounds) is a much better plugin.
Also, I can't find it right now but there is an AMX plugin out there that was ported that does not have all the crap that this 1 does and worked like a charm.....iF I find i Will post it for ya.
Does this plugin do more than play loading sounds? I am confused by the endless description
Optimus Prime is offline
Reply


Thread Tools
Display Modes

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:46.


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