AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved [L4D2] Tank Spawn Announcement with sound (versus) (https://forums.alliedmods.net/showthread.php?t=330277)

Marttt 01-31-2021 08:40

Re: [L4D2] Tank Spawn Announcement with sound (versus)
 
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.

Psyk0tik 01-31-2021 09:35

Re: [L4D2] Tank Spawn Announcement with sound (versus)
 
Quote:

Originally Posted by Tank Rush (Post 2734529)
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! :D

Quote:

Originally Posted by Marttt (Post 2734684)
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.

yabi 09-10-2021 13:56

Re: [L4D2] Tank Spawn Announcement with sound (versus)
 
Quote:

Originally Posted by Marttt (Post 2735022)
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

Marttt 09-10-2021 15:30

Re: [L4D2] Tank Spawn Announcement with sound (versus)
 
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.

BlackSabbarh 03-17-2022 16:47

Re: [L4D2] Tank Spawn Announcement with sound (versus)
 
Quote:

Originally Posted by Marttt (Post 2757425)
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?

Marttt 03-17-2022 17:21

Re: [L4D2] Tank Spawn Announcement with sound (versus)
 
Just remove the check below

PHP Code:

    if (g_bAliveTank)
        return; 


BlackSabbarh 03-27-2022 19:51

Re: [L4D2] Tank Spawn Announcement with sound (versus)
 
Quote:

Originally Posted by Marttt (Post 2774522)
Just remove the check below

PHP Code:

    if (g_bAliveTank)
        return; 



Thanks

cirno 04-21-2024 13:32

Re: [L4D2] Tank Spawn Announcement with sound (versus)
 
Quote:

Originally Posted by Marttt (Post 2735022)
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

Thank you very much for your plug-in


All times are GMT -4. The time now is 05:32.

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