Hiding ancient apparition cosmetics
I feel like this problem has already been solved a long time ago, but i can't figure it out.
As you can see in the picture, my custom goofy hero still shows aa-model pieces at the hero selection screen.
i've read in a thread that u can
1) replace models with empty vmdl's
2) use a lua function
but the problem is that i don't know where the aa model pieces are located for solution 1
for solution 2 i think i already implemented this solution a long time ago (i recently started modding again after 7 months) but while this does work for the hero while he is ingame , it still shows aa stuff on the hero picking screen.
I thought , well maybe i can remove the aa-pieces as soon as the hero is selected, so that would be here
-- A player picked a hero function GameMode:OnPlayerPickHero(keys) DebugPrint('[BAREBONES] OnPlayerPickHero') DebugPrintTable(keys) local heroClass = keys.hero local heroEntity = EntIndexToHScript(keys.heroindex) local player = EntIndexToHScript(keys.player) print(heroClass) print(player) end
but the actual hero isnt there yet, its just the class and the player