#talent bug or i did somehting wrong?

1 messages · Page 1 of 1 (latest)

manic oxide
#

it appears me correctly in strategy time but in game it doesnt appear

#

how do i put a talent correctly like resuming

narrow blade
#

Show your talent kvs and talent tooltips

manic oxide
#

pls

narrow blade
#

There are multiple ways of making custom talents. Which one are you doing? I can tell you the simplest way.

manic oxide
#

it work gor atributtes but not for upgrades of custom abilities

narrow blade
#

kv: ```c
"special_bonus_unique_hero_name_whatever"
{
"AbilityType" "DOTA_ABILITY_TYPE_ATTRIBUTES"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"BaseClass" "special_bonus_base"

}```

#

tooltip:```c
"DOTA_Tooltip_ability_special_bonus_unique_hero_name_whatever" "I dont know what your talent does"

#

Whats Bonificacion de Luz?

manic oxide
narrow blade
#

if you dont explain in detail, I cant help u

manic oxide
#

and how can i do the lua?

manic oxide
#

i wanted a talent to buff the healing and damage by 10%

narrow blade
#

why are you using ability values like this: local heal_percent = ({25, 50, 75, 100})[level] / 100 local damage_percent = ({5, 10, 15, 20})[level] / 100 ? This is hardcoding the values and making your life harder when you want to balance.

manic oxide
#

like magic resistance or that?

manic oxide
#

im new at this

narrow blade
#

amenethil_luz kv should look like this: ```c
"AbilityValues"
{
"heal_percent"
{
"value" "25 50 75 100"
"special_bonus_unique_hero_name_whatever" "+10%"
}
"damage_percent"
{
"value" "5 10 15 20"
"special_bonus_unique_hero_name_whatever" "+10%"
}
}

narrow blade
#
local heal_percent = self:GetSpecialValueFor("heal_percent")/100
local damage_percent = self:GetSpecialValueFor("damage_percent")/100
manic oxide
#

now i know

#

thanks

narrow blade
#

thats what I meant

narrow blade
#

Anyways, when you do the talent in this way (only through kv), the tooltip is done this way: ```c
"DOTA_Tooltip_ability_special_bonus_unique_hero_name_whatever" "+{s:bonus_heal_percent}% Heal/Damage Amp"

#

If talent has different values for heal and damage then like this: ```

#
"DOTA_Tooltip_ability_special_bonus_unique_hero_name_whatever" "+{s:bonus_heal_percent}/{s:bonus_damage_percent}% Heal/Damage Amp"
manic oxide
manic oxide
narrow blade
#

tooltips are done in addon_language_name.txt

manic oxide
#

ok

narrow blade
#

Yours is Spanish or Portuguese?

manic oxide
#

spanish

#

addon_latam

narrow blade
#

oh, its not addon_spanish.txt?

#

weird

manic oxide
manic oxide
narrow blade
narrow blade
#

To clarify: In npc_abilities_custom you put kvs for the ability (amenethil_luz ) and for the talent (special_bonus_unique_hero_name_whatever).

manic oxide
#

if my hero name is omniknight
it is
speciañ_bonus_unique_hero_name_onmiknight?

narrow blade
#

it just needs to be special_bonus_unique at the start

#

I think you cant use special characters that exist in spanish, but any name should be fine

manic oxide
#

and it will work?

narrow blade
#

technically yea, but it would be bad

#

You never saw how Valve does talents?

#

look at special_bonus_unique_omniknight_4

manic oxide
#

thanks

#

and jsut for something more, is there a simplest way to change hero icon selection?

#

this

#

image

#

i thought it was panorama/images/heroes/selection/

narrow blade
manic oxide
#

it doesnt do anything i am doint it wrong

narrow blade
#

I see your issue, in your path it says 'game`

manic oxide
#

omg

narrow blade
#

same folder path except it should be content

manic oxide
#

omg

#

i spend hours

#

there

#

XD

narrow blade
#

so content/dota_addons/name.../panorama/images/heroes etc.

manic oxide
#

thanks dude

narrow blade
#

np

manic oxide
#

but

#

i think i keep it doing wron?

#

is it the resolution'

#

?

narrow blade
#

well no idea right now

manic oxide
#

someone said to me to use source 2 viewer

#

but it is totally new for me

#

or do i neew to use override_hero?

narrow blade
manic oxide
manic oxide
#

format

narrow blade
#

post that in the other thread, maybe someone would know ¯_(ツ)_/¯