Left 4 Dead 2

Left 4 Dead 2

ion's Vocalizer
Trying to Add DoubleDeath Response
Is it at all possible/ possible to add 1 specific voiceline to a radial menu, I've been trying to work it out for my own personal use but all my attempts have ended up with nothing to show for it

though honestly I pretty much know nothing about any of this stuff and am just working from what I can see and modify are there specific rules I need to add for this? or would it be possible to replace a voiceline with the desired one
< >
Showing 1-3 of 3 comments
ion  [developer] Oct 3, 2021 @ 7:49am 
Radial menu must have all 9 positions defined (Center, North, NorthEast, East, etc) to work properly. You can leave any number of positions with empty "command" and/or "text" parts, but all positions must be defined.

If you want to add any DoubleDeathResponse line, it can be added only in the same way as all "limited use" lines are added in my vocalizer. So, it's not something that is "ready-made" and easily available to use.
LittleFlame Oct 3, 2021 @ 9:38am 
Ah yeah I've been trying to replace the Nick Germ voiceline but haven't been having any luck so far hosting locally using the map command as well so I'm able to use the limited use ones at least in that testing ground

Unfortunately don't actually know how to do it/have 0 scripting knowledge and just tried to base it off the other ones as best I could but I must have messed up somewhere

I changed it in both imtgambler.txt and radialmenu to the appropriate vcd but maybe the response/rule is wrong as it's still set to iMT_NickOCDGambler
Last edited by LittleFlame; Oct 3, 2021 @ 9:38am
ion  [developer] Oct 3, 2021 @ 11:57am 
Let say you want to change the existing Nick's line "Germ" in the vocalizer to your custom line.

1. First, define your custom concept. Let's name it DoubleDeathResponse, for example. Add the following line to imt_criteria.txt:
Criterion "DoubleDeathResponse" "Concept" "DoubleDeathResponse" required

2. Add the following code to imt_gambler.txt:
Response DoubleDeathResponseGambler { scene "scenes/Gambler/DoubleDeathResponse01.vcd" //Well ♥♥♥♥. We're a twosome from here on out. scene "scenes/Gambler/DoubleDeathResponse02.vcd" //Looks like it's just you and me. } Rule DoubleDeathResponseGambler { criteria DoubleDeathResponse IsGambler Response DoubleDeathResponseGambler }
You can change, add or remove .vcd files in the Response section to your liking.

3. Finally, edit radialmenu.txt and change the "command" part of "Germ" line to:
vocalize DoubleDeathResponse
You can also change the "text" part to your liking, for example to "Two left" or anything.

I hope this helps. ;)
Last edited by ion; Oct 3, 2021 @ 12:10pm
< >
Showing 1-3 of 3 comments
Per page: 1530 50