- 23 Авг 2022
- 28
- 1
Хотел продолжить делать кастомку, скачал обнову с бп и патчем. Захожу в хамер, а там нету моделей у крипов(npc_dota_base) и листа с доступными юнитами (подумал ладно ничо страшного). Настроил своего кастомного юнита до конца, и заметил что после смерти он не ресается, но до этого (до обнов крупных) возрождался. CanRespawn 1 писал. Изменил в юните только модель (поставил другие скины). Возможно я дебич, но прошу помочь.
KV:
"npc_dota_Boss"
{
"BaseClass" "npc_dota_creature"
"Model" "models/heroes/earth_spirit/earth_spirit.vmdl"
"ModelScale" "2" //размер модели
"SoundSet" "Creep_Bad_Melee" // Name of sound set.
"Level" "50"
"IsAncient" "1"
// Abilities
//----------------------------------------------------------------
"Ability1" "" // Ability 1.
"Ability2" "" // Ability 2.
"Ability3" "" // Ability 3.
"Ability4" "" // Ability 4.
"Ability5" "" // Ability 5.
"Ability6" "" // Ability 6 - Extra.
"Ability7" "" // Ability 7 - Extra.
"Ability8" "" // Ability 8 - Extra.
"MinimapIcon" "minimap_candybucket"
"MinimapIconSize" "1000"
// Armor
//----------------------------------------------------------------
"ArmorPhysical" "20" // Physical protection.
"MagicalResistance" "50" // Magical protection.
// Attack
//----------------------------------------------------------------
"AttackCapabilities" "DOTA_UNIT_CAP_MELEE_ATTACK"
"AttackDamageMin" "190" // Damage range min.
"AttackDamageMax" "230" // Damage range max.
"AttackDamageType" "DAMAGE_TYPE_ArmorPhysical"
"AttackRate" "1" // Speed of attack.
"AttackAnimationPoint" "0.467" // Normalized time in animation cycle to attack.
"AttackAcquisitionRange" "500" // Range within a target can be acquired.
"AttackRange" "100" // Range within a target can be attacked.
"ProjectileModel" "" // Particle system model for projectile.
"ProjectileSpeed" "" // 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" "3000" // Experience earn.
"BountyGoldMin" "1000" // Gold earned min.
"BountyGoldMax" "1200" // Gold earned max.
// Bounds
//----------------------------------------------------------------
"BoundsHullName" "DOTA_HULL_SIZE_REGULAR" // Hull type used for navigation/locomotion.
"RingRadius" "45"
"HealthBarOffset" "130"
// Movement
//----------------------------------------------------------------
"MovementCapabilities" "DOTA_UNIT_CAP_MOVE_GROUND" // Type of locomotion - ground, air
"MovementSpeed" "270" // Speed
"MovementTurnRate" "0.5" // Turning rate.
// Status
//----------------------------------------------------------------
"StatusHealth" "11000" // Base health.
"StatusHealthRegen" "0.5" // Health regeneration rate.
"StatusMana" "1000" // Base mana.
"StatusManaRegen" "0" // Mana regeneration rate.
// Team
//----------------------------------------------------------------
"TeamName" "DOTA_TEAM_NEUTRALS" // Team name.
"CombatClassAttack" "DOTA_COMBAT_CLASS_ATTACK_BASIC"
"CombatClassDefend" "DOTA_COMBAT_CLASS_DEFEND_SOFT"
"UnitRelationshipClass" "DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT"
// Vision
//----------------------------------------------------------------
"VisionDaytimeRange" "850" // Range of vision during day light.
"VisionNighttimeRange" "800" // Range of vision at night time.
"CanRespawn" "1"
"TeamName" "DOTA_TEAM_NEUTRALS"
"CombatClassAttack" "DOTA_COMBAT_CLASS_ATTACK_HERO"
"CombatClassDefend" "DOTA_COMBAT_CLASS_DEFEND_HERO"
"UnitRelationshipClass" "DOTA_NPC_UNIT_RELATIONSHIP_TYPE_HERO"
//Inventory
"HasInventory" "1"
"Creature"
{
"DisableClumpingBehavior" "1"
"DisableWearables" "1"
"AttachWearables"//Bindings of the Battleranger // Шмотки, опишу ниже
{
"Wearable1" {"ItemDef" "13393"}//("Bow of the Battleranger")
"Wearable2" {"ItemDef" "13390"}//offhand_weapon("Quiver of the Battleranger")
"Wearable3" {"ItemDef" "13389"}//head("Style of the Battleranger")
"Wearable4" {"ItemDef" "13391"}//back("Cloak of the Battleranger")
"Wearable5" {"ItemDef" "13392"}//shoulder("Pauldrons of the Battleranger")
"Wearable6" {"ItemDef" "0"}//head
}
}
}