Left 4 Dead 2

Left 4 Dead 2

Trash-talking AI Specials V2
 此主题已被置顶,因此可能具有重要性
ChimiChamo  [开发者] 2024 年 7 月 24 日 上午 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.
最后由 ChimiChamo 编辑于; 2024 年 8 月 31 日 上午 4:45
< >
正在显示第 1 - 15 条,共 18 条留言
oolexer 2024 年 7 月 24 日 下午 12:19 
would putting 0 as the number make it a 0% chance
ChimiChamo  [开发者] 2024 年 7 月 24 日 下午 12:24 
it would break the entire script i think, just set it to a super high number if you dont want it
oolexer 2024 年 7 月 24 日 下午 12:26 
ok :steamthumbsup:
Witch 2024 年 7 月 24 日 下午 12:50 
the chances config file is just a chinese mess. here's what it says:

ൻऊ湏䑟慥桴䉟瑯㴠㠠਍伉彮畓癲癩牯䡟慥‽ളऊ湏䉟汩湩⁧‽㔱਍䴉灡卟数楣楦⁣‽സऊ湏卟慰湷㴠ㄠലऊ敔瑸剟獥潰獮⁥‽സऊ湏䑟慥桴㴠㐠਍}
ChimiChamo  [开发者] 2024 年 7 月 24 日 下午 1:18 
引用自 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++
父THISGENSUCKS父 2024 年 7 月 25 日 上午 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
SakuFire 2024 年 7 月 26 日 下午 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 2024 年 7 月 27 日 下午 3: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.
最后由 superluke38 编辑于; 2024 年 7 月 27 日 下午 4:01
ndhart321 2024 年 7 月 30 日 下午 4:05 
引用自 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 2024 年 8 月 5 日 上午 8:20 
Despite TeamKillRespLines having PLAYERNAME in multiple lines, it doesn't seem to work on it.
ChimiChamo  [开发者] 2024 年 8 月 5 日 上午 8:26 
whoops
smungle rungle 2024 年 8 月 31 日 上午 4:27 
引用自 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.
Mambo.~ 2024 年 9 月 5 日 下午 7:18 
@ChimiChamo is there a way to control the chance % of other lines too? Like SpecGrabLines for example
SakuFire 2024 年 9 月 6 日 上午 5:22 
引用自 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 2024 年 9 月 29 日 上午 1:29 
make whem say "fu## off your slime freak!"
最后由 blue master 编辑于; 2024 年 9 月 29 日 上午 1:29
< >
正在显示第 1 - 15 条,共 18 条留言
每页显示数: 1530 50