-
Notifications
You must be signed in to change notification settings - Fork 78
[TF2] The responses "CartMovingForwardDefense..." don't play #4912
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
[TF2] The responses "CartMovingForwardDefense..." don't play #4912
Comments
So, for reference, the name of the criteria is misleading. It actually plays when the player (defending) is standing near the payload and an enemy (attacking) touches the payload. The cart doesn't move because it's being defended (it actually does: #3578), so idk why its name is "CartMovingForwardDefense" |
This is the code in team_train_watcher.cpp that controls when the concept should play CartMovingForwardDefense when the payload is moving forward
As you can see, the code checks that the player is touching the payload ( I think it should be like this for RED.
It should also be necessary to add a check if the player is on defense, however, this can be added also in the response rules with the criterion IsOnDefense. |
This is the response and rule from demoman.txt in scripts/talker
Nothing is mispelled, everything seems ok, however, these voicelines never play in the game. I don't think the VCD files are broken or missing because there is no error displayed in the console (like: Scene "....vcd" missing! / missing from scenes.image)
These are the criteria for the cart
and these are from response_rule.txt
Again, nothing wrong. The criteria works for the other responses (cart not moving, cart moving forward offense, etc.), so, I don't understand why these specific responses don't play.
The text was updated successfully, but these errors were encountered: