#Where do you put custom spell icons for arcade game?

1 messages · Page 1 of 1 (latest)

untold sky
#

I've searched the internet and found tutorials saying I should put it in game/dota_addons/("addon_name")/resource/flash3/images/spellicons. I've tried doing that but it doesn't work. am I missing something or is this for the old Dota 2?

gritty scaffold
#

how are you referencing the custom spell icon

untold sky
#

like this "AbilityTextureName" "frost_arrows"

the file name is frost_arrows.png

gritty scaffold
#

interesting, are you using GetAbilityTextureName in your lua file?

untold sky
#

no, i don't

#

the frost arrows is not a lua ability, I just modified the variables from the dota 2 abilities directory

random arrow
#

On which file are you doing those changes?

untold sky
#

npc_abilities_override.txt

#

is that what you mean?

random arrow
#

Yeah. Looks fine, though I'm not entirely sure Dota 2 spells look for the usual custom spellicon folder for the icon

#

Can you try changing it to be the name of another Dota 2 ability, see if it changes?

untold sky
#

it seems to be getting the icons from somewhere else. I replaced the ability texture name for frost arrows to queenofpain_scream_of_pain along with the png but the default QoP scream icon is there

random arrow
#

I figured, it probably doesn't take the images for default Dota 2 abilities from the same place it does for custom abilities

untold sky
#

if i remember correctly, there was no flash3 folder inside resource

#

I had to create it myself