Left 4 Dead 2

Left 4 Dead 2

ion's Vocalizer
Dimitry 2024 年 1 月 27 日 上午 2:37
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://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/698857882/2954915322316830319/#c2954915322317962552

https://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/698857882/3269058337188821557/
最后由 Dimitry 编辑于; 2024 年 1 月 27 日 上午 2:39
< >
正在显示第 1 - 2 条,共 2 条留言
ion  [开发者] 2024 年 1 月 27 日 上午 5:50 
In your case:
  • it has to be Response iMT_NickSwearingGambler in the rule
  • it has to be vocalize iMT_NickSwearing in radial menu
最后由 ion 编辑于; 2024 年 1 月 27 日 上午 5:53
Dimitry 2024 年 1 月 27 日 上午 10:18 
Yep, it worked, have an award as a thanks.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50