Left 4 Dead 2

Left 4 Dead 2

Trash-talking AI Specials V2
 This topic has been pinned, so it's probably important
ChimiChamo  [developer] Jul 24, 2024 @ 9:05am
Customising lines and chances
In ems/trashtalkspecials/ in your main game directory will be cfg files for each scenario where lines can be said and chances.cfg.

For chances:
//Setting the numbers to 1 will make it an 100% chance, 2 a 50% chance and so forth
Map_Specific = 8 //Chance of map-specific on killed quote
On_Death = 4 //Chance of on killed by human survivor quote
On_Death_Bot = 8 //Chance of on killed by bot survivor quote
Text_Response = 8 //Chance of responding to text chat
On_Spawn = 12 //Chance of on spawned in quote
On_Survivor_Heal = 3 //Chance of survivor healing response
On_Biling = 15 //Chance of a boomer biling someone quote

The lines one should be fairly self-explanatory. Using PLAYERNAME in any of them will replace that with the subject's name. This isn't set for everything so it will be blank if the event you add it for doesn't set the name to anything.
Last edited by ChimiChamo; Aug 31, 2024 @ 4:45am
< >
Showing 1-15 of 17 comments
oolexer Jul 24, 2024 @ 12:19pm 
would putting 0 as the number make it a 0% chance
ChimiChamo  [developer] Jul 24, 2024 @ 12:24pm 
it would break the entire script i think, just set it to a super high number if you dont want it
oolexer Jul 24, 2024 @ 12:26pm 
ok :steamthumbsup:
Witch Jul 24, 2024 @ 12:50pm 
the chances config file is just a chinese mess. here's what it says:

ൻऊ湏䑟慥桴䉟瑯㴠㠠਍伉彮畓癲癩牯䡟慥‽ളऊ湏䉟汩湩⁧‽㔱਍䴉灡卟数楣楦⁣‽സऊ湏卟慰湷㴠ㄠലऊ敔瑸剟獥潰獮⁥‽സऊ湏䑟慥桴㴠㐠਍}
ChimiChamo  [developer] Jul 24, 2024 @ 1:18pm 
Originally posted by Witch:
the chances config file is just a chinese mess. here's what it says:

ൻऊ湏䑟慥桴䉟瑯㴠㠠਍伉彮畓癲癩牯䡟慥‽ളऊ湏䉟汩湩⁧‽㔱਍䴉灡卟数楣楦⁣‽സऊ湏卟慰湷㴠ㄠലऊ敔瑸剟獥潰獮⁥‽സऊ湏䑟慥桴㴠㐠਍}
apparently its a windows thing, try opening it in something like notepad++
PASSTHECUMCAKEツ Jul 25, 2024 @ 9:49am 
So i have added some lines to it did the right thing with the commas and quotations,saved the changes and it reseted what am i doing wrong
Qingyi Gaming Jul 26, 2024 @ 12:27pm 
I really like this mod, but for some reason it bugs with the survivor bots (idk if it's 8 survivors doing this), instead of saying the survivor's name, it says PLAYERNAME instead.

Here's a picture showing what I mean https://i.imgur.com/IqIsLQi.jpeg
superluke38 Jul 27, 2024 @ 3:44pm 
This doesn't work for me. I've put all values to one, played on a dedicated server, and they don't say anything at all. Any help?

edit: so after a bit of testing i've found it only works on a local server, but i want to play with my friends online so i need to find out how to make it work online.
Last edited by superluke38; Jul 27, 2024 @ 4:01pm
ndhart321 Jul 30, 2024 @ 4:05pm 
Originally posted by Witch:
the chances config file is just a chinese mess. here's what it says:

ൻऊ湏䑟慥桴䉟瑯㴠㠠਍伉彮畓癲癩牯䡟慥‽ളऊ湏䉟汩湩⁧‽㔱਍䴉灡卟数楣楦⁣‽സऊ湏卟慰湷㴠ㄠലऊ敔瑸剟獥潰獮⁥‽സऊ湏䑟慥桴㴠㐠਍}
Translation is basically someone calling someone bald, never seen sunlight (basically a touch grass or go outside type thing), and fat
minimario350 Aug 5, 2024 @ 8:20am 
Despite TeamKillRespLines having PLAYERNAME in multiple lines, it doesn't seem to work on it.
ChimiChamo  [developer] Aug 5, 2024 @ 8:26am 
whoops
grungle bungle Aug 31, 2024 @ 4:27am 
Originally posted by superluke38:
This doesn't work for me. I've put all values to one, played on a dedicated server, and they don't say anything at all. Any help?

edit: so after a bit of testing i've found it only works on a local server, but i want to play with my friends online so i need to find out how to make it work online.

Create a friends-only lobby from the main menu and set the server to "Local Server".

Originally posted by Alya:
I really like this mod, but for some reason it bugs with the survivor bots (idk if it's 8 survivors doing this), instead of saying the survivor's name, it says PLAYERNAME instead.

Here's a picture showing what I mean https://i.imgur.com/IqIsLQi.jpeg

Which 8 player mod are you using? I use the V-Script Survivor Manager. Didn't test it with this mod yet, but if I remember it worked with version 1 of this mod.

Originally posted by ChimiChamo:
it would break the entire script i think, just set it to a super high number if you dont want it

Yes, it will, as trying to divide 100 by 0 causes the source engine to have a mental breakdown.
@ChimiChamo is there a way to control the chance % of other lines too? Like SpecGrabLines for example
Qingyi Gaming Sep 6, 2024 @ 5:22am 
Originally posted by fat sport guy:
Which 8 player mod are you using? I use the V-Script Survivor Manager. Didn't test it with this mod yet, but if I remember it worked with version 1 of this mod.
No worries it's now working for me now
blue master Sep 29, 2024 @ 1:29am 
make whem say "fu## off your slime freak!"
Last edited by blue master; Sep 29, 2024 @ 1:29am
< >
Showing 1-15 of 17 comments
Per page: 1530 50