Left 4 Dead 2

Left 4 Dead 2

Trash-talking AI Specials V2
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
ChimiChamo  [udvikler] 24. juli 2024 kl. 9:05
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.
Sidst redigeret af ChimiChamo; 31. aug. 2024 kl. 4:45
< >
Viser 1-15 af 17 kommentarer
oolexer 24. juli 2024 kl. 12:19 
would putting 0 as the number make it a 0% chance
ChimiChamo  [udvikler] 24. juli 2024 kl. 12:24 
it would break the entire script i think, just set it to a super high number if you dont want it
oolexer 24. juli 2024 kl. 12:26 
ok :steamthumbsup:
Witch 24. juli 2024 kl. 12:50 
the chances config file is just a chinese mess. here's what it says:

ൻऊ湏䑟慥桴䉟瑯㴠㠠਍伉彮畓癲癩牯䡟慥‽ളऊ湏䉟汩湩⁧‽㔱਍䴉灡卟数楣楦⁣‽സऊ湏卟慰湷㴠ㄠലऊ敔瑸剟獥潰獮⁥‽സऊ湏䑟慥桴㴠㐠਍}
ChimiChamo  [udvikler] 24. juli 2024 kl. 13:18 
Oprindeligt skrevet af 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ツ 25. juli 2024 kl. 9:49 
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 26. juli 2024 kl. 12:27 
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 27. juli 2024 kl. 15:44 
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.
Sidst redigeret af superluke38; 27. juli 2024 kl. 16:01
ndhart321 30. juli 2024 kl. 16:05 
Oprindeligt skrevet af 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 5. aug. 2024 kl. 8:20 
Despite TeamKillRespLines having PLAYERNAME in multiple lines, it doesn't seem to work on it.
ChimiChamo  [udvikler] 5. aug. 2024 kl. 8:26 
whoops
grungle bungle 31. aug. 2024 kl. 4:27 
Oprindeligt skrevet af 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".

Oprindeligt skrevet af 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.

Oprindeligt skrevet af 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.
Mambo.~ ᓚᘏᗢ 5. sep. 2024 kl. 19:18 
@ChimiChamo is there a way to control the chance % of other lines too? Like SpecGrabLines for example
Qingyi Gaming 6. sep. 2024 kl. 5:22 
Oprindeligt skrevet af 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 29. sep. 2024 kl. 1:29 
make whem say "fu## off your slime freak!"
Sidst redigeret af blue master; 29. sep. 2024 kl. 1:29
< >
Viser 1-15 af 17 kommentarer
Per side: 1530 50