Raised This Month: $32 Target: $400
 8% 

[L4D2] Tankbuster 2 - Spawn Weapon packs and all weapons, ammo, health items


Post New Thread Reply   
 
Thread Tools Display Modes
Lnicholls2000
New Member
Join Date: Nov 2013
Old 11-24-2013 , 06:25   Re: [L4D2] Tankbuster 2 - Spawn Weapon packs and all weapons, ammo, health items
Reply With Quote #71

Thanks for making an effort to fix this plugin and give it a better name.
Lnicholls2000 is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 04-27-2014 , 12:31   Re: [L4D2] Tankbuster 2 - Spawn Weapon packs and all weapons, ammo, health items
Reply With Quote #72

Updated plugin with 3 new items added. Golf Club, Riot Shield & M60 Machine Gun
In order to maintain original menu order these have been added to the end of the menu list.

Pic 1 updated items
Pic 2 Tankbuster_2
Pic 3 Tankbuster_2_No_Weapon_Packs
Attached Thumbnails
Click image for larger version

Name:	Menu.jpg
Views:	864
Size:	62.1 KB
ID:	133092   Click image for larger version

Name:	Weapon Packs.jpg
Views:	787
Size:	39.0 KB
ID:	133093   Click image for larger version

Name:	No Weapon Packs.jpg
Views:	740
Size:	29.6 KB
ID:	133094  
Attached Files
File Type: sp Get Plugin or Get Source (Tankbuster_2.sp - 1048 views - 64.1 KB)
File Type: sp Get Plugin or Get Source (Tankbuster_2_No_Weapon_Packs.sp - 941 views - 57.0 KB)
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK

Last edited by Munch; 04-29-2014 at 22:31.
Munch is offline
deejay87
Senior Member
Join Date: Apr 2004
Location: Pays du Glaude - France
Old 05-11-2014 , 17:45   Re: [L4D2] Tankbuster 2 - Spawn Weapon packs and all weapons, ammo, health items
Reply With Quote #73

Hi
How to have the menu don't close after use an item ?
__________________
deejay87 is offline
Send a message via MSN to deejay87 Send a message via Skype™ to deejay87
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 05-12-2014 , 10:33   Re: [L4D2] Tankbuster 2 - Spawn Weapon packs and all weapons, ammo, health items
Reply With Quote #74

No idea but if you often choose the same items you could create a config file to spawn your favourite items.
Create a file example "items.cfg" make sure it does not have the extension .txt and put it here ..\Steam\SteamApps\common\Left 4 Dead 2\left4dead2\cfg

You will have to work out the key sequences. Once you have these you can add them to the config

goods; menuselect 5; // Adrenaline
goods; menuselect 7; // Medkit
goods; menuselect 9; menuselect 9; menuselect 4; // AK47
goods; menuselect 9; menuselect 9; menuselect 9; menuselect 9; menuselect 5; //Pipe Bomb
goods; menuselect 9; menuselect 9; menuselect 9;menuselect 9; menuselect 9; menuselect 9; menuselect 3; // Katana

you can also add other commands too as long as server has the plugin
!laseron; // Laser Sight
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK
Munch is offline
Neevar
Senior Member
Join Date: Mar 2014
Old 06-25-2014 , 10:04   Re: [L4D2] Tankbuster 2 - Spawn Weapon packs and all weapons, ammo, health items
Reply With Quote #75

is it possible to only allow the tankbuster menu where there is a tank? or does this already do that?

I want this option to be available only when there is a tank in the game. And once they have used the tankbuster package once, they cannot use it again (a limit) till next round.

i'm sorry if i sound demanding
Neevar is offline
Serpentdipity
Member
Join Date: Oct 2012
Old 07-10-2014 , 14:55   Re: [L4D2] Tankbuster 2 - Spawn Weapon packs and all weapons, ammo, health items
Reply With Quote #76

Thanks to Munch for the provision of the golf club coding. As such, I upgraded my melee weapons menu to include golf clubs, and added in proper names instead of the phrases. In addition, I also added pistols and magnum to the list, and made it into a secondary weapons menu. Later, I will re-arrange it to be more pragmatic [pistols first and then melee]- and add in the riot shield. Also, you can bring up the SWM by typing any relevant name: !mag, !melee, !pistols, !katana, !knife, !bat, etc.

If you wish to have different phrases, simply grab the .sp, rephrase this area, and recompile.

Quote:
public Action:TankBuster(clientId)
{
new Handle:menu = CreateMenu(TankBusterMenuHandler);
SetMenuTitle(menu, "Secondary Weapons Menu");
AddMenuItem(menu, "option0", "Baseball Bat");
AddMenuItem(menu, "option1", "Cricket Bat");
AddMenuItem(menu, "option2", "Crowbar");
AddMenuItem(menu, "option3", "Electric Guitar");
AddMenuItem(menu, "option4", "Fire Axe");
AddMenuItem(menu, "option5", "Frying Pan");
AddMenuItem(menu, "option6", "Katana");
AddMenuItem(menu, "option7", "Machete");
AddMenuItem(menu, "option8", "Tonfa");
AddMenuItem(menu, "option9", "Knife");
AddMenuItem(menu, "option10", "Golf Club");
AddMenuItem(menu, "option11", "Pistol");
AddMenuItem(menu, "option12", "Magnum");
SetMenuExitButton(menu, true);
DisplayMenu(menu, clientId, MENU_TIME_FOREVER);
//return Plugin_Handled;
}
Attached Files
File Type: sp Get Plugin or Get Source (secondary_weapons_menu.sp - 773 views - 18.5 KB)
File Type: smx secondary_weapons_menu.smx (7.3 KB, 349 views)

Last edited by Serpentdipity; 07-10-2014 at 17:12. Reason: added info
Serpentdipity is offline
Serpentdipity
Member
Join Date: Oct 2012
Old 07-10-2014 , 18:19   Re: [L4D2] Tankbuster 2 - Spawn Weapon packs and all weapons, ammo, health items
Reply With Quote #77

As promised, here are the upgraded versions. The previous version goes from long-slow, short-slow, short-fast, long-fast, pistols. These versions go from pistols, short-fast, long-fast, long-slow, short-slow. There are two versions. The first version has no shield, while SWM_riotshield has the shield. As before, the commands are the same, with the riot version having "!shield; !riot; !riotshield;" as available commands.

The list is Magnum; Pistol; Knife; Machete; Tonfa; Katana; Club; Baseball; Axe; Guitar; Cricket; Crowbar; Frying Pan; CSS shield.

Edit; oops! Forgot about adding a cvar for managing the shield. Reloaded up a new version with cvar.
Attached Files
File Type: sp Get Plugin or Get Source (secondary_weapons_menu_2.sp - 909 views - 18.5 KB)
File Type: smx secondary_weapons_menu_2.smx (7.3 KB, 409 views)
File Type: sp Get Plugin or Get Source (SWM_riotshield.sp - 830 views - 19.8 KB)
File Type: smx SWM_riotshield.smx (7.6 KB, 394 views)

Last edited by Serpentdipity; 07-10-2014 at 18:37. Reason: added cvar; added details
Serpentdipity is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 09-26-2016 , 17:44   Re: [L4D2] Tankbuster 2 - Spawn Weapon packs and all weapons, ammo, health items
Reply With Quote #78

Use the quota system in the cfg
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK
Munch is offline
Dakar200
Junior Member
Join Date: Mar 2018
Old 05-13-2018 , 12:49   Re: [L4D2] Tankbuster 2 - Spawn Weapon packs and all weapons, ammo, health items
Reply With Quote #79

this one work everyday
Dakar200 is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 11-13-2018 , 17:45   Re: [L4D2] Tankbuster 2 - Spawn Weapon packs and all weapons, ammo, health items
Reply With Quote #80

this plugin is not working on 8+ servers with LEFT4DOWNTOWN and L4DToolz it says the quota is full when I restart the map or the round or anthing..........
canadianjeff 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 00:20.


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