fix: report that a bot has heard an enemy
This commit is contained in:
parent
89ea866dcb
commit
b0e98d0e3f
3 changed files with 2 additions and 4 deletions
|
|
@ -41,7 +41,6 @@ Event Chatter_GotBlinded = ive_been_blinded, my_eyes, i_cant_see, im_blind
|
||||||
Event Chatter_GoingToPlantBomb = im_gonna_go_plant, im_gonna_go_plant_the_bomb
|
Event Chatter_GoingToPlantBomb = im_gonna_go_plant, im_gonna_go_plant_the_bomb
|
||||||
Event Chatter_RescuingHostages = the_hostages_are_with_me, taking_the_hostages_to_safety, ive_got_the_hostages, i_have_the_hostages
|
Event Chatter_RescuingHostages = the_hostages_are_with_me, taking_the_hostages_to_safety, ive_got_the_hostages, i_have_the_hostages
|
||||||
Event Chatter_GoingToCamp = im_going_to_camp
|
Event Chatter_GoingToCamp = im_going_to_camp
|
||||||
Event Chatter_HearSomething = hang_on_i_heard_something, i_hear_something, i_hear_them, i_heard_them, i_heard_something_over_there
|
|
||||||
Event Chatter_TeamKill = what_happened, noo, oh_my_god, oh_man, oh_no_sad, what_have_you_done
|
Event Chatter_TeamKill = what_happened, noo, oh_my_god, oh_man, oh_no_sad, what_have_you_done
|
||||||
Event Chatter_ReportingIn = reporting_in
|
Event Chatter_ReportingIn = reporting_in
|
||||||
Event Chatter_GuardingPlantedC4 = bombsite_secure, bombsite_under_control
|
Event Chatter_GuardingPlantedC4 = bombsite_secure, bombsite_under_control
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,6 @@ CR_DECLARE_SCOPED_ENUM (Chatter,
|
||||||
GoingToPlantBomb,
|
GoingToPlantBomb,
|
||||||
RescuingHostages,
|
RescuingHostages,
|
||||||
GoingToCamp,
|
GoingToCamp,
|
||||||
HeardNoise,
|
|
||||||
TeamAttack,
|
TeamAttack,
|
||||||
TeamKill,
|
TeamKill,
|
||||||
ReportingIn,
|
ReportingIn,
|
||||||
|
|
|
||||||
|
|
@ -2643,8 +2643,8 @@ void Bot::checkRadioQueue () {
|
||||||
else if ((path.flags & NodeFlag::Camp) && rg.chance (75)) {
|
else if ((path.flags & NodeFlag::Camp) && rg.chance (75)) {
|
||||||
pushChatterMessage (Chatter::GoingToCamp);
|
pushChatterMessage (Chatter::GoingToCamp);
|
||||||
}
|
}
|
||||||
else {
|
else if (m_states & Sense::HearingEnemy) {
|
||||||
pushChatterMessage (Chatter::HeardNoise);
|
pushChatterMessage (Chatter::HeardTheEnemy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (rg.chance (30)) {
|
else if (rg.chance (30)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue