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

[L4D2] Tankhud interferes with the Tank Pass menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tank Rush
Senior Member
Join Date: May 2019
Location: Argentina
Old 07-18-2021 , 21:56   [L4D2] Tankhud interferes with the Tank Pass menu
Reply With Quote #1

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
__________________
Sorry i don't speak english very well

--->My name is Source and I'm on Steam<---
Discord: Source#9382
Tank Rush is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 07-19-2021 , 07:44   Re: [L4D2] Tankhud interferes with the Tank Pass menu
Reply With Quote #2

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
__________________

Last edited by Marttt; 07-19-2021 at 09:08.
Marttt is offline
Tank Rush
Senior Member
Join Date: May 2019
Location: Argentina
Old 07-19-2021 , 21:19   Re: [L4D2] Tankhud interferes with the Tank Pass menu
Reply With Quote #3

Quote:
Originally Posted by Marttt View Post
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?
__________________
Sorry i don't speak english very well

--->My name is Source and I'm on Steam<---
Discord: Source#9382
Tank Rush is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 07-20-2021 , 08:21   Re: [L4D2] Tankhud interferes with the Tank Pass menu
Reply With Quote #4

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
__________________
Marttt 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 02:16.


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