Left 4 Dead 2

Left 4 Dead 2

[LEGACY] Trash-talking AI Specials
 此主題已被置頂,因此它可能很重要
goob 2023 年 10 月 29 日 上午 1:39
how to edit
i want them to say n word :steamsad:
< >
目前顯示第 1-15 則留言,共 20
≡>-(Voersie)-<≡ 2023 年 10 月 29 日 上午 1:58 
heeelp uuuus!
ChimiChamo  [開發人員] 2023 年 10 月 29 日 上午 3:41 
first make sure you have the l4d2 authoring tools installed, you can find it in the tools tab in your library. next navigate to your l4d2 main directory and go to left4dead2/addons/workshop. There you'll find all your installed workshop addons. find 3061938834.vpk and then drag it into bin/vpk.exe in your main l4d2 directory. this will extract the contents of the addon. open the folder titled 3061938834 that has been created and go to scripts/vscripts/director_base_addon.nut. open this file in any text editor and youll find the lines that you can change at the bottom of the script. make sure there is a comma after each line in the array
katwu 2023 年 10 月 29 日 上午 5:05 
引用自 ChimiChamo
first make sure you have the l4d2 authoring tools installed, you can find it in the tools tab in your library. next navigate to your l4d2 main directory and go to left4dead2/addons/workshop. There you'll find all your installed workshop addons. find 3061938834.vpk and then drag it into bin/vpk.exe in your main l4d2 directory. this will extract the contents of the addon. open the folder titled 3061938834 that has been created and go to scripts/vscripts/director_base_addon.nut. open this file in any text editor and youll find the lines that you can change at the bottom of the script. make sure there is a comma after each line in the array

i edited it and now infected rarely, as in RARELY say their lines, they only say them every like 5 kills. is there any way to change the frequency? it was working js fine but idk maybe changing the lines messed it up. i checked and theres commas, but the infected only say lines rarely and they never say the lines that I made
最後修改者:katwu; 2023 年 10 月 29 日 上午 5:39
ChimiChamo  [開發人員] 2023 年 10 月 29 日 上午 5:58 
i may have forgotten to mention something, whoops. You have to drag the folder with the script back into vpk.exe. you then drag the new 3061938834.vpk into your addons folder and unsubscribe from the workshop addon. to change the frequency that the specials talk, you modify the lines near the top reading "if(RandomInt(0,2) == 2)" to different values
Тимур 2023 年 10 月 29 日 上午 11:07 
25851815512144157567
The Blu Portal 2023 年 10 月 29 日 下午 2:35 
What should the values be and which ones do we need to change?
ChimiChamo  [開發人員] 2023 年 10 月 29 日 下午 2:37 
引用自 The Blu Portal
What should the values be and which ones do we need to change?
assuming you mean the randomint thing, that generates a random number from the minimum which there is 0, to the max which there is 2 then theres a check for whether the random number is 2 and if it is do whatever happens next. If you want to make it rarer, youd have to make the max larger, to make it more common, make the max smaller and then change what it equals to since obviously it cant generate a number outside of its range
The Blu Portal 2023 年 10 月 29 日 下午 2:41 
引用自 ChimiChamo
引用自 The Blu Portal
What should the values be and which ones do we need to change?
assuming you mean the randomint thing, that generates a random number from the minimum which there is 0, to the max which there is 2 then theres a check for whether the random number is 2 and if it is do whatever happens next. If you want to make it rarer, youd have to make the max larger, to make it more common, make the max smaller and then change what it equals to since obviously it cant generate a number outside of its range
Thanks, ill make it "if(RandomInt(0,1) == 1)"
The Blu Portal 2023 年 10 月 29 日 下午 3:14 
Got it, so to edit you want to open your game directory from steam and open a second window of file explorer and get to the same place. In one window do left4dead2 > addons > workshop, find 3061938834 (make sure you boot the game at least once when you subscribe for it to show). In the second window click bin and find vpk.exe. Now drag 3061938834.vpk to vpk.exe. In your first window at the top you should see a folder now, do (folder)3061938834 > scripts > vscripts . Open director_base_addon.nut with notepad. To edit frequency to 100% change all instances of "if(RandomInt(0,2) == 2)" to "if(RandomInt(0,1) == 1)" there should be 4 instances. To edit lines, find "local killLines =" for kill lines "local TankkillLines =" for tank kill lines and "local grablines =" for the grab lines. To add extra lines make sure you have a comma after every one and not one at the end example:
correct
"go back to roblox lmao",
"absolute trash",
victim.GetPlayerName() + " uninstall"
incorrect
"go back to roblox lmao",
"absolute trash"
victim.GetPlayerName() + " uninstall",
Once you are done with editing click file in the top left and save. go back to the workshop (left4dead2 > addons > workshop) and drag the folder 3061938834 to vpk.exe. Now you can load the game and it should be working.
最後修改者:The Blu Portal; 2023 年 10 月 29 日 下午 3:14
ChimiChamo  [開發人員] 2023 年 10 月 29 日 下午 3:38 
Thanks for doing my job for me lol, I should mention though that doing randomint(0,1) would be a 50% chance, as the generated number will either be 0 or 1
Seraphim 2023 年 10 月 29 日 下午 11:49 
Me when the infected tells me to "Slit my wrists and do a hand stand in a salt bath"
PRR6755 2023 年 10 月 30 日 下午 4:10 
after reading this, I compiled an even more accurate version of this mod. complete with unfiltered swearing that screams mid 2010s rage lobbies.
ThePlayzPaidOff 2023 年 10 月 31 日 上午 3:59 
引用自 ChimiChamo
first make sure you have the l4d2 authoring tools installed, you can find it in the tools tab in your library. next navigate to your l4d2 main directory and go to left4dead2/addons/workshop. There you'll find all your installed workshop addons. find 3061938834.vpk and then drag it into bin/vpk.exe in your main l4d2 directory. this will extract the contents of the addon. open the folder titled 3061938834 that has been created and go to scripts/vscripts/director_base_addon.nut. open this file in any text editor and youll find the lines that you can change at the bottom of the script. make sure there is a comma after each line in the array
Haha, the author is helping randoms drop the N bomb. XD
Jay 2023 年 11 月 3 日 上午 10:34 
Latest update has a few commas missing from the end of some of the lines. Maybe that's why it has stopped working for some people.
SWalk42 2023 年 11 月 13 日 上午 10:41 
well people do N bomb sometimes
and using the v2 version of this mod you get a 3 n word bomb *by the way v2 surports this at the same time and is made by diffrent people*
< >
目前顯示第 1-15 則留言,共 20
每頁顯示: 1530 50