Left 4 Dead 2

Left 4 Dead 2

Item Conversion (Vscript)
26 Comments
Mowetern 19 Jul @ 11:00pm 
@kurochama thank you!!
kurochama  [author] 17 Jul @ 7:11am 
@Mowetern , play Singleplayer or host a local server with this mod first. The cfg file is created after playing with this mod for the first time.
Mowetern 17 Jul @ 2:36am 
I'm a year too late but may i ask, i cant find the item conversion.txt in the ems folder
kurochama  [author] 5 Nov, 2024 @ 10:31pm 
@Léa ♥ , no problem. Feel free to put anything on forum if you want some helps. Usually some modders will also show up to help there.
Dvpweb (FR) 5 Nov, 2024 @ 10:10pm 
@kurochama Thanks for your help on the forum!!
kurochama  [author] 5 Nov, 2024 @ 2:33am 
@Léa ♥ , if you make a timer to replace every second, then probably that "ReplaceItem" function would be what you need.
kurochama  [author] 5 Nov, 2024 @ 2:31am 
@Léa ♥ , if you want to check the scripts, search something named "ConvertItem". You'll find a function named "ReplaceItem". That function is the one to spawn item & at the same time remove the existing item/ object.
Dvpweb (FR) 5 Nov, 2024 @ 2:25am 
@kurochama Thanks for your quick reply. I'm trying to make a simple script that replaces every second, but it doesn't seem to work. I'll dig deeper ^^
kurochama  [author] 5 Nov, 2024 @ 1:52am 
@Léa ♥ , I think it should be possible, if you add tank & jockey model into the "item conversion.txt". But, you might need to press "TAB + RELOAD" & then wait for 1-2 seconds each time tank or jockey shows up to convert them manually, as the item conversion normally only converts items in the beginning of map. "TAB + RELOAD" is a manual conversion method in case if you change the item list on the cfg file & want to convert items again right away.
Dvpweb (FR) 5 Nov, 2024 @ 1:22am 
Hello. Can I replace the jockeys with tanks with this addon? If so, how? Thank you
Witch 2 Oct, 2024 @ 10:06am 
awesome!
kurochama  [author] 2 Oct, 2024 @ 9:20am 
@Witch , as long as you know the model name, you can replace any entity with this. Oh, I think you can also replace Zoey & exchange her for other item if you want :steamhappy: , as basically each survivor has their own model name.
Witch 2 Oct, 2024 @ 7:02am 
nvm i figured it out, oops
Witch 2 Oct, 2024 @ 6:25am 
is it possible to replace all melee spawns with pistols?
kurochama  [author] 23 Sep, 2024 @ 6:38pm 
@时空之轨迹 , no problem. Feel free to ask if there's anything else you want to know
时空之轨迹 23 Sep, 2024 @ 6:36pm 
Okay. Thank you.
kurochama  [author] 23 Sep, 2024 @ 6:34pm 
时空之轨迹 , only for melee, it can only spawn random melee. The list of random melee is based on each campaign. For example, on Swamp Fever, there won't be katana on the list of random melee
kurochama  [author] 23 Sep, 2024 @ 6:32pm 
时空之轨迹 , for examples, you can write like this on "item conversion.txt":
sniper_scout = weapon_melee_spawn
desert_eagle = weapon_melee spawn
The weapon name on the first text follows the model name, while the name after the equal symbol follows the weapon classname with "_spawn" . You can check " - (important info, read first) how to register items on cfg files.txt " first for the simple guides about how to do.
时空之轨迹 23 Sep, 2024 @ 5:49pm 
How do I convert a gun into a melee weapon?
inXsify 28 Jun, 2024 @ 1:27am 
This mod is a hidden gem. Super underrated. Its amazing for custom servers (tank run for me) and there's nothing else as customizable on the workshop. Thank you so much!!!!!
something something house 1 Apr, 2024 @ 7:22am 
HELL YEAH thanks hoss
love you
kurochama  [author] 1 Apr, 2024 @ 12:01am 
@something something house , you're lucky. I successfully made the "Item Randomizer" mod fast enough. & it can work on any custom campaigns. You can try here: Item Randomizer
kurochama  [author] 31 Mar, 2024 @ 11:26am 
@something something house , I think Manacat also updated that mod by adding some custom campaigns. Probably you could also give him some suggestions about what next custom campaigns to be added for his random item spawner mod. Probably, I could also try to make my own version that can automatically randomize items even on any custom campaigns, by registering the items that want to be randomized on a cfg file. If it can be created successfully, I'll make a new mod named "Item Randomizer" later.
something something house 31 Mar, 2024 @ 10:48am 
yep i did and i liked it so much in the official campaigns I kind of want to see how the director would go at it in the custom campaigns tbh. I even tried the Randomiser Mutation by Chimichamo and its super fun too
kurochama  [author] 31 Mar, 2024 @ 1:44am 
@something something house , have you tried "Random Item Spawner" by Manacat that I put the link on the comment of "Merciless Bots Simple Version"? That one probably has the answer. Basically it could be possible to make director randomize items or specifically only on weapon spawns. But if the director is forced to randomize items by using scripts, the result might be unpredictable, like, on one round, there could be more medkits or T2 weapons spawning, & then on another next round there might be almost no medkit & only few T2 weapons, etc.
something something house 31 Mar, 2024 @ 1:27am 
is it possible to make the director completely randomize the weapon spawn, kuro?