Skip to content

[TF2] The responses "CartMovingForwardDefense..." don't play #4912

@Ashetf2

Description

@Ashetf2

This is the response and rule from demoman.txt in scripts/talker

Response CartMovingForwardDefenseDemoman                                                       
{
	scene "scenes/Player/Demoman/low/7716.vcd"
	scene "scenes/Player/Demoman/low/7717.vcd"
}
Rule CartMovingForwardDefenseDemoman                                                       
{
	criteria ConceptCartMovingForward IsOnDefense IsDemoman DemomanNotSaidCartMovingForwardD IsNotDisguised 75PercentChance                                                                                                                                                            
	ApplyContext "SaidCartMovingForwardD:1:20"
	Response CartMovingForwardDefenseDemoman                                                       
}

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

Criterion "DemomanNotSaidCartMovingBackwardD" "SaidCartMovingBackwardD" "!=1" "required" weight 0
Criterion "DemomanNotSaidCartMovingBackwardO" "SaidCartMovingBackwardO" "!=1" "required" weight 0
Criterion "DemomanNotSaidCartMovingForwardD" "SaidCartMovingForwardD" "!=1" "required" weight 0
Criterion "DemomanNotSaidCartMovingForwardO" "SaidCartMovingForwardO" "!=1" "required" weight 0
Criterion "DemomanNotSaidCartMovingStoppedD" "SaidCartMovingStoppedD" "!=1" "required" weight 0
Criterion "DemomanNotSaidCartMovingStoppedO" "SaidCartMovingStoppedO" "!=1" "required" weight 0

and these are from response_rule.txt

criterion "ConceptCartMovingForward" "Concept" "TLK_CART_MOVING_FORWARD" required          
criterion "ConceptCartMovingStopped" "Concept" "TLK_CART_STOP" required          
criterion "ConceptCartMovingBackward" "Concept" "TLK_CART_MOVING_BACKWARD" required    

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions