AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [L4D2] Tankhud interferes with the Tank Pass menu (https://forums.alliedmods.net/showthread.php?t=333525)

Tank Rush 07-18-2021 21:56

[L4D2] Tankhud interferes with the Tank Pass menu
 
Panel Tankhud interferes with the Tank Pass menu by disawar1, Here is a video
It is only possible to pass the tank when it is in play.
Is there a way to make the Passtank menu open before the tank spawn like in this other video?

I leave the code, what should I change here?
Spoiler

Marttt 07-19-2021 07:44

Re: [L4D2] Tankhud interferes with the Tank Pass menu
 
You can have only have one menu at time, that's why the menu "closes"
The TankHUD triggers every second so you aren't able to use the Menu choose interface.

some solutions:
creating a new forward that the tank hud plugin can detect that someone opened the tank pass menu (and block to trigger the tank hud panel to that specific player)
or
you can add a timer to the person that gets the tank (detect that player is tank) before displaying the HUD to them

Tank Rush 07-19-2021 21:19

Re: [L4D2] Tankhud interferes with the Tank Pass menu
 
Quote:

Originally Posted by Marttt (Post 2753128)
creating a new forward that the tank hud plugin can detect that someone opened the tank pass menu (and block to trigger the tank hud panel to that specific player)

this option would not be bad at all, but this is when the tank has spawned.
In the second video that I publish, the Tank Pass menu can be opened at any time, even when the tank has not spawned.
I use l4d_tank_control_eq.sp
Spoiler

With this I can pass the tank at any time, only it has no menu and the command !passtank only selects a random player to become the tank.
So why not add a menu to l4d_tank_control_eq.sp similar to the Tank Pass by disawar1 instead of randomly passing the tank to a player?

Marttt 07-20-2021 08:21

Re: [L4D2] Tankhud interferes with the Tank Pass menu
 
You can always ask the author for that.

https://github.com/alexberriman/l4d2...d_tank_control (original)

or

https://github.com/SirPlease/L4D2-Co..._control_eq.sp


All times are GMT -4. The time now is 19:08.

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