Raised This Month: $32 Target: $400
 8% 

[L4D] Tank Wave Music (Finale Win Sound)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Plugin ID:
8532
Plugin Version:
1.3.3
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Playing custom downloadable music when tank wave appear or finale win
Old 08-12-2023 , 13:04   [L4D] Tank Wave Music (Finale Win Sound)
Reply With Quote #1

Description:
Allows to play your own music when:
  • tank wave appear
  • last tank killed on finale map (finale win)

Music should be provided manually and uploaded to content-server, with appropriate settings on client side game.
Don't ask about content-server here. It is offtopic. Find out on your own or ask at General section.

Note: this version done specially for forum, and it wasn't properly tested. Report if everything OK.

Features:
  • Plays (downloads to client) 2 tracks per map. Number can be adjusted in l4d_tank_wave_sound.sp only. See #define TRACKS_PER_MAP 2

Settings (ConVars):
cfg/sourcemod/l4d_tank_wave_sound.cfg:
PHP Code:
// Enable plugin (1 - On / 0 - Off)
l4d_tank_wave_sound_enable "1"

// Enable tank wave sound (1 - On / 0 - Off)
l4d_tank_wave_sound_wave_enable "1"

// Enable last tank kill sound on finales
l4d_tank_wave_sound_finale_enable "1" (On Off
Commands: (in DEBUG mode only)
sm_fin - imitate finale win, "z" flag
Data files:
Each music file should be put in separate line.
Prepending comment // is allowed for temporarily disable the music file.
PHP Code:
// Finale win sound files
data/tank_finale_sounds.txt

// Tank wave sound files
data/tank_wave_sounds.txt 
Requirements
- Left 4 Dragokas | API
Compatibility
- L4D1
- L4D2
Installation
- Fulfill the requirements above
- Set up the content-server
- Set up client side network settings to allow downloading files from content-server
- Upload music files on content server
- Write music file paths in data/ files according to examples in archive. Should be written without "sound/" prefix
- Upload as is on game server or compile on your own
Donate
Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon (Paypal)
- BitCoin
- Ю.Money
P.S.:
- It's my private plugin written for myself and my Bloody Witch team.
- Project and updates discontinued. Don't ask.
Attached Files
File Type: zip TankWave_Forum.zip (12.4 KB, 382 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 08-19-2023 at 21:13.
Dragokas is offline
Iizuka07
Senior Member
Join Date: Aug 2018
Location: Underground
Old 08-15-2023 , 23:25   Re: Tank Wave Music (Finale Win Sound)
Reply With Quote #2

Will this work on L4D2?
__________________
死が待っている
Iizuka07 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 08-16-2023 , 05:11   Re: Tank Wave Music (Finale Win Sound)
Reply With Quote #3

Yes, it should.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Iizuka07
Senior Member
Join Date: Aug 2018
Location: Underground
Old 08-16-2023 , 13:02   Re: Tank Wave Music (Finale Win Sound)
Reply With Quote #4

Quote:
Originally Posted by Dragokas View Post
Yes, it should.
Vey nice, thank you
__________________
死が待っている
Iizuka07 is offline
Iizuka07
Senior Member
Join Date: Aug 2018
Location: Underground
Old 08-16-2023 , 21:33   Re: Tank Wave Music (Finale Win Sound)
Reply With Quote #5

Gotta ask if there's a possible way to increase the volume, maybe add a setting to it because custom songs play very low in volume despite the game's increased volume. The songs are almost silent.
__________________
死が待っている
Iizuka07 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 08-19-2023 , 21:12   Re: [L4D] Tank Wave Music (Finale Win Sound)
Reply With Quote #6

@Iizuka07, no time atm, but you can replace SNDVOL_NORMAL with SNDLEVEL_GUNFIRE in code.
If it's still not enough, the only way to re-encode original audio files according to instruction like this (at spoiler).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
kochiurun119
BANNED
Join Date: Sep 2014
Location: GB
Old 08-26-2023 , 21:47   Re: [L4D] Tank Wave Music (Finale Win Sound)
Reply With Quote #7

L 08/27/2023 - 08:43:43: SourceMod error session started
L 08/27/2023 - 08:43:43: Info (map "c8m1_apartment") (file "E:\Online Games\CSGO\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 30827.log")
L 08/27/2023 - 08:43:43: [SM] Failed to load plugin "nextmap.smx": Nextmap is incompatible with this game.
L 08/27/2023 - 08:43:44: [SM] Exception reported: You failed at installing! Required library is missing: "Left 4 Dragokas": https://forums.alliedmods.net/showthread.php?p=2681138
L 08/27/2023 - 08:43:44: [SM] Blaming: l4d_tank_wave_sound.smx
L 08/27/2023 - 08:43:44: [SM] Call stack trace:
L 08/27/2023 - 08:43:44: [SM] [0] SetFailState
L 08/27/2023 - 08:43:44: [SM] [1] Line 56, E:\Online Games\CSGO\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_t ank_wave_sound.sp::OnPluginStart
L 08/27/2023 - 08:43:44: [SM] Unable to load plugin "l4d_tank_wave_sound.smx": Error detected in plugin startup (see error logs)
L 08/27/2023 - 08:43:48: Error log file session closed.

I install https://forums.alliedmods.net/showthread.php?p=2681138 but error looklike up. Can you fix?
kochiurun119 is offline
Send a message via ICQ to kochiurun119 Send a message via AIM to kochiurun119 Send a message via Yahoo to kochiurun119 Send a message via Skype™ to kochiurun119
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 08-27-2023 , 06:42   Re: [L4D] Tank Wave Music (Finale Win Sound)
Reply With Quote #8

Then, old error or you need to reboot the server.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
kochiurun119
BANNED
Join Date: Sep 2014
Location: GB
Old 08-28-2023 , 04:39   Re: [L4D] Tank Wave Music (Finale Win Sound)
Reply With Quote #9

Plugin only working Dedicated Server , sir? Can working Local Server?
kochiurun119 is offline
Send a message via ICQ to kochiurun119 Send a message via AIM to kochiurun119 Send a message via Yahoo to kochiurun119 Send a message via Skype™ to kochiurun119
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 08-28-2023 , 08:59   Re: [L4D] Tank Wave Music (Finale Win Sound)
Reply With Quote #10

maybe
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas 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 00:48.


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