- 20 Сен 2014
- 440
- 1
- Проект
- Survival in Taiga XE
Как заставить крипа убегать от героя если он нанесёт урон этому npc и ещё один вопрос можно ли размера модели (item) предмета изменить (Scale)
"ModelScale" "0.5" в предметах не работает
"ModelScale" "0.5" в предметах не работает
Код:
"reindeer"
{
"BaseClass" "npc_dota_creature" // Class of entity of link to.
"Model" "models/heroes/enchantress/enchantress.vmdl"
"ModelScale" "1"
"Level" "1"
"ConsideredHero" "0"
"UseNeutralCreepBehavior" "0"
"HasInventory" "1"
// Abilities
//----------------------------------------------------------------
"AbilityLayout" "5"
"Ability1" "" // Ability 1. healmp_aura
"Ability2" "" // Ability 2.
"Ability3" "" // Ability 3.
"Ability4" "" // Ability 4.
"Ability5" "" // Ability 5.
"Ability6" "" // Ability 6 - Extra.
"Ability7" "" // Ability 7 - Extra.
"Ability8" "" // Ability 8 - Extra.
// Armor
//----------------------------------------------------------------
"ArmorPhysical" "0" // Physical protection.
//"MagicalResistance" "0" // Magical protection.
// Attack
//----------------------------------------------------------------
"AttackCapabilities" "DOTA_UNIT_CAP_NO_ATTACK"
"AttackDamageMin" "0" // Damage range min.
"AttackDamageMax" "0" // Damage range max.
"AttackRate" "2" // Speed of attack.
"AttackAnimationPoint" "0.38" // 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" "0" // Speed of projectile.
// Bounty
//----------------------------------------------------------------
"BountyXP" "30" // Experience earn.
"BountyGoldMin" "8" // Gold earned min.
"BountyGoldMax" "10" // Gold earned max.
// Bounds
//----------------------------------------------------------------
"RingRadius" "70"
"HealthBarOffset" "260"
"BoundsHullName" "DOTA_HULL_SIZE_HUGE"
// Movement
//----------------------------------------------------------------
"MovementCapabilities" "DOTA_UNIT_CAP_MOVE_GROUND" // Type of locomotion - ground, air
"MovementSpeed" "290" // Speed
"MovementTurnRate" "0.5" // Turning rate.
// Status
//----------------------------------------------------------------
"StatusHealth" "45" // Base health.
"StatusHealthRegen" "0.5" // Health regeneration rate.
"StatusMana" "300" // Base mana.
"StatusManaRegen" "0.75" // Mana regeneration rate.
// Team
//----------------------------------------------------------------
"TeamName" "DOTA_TEAM_BAD" // Team name.
"CombatClassAttack" "DOTA_COMBAT_CLASS_ATTACK_PIERCE"
"CombatClassDefend" "DOTA_COMBAT_CLASS_DEFEND_BASIC"
"UnitRelationshipClass" "DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT"
// Vision
//----------------------------------------------------------------
"VisionDaytimeRange" "1400" // Range of vision during day light.
"VisionNighttimeRange" "1400" // Range of vision at night time.
}
Последнее редактирование модератором: