#Help with precaching

1 messages · Page 1 of 1 (latest)

frosty steppe
#

does anyone know how to fix the "ERROR" model? i've tried to precache but it still show as "ERROR" in game, I did like this:
PrecacheModel("models/props_consumables/balloons/donkey_dire_2022/donkey_dire_2022.vmdl", context)
when i run it in dota 2 tools, it works fine, but when i publish to workshop and try to play, it shows as "ERROR".

#

also another question, if I find a model inside hammer, can i just copy its path and import into my custom game or do I need to do ssomething different?

cosmic birch
#

About precache issue post code because you may for example try use it before precache or something like that

frosty steppe
#

im trying to make an old custom game to work, omniparty, but for example, the snowball i coudn't make it work, so i just decided to use something different, so i was using that donkey_dire_2022
this is the addon_game_mode: https://pastebin.com/8aSZaGdK

and this is the snowball.lua: https://pastebin.com/cxsNdBam

when i run it inside hammer, it works fine, but when i try to run from the workshop, it show as ERROR only

frosty steppe
frosty steppe
#

I also dont know if I need to fill the addon_info.txt, my current one is empty

#

well, just as note for anyone, if you get that model in hammer and place the model under the map, it works