Создал кастомного юнита, и, когда он атакует, в консоли выводится Attempted to find unknown particle system "" вот его код
Пробовал вставлять строку "ProjectileModel" "ranged_badguy" тоже самое Attempted to find unknown particle system "ranged_badguy". Можно ли это починить?
Код:
"npc_dota_troll_priest"
{
// General
//----------------------------------------------------------------
"Model" "models/creeps/neutral_creeps/n_creep_forest_trolls/n_creep_forest_troll_high_priest.mdl" // Model.
"BaseClass" "npc_dota_creature"
"SoundSet" "n_creep_Ranged"
"Level" "5"
"ModelScale" "1.0"
"IsNeutralUnitType" "0"
// Abilities
//----------------------------------------------------------------
"Ability1" "satyr_hellcaller_unholy_aura" // Ability 1
"Ability2" "forest_troll_high_priest_mana_aura" // Ability 2
// Armor
//----------------------------------------------------------------
"ArmorPhysical" "0" // Physical protection.
// Attack
//----------------------------------------------------------------
"AttackCapabilities" "DOTA_UNIT_CAP_RANGED_ATTACK"
"AttackDamageMin" "25" // Damage range min.
"AttackDamageMax" "32" // Damage range max.
"AttackRate" "1.8" // Speed of attack.
"AttackAnimationPoint" "0.3" // Normalized time in animation cycle to attack.
"AttackAcquisitionRange" "300" // Range within a target can be acquired.
"AttackRange" "600" // Range within a target can be attacked.
"ProjectileSpeed" "900" // Speed of projectile.
// Bounds
//----------------------------------------------------------------
"RingRadius" "50"
"HealthBarOffset" "170"
// Bounty
//----------------------------------------------------------------
"BountyXP" "41" // Experience earn.
"BountyGoldMin" "21" // Gold earned min.
"BountyGoldMax" "25" // Gold earned max.
// Movement
//----------------------------------------------------------------
"MovementCapabilities" "DOTA_UNIT_CAP_MOVE_GROUND"
"MovementSpeed" "320" // Speed.
// Status
//----------------------------------------------------------------
"StatusHealth" "450" // Base health.
"StatusHealthRegen" "0.5" // Health regeneration rate.
"StatusMana" "500" // Base mana.
"StatusManaRegen" "0.75" // Mana regeneration rate.
// Vision
//----------------------------------------------------------------
"VisionDaytimeRange" "1400" // Range of vision during day light.
"VisionNighttimeRange" "800" // Range of vision at night time.
// Team
//----------------------------------------------------------------
"TeamName" "DOTA_TEAM_GOODGUYS"
"CombatClassAttack" "DOTA_COMBAT_CLASS_ATTACK_PIERCE"
"CombatClassDefend" "DOTA_COMBAT_CLASS_DEFEND_BASIC"
"UnitRelationshipClass" "DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT"
}
Пробовал вставлять строку "ProjectileModel" "ranged_badguy" тоже самое Attempted to find unknown particle system "ranged_badguy". Можно ли это починить?
Последнее редактирование модератором: