Skip to content

[TF2] Restored unused Rocket Destroyed voice response #1165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

rabscootle
Copy link
Contributor

@rabscootle rabscootle commented Mar 30, 2025

Resolves ValveSoftware/Source-1-Games#5925

Updated tf_weapon_minigun.cpp to include a trigger for unused MP_CONCEPT_ROCKET_DESTOYED concept. RocketDestroyedHeavy response rule will now play in-game.

Recommended to also update scripts/talker/heavy.txt with the following changes:

  • Lower frequency of rocket deflect vo (50% -> 10%)
  • Add "IsDominating" context to ensure voicelines are not truncated by taking damage

An updated response rule with these changes incorporated can be found below:

Response RocketDestroyedHeavy
{
     scene "scenes/Player/Heavy/low/3979.vcd"
     scene "scenes/Player/Heavy/low/3980.vcd"
     scene "scenes/Player/Heavy/low/3982.vcd"
}
Rule RocketDestroyedHeavy
{
     criteria ConceptRocketDestroyed 10PercentChance IsHeavy
     ApplyContext "IsDominating:1:5" // Adding this so Heavy doesn't get cut off when taking damage
     Response RocketDestroyedHeavy
}
heavy_deflect_fix.mp4

Description

Updated tf_weapon_minigun.cpp to include a trigger for unused MP_CONCEPT_ROCKET_DESTOYED concept. RocketDestroyedHeavy response rule will now play in-game.

Added checks for lines to not be truncated by pain audio (Heavy will typically be under fire when in these situations).

Updated scripts/talker/heavy.txt to lower frequency of rocket deflect vo (50% -> 5%)
@rabscootle rabscootle changed the title Restored unused Rocket Destroyed voice response [TF2] Restored unused Rocket Destroyed voice response Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TF2] Restore unused 'Rocket Deflection' voice responses
3 participants