Left 4 Dead 2
Trash-talking AI Specials V2
 กระทู้นี้ถูกปักหมุด เพราะฉะนั้นอาจเป็นกระทู้สำคัญ
ChimiChamo  [ผู้พัฒนา] 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.
แก้ไขล่าสุดโดย ChimiChamo; 31 ส.ค. 2024 @ 4: 45am
< >
กำลังแสดง 1-15 จาก 17 ความเห็น
would putting 0 as the number make it a 0% chance
ChimiChamo  [ผู้พัฒนา] 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
the chances config file is just a chinese mess. here's what it says:

ൻऊ湏䑟慥桴䉟瑯㴠㠠਍伉彮畓癲癩牯䡟慥‽ളऊ湏䉟汩湩⁧‽㔱਍䴉灡卟数楣楦⁣‽സऊ湏卟慰湷㴠ㄠലऊ敔瑸剟獥潰獮⁥‽സऊ湏䑟慥桴㴠㐠਍}
ChimiChamo  [ผู้พัฒนา] 24 ก.ค. 2024 @ 1: 18pm 
โพสต์ดั้งเดิมโดย 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++
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
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
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.
แก้ไขล่าสุดโดย superluke38; 27 ก.ค. 2024 @ 4: 01pm
โพสต์ดั้งเดิมโดย 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
Despite TeamKillRespLines having PLAYERNAME in multiple lines, it doesn't seem to work on it.
ChimiChamo  [ผู้พัฒนา] 5 ส.ค. 2024 @ 8: 26am 
whoops
โพสต์ดั้งเดิมโดย 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".

โพสต์ดั้งเดิมโดย 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.

โพสต์ดั้งเดิมโดย 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
โพสต์ดั้งเดิมโดย 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
make whem say "fu## off your slime freak!"
แก้ไขล่าสุดโดย blue master; 29 ก.ย. 2024 @ 1: 29am
< >
กำลังแสดง 1-15 จาก 17 ความเห็น
ต่อหน้า: 1530 50