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.
Отредактировано DaddyJragon; 5 апр. 2022 г. в 13:39
< >
Сообщения 17 из 7
ion  [Разработчик] 5 апр. 2022 г. в 14:01 
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.
Автор сообщения: 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!
Отредактировано DaddyJragon; 5 апр. 2022 г. в 14:04
ion  [Разработчик] 5 апр. 2022 г. в 14:11 
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.
Отредактировано ion; 5 апр. 2022 г. в 14:25
Автор сообщения: 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?
Автор сообщения: 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!
Автор сообщения: 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  [Разработчик] 5 апр. 2022 г. в 15:22 
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.
< >
Сообщения 17 из 7
Показывать на странице: 1530 50