Skip to content

Commit

Permalink
Forgot to update L4D1 crew.
Browse files Browse the repository at this point in the history
Coach: Removed duplicate PlayerHelp Rule should the witch be in aggro state

Rest of the survivors: Getting incapped by a witch attack will have a critical hurt response and a panicked follow up before the witch starts murderizing you. Basically, it's a unique "I'm down!" case for her.
  • Loading branch information
xanaguy committed Apr 19, 2022
1 parent c8180fe commit aec0e35
Show file tree
Hide file tree
Showing 5 changed files with 160 additions and 20 deletions.
63 changes: 52 additions & 11 deletions root/scripts/talker/biker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,17 @@ Rule L4D1ReviveMeInterruptedMajorBiker

Response L4D1ReviveMeInterruptedCriticalBiker
{
scene "scenes/Biker/HurtCritical01.vcd" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical02.vcd" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical03.vcd" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical04.vcd" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical05.vcd" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical06.vcd" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical07.vcd" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical08.vcd" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical09.vcd" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical10.vcd" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical11.vcd" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical01.vcd" predelay "0.75" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical02.vcd" predelay "0.75" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical03.vcd" predelay "0.75" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical04.vcd" predelay "0.75" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical05.vcd" predelay "0.75" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical06.vcd" predelay "0.75" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical07.vcd" predelay "0.75" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical08.vcd" predelay "0.75" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical09.vcd" predelay "0.75" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical10.vcd" predelay "0.75" //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical11.vcd" predelay "0.75" //[Pain noise - loud major pain]
}
Rule L4D1ReviveMeInterruptedCriticalBiker
{
Expand Down Expand Up @@ -4411,6 +4411,14 @@ Rule L4D1PlayerHelpIncappedLethargicBiker
Response L4D1PlayerHelpIncappedLethargicBiker
}

Rule L4D1PlayerHelpIncappedWitchManager
{
criteria ConceptPlayerHelp IsManager IsIncapacitated IsWitchPresent IsWitchAggro
ApplyContext "CalledForHelp:1:10"
forceweight 30
Response NoResponse
}


//--------------------------------------------------------------------------------------------------------------
// PlayerIncappedResponse
Expand Down Expand Up @@ -7235,6 +7243,39 @@ Rule L4D1PlayerIncapacitatedInitialBiker
Response L4D1PlayerIncapacitatedInitialBiker
}

Response L4D1PlayerIncapacitatedInitialWitchBiker
{
scene "scenes/Biker/HurtCritical01.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical02.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical03.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical04.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical05.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical06.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical07.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical08.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical09.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical10.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
scene "scenes/Biker/HurtCritical11.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
}
Rule L4D1PlayerIncapacitatedInitialWitchBiker
{
criteria ConceptPlayerIncapacitated IsBiker IsWitchPresent IsWitchAggro IsCriticalPain
ApplyContext "TalkBiker:1:2"
forceweight 30
Response L4D1PlayerIncapacitatedInitialWitchBiker
}

Response L4D1WitchDownedBiker
{
scene "scenes/Biker/GrabbedBySmoker01a.vcd" //no, No, NO, NOOOOOOO!!!!!!!!!
scene "scenes/Biker/GrabbedBySmoker02a.vcd" //no, No, NO, NOOOOOOO!!!!!!!!!
}
Rule L4D1WitchDownedBiker
{
criteria ConceptWitchDowned IsBiker IsWitchPresent IsWitchAggro
Response L4D1WitchDownedBiker
}

Response L4D1PlayerKillConfirmationBiker
{
scene "scenes/Biker/KillConfirmation01.vcd" then Any PlayerNiceShot foo:0 -0.679 //Got it!
Expand Down
8 changes: 0 additions & 8 deletions root/scripts/talker/coach.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6431,14 +6431,6 @@ Rule PlayerHelpIncappedLethargicCoach
Response PlayerHelpIncappedLethargicCoach
}

Rule PlayerHelpIncappedWitchCoach
{
criteria ConceptPlayerHelp IsCoach IsIncapacitated IsWitchPresent IsWitchAggro IsSaidWitchAttacking
ApplyContext "CalledForHelp:1:10"
forceweight 30
Response NoResponse
}

Rule PlayerHelpIncappedWitchCoach
{
criteria ConceptPlayerHelp IsCoach IsIncapacitated IsWitchPresent IsWitchAggro
Expand Down
35 changes: 34 additions & 1 deletion root/scripts/talker/manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3542,7 +3542,13 @@ Rule L4D1PlayerHelpIncappedLethargicManager
Response L4D1PlayerHelpIncappedLethargicManager
}


Rule L4D1PlayerHelpIncappedWitchManager
{
criteria ConceptPlayerHelp IsManager IsIncapacitated IsWitchPresent IsWitchAggro
ApplyContext "CalledForHelp:1:10"
forceweight 30
Response NoResponse
}

//--------------------------------------------------------------------------------------------------------------
// PlayerIncappedResponse
Expand Down Expand Up @@ -5961,6 +5967,33 @@ Rule L4D1PlayerIncapacitatedInitialManager
Response L4D1PlayerIncapacitatedInitialManager
}

Response L4D1PlayerIncapacitatedInitialWitchManager
{
scene "scenes/Manager/HurtCritical01.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
scene "scenes/Manager/HurtCritical02.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
scene "scenes/Manager/HurtCritical03.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
scene "scenes/Manager/HurtCritical04.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
scene "scenes/Manager/HurtCritical05.vcd" then self WitchDowned foo:0 0.5 //[Pain noise - loud major pain]
}
Rule L4D1PlayerIncapacitatedInitialWitchManager
{
criteria ConceptPlayerIncapacitated IsManager IsWitchPresent IsWitchAggro IsCriticalPain
ApplyContext "TalkManager:1:2"
forceweight 30
Response L4D1PlayerIncapacitatedInitialWitchManager
}

Response L4D1WitchDownedManager
{
scene "scenes/Manager/GrabbedBySmoker01a.vcd" //no, No, NO, NO!!!!!
scene "scenes/Manager/GrabbedBySmoker02a.vcd" //no, No, NO, NOOOOOOO!!!!!!!!!
}
Rule L4D1WitchDownedManager
{
criteria ConceptWitchDowned IsManager IsWitchPresent IsWitchAggro
Response L4D1WitchDownedManager
}

Response L4D1PlayerKillConfirmationManager
{
scene "scenes/Manager/KillConfirmation01.vcd" then Any PlayerNiceShot foo:0 -0.960 //Got it!
Expand Down
39 changes: 39 additions & 0 deletions root/scripts/talker/namvet.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3018,6 +3018,13 @@ Rule L4D1PlayerHelpIncapped3NamVet
Response L4D1PlayerHelpIncapped3NamVet
}

Rule L4D1PlayerHelpIncappedWitchNamVet
{
criteria ConceptPlayerHelp IsNamVet IsIncapacitated IsWitchPresent IsWitchAggro
ApplyContext "CalledForHelp:1:10"
forceweight 30
Response NoResponse
}

//--------------------------------------------------------------------------------------------------------------
// PlayerIncappedResponse
Expand Down Expand Up @@ -5452,6 +5459,38 @@ Rule L4D1PlayerIncapacitatedInitialNamVet
Response L4D1PlayerIncapacitatedInitialNamVet
}

Response L4D1PlayerIncapacitatedInitialWitchNamVet
{
scene "scenes/NamVet/HurtCritical01.vcd" then self WitchDowned foo:0 0.5 //[pain noise - loud major pain]
scene "scenes/NamVet/HurtCritical02.vcd" then self WitchDowned foo:0 0.5 //[pain noise - loud major pain]
scene "scenes/NamVet/HurtCritical03.vcd" //[pain noise - loud major pain]
scene "scenes/NamVet/HurtCritical04.vcd" then self WitchDowned foo:0 0.5 //[pain noise - loud major pain]
scene "scenes/NamVet/HurtCritical05.vcd" then self WitchDowned foo:0 0.5 //[pain noise - loud major pain]
scene "scenes/NamVet/HurtCritical06.vcd" //[pain noise - loud major pain]
scene "scenes/NamVet/HurtCritical07.vcd" then self WitchDowned foo:0 0.5 //[pain noise - loud major pain]
scene "scenes/NamVet/HurtCritical08.vcd" then self WitchDowned foo:0 0.5 //[pain noise - loud major pain]
scene "scenes/NamVet/HurtCritical09.vcd" then self WitchDowned foo:0 0.5 //[pain noise - loud major pain]
}
Rule L4D1PlayerIncapacitatedInitialWitchNamVet
{
criteria ConceptPlayerIncapacitated IsNamVet IsWitchPresent IsWitchAggro IsCriticalPain
ApplyContext "TalkNamVet:1:2"
forceweight 30
Response L4D1PlayerIncapacitatedInitialWitchNamVet
}

Response L4D1WitchDownedNamVet
{
scene "scenes/NamVet/GrabbedBySmoker01a.vcd" //no, No, NO, NOOOOOOO!!!!!!!!!
scene "scenes/NamVet/GrabbedBySmoker02a.vcd" //no, No, NO, NOOOOOOO!!!!!!!!!
scene "scenes/NamVet/GrabbedBySmoker03.vcd" //no, NO!
}
Rule L4D1WitchDownedNamVet
{
criteria ConceptWitchDowned IsNamVet IsWitchPresent IsWitchAggro
Response L4D1WitchDownedNamVet
}

Response L4D1PlayerKillConfirmationNamVet
{
scene "scenes/NamVet/KillConfirmation01.vcd" then Any PlayerNiceShot foo:0 0 //Got 'em
Expand Down
35 changes: 35 additions & 0 deletions root/scripts/talker/teengirl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3775,6 +3775,13 @@ Rule L4D1PlayerHelpIncappedLethargicTeenGirl
Response L4D1PlayerHelpIncappedLethargicTeenGirl
}

Rule L4D1PlayerHelpIncappedWitchTeenGirl
{
criteria ConceptPlayerHelp IsTeenGirl IsIncapacitated IsWitchPresent IsWitchAggro
ApplyContext "CalledForHelp:1:10"
forceweight 30
Response NoResponse
}

//--------------------------------------------------------------------------------------------------------------
// PlayerIncappedResponse
Expand Down Expand Up @@ -6403,6 +6410,34 @@ Rule L4D1PlayerIncapacitatedInitialTeenGirl
Response L4D1PlayerIncapacitatedInitialTeenGirl
}

Response L4D1PlayerIncapacitatedInitialWitchTeenGirl
{
scene "scenes/TeenGirl/HurtCritical01.vcd" then self WitchDowned foo:0 0.5 //[pain noise - loud major pain]
scene "scenes/TeenGirl/HurtCritical02.vcd" then self WitchDowned foo:0 0.5 //[pain noise - loud major pain]
scene "scenes/TeenGirl/HurtCritical03.vcd" then self WitchDowned foo:0 0.5 //[pain noise - loud major pain]
scene "scenes/TeenGirl/HurtCritical04.vcd" then self WitchDowned foo:0 0.5 //[pain noise - loud major pain]
scene "scenes/TeenGirl/HurtCritical05.vcd" then self WitchDowned foo:0 0.5 //[pain noise - loud major pain]
scene "scenes/TeenGirl/HurtCritical06.vcd" then self WitchDowned foo:0 0.5 //[pain noise - loud major pain]
scene "scenes/TeenGirl/HurtCritical07.vcd" then self WitchDowned foo:0 0.5 //[pain noise - loud major pain]
}
Rule L4D1PlayerIncapacitatedInitialWitchTeenGirl
{
criteria ConceptPlayerIncapacitated IsTeenGirl IsWitchPresent IsWitchAggro IsCriticalPain
ApplyContext "TalkTeenGirl:1:2"
forceweight 30
Response L4D1PlayerIncapacitatedInitialWitchTeenGirl
}

Response L4D1WitchDownedTeenGirl
{
scene "scenes/TeenGirl/FallShort02.vcd" //Oh no!
}
Rule L4D1WitchDownedTeenGirl
{
criteria ConceptWitchDowned IsTeenGirl IsWitchPresent IsWitchAggro
Response L4D1WitchDownedTeenGirl
}

Response L4D1PlayerKillConfirmationTeenGirl
{
scene "scenes/TeenGirl/KillConfirmation01.vcd" then Any PlayerNiceShot foo:0 -0.802 //Got it!
Expand Down

0 comments on commit aec0e35

Please sign in to comment.