AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Super Tanks (https://forums.alliedmods.net/showthread.php?t=165858)

Machine 08-28-2011 00:11

[L4D2] Super Tanks
 
3 Attachment(s)
Description:

This plugin adds 16 Unique Types of Finale Tanks to Coop and Realism gamemodes!
It will also control the number of tanks, how many per wave, and which tanks to fight in a finale.
Now you can tweak just about all the settings for the custom tanks.

The Tanks:

Spawn Tank - Spawns common zombies around itself, can cause vomit effect when it attacks
Spitter Tank - Throws spit projectiles, attacking it with melee can cause acid pools to appear at its feet
Warp Tank - Teleports to random survivors, deals double damage
Jockey Tank - Throws jockeys, has an increase in movement speed
Fire Tank - Throws flame rocks, attacking it with melee can cause spontaneous combustion
Cobalt Tank - No throw ability, but can move at super sonic speed causing a blurred effect when attacking
Ghost Tank - Invisible, can cause special infected around him to become invisible, attacking it with melee can make weapon drop
Meteor Tank - Attacking it will melee can cause meteor falls around itself
Ice Tank - When it attacks, it can cause player movement freeze
Shield Tank - This tank spawns with a shield, it throws propane tanks, destroy the propane tanks to disable its shield and kill it
Shock Tank - This tank can slow players movement speed when it attacks
Witch Tank - Any common zombies around this tank turn into witches, the witches are less powerful than normal
Heal Tank - This tank heals itself from being around other zombie types, it heals the fastest around other tanks
Smasher Tank - This tank will gib survivors when it strikes, its very slow and unlike all the others its not immune to molotovs
Jumper Tank - A constantly jumping tank looking for his next victim
Gravity Tank - Creates a gravity well to pull survivors towards it, his claw attack sends its victims hurling through the air

Cvars:

Code:

st_on                        "Is Super Tanks Enabled?"                    //Default is 1
st_display_health            "Display tank health in crosshair?"            //Default is 1
st_wave1_tanks                "How many tanks in the first wave?"        //Default is 1
st_wave2_tanks                "How many tanks in the second wave?"        //Default is 2
st_wave3_tanks                "How many tanks in the finale escape?"        //Default is 3
st_finale_only                "Create Super Tanks in finale only?"        //Default is 1
st_default_tanks        "Only use default tanks?"                //Default is 0

st_default_override                "Setting this to 1 will allow further customization to default tanks."                //Default is 0
st_default_extra_health                "Default Tanks receive this many additional hitpoints."                                //Default is 0
st_default_speed                "Default Tanks default movement speed."                                                //Default is 1.0
st_default_throw                "Default Tanks rock throw ability interval."                                        //Default is 5.0
st_default_fire_immunity        "Are default Tanks immune to fire?"                                                //Default is 0

st_spawn                        "Is Spawn Tank Enabled?"                                                        //Default is 1
st_spawn_extra_health                "Spawn Tanks receive this many additional hitpoints."                                //Default is 0
st_spawn_speed                        "Spawn Tanks default movement speed."                                                //Default is 1.0
st_spawn_throw                        "Spawn Tank rock throw ability interval."                                        //Default is 10.0
st_spawn_fire_immunity                "Is Spawn Tank immune to fire?"                                                        //Default is 1
st_spawn_common_amount                "Number of common infected spawned by the Spawn Tank."                                //Default is 10
st_spawn_common_interval        "Spawn Tanks common infected spawn interval."                                        //Default is 10

st_smasher                        "Is Smasher Tank Enabled?"                                                        //Default is 1
st_smasher_extra_health                "Smasher Tanks receive this many additional hitpoints."                                //Default is 0
st_smasher_speed                "Smasher Tanks default movement speed."                                                //Default is 0.65
st_smasher_throw                "Smasher Tank rock throw ability interval."                                        //Default is 30.0
st_smasher_fire_immunity        "Is Smasher Tank immune to fire?"                                                //Default is 0
st_smasher_maim_damage                "Smasher Tanks maim attack will set victims health to this amount."                //Default is 1
st_smasher_crush_damage                "Smasher Tanks claw attack damage."                                                //Default is 300
st_smasher_remove_body                "Smasher Tanks crush attack will remove survivors death body?"                        //Default is 1

st_warp                                "Is Warp Tank Enabled?"                                                                //Default is 1
st_warp_extra_health                "Warp Tanks receive this many additional hitpoints."                                //Default is 0
st_warp_speed                        "Warp Tanks default movement speed."                                                //Default is 1.0
st_warp_throw                        "Warp Tank rock throw ability interval."                                        //Default is 9.0
st_warp_fire_immunity                "Is Warp Tank immune to fire?"                                                        //Default is 1
st_warp_teleport_delay                "Warp Tanks Teleport Delay Interval."                                                //Default is 20

st_meteor                        "Is Meteor Tank Enabled?"                                                        //Default is 1
st_meteor_extra_health                "Meteor Tanks receive this many additional hitpoints."                                //Default is 0
st_meteor_speed                        "Meteor Tanks default movement speed."                                                //Default is 1.0
st_meteor_throw                        "Meteor Tank rock throw ability interval."                                        //Default is 10.0
st_meteor_fire_immunity                "Is Meteor Tank immune to fire?"                                                //Default is 1
st_meteor_storm_delay                "Meteor Tanks Meteor Storm Delay Interval."                                        //Default is 30
st_meteor_storm_damage                "Meteor Tanks falling meteor damage."                                                //Default is 25.0

st_spitter                        "Is Spitter Tank Enabled?"                                                        //Default is 1
st_spitter_extra_health                "Spitter Tanks receive this many additional hitpoints."                                //Default is 0
st_spitter_speed                "Spitter Tanks default movement speed."                                                //Default is 1.0
st_spitter_throw                "Spitter Tank rock throw ability interval."                                        //Default is 6.0
st_spitter_fire_immunity        "Is Spitter Tank immune to fire?"                                                //Default is 1

st_heal                                "Is Heal Tank Enabled?"                                                                //Default is 1
st_heal_extra_health                "Heal Tanks receive this many additional hitpoints."                                //Default is 0
st_heal_speed                        "Heal Tanks default movement speed."                                                //Default is 1.0
st_heal_throw                        "Heal Tank rock throw ability interval."                                        //Default is 15.0
st_heal_fire_immunity                "Is Heal Tank immune to fire?"                                                        //Default is 1
st_heal_health_commons                "Heal Tanks regeneration per second from being near a common infected."                //Default is 10
st_heal_health_specials                "Heal Tanks regeneration per second from being near a special infected."        //Default is 100
st_heal_health_tanks                "Heal Tanks regeneration per second from being near another tank."                //Default is 500

st_fire                                "Is Fire Tank Enabled?"                                                                //Default is 1
st_fire_extra_health                "Fire Tanks receive this many additional hitpoints."                                //Default is 0
st_fire_speed                        "Fire Tanks default movement speed."                                                //Default is 1.0
st_fire_throw                        "Fire Tank rock throw ability interval."                                        //Default is 6.0
st_fire_fire_immunity                "Is Fire Tank immune to fire?"                                                        //Default is 1

st_ice                                "Is Ice Tank Enabled?"                                                                //Default is 1
st_ice_extra_health                "Ice Tanks receive this many additional hitpoints."                                //Default is 0
st_ice_speed                        "Ice Tanks default movement speed."                                                //Default is 1.0
st_ice_throw                        "Ice Tank rock throw ability interval."                                                //Default is 6.0
st_ice_fire_immunity                "Is Ice Tank immune to fire?"                                                        //Default is 1

st_jockey                        "Is Jockey Tank Enabled?"                                                        //Default is 1
st_jockey_extra_health                "Jockey Tanks receive this many additional hitpoints."                                //Default is 0
st_jockey_speed                        "Jockey Tanks default movement speed."                                                //Default is 1.33
st_jockey_throw                        "Jockey Tank jockey throw ability interval."                                        //Default is 7.0
st_jockey_fire_immunity                "Is Jockey Tank immune to fire?"                                                //Default is 1

st_ghost                        "Is Ghost Tank Enabled?"                                                        //Default is 1
st_ghost_extra_health                "Ghost Tanks receive this many additional hitpoints."                                //Default is 0
st_ghost_speed                        "Ghost Tanks default movement speed."                                                //Default is 1.0
st_ghost_throw                        "Ghost Tank rock throw ability interval."                                        //Default is 15.0
st_ghost_fire_immunity                "Is Ghost Tank immune to fire?"                                                        //Default is 1
st_ghost_disarm                        "Does Ghost Tank have a chance of disarming an attacking melee survivor?"        //Default is 1

st_shock                        "Is Shock Tank Enabled?"                                                        //Default is 1
st_shock_extra_health                "Shock Tanks receive this many additional hitpoints."                                //Default is 0
st_shock_speed                        "Shock Tanks default movement speed."                                                //Default is 1.0
st_shock_throw                        "Shock Tank rock throw ability interval."                                        //Default is 10.0
st_shock_fire_immunity                "Is Shock Tank immune to fire?"                                                        //Default is 1
st_shock_stun_damage                "Shock Tanks stun damage."                                                        //Default is 12
st_shock_stun_movement                "Shock Tanks stun reduce survivors speed to this amount."                        //Default is 0.75

st_witch                        "Is Witch Tank Enabled?"                                                        //Default is 1
st_witch_extra_health                "Witch Tanks receive this many additional hitpoints."                                //Default is 0
st_witch_speed                        "Witch Tanks default movement speed."                                                //Default is 1.0
st_witch_throw                        "Witch Tank rock throw ability interval."                                        //Default is 7.0
st_witch_fire_immunity                "Is Witch Tank immune to fire?"                                                        //Default is 1
st_witch_max_witches                "Maximum number of witches converted from common infected by the Witch Tank."        //Default is 30

st_shield                        "Is Shield Tank Enabled?"                                                        //Default is 1
st_shield_extra_health                "Shield Tanks receive this many additional hitpoints."                                //Default is 0
st_shield_speed                        "Shield Tanks default movement speed."                                                //Default is 1.0
st_shield_throw                        "Shield Tank propane throw ability interval."                                        //Default is 8.0
st_shield_fire_immunity                "Is Shield Tank immune to fire?"                                                //Default is 1
st_shield_shields_down_interval        "Shield Tanks shields disabled time."                                                //Default is 8.0

st_cobalt                        "Is Cobalt Tank Enabled?"                                                        //Default is 1
st_cobalt_extra_health                "Cobalt Tanks receive this many additional hitpoints."                                //Default is 0
st_cobalt_speed                        "Cobalt Tanks default movement speed."                                                //Default is 1
st_cobalt_throw                        "Cobalt Tank rock throw ability interval."                                        //Default is 999.0
st_cobalt_fire_immunity                "Is Cobalt Tank immune to fire?"                                                //Default is 1
st_cobalt_Special_speed                "Cobalt Tanks movement value when speeding towards a survivor."                        //Default is 2.5

st_jumper                        "Is Jumper Tank Enabled?"                                                        //Default is 1
st_jumper_extra_health                "Jumper Tanks receive this many additional hitpoints."                                //Default is 0
st_jumper_speed                        "Jumper Tanks default movement speed."                                                //Default is 1.20
st_jumper_throw                        "Jumper Tank rock throw ability interval."                                        //Default is 999.0
st_jumper_fire_immunity                "Is Jumper Tank immune to fire?"                                                //Default is 1
st_jumper_jump_delay                "Jumper Tanks delay interval to jump again."                                        //Default is 3

st_gravity                        "Is Gravity Tank Enabled?"                                                        //Default is 1
st_gravity_extra_health                "Gravity Tanks receive this many additional hitpoints."                                //Default is 0
st_gravity_speed                "Gravity Tanks default movement speed."                                                //Default is 1.0
st_gravity_throw                "Gravity Tank rock throw ability interval."                                        //Default is 10.0
st_gravity_fire_immunity        "Is Gravity Tank immune to fire?"                                                //Default is 1
st_gravity_pull_force                "Gravity Tanks pull force. Higher negative values equals greater pull forces."        //Default is -50.0

Changelog:

Code:

Version 1.0
- Release
Version 1.1
- Additional cvars added
Version 1.2
- Jumper and Gravity tanks added
Version 1.2.1
- Removed IsSoundPrecached Check; doesn't appear to function. Sounds should play now.
Version 1.2.5
- Gravity tanks gravity well will be removed when gravity tank is dead.             
- Meteor Tank will randomly spawn meteor showers.
- New cvars st_fire_damage and st_default_tanks
Version 1.2.5
- Gravity tanks gravity well will be removed when gravity tank is dead.             
- Meteor Tank will randomly spawn meteor showers.
- New cvars st_fire_damage and st_default_tanks
Version 1.3.0
- Added shield globe for shield tank.
- Changed heal tanks glows to intensify depending on how much its healing itself.
- Properly remove death body of survivor when smashed by the smasher tank.             
- Removed obsolete cvar st_fire_damage
- Loads of new cvars for customization!
Version 1.3.1
- Fixed bug resulting in no custom tanks in finale events
Version 1.3.2
- Changed z_spawn to z_spawn_old following l4d2 update
Version 1.3.3
- Bug Fix
Version 1.3.4
- Same Bug from 1.3.3, another fix attempt

Requirements:

The supertanks.txt file must be downloaded and put in your gamedata folder!
This plugin is for coop/realism gamemodes only. The spawning of bots is handled differently in other gamemodes.

Future Plans:

More cvars!! Give me ideas :)

Other Info:

Credits to panxiaohai for Jockey and Meteor Tanks. I hope you don't mind if I package them with the others.
The health of the tanks can be controlled by adjusting the default L4D2 cvar z_tank_health

corsi 08-28-2011 02:19

Re: [L4D2] Super Tanks
 
good job man!!! But i get this Plugin failed to compile! Please try contacting the author. Pls fix it!!!

Elektramode 08-28-2011 09:59

Re: [L4D2] Super Tanks
 
Quote:

Originally Posted by corsi (Post 1542396)
good job man!!! But i get this Plugin failed to compile! Please try contacting the author. Pls fix it!!!

It is because he made the plugin with SDK hooks, hopefully he'll post us the compiled version soon... I hope.... otherwise I'm wondering if this will be compatible with boss tank by ZTAR

Machine 08-28-2011 10:20

Re: [L4D2] Super Tanks
 
I highly doubt this will be compatible with last boss as both plugins deal with finale tanks. I would use one or the other.

I uploaded the compiled smx, just make sure you have SDK Hooks.

Elektramode 08-28-2011 10:58

Re: [L4D2] Super Tanks
 
Ok well, before I give it a whack on my server, I would just like to add one suggestion and that is a convar to enable the super tank to spawn just in finale or every time theres a tank.

xyLoneZ 09-02-2011 02:50

Re: [L4D2] Super Tanks
 
can you give a cvar for each type of the tank? so we can choose which tank is available to spawn before it was randomed for spawn?

Sev 09-03-2011 10:45

Re: [L4D2] Super Tanks
 
Great plugin.

Though the 2nd wave and 3nd wave being set to anything more than 1 doesn't seem to work. In other words no multiple tanks.

Machine 09-03-2011 18:55

Re: [L4D2] Super Tanks
 
Sev, what other plugins are you running? The other tanks should be spawning unless something else is interfering.

To the other cvar requests, I will add in the next version. Just wanted a little time for feedback before I do.

WolfGang 09-05-2011 13:15

Re: [L4D2] Super Tanks
 
@Machine ;; somehow the plugins is not working. The ".smx" is place in the "Plugins" folder and the "supertanks.txt" is place in the "Gamedata" folder, SDK Hook 2.0 is installed. Any suggestions why its not loadin the plugin?

[SM] Listing 18 plugins:
01 "Admin File Reader" (1.3.6) by AlliedModders LLC
02 "Admin Help" (1.3.6) by AlliedModders LLC
03 "Admin Menu" (1.3.6) by AlliedModders LLC
04 "Anti-Flood" (1.3.6) by AlliedModders LLC
05 "Basic Ban Commands" (1.3.6) by AlliedModders LLC
06 "Basic Chat" (1.3.6) by AlliedModders LLC
07 "Basic Comm Control" (1.3.6) by AlliedModders LLC
08 "Basic Commands" (1.3.6) by AlliedModders LLC
09 "Basic Info Triggers" (1.3.6) by AlliedModders LLC
10 "Basic Votes" (1.3.6) by AlliedModders LLC
11 "Client Preferences" (1.3.6) by AlliedModders LLC
12 "Fun Commands" (1.3.6) by AlliedModders LLC
13 "Fun Votes" (1.3.6) by AlliedModders LLC
14 Disabled: "Nextmap" (1.3.6) by AlliedModders LLC
15 "Player Commands" (1.3.6) by AlliedModders LLC
16 "Reserved Slots" (1.3.6) by AlliedModders LLC
17 "Sound Commands" (1.3.6) by AlliedModders LLC
18 <Failed> "SuperTanks.smx"

EDIT: Fixed!, one more question how do you make this plugin enable on everymap instead of the finales?

Newf 09-05-2011 17:47

Re: [L4D2] Super Tanks
 
i'd like to try this as i'm having problems with Multitanks, but i wouldnt' want to use all of the tanks. would it be possible to enable/disable certain types of tanks?

my server is versus as well, so i could test that out.


All times are GMT -4. The time now is 13:16.

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