AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Solved L4D2 Event (https://forums.alliedmods.net/showthread.php?t=335622)

thewintersoldier97 12-19-2021 02:09

L4D2 Event
 
Could someone help me understanding these finale event in L4D2, preferably with example scenarios and description? Thanks in advance! :3
PHP Code:

    "finale_start";
    
"finale_escape_start";
    
"finale_vehicle_ready";
    
"finale_vehicle_leaving";
    
"finale_rush";
    
"finale_radio_start";
    
"finale_radio_damaged";
    
"finale_win";
    
"finale_vehicle_incoming";
    
"finale_bridge_lowering";
    
"gauntlet_finale_start"


Psyk0tik 12-22-2021 07:19

Re: L4D2 Event
 
Quote:

Originally Posted by thewintersoldier97 (Post 2766454)
Could someone help me understanding these finale event in L4D2, preferably with example scenarios and description? Thanks in advance! :3
PHP Code:

    "finale_start";
    
"finale_escape_start";
    
"finale_vehicle_ready";
    
"finale_vehicle_leaving";
    
"finale_rush";
    
"finale_radio_start";
    
"finale_radio_damaged";
    
"finale_win";
    
"finale_vehicle_incoming";
    
"finale_bridge_lowering";
    
"gauntlet_finale_start"


finale_start - when the finale starts.
finale_escape_start - when it's time to escape.
finale_vehicle_ready - when the rescue vehicle is ready to hold players in (boat has arrived or chopper has landed).
finale_vehicle_leaving - when the rescue vehicle is leaving (final outro scene before credits/stats crawl).
finale_rush - rushing event? not sure.
finale_radio_start - when the radio has been used initially.
finale_radio_damaged - not sure.
finale_win - when the survivors finish the campaign.
finale_vehicle_incoming - when the rescue vehicle is arriving.
finale_bridge_lowering - for the finale of the sacrifice, the passing, or the parish? not sure.
gauntlet_finale_start - not sure.

thewintersoldier97 12-22-2021 08:41

Re: L4D2 Event
 
Quote:

Originally Posted by Psyk0tik (Post 2766679)
finale_start - when the finale starts.
finale_escape_start - when it's time to escape.
finale_vehicle_ready - when the rescue vehicle is ready to hold players in (boat has arrived or chopper has landed).
finale_vehicle_leaving - when the rescue vehicle is leaving (final outro scene before credits/stats crawl).
finale_rush - rushing event? not sure.
finale_radio_start - when the radio has been used initially.
finale_radio_damaged - not sure.
finale_win - when the survivors finish the campaign.
finale_vehicle_incoming - when the rescue vehicle is arriving.
finale_bridge_lowering - for the finale of the sacrifice, the passing, or the parish? not sure.
gauntlet_finale_start - not sure.

Thanks, I'll try testing and see what happen.
For the gauntlet event, here what I got from the wiki page
Code:

Rather than having the player holdout in an enclosed arena, gauntlets force players to run to the end of the level, where the rescue vehicle is already waiting for them

Marttt 12-22-2021 10:36

Re: L4D2 Event
 
probably Parish finale

thewintersoldier97 12-22-2021 14:20

Re: L4D2 Event
 
Quote:

Originally Posted by Marttt (Post 2766692)
probably Parish finale

Yep, that was it is.
I just wanna know isn't the finale_start covering most of them? Like I set an cfg for finale_start but can it be override when finale_rush or finale_radio_start begin?

Psyk0tik 12-23-2021 01:49

Re: L4D2 Event
 
Quote:

Originally Posted by thewintersoldier97 (Post 2766711)
Yep, that was it is.
I just wanna know isn't the finale_start covering most of them? Like I set an cfg for finale_start but can it be override when finale_rush or finale_radio_start begin?

Events are just notifications, so the most recent event will take priority.

HarryPotter 12-27-2021 02:42

Re: L4D2 Event
 
You can use say Event.
And watch the print chat.
https://i.imgur.com/s9VSNwW.jpg

thewintersoldier97 12-28-2021 12:31

Re: L4D2 Event
 
Appreciate your help Psyk0tik and HarryPotter :D
Quote:

Originally Posted by HarryPotter (Post 2767029)
You can use say Event.
And watch the print chat.
https://i.imgur.com/s9VSNwW.jpg

Can I turn off the chat print and keep it recorded on logs file only?

thewintersoldier97 12-29-2021 07:26

Re: L4D2 Event
 
Code:

//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// say_event.sp
//
// D:\GAMES\SERVER\L4D2 #2\left4dead2\addons\sourcemod\scripting\include\sourcemod.inc(41) : error 110: Plugin has already been defined (previously seen as enum)
// D:\GAMES\SERVER\L4D2 #2\left4dead2\addons\sourcemod\scripting\say_event.sp(19) : error 029: invalid expression, assumed zero
// D:\GAMES\SERVER\L4D2 #2\left4dead2\addons\sourcemod\scripting\say_event.sp(19) : error 001: expected token: "}", but found ";"
// D:\GAMES\SERVER\L4D2 #2\left4dead2\addons\sourcemod\scripting\say_event.sp(15) : error 017: undefined symbol "name"
//
// 4 Errors.
//
// Compilation Time: 1.12 sec
// ----------------------------------------

Press enter to exit ...


Marttt 12-29-2021 10:25

Re: L4D2 Event
 
1 Attachment(s)
Had to rename "Plugin()" to another method.


All times are GMT -4. The time now is 10:49.

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