AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D1 & L4D2] Tank on Spawn (https://forums.alliedmods.net/showthread.php?t=323813)

Dragokas 04-29-2020 11:05

[L4D1 & L4D2] Tank on Spawn
 
1 Attachment(s)
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

Dragokas 04-29-2020 14:25

Re: [L4D1 & L4D2] Tank on Spawn
 
Re-uploaded, because included smx compiled with wrong GeoIP and forgot to turn off debugging mode.
No other changes.

Voevoda 04-29-2020 16:34

Re: [L4D1 & L4D2] Tank on Spawn
 
спасибо за труды

KasperH 04-30-2020 12:58

Re: [L4D1 & L4D2] Tank on Spawn
 
1 Attachment(s)
Added Hungarian.
- Updated

gamer_kanelita 05-02-2020 11:21

Re: [L4D1 & L4D2] Tank on Spawn
 
It would be fantastic if it were in Spanish, since I have my server :llorar:

Dragokas 05-02-2020 15:16

Re: [L4D1 & L4D2] Tank on Spawn
 
I don't know Spanish, but you can translate it using translations/l4d_TankOnSpawn.phrases.txt file.

Dragokas 05-17-2020 13:01

Re: [L4D1 & L4D2] Tank on Spawn
 
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.

Psyk0tik 05-17-2020 13:32

Re: [L4D1 & L4D2] Tank on Spawn
 
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. :)

Dragokas 05-17-2020 14:44

Re: [L4D1 & L4D2] Tank on Spawn
 
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.

Psyk0tik 05-17-2020 14:47

Re: [L4D1 & L4D2] Tank on Spawn
 
Quote:

Originally Posted by Dragokas (Post 2700735)
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.


All times are GMT -4. The time now is 21:46.

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