I'm having a problem spawning bots with item sets in a local game using dota_create_bot_wearing_set xxxx. It works fine unless its a set with a custom particle effect in which case it usually displays a bunch of red X's. If I try to spawn say pudge with dragonclaw hook using dota_create_bot_wearing_item 4007 it spawns the pudge in but crashes instantly when I try to use the hook, same goes for terrorblade, lina, and LC arcana. Does anyone know of a way to load in the custom particle effects so the game doesn't crash and they show up on the item sets?
I went through the entire CVAR list to see if there was a command I could use to force the game to preload all particles and I found this "mod_forcedata" which is supposed to force load all the assets for the models but i still can't seem to get the particles that are attached to the hero sets to work
Add the particle file as part of a hero, or other unit, and spawn that hero / unit, that's how I precached stuff for random OMG, it's kind of dodgy, but it gets the job done. Short of that, there is PreloadResource() in the Lua side of things -- but I couldn't get it to work :(
Im pretty new to this so might I ask how that is done?
edit: I went through a couple of Cyborgmatt's VODS and he uses the command "dota_workshoptest 1" I tried it and it doesn't seem to really make much of a difference.
Sorry, you need to Log In to post a reply to this thread.