[L4D2] Melee In The Safe Room (with unlock all melee weapons on every campaign)
3 Attachment(s)
This simply spawns a number of melee weapons at the start of each round in the safe-room. I wrote this plugin just after 'The Passing' release as during this update valve thought it would be a good idea to have between 2 - 4 melee weapons in the safe-room, meaning sometime people had to use pistols... How it works is it waits for a round to begin, then take the first active client from the survivors team and spawns X amount of melee weapons around this point. How To Install If you don't want all the melee weapons unlocked, simply copy the [L4D2] MeleeInTheSafeRoom.smx to your servers sourcemod/plugins folder. If you want all melee weapons to be unlocked, download any one of the - Melee In The Safe Room Version 2-*-*.zip then extract all the files to there relevant folders on your server. How I Unlocked All Melee Weapons Basically, there is a melee_weapon_unlock.vpk that contains all the mission.txt files (1,2,3,4,5 & 6) that have a line in which list the melee weapons that are aloud on that campaign. I added all melee weapons that weren't in the list, but with a modded script. so for example if the fireaxe isn't available on a campaign then i have added fireaxe_mod, making l4d2 spawn a fireaxe_mod melee weapon. To make these "mod" melee weapons work, I edited the melee_manifest.txt and added all of the modded script locations. Then because valve have changed how vpk's load, I added all the modded scripts to the left4dead2/scripts/melee directory. Now when a client connects to the server, the modded scripts are downloaded to each client. There are 12 scripts at around 4kb each, so it will take 5 - 10 seconds for them to download, but once the client has the scripts they will never need download them again (unless they delete them). http://samoatesgames.com/images/plugins/MITS/Cvars.png l4d2_MITSR_Random Spawn Random Weapons (1) or custom list (0) Default: "1" l4d2_MITSR_Amount Number of weapons to spawn if l4d2_MITSR_Random is 1 Default: "4" l4d2_MITSR_BaseballBat Number of baseball bats to spawn (l4d2_MITSR_Random must be 0) Default: "1" *Note: Cvars for every class of melee weapon exist, but adding another 11 sections to this page seems silly. Look in [L4D2] MeleeInTheSaferoom.cfg for the full list. http://samoatesgames.com/images/plug...TS/History.png Code:
- 1.0.0 N3wton |
Re: L4D2 - Melee In The Safe Room
*Available
|
Re: L4D2 - Melee In The Safe Room
Cheers, I failed english... passed yorkshire though XD
Yours N3wton |
Re: L4D2 - Melee In The Safe Room
Really nice. :D
|
Re: L4D2 - Melee In The Safe Room
Cheers :P
I'm currently working on getting it so you can have any melee weapon in any map, problem is there pre-defined in the mission/campaign.txt so you can't just spawn them... I tried using stripper to pre add them with no luck... So i'm kind of at a dead end :( Yours N3wton |
Re: L4D2 - Melee In The Safe Room
This is great. I've had a few people complaining about the lack of melee weapons in the safehouse since the patch.
|
Re: L4D2 - Melee In The Safe Room
Thanks for making this -- not having a melee weapon is like losing an arm, for seasoned players.
|
Re: L4D2 - Melee In The Safe Room
Usually before the DLC I would start the game in Single Player mode, close the single player mode game, re-create a cooperative or versus game to spawn an unlimited pool of baseball bats (melee) in the saferoom. But now this doesn't work anymore, thanks for this alternative.
|
Re: L4D2 - Melee In The Safe Room
I always am amazed to see people run out with double pistols AND a primary weapon. Doubles might be almost worthwhile in C1M1 but come on, you need a melee.
|
Re: L4D2 - Melee In The Safe Room
I don't get why Valve felt the need to change settings such as these where no one even complained about in the first place...unintended?
Anyway, thanks for sparing me the trouble to implement one myself...I will try this out later Btw, shouldn't this plugin be categorized for L4D only? |
All times are GMT -4. The time now is 18:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.