[L4D2] Block finale rescue infinite tanks
Originally this plugin* blocks one of the two tank spawning in the finale event. This is not what i want to do, but i think it could be a good base for my idea except i don't know what to change.
What i want to do is blocking the extra tanks who spawn to infinity when the rescue vehicle is comming for survivors (the third tank ect) for balance purpose. I guess the "tankicount" will have to be changed to something else, also "m_bInSecondHalfOfRound" should be replaced by something like "m_bInSendInRescueVehicle" maybe ? By the way i guess it is going to create conflicts as all finales don't work the same way (dead center, the sacrifice, ect) * the plugin in question: https://github.com/SirPlease/L4D2-Co...ank_blocker.sp |
Re: [L4D2] Block finale rescue infinite tanks
Quote:
https://github.com/fbef0102/L4D1-Com...oEscapeTank.sp you probably need to modify since this needs old left4downtown extension |
Re: [L4D2] Block finale rescue infinite tanks
1 Attachment(s)
There is no such thing as a "m_bInSendInRescueVehicle" prop according to the datamap and netprop dumps. What you could maybe do is check for finale type 6 (Rescue vehicle is ready) and block it.
According to Left 4 DHooks' documentation for L4D2_OnChangeFinaleStage, that finale type only signals endless Hordes/Tanks, which sounds like the infinite Tanks you're referring to. Of course, this would mean that hordes will stop spawning as well so only the six special infected will spawn. You also have the other option of blocking Tank spawns when the finale type is 6. Here's a plugin that allows you to pick between the two options I explained. I've tested both options on Dark Carnival's finale. Requires Left 4 DHooks: https://forums.alliedmods.net/showthread.php?t=321696 PHP Code:
|
Re: [L4D2] Block finale rescue infinite tanks
This works for regular finales, perfect.
|
Re: [L4D2] Block finale rescue infinite tanks
Quote:
|
Re: [L4D2] Block finale rescue infinite tanks
Quote:
|
Re: [L4D2] Block finale rescue infinite tanks
i have no knowledge in this but why not just count and kick the extra tank? they are playable char. or just slay it.. aka ask them to suicide.
|
Re: [L4D2] Block finale rescue infinite tanks
In some servers killing a tank gives "points", so it could be used as an exploit (depends on)
Crasher method prevents the spawn by checking the finale type, which is the best solution besides the l4dhooks dependency |
Re: [L4D2] Block finale rescue infinite tanks
Quote:
|
| All times are GMT -4. The time now is 05:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.