Left 4 Dead 2

Left 4 Dead 2

ion's Vocalizer
The Dead Center FF lines
Care to explain more for me?
< >
Showing 1-15 of 15 comments
ion  [developer] Jun 29, 2023 @ 12:44pm 
Let's say you want to change friendly fire lines for Coach. In that case, you would need to edit imt_coach.txt in my custom talker.

In case you want to have only Dead Center exclusive lines (that is before survivors introduced in elevator and know their names) on all maps, you need to change the following rule's Response part:

Rule iMT_PlayerFriendlyFireCoach { criteria iMT_PlayerFriendlyFire IsCoach Response PlayerFriendlyFireC1Coach }

If you want to have both Dead Center and regular responses, you need to make a new response and call it from the rule:

Response iMT_PlayerFriendlyFireCoach
{
scene "scenes/Coach/FriendlyFire03.vcd" //Where in the hell ya think you're shootin?
scene "scenes/Coach/FriendlyFire04.vcd" //Watch where you're shooting!
scene "scenes/Coach/FriendlyFire05.vcd" //Cut that s-hit out!
scene "scenes/Coach/FriendlyFire06.vcd" //I swear to god you can't shoot worth ♥♥♥♥.
scene "scenes/Coach/FriendlyFire07.vcd" //There's gonna be some biblical s-hit happening to you if you do that again.
scene "scenes/Coach/FriendlyFire08.vcd" //Shoot me again, and you gonna be meetin' your maker right soon.
scene "scenes/Coach/FriendlyFire09.vcd" //Let's not all start shootin' each other now.
scene "scenes/Coach/FriendlyFire11.vcd" //Man, I swear to god you can't shoot worth ♥♥♥♥.
scene "scenes/Coach/FriendlyFire13.vcd" //Shootin' me? That's some crazy s-hit.
scene "scenes/Coach/FriendlyFire14.vcd" //You do know you shootin' me right?
scene "scenes/Coach/FriendlyFire15.vcd" //Look, try shootin' some damn zombies instead of me.
scene "scenes/Coach/FriendlyFire16.vcd" //Are you outta your mind shootin' at me?
scene "scenes/Coach/FriendlyFire17.vcd" //Will you cut that s-hit out?
scene "scenes/Coach/FriendlyFire18.vcd" //Yo! Stop shooting me, all right?
scene "scenes/Coach/FriendlyFire19.vcd" //Y'all gotta stop shootin me.
scene "scenes/Coach/FriendlyFire20.vcd" //GODD-AMNIT STOP SHOOTIN ME!
scene "scenes/Coach/FriendlyFire21.vcd" //Ah hell no! Do not shoot me.
scene "scenes/Coach/FriendlyFire22.vcd" //Come on now, seriously.
scene "scenes/Coach/FriendlyFire23.vcd" //Stop shooting me.
scene "scenes/Coach/FriendlyFire24.vcd" //Don't be shooting me.
scene "scenes/Coach/FriendlyFire25.vcd" //You are shooting me!
scene "scenes/Coach/FriendlyFire26.vcd" //That's some bulls-hit.
scene "scenes/Coach/FriendlyFire27.vcd" //Do that again and I'll come back on you.
scene "scenes/Coach/FriendlyFire28.vcd" //You shot me!
scene "scenes/Coach/FriendlyFire29.vcd" //Man, you shot me?
scene "scenes/Coach/FriendlyFireC101.vcd" //Y'all need to focus!
scene "scenes/Coach/FriendlyFireC102.vcd" //Listen, y'all, We need to pull together as a team.
scene "scenes/Coach/FriendlyFireC103.vcd" //Now come on now, Let's put some effort into this.
scene "scenes/Coach/FriendlyFireC104.vcd" //I'm trying to tell you, shooting each other is not helping each other.
scene "scenes/Coach/FriendlyFireC106.vcd" //Y'all shootin' me.
scene "scenes/Coach/FriendlyFireC107.vcd" //Let's not be shootin' each other people.
}
Rule iMT_PlayerFriendlyFireCoach { criteria iMT_PlayerFriendlyFire IsCoach Response iMT_PlayerFriendlyFireCoach }

Of course, you can put any voice lines you wish in the Response part. For other L4D2 survivors do the change in their respective files in the same way.

As you can see, it's not super easy and you need to have at least basic knowledge of how talker works if you want to make the changes you want.

Hope this helps...
Last edited by ion; Jun 29, 2023 @ 12:56pm
Originally posted by ion:
Let's say you want to change friendly fire lines for Coach. In that case, you would need to edit imt_coach.txt in my custom talker.

In case you want to have only Dead Center exclusive lines (that is before survivors introduced in elevator and know their names) on all maps, you need to change the following rule's Response part:

Rule iMT_PlayerFriendlyFireCoach { criteria iMT_PlayerFriendlyFire IsCoach Response PlayerFriendlyFireC1Coach }

If you want to have both Dead Center and regular responses, you need to make a new response and call it from the rule:

Response iMT_PlayerFriendlyFireCoach
{
scene "scenes/Coach/FriendlyFire03.vcd" //Where in the hell ya think you're shootin?
scene "scenes/Coach/FriendlyFire04.vcd" //Watch where you're shooting!
scene "scenes/Coach/FriendlyFire05.vcd" //Cut that s-hit out!
scene "scenes/Coach/FriendlyFire06.vcd" //I swear to god you can't shoot worth ♥♥♥♥.
scene "scenes/Coach/FriendlyFire07.vcd" //There's gonna be some biblical s-hit happening to you if you do that again.
scene "scenes/Coach/FriendlyFire08.vcd" //Shoot me again, and you gonna be meetin' your maker right soon.
scene "scenes/Coach/FriendlyFire09.vcd" //Let's not all start shootin' each other now.
scene "scenes/Coach/FriendlyFire11.vcd" //Man, I swear to god you can't shoot worth ♥♥♥♥.
scene "scenes/Coach/FriendlyFire13.vcd" //Shootin' me? That's some crazy s-hit.
scene "scenes/Coach/FriendlyFire14.vcd" //You do know you shootin' me right?
scene "scenes/Coach/FriendlyFire15.vcd" //Look, try shootin' some damn zombies instead of me.
scene "scenes/Coach/FriendlyFire16.vcd" //Are you outta your mind shootin' at me?
scene "scenes/Coach/FriendlyFire17.vcd" //Will you cut that s-hit out?
scene "scenes/Coach/FriendlyFire18.vcd" //Yo! Stop shooting me, all right?
scene "scenes/Coach/FriendlyFire19.vcd" //Y'all gotta stop shootin me.
scene "scenes/Coach/FriendlyFire20.vcd" //GODD-AMNIT STOP SHOOTIN ME!
scene "scenes/Coach/FriendlyFire21.vcd" //Ah hell no! Do not shoot me.
scene "scenes/Coach/FriendlyFire22.vcd" //Come on now, seriously.
scene "scenes/Coach/FriendlyFire23.vcd" //Stop shooting me.
scene "scenes/Coach/FriendlyFire24.vcd" //Don't be shooting me.
scene "scenes/Coach/FriendlyFire25.vcd" //You are shooting me!
scene "scenes/Coach/FriendlyFire26.vcd" //That's some bulls-hit.
scene "scenes/Coach/FriendlyFire27.vcd" //Do that again and I'll come back on you.
scene "scenes/Coach/FriendlyFire28.vcd" //You shot me!
scene "scenes/Coach/FriendlyFire29.vcd" //Man, you shot me?
scene "scenes/Coach/FriendlyFireC101.vcd" //Y'all need to focus!
scene "scenes/Coach/FriendlyFireC102.vcd" //Listen, y'all, We need to pull together as a team.
scene "scenes/Coach/FriendlyFireC103.vcd" //Now come on now, Let's put some effort into this.
scene "scenes/Coach/FriendlyFireC104.vcd" //I'm trying to tell you, shooting each other is not helping each other.
scene "scenes/Coach/FriendlyFireC106.vcd" //Y'all shootin' me.
scene "scenes/Coach/FriendlyFireC107.vcd" //Let's not be shootin' each other people.
}
Rule iMT_PlayerFriendlyFireCoach { criteria iMT_PlayerFriendlyFire IsCoach Response iMT_PlayerFriendlyFireCoach }

Of course, you can put any voice lines you wish in the Response part. For other L4D2 survivors do the change in their respective files in the same way.

As you can see, it's not super easy and you need to have at least basic knowledge of how talker works if you want to make the changes you want.

Hope this helps...

I only want this to have different contextual lines separate, not merging DC with regular ones.
So I only have to follow the first text wall you posted?
ion  [developer] Jun 29, 2023 @ 5:17pm 
It seems so. As I said, the first one will give you only Dead Center lines on all maps.
Originally posted by ion:
It seems so. As I said, the first one will give you only Dead Center lines on all maps.
meaning this method disables regular lines, both eventfully and by radial use?
ion  [developer] Jun 29, 2023 @ 5:25pm 
It affect only radial menu use. Automatic responses in the game will continue to work normally as before.
Originally posted by ion:
It affect only radial menu use. Automatic responses in the game will continue to work normally as before.
ahh okay, I see it. I'll try this out.
Originally posted by ion:
It affect only radial menu use. Automatic responses in the game will continue to work normally as before.
Nope, still nothing! Here's what I got in the .txt file:

Rule iMT_PlayerFriendlyFireCoach { criteria iMT_PlayerFriendlyFire IsCoach Response PlayerFriendlyFireC1Coach } Rule iMT_PlayerFriendlyFireC1Coach { criteria iMT_PlayerFriendlyFire IsCoach Response PlayerFriendlyFireC1Coach }
Sorry if I mended the original C1 text you originally have.
ion  [developer] Jun 30, 2023 @ 3:42am 
Your code is OK. Even if you now have two rules which do exactly the same thing and have the same chance to execute, it will work. That is if you haven't messed up something else in the vocalizer, of course. And as you most likely know, this code affects "Friendly fire" line in Miscellaneous 6 (limited use) radial menu.

Other than that, all I can say is to try and experiment until you make it work.
Originally posted by ion:
Your code is OK. Even if you now have two rules which do exactly the same thing and have the same chance to execute, it will work. That is if you haven't messed up something else in the vocalizer, of course. And as you most likely know, this code affects "Friendly fire" line in Miscellaneous 6 (limited use) radial menu.

Other than that, all I can say is to try and experiment until you make it work.

Hey, it is me again. I also want to add a new DC voice lines for the special infected. I might need a little help here:

Rule iMT_PlayerHeardBoomerC1Coach { criteria iMT_ConceptPlayerHeardBoomer IsCoach Response iMT_PlayerHeardBoomerC1Coach } Response iMT_PlayerHeardBoomerC1Coach { scene "scenes/Coach/HeardSpecialC101.vcd" //Ahh what the heck is that?! scene "scenes/Coach/HeardSpecialC102.vcd" //I don't like the sound of that one bit. scene "scenes/Coach/HeardSpecialC103.vcd" //Anyone know what that is? scene "scenes/Coach/HeardSpecialC104.vcd" //From the sounds of it, its about to get a whole lot worse.

And for my Radial:
"North" { "command" "vocalize ConceptPlayerHeardBoomer" "text" "Hear danger"
ion  [developer] Jul 7, 2023 @ 5:06am 
It won't work like that. First, command for the radial menu position should be "vocalize iMT_ConceptPlayerHeardBoomer". Second, since you introduced a new concept, you need to add the following code to imt_criteria.txt:

Criterion "iMT_ConceptPlayerHeardBoomer" "Concept" "iMT_ConceptPlayerHeardBoomer" required

And again, this line will be "limited use", keep that in mind.
Originally posted by ion:
It won't work like that. First, command for the radial menu position should be "vocalize iMT_ConceptPlayerHeardBoomer". Second, since you introduced a new concept, you need to add the following code to imt_criteria.txt:

Criterion "iMT_ConceptPlayerHeardBoomer" "Concept" "iMT_ConceptPlayerHeardBoomer" required

And again, this line will be "limited use", keep that in mind.

ALSO, Some say the TLS added in extra rules and stuff, meaning your iMT may not be needed anymore. Is this true?
Originally posted by ion:
It won't work like that. First, command for the radial menu position should be "vocalize iMT_ConceptPlayerHeardBoomer". Second, since you introduced a new concept, you need to add the following code to imt_criteria.txt:

Criterion "iMT_ConceptPlayerHeardBoomer" "Concept" "iMT_ConceptPlayerHeardBoomer" required

And again, this line will be "limited use", keep that in mind.

I am so sorry to bother you again! Ignore my curious question above because I have an instant game error when loading into map:

"CUtIRBTree overflow!"
ion  [developer] Jul 7, 2023 @ 12:31pm 
Originally posted by Operation_Aribaaa:
ALSO, Some say the TLS added in extra rules and stuff, meaning your iMT may not be needed anymore. Is this true?

It is true that TLS update added new stuff, but also new restrictions on vocalizer usage. My custom scripts offer responses normally not available for use, remove some of the game talker's restrictions and for some common lines extend existing responses.

If in the future game gets any talker related update which will affect my vocalizer, I will update it accordingly. My aim is to always be compatible with the latest update.

Cheers!
Originally posted by ion:
Originally posted by Operation_Aribaaa:
ALSO, Some say the TLS added in extra rules and stuff, meaning your iMT may not be needed anymore. Is this true?

It is true that TLS update added new stuff, but also new restrictions on vocalizer usage. My custom scripts offer responses normally not available for use, remove some of the game talker's restrictions and for some common lines extend existing responses.

If in the future game gets any talker related update which will affect my vocalizer, I will update it accordingly. My aim is to always be compatible with the latest update.

Cheers!

Ah, okay, that is great to hear.

But do you have a solution to another roadblock of mine?
< >
Showing 1-15 of 15 comments
Per page: 1530 50