Есть персонаж:
Есть моделька, но нет анимации атаки и бега, если что, я тут уже пытался модельку в своей папке загрузить. Другие модели хорошо работают, в чём проблема? И посмотрел в модель едиторе, там тоже есть анимации. Мб можно отдельно подгрузить?
Код:
"npc_makaka"
{
// General
//
"BaseClass" "npc_dota_creature" // Class of entity of link to.
"Model" "models/monkey_king.vmdl" // Model.
"SoundSet" "Hero_MonkeyKing"
"Level" "7"
"UnitLabel" "Pugna Guard"
"Ability1" "respawn" // Ability 1.
"Ability2" "monkey_test" // Ability 2.
"Ability3" "JumpDumpMonkey" // Ability 3.
"RespawnTime" "5"
"Angles" "180"
"UseNeutralCreepBehavior" "1"
// Armor
"ArmorPhysical" "0" // Physical protection.
"MagicalResistance" "0" // Magical protection.
"Creature"
{
"DisableClumpingBehavior" "1"
"AttachWearables"
{
"Wearable1" { "ItemDef" "594" }
"Wearable2" { "ItemDef" "608" }
"Wearable3" { "ItemDef" "609" }
}
}
"UnitRelationshipClass" "DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT"
// Attack
"AttackCapabilities" "DOTA_UNIT_CAP_MELEE_ATTACK" // Type of attack - melee, ranged, etc.
"AttackDamageMin" "100" // Damage range min.
"AttackDamageMax" "150" // Damage range max.
"AttackDamageType" "DAMAGE_TYPE_ArmorPhysical"
"AttackRate" "1" // Speed of attack.
"AttackAnimationPoint" "0.7" // Normalized time in animation cycle to attack.
"AttackAcquisitionRange" "300" // Range within a target can be acquired.
"AttackRange" "150" // Range within a target can be attacked.
"ProjectileModel" "" // Particle system model for projectile.
"ProjectileSpeed" "900" // Speed of projectile.
// Attributes
"AttributePrimary" "DOTA_ATTRIBUTE_STRENGTH"
"AttributeBaseStrength" "0" // Base strength
"AttributeStrengthGain" "0" // Strength bonus per level.
"AttributeBaseIntelligence" "0" // Base intelligence
"AttributeIntelligenceGain" "0" // Intelligence bonus per level.
"AttributeBaseAgility" "0" // Base agility
"AttributeAgilityGain" "0" // Agility bonus per level.
// Bounty
"BountyXP" "100" // Experience earn.
"BountyGoldMin" "100" // Gold earned min.
"BountyGoldMax" "120" // Gold earned max.
// Bounds
"BoundsHullName" "DOTA_HULL_SIZE_SMALL" // Hull type used for navigation/locomotion.
// Movement
"MovementCapabilities" "DOTA_UNIT_CAP_MOVE_GROUND" // Type of locomotion - ground, air
"MovementSpeed" "200" // Speed
"MovementTurnRate" "1.0" // Turning rate.
"FollowRange" "250" // Distance to keep when following
// Status
"StatusHealth" "700" // Base health.
"StatusHealthRegen" "0" // Health regeneration rate.
"StatusMana" "0" // Base mana.
"StatusManaRegen" "0" // Mana regeneration rate.
// Team
"TeamName" "DOTA_TEAM_BADGUYS" // Team name.
// Vision
"VisionDaytimeRange" "0" // Range of vision during day light.
"VisionNighttimeRange" "0" // Range of vision at night time.
}
Последнее редактирование модератором: