Skip to content

Commit

Permalink
Further refinements.
Browse files Browse the repository at this point in the history
Added new L4D1 survivor rule for asking for health.

Refined health criteria thereof to be identical across the board.
  • Loading branch information
xanaguy committed Nov 22, 2021
1 parent 07efc68 commit 09cca88
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
8 changes: 8 additions & 0 deletions root/scripts/talker/biker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3185,6 +3185,14 @@ Rule L4D1SurvivorAskForHealthBiker
Response L4D1SurvivorAskForHealthBiker
}

Rule L4D1SurvivorAskForHealthV2Biker
{
criteria ConceptPlayerLook IsNotCoughing IsBiker IsTalk IsTalkBiker IsNotSmartLookAuto IsSubjectNear400 NoHasPainPills NoHasFirstAidKit IsNotHealthy NotInCombat IsNotSaidAskForHealth IsWorldTalkBiker
ApplyContext "SaidAskForHealth:1:10"
applycontexttoworld
Response L4D1SurvivorAskForHealthBiker
}

Response L4D1SurvivorAskLouisForHealthBiker
{
scene "scenes/Biker/PlayerSuggestHealthSpecific06.vcd" //Louis, you got a med kit I could have?
Expand Down
10 changes: 9 additions & 1 deletion root/scripts/talker/manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2398,7 +2398,15 @@ Response L4D1SurvivorAskForHealthManager
}
Rule L4D1SurvivorAskForHealthManager
{
criteria ConceptPlayerLookHere IsNotCoughing IsManager IsTalk IsTalkManager IsNotSmartLookAuto IsSubjectNear400 NoHasPainPills NoHasFirstAidKit IsNotHealthyHalf NotInCombat IsNotSaidAskForHealth IsWorldTalkManager
criteria ConceptPlayerLookHere IsNotCoughing IsManager IsTalk IsTalkManager IsNotSmartLookAuto IsSubjectNear400 NoHasPainPills NoHasFirstAidKit IsNotHealthy NotInCombat IsNotSaidAskForHealth IsWorldTalkManager
ApplyContext "SaidAskForHealth:1:10"
applycontexttoworld
Response L4D1SurvivorAskForHealthManager
}

Rule L4D1SurvivorAskForHealthV2Manager
{
criteria ConceptPlayerLook IsNotCoughing IsManager IsTalk IsTalkManager IsNotSmartLookAuto IsSubjectNear400 NoHasPainPills NoHasFirstAidKit IsNotHealthy NotInCombat IsNotSaidAskForHealth IsWorldTalkManager
ApplyContext "SaidAskForHealth:1:10"
applycontexttoworld
Response L4D1SurvivorAskForHealthManager
Expand Down
10 changes: 9 additions & 1 deletion root/scripts/talker/namvet.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1887,7 +1887,15 @@ Response L4D1SurvivorAskForHealthNamVet
}
Rule L4D1SurvivorAskForHealthNamVet
{
criteria ConceptPlayerLookHere IsNotCoughing IsNamVet IsTalk IsTalkNamVet IsNotSmartLookAuto IsSubjectNear400 NoHasPainPills NoHasFirstAidKit IsNotHealthyHalf NotInCombat IsNotSaidAskForHealth IsWorldTalkNamVet
criteria ConceptPlayerLookHere IsNotCoughing IsNamVet IsTalk IsTalkNamVet IsNotSmartLookAuto IsSubjectNear400 NoHasPainPills NoHasFirstAidKit IsNotHealthy NotInCombat IsNotSaidAskForHealth IsWorldTalkNamVet
ApplyContext "SaidAskForHealth:1:10"
applycontexttoworld
Response L4D1SurvivorAskForHealthNamVet
}

Rule L4D1SurvivorAskForHealthV2NamVet
{
criteria ConceptPlayerLook IsNotCoughing IsNamVet IsTalk IsTalkNamVet IsNotSmartLookAuto IsSubjectNear400 NoHasPainPills NoHasFirstAidKit IsNotHealthy NotInCombat IsNotSaidAskForHealth IsWorldTalkNamVet
ApplyContext "SaidAskForHealth:1:10"
applycontexttoworld
Response L4D1SurvivorAskForHealthNamVet
Expand Down
8 changes: 8 additions & 0 deletions root/scripts/talker/teengirl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2587,6 +2587,14 @@ Rule L4D1SurvivorAskForHealthTeenGirl
Response L4D1SurvivorAskForHealthTeenGirl
}

Rule L4D1SurvivorAskForHealthV2TeenGirl
{
criteria ConceptPlayerLook IsNotCoughing IsTeenGirl IsTalk IsTalkTeenGirl IsNotSmartLookAuto IsSubjectNear400 NoHasPainPills NoHasFirstAidKit IsNotHealthy NotInCombat IsNotSaidAskForHealth IsWorldTalkTeenGirl
ApplyContext "SaidAskForHealth:1:10"
applycontexttoworld
Response L4D1SurvivorAskForHealthTeenGirl
}

Response L4D1SurvivorAskFrancisForHealthTeenGirl
{
scene "scenes/TeenGirl/PlayerSuggestHealthSpecific09.vcd" //Francis, if you aren't gonna use that first aid kit, can I have it?
Expand Down

0 comments on commit 09cca88

Please sign in to comment.