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

[L4D1 & L4D2] Tank on Spawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Plugin ID:
7072
Plugin Version:
1.30
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
7 
Plugin Description:
Spawn tank on the first mission and double tanks on the next missions, menu & votes
Old 04-29-2020 , 11:05   [L4D1 & L4D2] Tank on Spawn
Reply With Quote #1

Description
Written as more reliable replacement of MultiTanks with other set of features.

This plugin spawns tank:
  • on first map after delay specified in ConVar when the first player leave safe area (see ConVars: l4d_tank_on_spawn_fm_chance, l4d_tank_on_spawn_add_tanks_firstmap)
  • duplicate tanks on the next maps each time when director spawn the tank

Tanks count to spawn can be adjusted:
  • directly by ConVar
  • by vote menu in any time
  • using balancer (based on current players count + game difficulty: see l4d_tank_on_spawn_players_X and l4d_tank_on_spawn_add_tanks_X ConVars).

Tanks spawn one by one with an interval defined in l4d_tank_on_spawn_interval ConVar.

Tank HP can be adjusted by:
  • ConVar
  • vote menu
  • autobalancer (players count + game difficulty)
  • or disable controlling hp at all
(if l4d_tank_on_spawn_countmode == 1, vote menu hp is preserved for all maps, otherwise it is preserved for current map only)

All votes are logged to logs/vote_tanks.log
By default, vote can be started by admin with StartVote "k" flag (adjusted by ConVar)

Features:
- spawn tank next to director's tank
- spawn tank on the first map
- autobalancer of hp and count
- max tanks control
- menu
- vote
- access levels
Compitibility:
- L4D1
- L4D2
Languages:
- Russian
- English
Settings:
Spoiler

If you want to enable balancer, you must setup such values:
PHP Code:
l4d_tank_on_spawn_control_hp "2"
l4d_tank_on_spawn_countmode "2" 
Commands:
User commands (with flag "l4d_tank_on_spawn_voteaccess"):
- sm_tank - Show tank spawn menu
- sm_tanks - same

Admin root commands:
- sm_veto - Allow admin to veto current vote.
- sm_votepass - Allow admin to bypass current vote.
Requirements:
  • GeoIP extension (included in SourceMod)
  • (optional) Left4DHooks Direct
  • Game director should work properly - If it doesn't spawn tank, this plugin doesn't append tank as well (excepting first map if you set l4d_tank_on_spawn_fm_chance > 0).
  • SourceMod v1.10+
Credits:
- Joshe Gatito (Aya Supai) - for some requests and tests
Conflicts:
- Supertanks and any plugin that hooks "z_max_player_zombies" ConVar and reset (lock) it immediately on its own (LOL, ask their authors why they do it).
* Note: "Mutant tanks" are supported since v8.66
ChangeLog
Spoiler


Donate
Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon (Paypal)
- BitCoin
- Ю.Money
Attached Files
File Type: zip TankOnSpawn.zip (43.6 KB, 869 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 04-06-2022 at 12:54.
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-29-2020 , 14:25   Re: [L4D1 & L4D2] Tank on Spawn
Reply With Quote #2

Re-uploaded, because included smx compiled with wrong GeoIP and forgot to turn off debugging mode.
No other changes.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 04-29-2020 at 14:50.
Dragokas is offline
Voevoda
Senior Member
Join Date: Aug 2016
Old 04-29-2020 , 16:34   Re: [L4D1 & L4D2] Tank on Spawn
Reply With Quote #3

спасибо за труды
Voevoda is offline
KasperH
Senior Member
Join Date: Apr 2016
Location: Hungary
Old 04-30-2020 , 12:58   Re: [L4D1 & L4D2] Tank on Spawn
Reply With Quote #4

Added Hungarian.
- Updated
Attached Files
File Type: txt l4d_TankOnSpawn.phrases.txt (4.4 KB, 318 views)
__________________

"I've Got You In My Sights!"

Last edited by KasperH; 05-19-2020 at 13:41.
KasperH is offline
gamer_kanelita
Senior Member
Join Date: Jun 2019
Location: Peru
Old 05-02-2020 , 11:21   Re: [L4D1 & L4D2] Tank on Spawn
Reply With Quote #5

It would be fantastic if it were in Spanish, since I have my server :llorar:
gamer_kanelita is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 05-02-2020 , 15:16   Re: [L4D1 & L4D2] Tank on Spawn
Reply With Quote #6

I don't know Spanish, but you can translate it using translations/l4d_TankOnSpawn.phrases.txt file.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 05-17-2020 , 13:01   Re: [L4D1 & L4D2] Tank on Spawn
Reply With Quote #7

Updated.

Quote:
1.17 (11-May-2020)
- Fixed "tank count '50'" option is not worked correctly.
- Added "tank hp balancer":
* New value "2" is added to "l4d_tank_on_spawn_control_hp" ConVar.
* New ConVars added "l4d_tank_on_spawn_hpfactor_X" where X - is a number of players up to 16.
* New ConVar: "l4d_tank_on_spawn_hpfactor_easy"
* New ConVar: "l4d_tank_on_spawn_hpfactor_normal"
* New ConVar: "l4d_tank_on_spawn_hpfactor_hard"
* New ConVar: "l4d_tank_on_spawn_hpfactor_expert"
- Added ConVar "l4d_tank_on_spawn_add_tanks_firstmap" to have ability to modify basic tanks count on first maps.
- "Left4DHooks Direct" plugin dependency is now optional, SM v.1.10+ is no more required.
- Added displaying tank number and total number to be spawned.
- Fixed some issues when tank forcibly spawn by director on first map.
- Corrected tank counting by including tank pre-dead state identifying.
Hungarian translation is refused. Required to update compatibility with new update.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 05-17-2020 , 13:32   Re: [L4D1 & L4D2] Tank on Spawn
Reply With Quote #8

Just an FYI: Mutant Tanks no longer modifies the "z_max_player_zombies" cvar since v8.66. I forgot MT even modified that cvar until I found this plugin. MT should be fully compatible with this plugin now, aside from the "sm_tank" command, but MT provides an "sm_tank2" command as an alias so it should be all good.
__________________
Psyk0tik is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 05-17-2020 , 14:44   Re: [L4D1 & L4D2] Tank on Spawn
Reply With Quote #9

Glad to hear it.
So, do I have menu appearing conflict with MT when user enter "sm_tank" ?

I also have "sm_tanks" alias, so I think it should be good too.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 05-17-2020 , 14:47   Re: [L4D1 & L4D2] Tank on Spawn
Reply With Quote #10

Quote:
Originally Posted by Dragokas View Post
Glad to hear it.
So, do I have menu appearing conflict with MT when user enter "sm_tank" ?

I also have "sm_tanks" alias, so I think it should be good too.
Yeah, MT shows its own menu, but it also allows users to use command arguments as an alternative. Overall, both plugins should be compatible with each other. It's up to the users to configure both plugins for their servers, not us.
__________________
Psyk0tik is offline
Reply



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 07:32.


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