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

[l4d2] Save Weapon (Co-op)


Post New Thread Reply   
 
Thread Tools Display Modes
hellnecrotom
Junior Member
Join Date: Feb 2021
Old 05-10-2022 , 18:08   Re: [l4d2] Save Weapon (Co-op)
Reply With Quote #131

Hello there - one quick question.

I am playing using SuperVersus and have more Survivors than 4. This mod does not seem to save the weapons and health of the 4+ bots after chapter change in Co-op. They are simply respawned from scratch with 100 HP and no main weapon. The plugin is loaded successfully and is running on the server - it just doesn't do its job here.

What am I missing?

PS: The CFG is set to 1 at save health and weapons - that isn't it.

Thanks for everything
hellnecrotom is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 05-11-2022 , 05:09   Re: [l4d2] Save Weapon (Co-op)
Reply With Quote #132

Quote:
Originally Posted by hellnecrotom View Post
Hello there - one quick question.

I am playing using SuperVersus and have more Survivors than 4. This mod does not seem to save the weapons and health of the 4+ bots after chapter change in Co-op. They are simply respawned from scratch with 100 HP and no main weapon. The plugin is loaded successfully and is running on the server - it just doesn't do its job here.

What am I missing?

PS: The CFG is set to 1 at save health and weapons - that isn't it.

Thanks for everything
post your cfg here
__________________
HarryPotter is offline
luhvin278
New Member
Join Date: Nov 2021
Old 05-15-2022 , 06:23   Re: [l4d2] Save Weapon (Co-op)
Reply With Quote #133

Quote:
Originally Posted by hellnecrotom View Post
Hello there - one quick question.

I am playing using SuperVersus and have more Survivors than 4. This mod does not seem to save the weapons and health of the 4+ bots after chapter change in Co-op. They are simply respawned from scratch with 100 HP and no main weapon. The plugin is loaded successfully and is running on the server - it just doesn't do its job here.

What am I missing?

PS: The CFG is set to 1 at save health and weapons - that isn't it.

Thanks for everything
I'm having the same issues as well, except I'm using ABM instead of superversus. This always happen to the extra survivors spawned in my game (l4d1 survivors in l4d2 maps). The plugin only works after everyone dies and the map is restarted.

This is my current cfg if anyone's wondering.
l4d2_ty_saveweapons_game_seconds_block "0"
l4d2_ty_saveweapons_health "0"
l4d2_ty_saveweapons_save_bot "1"
l4d2_ty_saveweapons_save_character "0"
l4d2_ty_saveweapons_save_health "1"
luhvin278 is offline
yabi
Senior Member
Join Date: Jun 2021
Location: Taiwan
Old 07-17-2022 , 10:11   Re: [l4d2] Save Weapon (Co-op)
Reply With Quote #134

Quote:
Originally Posted by HarryPotter View Post
hate to see you guys struggle with cfg, health and character model problem,
so I modify and share my work here.

Save Weapon (Co-op) Improved Version v5.9 [2022/3/5]
-Remake code
-Add the last stand two melee
-Add ConVar and generate cfg
-Save health
-Save Character Model
-Support Bots
-Support custom melee save
-Doesn't save if change map in game (ex. vote change new campaign)
-Compatible with the [ANY] Cheats

-Convar-
Spoiler


-Command-
None

-Edit Github-
Latest version always here

Mr Harry please ✓
Will I lose my character if I don't save the weapon?

I get the same weapon every time I reach the safe room and switch maps

But I want to make sure I don't lose my original role, does this plugin have a feature to protect the role?


My weapons don't need to be restored
or how can i set the cfg.
yabi is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 07-18-2022 , 03:05   Re: [l4d2] Save Weapon (Co-op)
Reply With Quote #135

Quote:
Originally Posted by yabi View Post

But I want to make sure I don't lose my original role, does this plugin have a feature to protect the role?

cfg
PHP Code:
// If 1, save character model and restore.
l4d2_ty_saveweapons_save_character "0" 
__________________

Last edited by HarryPotter; 07-18-2022 at 03:06.
HarryPotter is offline
maks
Member
Join Date: Dec 2011
Location: Russia
Old 08-07-2022 , 10:11   Re: [l4d2] Save Weapon (Co-op)
Reply With Quote #136

Experimental support for saving character model v4.16b (fix 13.08.2022)

Experimental version
Code:
#define HX_SKIN 1
ConVar
Code:
l4d2_hx_skin 1
stable version
Code:
#define HX_SKIN 0
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_ty_saveweapon_4.16b.sp - 165 views - 17.8 KB)

Last edited by maks; 08-13-2022 at 02:28.
maks is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-11-2022 , 02:49   Re: [l4d2] Save Weapon (Co-op)
Reply With Quote #137

-Relate Valve ConVar-
* If true, survivor bots will be used as placeholders for survivors who are still changing levels
* prevent bots from moving, changing weapons, using kits while human survivors are still changing levels
* need to write down in cfg/server.cfg

PHP Code:
sm_cvar sb_transition 0 
__________________

Last edited by HarryPotter; 09-11-2022 at 05:01.
HarryPotter is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 09-11-2022 , 03:46   Re: [l4d2] Save Weapon (Co-op)
Reply With Quote #138

Quote:
Originally Posted by HarryPotter View Post
-Relate Valve ConVar-
* If true, survivor bots will be used as placeholders for survivors who are still changing levels
* prevent bots from moving, changing weapons, using kits for survivors who are still changing levels
* need to write down in cfg/server.cfg

PHP Code:
sm_cvar sb_transition 0 
Hi Harry, so "0" is your recommendation value for this cvar?

I just found it weird that the "placeholders" is actually the bot itself, not the slot.
__________________

Looking for some fun!

Last edited by thewintersoldier97; 09-11-2022 at 03:49.
thewintersoldier97 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-11-2022 , 04:53   Re: [l4d2] Save Weapon (Co-op)
Reply With Quote #139

Quote:
Originally Posted by thewintersoldier97 View Post
Hi Harry, so "0" is your recommendation value for this cvar?
yes

Quote:
I just found it weird that the "placeholders" is actually the bot itself, not the slot.
You can try this cvar and observe. After changing levels, some bots are not moving, they freeze for waiting other human players changing levels.
These frozen bots are not actually alive.
PHP Code:
sm_cvar sb_transition 0 
__________________

Last edited by HarryPotter; 09-11-2022 at 07:50.
HarryPotter is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 09-11-2022 , 08:42   Re: [l4d2] Save Weapon (Co-op)
Reply With Quote #140

Quote:
Originally Posted by HarryPotter View Post
yes


You can try this cvar and observe. After changing levels, some bots are not moving, they freeze for waiting other human players changing levels.
These frozen bots are not actually alive.
PHP Code:
sm_cvar sb_transition 0 
Awesome! Now the bot won't just randomly switch weapon and use up supplies
__________________

Looking for some fun!
thewintersoldier97 is offline
Reply


Thread Tools
Display Modes

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 21:18.


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