Left 4 Dead 2

Left 4 Dead 2

ion's Vocalizer
Dimitry Jan 27, 2024 @ 2:37am
Adding certain Negative Reaction response
Recently I tried to add in one of radial menus the specific reaction negative line of the Nick (reactionnegative27, reactionnegative35). Did everything step-by-step and haven't figured out what is wrong am I doing. Here are steps I did:

Added one line in the imt.criteria
Criterion "iMT_NickSwearing" "Concept" "iMT_NickSwearing" required

Then, I went adding the needed lines the imt.gambler.txt :
Response iMT_NickSwearingGambler { scene "scenes/Gambler/ReactionNegative27.vcd" //Kiss my Ass! scene "scenes/Gambler/ReactionNegative35.vcd" //Kiss my Ass! } Rule iMT_NickSwearingGambler { criteria iMT_NickSwearing IsGambler Response NickSwearingGambler }


Finally, I went changing the radialmenu.txt , adding in center the next line:
"Reactions,Survivor,Alive" { "Center" { "command" "vocalize NickSwearing" "text" "SpecificSwearing"

Yet, after all these changes, nothing happened, I can see the menu line has changed, yet, the Gambler doesn't say anything, just a silence in response.


Here are next discussions i checked and used for coding:
https://steamcommunity.com/workshop/filedetails/discussion/698857882/2954915322316830319/#c2954915322317962552

https://steamcommunity.com/workshop/filedetails/discussion/698857882/3269058337188821557/
Last edited by Dimitry; Jan 27, 2024 @ 2:39am
< >
Showing 1-2 of 2 comments
ion  [developer] Jan 27, 2024 @ 5:50am 
In your case:
  • it has to be Response iMT_NickSwearingGambler in the rule
  • it has to be vocalize iMT_NickSwearing in radial menu
Last edited by ion; Jan 27, 2024 @ 5:53am
Dimitry Jan 27, 2024 @ 10:18am 
Yep, it worked, have an award as a thanks.
< >
Showing 1-2 of 2 comments
Per page: 1530 50