Left 4 Dead 2

Left 4 Dead 2

ion's Vocalizer
Nick
So, I want to make nick say a word in the swear category of the original radial menu, and I have the sound files. I have been trying to figure out what code I put in for it though.

reactionnegative20.wav

"East"
{
"command" "vocalize PlayerNegativeReaction08"
"text" "~~~~"
}

Line 3 must be the issue because I haven't been able to properly define that sound file.
Please help as soon as you can I have been working at this for hours.
Last edited by JragonSlaya; Apr 5, 2022 @ 1:39pm
< >
Showing 1-7 of 7 comments
ion  [developer] Apr 5, 2022 @ 2:01pm 
Yes, "command" part is the issue. You can't just vocalize any sound file(s), it's not how the game works. You would need to change the talker to accomplish what you want.
JragonSlaya Apr 5, 2022 @ 2:02pm 
Originally posted by ion:
Yes, "command" part is the issue. You can't just vocalize any sound file(s), it's not how the game works. You would need to change the talker to accomplish what you want.

Could I get some advice/help on how to do this?
Also thank you for you quick response!
Last edited by JragonSlaya; Apr 5, 2022 @ 2:04pm
ion  [developer] Apr 5, 2022 @ 2:11pm 
The easiest way would be to change the response for one of Nick's existing "limited use" lines in my vocalizer's custom scripts to this:

scene "scenes/Gambler/ReactionNegative20.vcd"

Also, this discussion post can help you.
Last edited by ion; Apr 5, 2022 @ 2:25pm
JragonSlaya Apr 5, 2022 @ 2:42pm 
Originally posted by ion:
The easiest way would be to change the response for one of Nick's existing "limited use" lines in my vocalizer's custom scripts to this:
scene "scenes/Gambler/ReactionNegative20.vcd"

So you are saying there is no way to replace the Swear radial with one of the swears? For example say I want to replace the No radial with Nick vocalizing ONE of his no phrases?
JragonSlaya Apr 5, 2022 @ 2:49pm 
Originally posted by ion:
The easiest way would be to change the response for one of Nick's existing "limited use" lines in my vocalizer's custom scripts to this:

scene "scenes/Gambler/ReactionNegative20.vcd"

Also, this discussion post can help you.

I think I figured it out!

I will keep you posted!
JragonSlaya Apr 5, 2022 @ 3:15pm 
Originally posted by ion:
The easiest way would be to change the response for one of Nick's existing "limited use" lines in my vocalizer's custom scripts to this:

scene "scenes/Gambler/ReactionNegative20.vcd"

Also, this discussion post can help you.

That unfortunately did not help. I wish I could figure this out but none of my code seems to be working. I may have to call it quits. I really looked forward to having this work, but it seems as though my code alterations are not adequate. Maybe someday I will ask again or find one already pre-made. I appreciate you for all of the time you have given me! Have a good day!
ion  [developer] Apr 5, 2022 @ 3:22pm 
Talker is not so easy to understand. But you can study my vocalizer scripts to see how things are done and then make custom changes you want.
< >
Showing 1-7 of 7 comments
Per page: 1530 50