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

[L4D2]How to prevent The Sacrifice c7m3 force to fail? (when survivor team only bots)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
plug344
Member
Join Date: Dec 2021
Old 03-13-2022 , 07:59   [L4D2]How to prevent The Sacrifice c7m3 force to fail? (when survivor team only bots)
Reply With Quote #1

"At least 2 survivors must remain before the campaign can be completed"

In the map c7m3, when leaving the safe room or getting off the bridge(for restarting the generator), it will display a message like this and force the round to fail. Even if there are 4 or more bots in the survivor team. Is there a way to prevent it?

Last edited by plug344; 03-13-2022 at 08:07.
plug344 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 03-13-2022 , 09:12   Re: [L4D2]How to prevent The Sacrifice c7m3 force to fail? (when survivor team only b
Reply With Quote #2

PHP Code:
director_no_death_check                  0        : , "sv""cheat"  Disable survivor team death ending scenario 
PHP Code:
sb_all_bot_game                          0        : , "sv""cheat"  Allow a server of nothing but bots 
PHP Code:
allow_all_bot_survivor_team              0        : , "sv""launcher" Allow a survivor team of nothing but botsHuman players are still required for the game to be active
similar plugin
cge_l4d2_deathcheck: Prevents mission loss(Round_End) until all human players have died.
__________________

Last edited by HarryPotter; 03-13-2022 at 09:36.
HarryPotter is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-13-2022 , 10:03   Re: [L4D2]How to prevent The Sacrifice c7m3 force to fail? (when survivor team only b
Reply With Quote #3

To prevent the "DLC3 Finale failed: Less than 2 survivors alive." message,

I was only able through Stripper.

PHP Code:
modify:
{
    
match:
    {
        
"classname" "trigger_finale"
    
}
    
replace:
    {
        
"IsSacrificeFinale" "0"
    
}

Although it may lead to other bugs since I didn't test until the end of the map.

I attached a file example.

This seems to be controlled by the m_bInSacrificeFinale attribute, but changing after map load didn't work for me.

Some more info:

CDirectorScriptedEventManager.m_bInSacrificeF inale

netprop: trigger_finale->m_bInSacrificeFinale

https://developer.valvesoftware.com/wiki/Trigger_finale

Code:
Is Sacrifice Finale <boolean> (in all games since Left 4 Dead 2)
If true, one survivor has to be available to perform some action outside the escape vehicle.
Attached Files
File Type: cfg c7m3_port.cfg (98 Bytes, 41 views)
__________________

Last edited by Marttt; 03-13-2022 at 10:25.
Marttt is offline
plug344
Member
Join Date: Dec 2021
Old 03-13-2022 , 22:29   Re: [L4D2]How to prevent The Sacrifice c7m3 force to fail? (when survivor team only b
Reply With Quote #4

Thank you two tech savvy people very much for your selfless sharing!

Last edited by plug344; 03-14-2022 at 18:58.
plug344 is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 07-22-2022 , 22:04   Re: [L4D2]How to prevent The Sacrifice c7m3 force to fail? (when survivor team only b
Reply With Quote #5

Quote:
Originally Posted by Marttt View Post
To prevent the "DLC3 Finale failed: Less than 2 survivors alive." message,
PHP Code:
modify:
{
    
match:
    {
        
"classname" "trigger_finale"
    
}
    
replace:
    {
        
"IsSacrificeFinale" "0"
    
}

hello,Matt, did you know that stripper is in L4D, removing the sacrifice 2 player limit on this map?
I also used l4d2_deathcheck to solve this problem before, until I found that when a person passes this map, the event finale_vehicle_leaving, will not trigger success, so I want to try the stripper method
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:

Last edited by ZBzibing; 07-22-2022 at 22:12.
ZBzibing 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 10:05.


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