#What directory should custom ability icons be in?

1 messages · Page 1 of 1 (latest)

sick steppe
#

I currently have them placed in "game/resources/flash3/images/spellicons/", I am refering to the file crunchtime.png as "crunchtime" in the code. Is there something i've missed?

ember furnace
#

it should be "resource" not "resources"

sick steppe
#

30 mins of looking to come back at me with that. Thanks!

analog stump
#

am I doing something wrong?

#

why does the icon show up on hero select but not ingame

pale aspen
#

My guess would be that the ability is not being initialized in the game

#

Do you have any code that actually initializes the ability? Lua code

analog stump
#

I can put as passive just to show

pale aspen
#

That would still not work

analog stump
#

oh wait

#

bonus_magic

#

kek

#

nevermind not the problem

#

even with magic fixed

pale aspen
# analog stump

The function name of the GetIntrinsic is wrong, it refers to "technical_name" instead of the ability name

analog stump
#

oh ye now it works

#

now I just need to figure out why its not giving me magic resist

#

I assume I have to change modifier_name to modifier_antimage_spell_shield_584

#

oh ye now it works

#

damn I am stupid

pale aspen
#

Well yes "modifier_name" is just a placeholder

analog stump
#

now it's time for me to learn how to make a toggle

pale aspen
#

That's so you can have multiple modifiers in one file and be able to reference each of them correctly

analog stump
#

I see