View Single Post
Merudo
Senior Member
Join Date: Feb 2016
Old 03-17-2016 , 18:21   Re: [l4d2] Save Weapon (Co-op)
Reply With Quote #44

Save Weapon 4.3 (forked)

Based on maks Save Weapon 3.6.7 and Electr000999's fork.

Description:
On coop/realism servers with 5+ survivors, the game will not save anything related to the extra survivors. Hence these survivors will start every new map of a campaign with 100 health and no equipment, or will end up with the equipment of a different survivor. With the plugin, the equipment of all survivors will be properly saved.

New to 4.3:
- l4d2_ty_noob now gives you a smg at the start of the first map if you don't have one
- Improved precaching of a few weapons
- Dual pistols detection doesn't use model anymore

New to 4.2:
- Fixed bug where going idle could change your weapons

New to 4.1:
- Plugin properly saves temporary HP, ReviveCount, and Black&White status

New Features of the Fork:
- Plugin now saves bot equipment! Bots will come back with the same gear they had the previous mission.
- Plugin saves health for survivors. Dead survivors will come back with 50 health on the next map.
- Plugin saves prop data & models. That means if you have 5 players and 2 bots (say, 1 Rochelle and 1 Francis), the same bots will come back on subsequent missions (Character Select Menu/FakeZoey recommended)
- When a survivor bot is replaced by a player, that player with inherit the saved equipment of the bot. The same will happen if a player is replaced by a bot
- Plugin only enabled on modes "coop", "realism", and related mutations. It is automatically disabled on other modes.

Cvars:
- l4d2_ty_noob: If 1, gives SMG after spawning (Default: 0)
- l4d2_ty_clear_after_campaign: If 1, clear weapons after end/change of campaign. (Default: 1)

Commands:
- !save_weap_all: Save the weapons & health of every survivor. Admin only
- !load_weap_all: Load the saved weapons & health of every survivor. Admin only
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_ty_saveweapon.sp - 8678 views - 28.4 KB)
__________________

Last edited by Merudo; 04-06-2016 at 13:21.
Merudo is offline