не получается заменить скиллы героя и его имя

Poseidon

Новичок
31 Май 2019
3
0
1
22
Реакции
0 0 0
#1
хотел изменить героя врейс кинг на "батя"
так же дал ему криты мортры и реген дк
в папке "npc_heroes_customs.txt" врейскинг выглядит так:

"npc_dota_hero_skeleton_king"
{
"override_hero" "npc_dota_hero_skeleton_king"

"Ability1" "phantom_assassin_coup_de_grace"
"Ability2" "dragon_blood"
"Ability3" ""
"Ability4" ""
"Ability5" ""
"ArmorPhysical" "-1"
"AttackCapabilities" "DOTA_UNIT_CAP_MELEE_ATTACK"
"AttackDamageMin" "39"
"AttackDamageMax" "41"
"AttackRate" "1.700000"
"AttackAnimationPoint" "0.560000"
"AttackAcquisitionRange" "600"
"AttackRange" "150"
"ProjectileSpeed" "0"
"AttributePrimary" "DOTA_ATTRIBUTE_STRENGTH"
"AttributeBaseStrength" "22"
"AttributeStrengthGain" "3.200000"
"AttributeBaseIntelligence" "18"
"AttributeIntelligenceGain" "1.600000"
"AttributeBaseAgility" "18"
"AttributeAgilityGain" "1.700000"
"MovementSpeed" "315"
"MovementTurnRate" "0.500000"
"animation_transitions"
{
"ACT_DOTA_RUN"
{
"regular" "0.500000"
}
"ACT_DOTA_IDLE"
{
"regular" "0.250000"
}
}
"BoundsHullName" "DOTA_HULL_SIZE_HERO"
"particle_folder" "particles/units/heroes/hero_skeletonking"
"GameSoundsFile" "soundevents/game_sounds_heroes/game_sounds_skeletonking.vsndevts"
"VoiceFile" "soundevents/voscripts/game_sounds_vo_skeleton_king.vsndevts"
"RenderablePortrait"
{
"Particles"
{
"particles/units/heroes/hero_skeletonking/wraith_king_new_loadout.vpcf" "loadout"
}
}
}

крит мортры в папке "nps_abilities_customs.txt" выглядит так :

"phantom_assassin_coup_de_grace"
{
"BaseClass" "ability_datadriven"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"AbilityType" "DOTA_ABILITY_TYPE_BASE"
"SpellImmunityType" "SPELL_IMMUNITY_ENEMIES_YES"
"AbilityTextureName" "CREET"
"precache"
{
"soundfile" "soundevents/game_sounds_heroes/game_sounds_phantom_assassin.vsndevts"
"particle" "particles/units/heroes/hero_phantom_assassin/phantom_assassin_crit_impact.vpcf"
}
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_INTEGER"
"crit_bonus" "230 340 450 560"
}
"02"
{
"var_type" "FIELD_INTEGER"
"crit_chance" "15"
}
}



"Modifiers"
{
"modifier_coup_de_grace_datadriven"
{
"Passive" "1"
"IsHidden" "1"

"OnAttackStart"
{
"RemoveModifier"
{
"ModifierName" "modifier_coup_de_grace_crit_datadriven"
"Target" "CASTER"
}

"Random"
{
"Chance" "%crit_chance"
"PseudoRandom" "DOTA_PSEUDO_RANDOM_PHANTOMASSASSIN_CRIT"

"OnSuccess"
{
"ApplyModifier"
{
"ModifierName" "modifier_coup_de_grace_crit_datadriven"
"Target" "CASTER"
}
}
}
}
}

"modifier_coup_de_grace_crit_datadriven"
{
"IsHidden" "1"

"Properties"
{
"MODIFIER_PROPERTY_PREATTACK_CRITICALSTRIKE" "%crit_bonus"
}

"OnAttackLanded"
{
"RemoveModifier"
{
"ModifierName" "modifier_coup_de_grace_crit_datadriven"
"Target" "CASTER"
}

"FireEffect"
{
"EffectName" "particles/units/heroes/hero_phantom_assassin/phantom_assassin_crit_impact.vpcf"
"EffectAttachType" "start_at_customorigin"

"ControlPointEntities"
{
"TARGET" "follow_origin"
"TARGET" "follow_origin"
}
}

"FireSound"
{
"EffectName" "Hero_PhantomAssassin.CoupDeGrace"
"Target" "TARGET"
}
}
}
}
}





пасивка дк в этой же папке вот :

}
"dragon_knight_dragon_blood"
{
// General
//-------------------------------------------------------------------------------------------------------------
"ID" "5228" // unique ID number for this ability. Do not change this once established or it will invalidate collected stats.
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"AbilityTextureName" "НЕ УДАРИШЬ"

// Special
//-------------------------------------------------------------------------------------------------------------
"AbilitySpecial"
{
"AbilityTextureName" "НЕ УДАРИШЬ"
"01"
{
"var_type" "FIELD_INTEGER"
"bonus_health_regen" "12 24 36 48"
"LinkedSpecialBonus" "special_bonus_unique_dragon_knight"
"LinkedSpecialBonusOperation" "SPECIAL_BONUS_MULTIPLY"
}
"02"
{
"var_type" "FIELD_INTEGER"
"bonus_armor" "12 24 36 48"
"LinkedSpecialBonus" "special_bonus_unique_dragon_knight"
"LinkedSpecialBonusOperation" "SPECIAL_BONUS_MULTIPLY"
}
}
"AbilityCastAnimation" "ACT_DOTA_CAST_ABILITY_3"
}




так же создал папку "addon english"
а в ней находится это
"lang"
{
"Language" "English"
"Tokens"
{
"addon_game_name" "For anton"
}
}
//---------------------------------------
// Имена героев
//---------------------------------------
"npc_dota_hero_skeleton_king" "Батя"
//---------------------------------------
// Батя
//---------------------------------------
"DOTA_Tooltip_ability_phantom_coup_de_grace" "ПОЛУЧАЙ АРБУЗ ЕБАНЫЙ!"
"DOTA_Tooltip_ability_phantom_coup_de_grace_Description" "ЕМУ ТОЧНЯК ПИЗДЕЦ"
"DOTA_Tooltip_ability_phantom_coup_de_grace_lore" "ТЫ НИКОГДА ЭТОГО НЕ ДОБЬЁШЬСЯ"

"DOTA_Tooltip_ability_dragon_blood" "НИХУЯ АРМОР"
"DOTA_Tooltip_ability_dragon_blood_description" "может это надо нерфануть?"
"DOTA_Tooltip_ability_dragon_blood_lore" "не , ты его в натуре не пробьёшь!"

скажите , что сделал не так , в herolist включил только леорика и минёра (в кастомке только они , но скилы стандартные)
 

SniperX

Продвинутый
26 Фев 2018
150
15
18
steamcommunity.com
Проект
Белоозерская Потасовка - Updated
Реакции
11 0 4
#2
хотел изменить героя врейс кинг на "батя"
так же дал ему криты мортры и реген дк
в папке "npc_heroes_customs.txt" врейскинг выглядит так:

"npc_dota_hero_skeleton_king"
{
"override_hero" "npc_dota_hero_skeleton_king"

"Ability1" "phantom_assassin_coup_de_grace"
"Ability2" "dragon_blood"
"Ability3" ""
"Ability4" ""
"Ability5" ""
"ArmorPhysical" "-1"
"AttackCapabilities" "DOTA_UNIT_CAP_MELEE_ATTACK"
"AttackDamageMin" "39"
"AttackDamageMax" "41"
"AttackRate" "1.700000"
"AttackAnimationPoint" "0.560000"
"AttackAcquisitionRange" "600"
"AttackRange" "150"
"ProjectileSpeed" "0"
"AttributePrimary" "DOTA_ATTRIBUTE_STRENGTH"
"AttributeBaseStrength" "22"
"AttributeStrengthGain" "3.200000"
"AttributeBaseIntelligence" "18"
"AttributeIntelligenceGain" "1.600000"
"AttributeBaseAgility" "18"
"AttributeAgilityGain" "1.700000"
"MovementSpeed" "315"
"MovementTurnRate" "0.500000"
"animation_transitions"
{
"ACT_DOTA_RUN"
{
"regular" "0.500000"
}
"ACT_DOTA_IDLE"
{
"regular" "0.250000"
}
}
"BoundsHullName" "DOTA_HULL_SIZE_HERO"
"particle_folder" "particles/units/heroes/hero_skeletonking"
"GameSoundsFile" "soundevents/game_sounds_heroes/game_sounds_skeletonking.vsndevts"
"VoiceFile" "soundevents/voscripts/game_sounds_vo_skeleton_king.vsndevts"
"RenderablePortrait"
{
"Particles"
{
"particles/units/heroes/hero_skeletonking/wraith_king_new_loadout.vpcf" "loadout"
}
}
}

крит мортры в папке "nps_abilities_customs.txt" выглядит так :

"phantom_assassin_coup_de_grace"
{
"BaseClass" "ability_datadriven"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"AbilityType" "DOTA_ABILITY_TYPE_BASE"
"SpellImmunityType" "SPELL_IMMUNITY_ENEMIES_YES"
"AbilityTextureName" "CREET"
"precache"
{
"soundfile" "soundevents/game_sounds_heroes/game_sounds_phantom_assassin.vsndevts"
"particle" "particles/units/heroes/hero_phantom_assassin/phantom_assassin_crit_impact.vpcf"
}
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_INTEGER"
"crit_bonus" "230 340 450 560"
}
"02"
{
"var_type" "FIELD_INTEGER"
"crit_chance" "15"
}
}



"Modifiers"
{
"modifier_coup_de_grace_datadriven"
{
"Passive" "1"
"IsHidden" "1"

"OnAttackStart"
{
"RemoveModifier"
{
"ModifierName" "modifier_coup_de_grace_crit_datadriven"
"Target" "CASTER"
}

"Random"
{
"Chance" "%crit_chance"
"PseudoRandom" "DOTA_PSEUDO_RANDOM_PHANTOMASSASSIN_CRIT"

"OnSuccess"
{
"ApplyModifier"
{
"ModifierName" "modifier_coup_de_grace_crit_datadriven"
"Target" "CASTER"
}
}
}
}
}

"modifier_coup_de_grace_crit_datadriven"
{
"IsHidden" "1"

"Properties"
{
"MODIFIER_PROPERTY_PREATTACK_CRITICALSTRIKE" "%crit_bonus"
}

"OnAttackLanded"
{
"RemoveModifier"
{
"ModifierName" "modifier_coup_de_grace_crit_datadriven"
"Target" "CASTER"
}

"FireEffect"
{
"EffectName" "particles/units/heroes/hero_phantom_assassin/phantom_assassin_crit_impact.vpcf"
"EffectAttachType" "start_at_customorigin"

"ControlPointEntities"
{
"TARGET" "follow_origin"
"TARGET" "follow_origin"
}
}

"FireSound"
{
"EffectName" "Hero_PhantomAssassin.CoupDeGrace"
"Target" "TARGET"
}
}
}
}
}





пасивка дк в этой же папке вот :

}
"dragon_knight_dragon_blood"
{
// General
//-------------------------------------------------------------------------------------------------------------
"ID" "5228" // unique ID number for this ability. Do not change this once established or it will invalidate collected stats.
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"AbilityTextureName" "НЕ УДАРИШЬ"

// Special
//-------------------------------------------------------------------------------------------------------------
"AbilitySpecial"
{
"AbilityTextureName" "НЕ УДАРИШЬ"
"01"
{
"var_type" "FIELD_INTEGER"
"bonus_health_regen" "12 24 36 48"
"LinkedSpecialBonus" "special_bonus_unique_dragon_knight"
"LinkedSpecialBonusOperation" "SPECIAL_BONUS_MULTIPLY"
}
"02"
{
"var_type" "FIELD_INTEGER"
"bonus_armor" "12 24 36 48"
"LinkedSpecialBonus" "special_bonus_unique_dragon_knight"
"LinkedSpecialBonusOperation" "SPECIAL_BONUS_MULTIPLY"
}
}
"AbilityCastAnimation" "ACT_DOTA_CAST_ABILITY_3"
}




так же создал папку "addon english"
а в ней находится это
"lang"
{
"Language" "English"
"Tokens"
{
"addon_game_name" "For anton"
}
}
//---------------------------------------
// Имена героев
//---------------------------------------
"npc_dota_hero_skeleton_king" "Батя"
//---------------------------------------
// Батя
//---------------------------------------
"DOTA_Tooltip_ability_phantom_coup_de_grace" "ПОЛУЧАЙ АРБУЗ ЕБАНЫЙ!"
"DOTA_Tooltip_ability_phantom_coup_de_grace_Description" "ЕМУ ТОЧНЯК ПИЗДЕЦ"
"DOTA_Tooltip_ability_phantom_coup_de_grace_lore" "ТЫ НИКОГДА ЭТОГО НЕ ДОБЬЁШЬСЯ"

"DOTA_Tooltip_ability_dragon_blood" "НИХУЯ АРМОР"
"DOTA_Tooltip_ability_dragon_blood_description" "может это надо нерфануть?"
"DOTA_Tooltip_ability_dragon_blood_lore" "не , ты его в натуре не пробьёшь!"

скажите , что сделал не так , в herolist включил только леорика и минёра (в кастомке только они , но скилы стандартные)
Ты поменяй в npc_abilities_custom.txt название абилок чтобы не были одинаковыми с дотой
И ты в addon_english.txt засунул ниже чем скобка закрывания Tokens
 
Реклама: