- 14 Фев 2015
- 54
- 1
Ребят помогите, инфу не нашел, читал на этом сайте в оглавлении про героев и их снаряжение. Вопрос такой есть скажем крип "Кобольд" хочу одеть ему каску на голову либо меч в руку вставить.
Подскажите куда и что добавить? Я так понимаю код ниже только для хиро?
"AttachWearables"
{
"Wearable1" { "ItemDef" "63" }
"Wearable2" { "ItemDef" "64" }
"Wearable3" { "ItemDef" "65" }
"Wearable4" { "ItemDef" "66" }
"Wearable5" { "ItemDef" "67" }
"Wearable6" { "ItemDef" "68" }
}
Код:
//=================================================================================
// Creature: Kobold Guard
//=================================================================================
"npc_dota_creature_kobold_tunneler"
{
// General
//----------------------------------------------------------------
"Model" "models/creeps/neutral_creeps/n_creep_kobold/kobold_c/n_creep_kobold_frost.vmdl" // Model.
"BaseClass" "npc_dota_creature"
"SoundSet" "n_creep_Melee"
"GameSoundsFile" "soundevents/game_sounds_creeps.vsndevts"
"Level" "1"
"ModelScale" ".9"
// Abilities
//----------------------------------------------------------------
"Ability1" "" // Ability 1
"Ability2" "" // Ability 2
"Ability3" "" // Ability 3
"Ability4" "" // Ability 4
// Armor
//----------------------------------------------------------------
"ArmorPhysical" "1" // Physical protection.
// Attack
//----------------------------------------------------------------
"AttackCapabilities" "DOTA_UNIT_CAP_MELEE_ATTACK"
"AttackDamageMin" "14" // Damage range min.
"AttackDamageMax" "15" // Damage range max.
"AttackRate" "1.35" // 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.
// Bounds
//----------------------------------------------------------------
"RingRadius" "40"
"HealthBarOffset" "150"
// Bounty
//----------------------------------------------------------------
"BountyXP" "16" // Experience earn.
"BountyGoldMin" "0" // Gold earned min.
"BountyGoldMax" "0" // Gold earned max.
// Movement
//----------------------------------------------------------------
"MovementCapabilities" "DOTA_UNIT_CAP_MOVE_GROUND"
"MovementSpeed" "270" // Speed.
// Status
//----------------------------------------------------------------
"StatusHealth" "40" // Base health.
"StatusHealthRegen" "0.5" // Health regeneration rate.
"StatusMana" "0" // Base mana.
"StatusManaRegen" "0.0" // Mana regeneration rate.
// Vision
//----------------------------------------------------------------
"VisionDaytimeRange" "800" // Range of vision during day light.
"VisionNighttimeRange" "800" // Range of vision at night time.
// Team
//----------------------------------------------------------------
"TeamName" "DOTA_TEAM_NEUTRALS" // Team name.
"CombatClassAttack" "DOTA_COMBAT_CLASS_ATTACK_BASIC"
"CombatClassDefend" "DOTA_COMBAT_CLASS_DEFEND_BASIC"
"UnitRelationshipClass" "DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT"
// Creature Data
//----------------------------------------------------------------------------------------------------------------------
"Creature"
{
// "Aggression" "50.0"
// "Avoidance" "0.0"
// "Support" "30.0"
//"CanRespawn" "0"
//Level Up
"HPGain" "45"
"DamageGain" "2"
"ArmorGain" "0.25"
"MagicResistGain" "0.1"
"MoveSpeedGain" "1"
"BountyGain" "2"
"XPGain" "13"
}
}
Подскажите куда и что добавить? Я так понимаю код ниже только для хиро?
"AttachWearables"
{
"Wearable1" { "ItemDef" "63" }
"Wearable2" { "ItemDef" "64" }
"Wearable3" { "ItemDef" "65" }
"Wearable4" { "ItemDef" "66" }
"Wearable5" { "ItemDef" "67" }
"Wearable6" { "ItemDef" "68" }
}
Последнее редактирование модератором: