Left 4 Dead 2

Left 4 Dead 2

[LEGACY] Trash-talking AI Specials
 Toto téma bylo přilepeno, takže je nejspíš důležité
how to edit
i want them to say n word :steamsad:
< >
Zobrazuje se 115 z 20 komentářů
heeelp uuuus!
ChimiChamo  [vývojář] 29. říj. 2023 v 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 29. říj. 2023 v 5.05 
ChimiChamo původně napsal:
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
Naposledy upravil katwu; 29. říj. 2023 v 5.39
ChimiChamo  [vývojář] 29. říj. 2023 v 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
25851815512144157567
What should the values be and which ones do we need to change?
ChimiChamo  [vývojář] 29. říj. 2023 v 14.37 
The Blu Portal původně napsal:
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
ChimiChamo původně napsal:
The Blu Portal původně napsal:
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)"
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.
Naposledy upravil The Blu Portal; 29. říj. 2023 v 15.14
ChimiChamo  [vývojář] 29. říj. 2023 v 15.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
Me when the infected tells me to "Slit my wrists and do a hand stand in a salt bath"
after reading this, I compiled an even more accurate version of this mod. complete with unfiltered swearing that screams mid 2010s rage lobbies.
ChimiChamo původně napsal:
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
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.
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*
< >
Zobrazuje se 115 z 20 komentářů
Na stránku: 1530 50