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

Solved [L4D2] Tank Spawn Announcement with sound (versus)


Post New Thread Reply   
 
Thread Tools Display Modes
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 01-31-2021 , 08:40   Re: [L4D2] Tank Spawn Announcement with sound (versus)
Reply With Quote #21

The warnings is because I left some code in the previous version to debug in case it didn't work (again).

Added a new version without warnings. You can download it above again.
__________________

Last edited by Marttt; 01-31-2021 at 10:10.
Marttt is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 01-31-2021 , 09:35   Re: [L4D2] Tank Spawn Announcement with sound (versus)
Reply With Quote #22

Quote:
Originally Posted by Tank Rush View Post
I am looking for a plugin that works as follows:
When the tank spawns, it announces itself in chat by making a sound
Here the sound:
sound/ui/pickup_secret01.wav
Here is the announcement of the chat:
[!]The Tank has been spawned!
I can't believe I haven't added this to Mutant Tanks yet. Thanks for the idea!

Quote:
Originally Posted by Marttt View Post
I really don't recommend using Super Tanks, the plugin is old, the author is inactive and has a lot of versions in the thread.

Try Mutant Tanks plugin.

At least the author is active, always nice and helping. Also seem to have the feature you are asking for.

Btw, if you share your SUPER TANKS plugin .sp file I can try to implement it since I don't know which file you are using. (The main post doesn't compile and Ernecio version gives me invalid gamedata)
Thank you for the kind words. I wish there was a way to advertise Mutant Tanks to everyone who still relies on Super Tanks. Even with all the more recent versions of that plugin, most of the code is still outdated. I had to rewrite 90% of the logic in MT because the old code from ST was just causing way too many bugs and random crashes. Unfortunately, that's hard to explain to users who have no knowledge/experience in programming.
__________________
Psyk0tik is offline
yabi
Senior Member
Join Date: Jun 2021
Location: Taiwan
Old 09-10-2021 , 13:56   Re: [L4D2] Tank Spawn Announcement with sound (versus)
Reply With Quote #23

Quote:
Originally Posted by Marttt View Post
Testing in my local server, the previous script work in coop and in versus (with 1 player). When there is more than 1 player (and in different teams) the plugin stops to work in versus after first spawn (weird).

I rewrote the plugin, try this:

Spoiler
I really need traditional characters><"
I don't know how to make
yabi is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-10-2021 , 15:30   Re: [L4D2] Tank Spawn Announcement with sound (versus)
Reply With Quote #24

There is no translation in this plugin you just need overwrite the "text" part.
I may release it as a plugin. I had hope that in the recent L4D2 updates this issue would have already been solved.
__________________

Last edited by Marttt; 09-19-2021 at 21:13.
Marttt is offline
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 03-17-2022 , 16:47   Re: [L4D2] Tank Spawn Announcement with sound (versus)
Reply With Quote #25

Quote:
Originally Posted by Marttt View Post
There is no translation in this plugin you just need overwrite the "text" part.
I may release it as a plugin. I had hope that in the recent L4D2 updates this issue would have already been solved.
Hi, when I use multitank and spawn 3 or 4 tanks at the same time, the sound only plays 1 time, how could I fix it so that it sounds 1 time for each Tank?
BlackSabbarh is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-17-2022 , 17:21   Re: [L4D2] Tank Spawn Announcement with sound (versus)
Reply With Quote #26

Just remove the check below

PHP Code:
    if (g_bAliveTank)
        return; 
__________________
Marttt is offline
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 03-27-2022 , 19:51   Re: [L4D2] Tank Spawn Announcement with sound (versus)
Reply With Quote #27

Quote:
Originally Posted by Marttt View Post
Just remove the check below

PHP Code:
    if (g_bAliveTank)
        return; 

Thanks
BlackSabbarh 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 06:32.


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