Проблема - нету одетых предметов на крие

  • Автор темы Автор темы SH4R1K
  • Дата начала Дата начала

SH4R1K

Пользователь
23 Сен 2018
41
0
Проект
Save the treant
Lua:
 "boss_bloodseeker"
   {
      // General
      //
      "BaseClass"               "npc_dota_creature"   // Class of entity of link to.
      "Model"                  "models/heroes/blood_seeker/blood_seeker.vmdl"   // Model.
      "SoundSet"               "Hero_Bloodseeker"               // Name of sound set.
      "ModelScale"            "2"
      "Level"                  "100"
      "IsAncient"               "1"
            
      // Abilities
      //----------------------------------------------------------------
      "Ability1"               "roshan_spell_block"   // Ability 1.
      "Ability2"               "tidehunter_kraken_shell"         // Ability 2.
      "Ability3"               "bloodseeker_thirst"         // Ability 3.
      "Ability4"               "tidehunter_kraken_shell"   // Ability 4.
      "Ability5"               "necronomicon_warrior_sight"      // Ability 5.
      "Ability6"               "special_bonus_unique_bloodseeker_4"                  // Ability 6 - Extra.
      "Ability7"               ""                  // Ability 7 - Extra.
      "Ability8"               ""                  // Ability 8 - Extra.

      // Armor
      //----------------------------------------------------------------
      "ArmorPhysical"            "35"         // Physical protection.
      "MagicalResistance"            "50"                           // Magical protection (percentage).

      // Attack
      //----------------------------------------------------------------
      "AttackCapabilities"      "DOTA_UNIT_CAP_MELEE_ATTACK"
      "AttackDamageMin"         "300"      // Damage range min.
      "AttackDamageMax"         "400"      // Damage range max.
      "AttackDamageType"         "DAMAGE_TYPE_ArmorPhysical"
      "AttackRate"            "0.4"         // Speed of attack.
      "AttackAnimationPoint"      "0.3"      // Normalized time in animation cycle to attack.
      "AttackAcquisitionRange"   "150"      // Range within a target can be acquired.
      "AttackRange"            "200"      // Range within a target can be attacked.
      "ProjectileModel"         "" // Particle system model for projectile.
      "ProjectileSpeed"         "1200"      // Speed of projectile.

      // Bounty
      //----------------------------------------------------------------
      "BountyXP"               "9000"      // Experience earn.
      "BountyGoldMin"            "0"      // Gold earned min.
      "BountyGoldMax"            "0"      // Gold earned max.

      // Bounds
      //----------------------------------------------------------------
      "BoundsHullName"         "DOTA_HULL_SIZE_HERO"         // Hull type used for navigation/locomotion.
      "RingRadius"            "110"
      "HealthBarOffset"         "400"

      // Movement
      //----------------------------------------------------------------
      "MovementCapabilities"      "DOTA_UNIT_CAP_MOVE_FLY"         // Type of locomotion - ground, air
      "MovementSpeed"            "540"      // Speed
      "MovementTurnRate"         "1.0"      // Turning rate.

      // Status
      //----------------------------------------------------------------
      "StatusHealth"            "60000"      // Base health.
      "StatusHealthRegen"         "100"      // Health regeneration rate.
      "StatusMana"            "5000"      // Base mana.
      "StatusManaRegen"         "20"      // Mana regeneration rate.

      // Team
      //----------------------------------------------------------------
      "TeamName"               "DOTA_TEAM_NEUTRALS"         // Team name.
      "CombatClassAttack"         "DOTA_COMBAT_CLASS_ATTACK_LIGHT"
      "CombatClassDefend"         "DOTA_COMBAT_CLASS_DEFEND_STRONG"
      "UnitRelationshipClass"      "DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT"
      "UseNeutralCreepBehavior" "1"
      // Vision
      //----------------------------------------------------------------
      "VisionDaytimeRange"      "1400"      // Range of vision during day light.
      "VisionNighttimeRange"      "1400"      // Range of vision at night time.

      // Inventory
      //----------------------------------------------------------------
      "HasInventory"            "1"
      
        "AttachWearables"
{
                "Wearable0"    { "ItemDef" "69" }    //weapon
                "Wearable1"    { "ItemDef"    "70" }    //head
                "Wearable2" { "ItemDef"    "71" }    //offhand weapon
                "Wearable3"    { "ItemDef" "73" }    //back
                "Wearable4"    { "ItemDef"    "72" }    //shoulder
                "Wearable5" { "ItemDef"    "74" }    //arms
                "Wearable5" { "ItemDef"    "257" }    //belt
}
   }
Можете сказать что я сделал не так? не появляется одежда на боссе, вроде шмотки поставил как надо(слоты куда вставлять брал с героя)
 
Lua:
 "boss_bloodseeker"
   {
      // General
      //
      "BaseClass"               "npc_dota_creature"   // Class of entity of link to.
      "Model"                  "models/heroes/blood_seeker/blood_seeker.vmdl"   // Model.
      "SoundSet"               "Hero_Bloodseeker"               // Name of sound set.
      "ModelScale"            "2"
      "Level"                  "100"
      "IsAncient"               "1"
           
      // Abilities
      //----------------------------------------------------------------
      "Ability1"               "roshan_spell_block"   // Ability 1.
      "Ability2"               "tidehunter_kraken_shell"         // Ability 2.
      "Ability3"               "bloodseeker_thirst"         // Ability 3.
      "Ability4"               "tidehunter_kraken_shell"   // Ability 4.
      "Ability5"               "necronomicon_warrior_sight"      // Ability 5.
      "Ability6"               "special_bonus_unique_bloodseeker_4"                  // Ability 6 - Extra.
      "Ability7"               ""                  // Ability 7 - Extra.
      "Ability8"               ""                  // Ability 8 - Extra.

      // Armor
      //----------------------------------------------------------------
      "ArmorPhysical"            "35"         // Physical protection.
      "MagicalResistance"            "50"                           // Magical protection (percentage).

      // Attack
      //----------------------------------------------------------------
      "AttackCapabilities"      "DOTA_UNIT_CAP_MELEE_ATTACK"
      "AttackDamageMin"         "300"      // Damage range min.
      "AttackDamageMax"         "400"      // Damage range max.
      "AttackDamageType"         "DAMAGE_TYPE_ArmorPhysical"
      "AttackRate"            "0.4"         // Speed of attack.
      "AttackAnimationPoint"      "0.3"      // Normalized time in animation cycle to attack.
      "AttackAcquisitionRange"   "150"      // Range within a target can be acquired.
      "AttackRange"            "200"      // Range within a target can be attacked.
      "ProjectileModel"         "" // Particle system model for projectile.
      "ProjectileSpeed"         "1200"      // Speed of projectile.

      // Bounty
      //----------------------------------------------------------------
      "BountyXP"               "9000"      // Experience earn.
      "BountyGoldMin"            "0"      // Gold earned min.
      "BountyGoldMax"            "0"      // Gold earned max.

      // Bounds
      //----------------------------------------------------------------
      "BoundsHullName"         "DOTA_HULL_SIZE_HERO"         // Hull type used for navigation/locomotion.
      "RingRadius"            "110"
      "HealthBarOffset"         "400"

      // Movement
      //----------------------------------------------------------------
      "MovementCapabilities"      "DOTA_UNIT_CAP_MOVE_FLY"         // Type of locomotion - ground, air
      "MovementSpeed"            "540"      // Speed
      "MovementTurnRate"         "1.0"      // Turning rate.

      // Status
      //----------------------------------------------------------------
      "StatusHealth"            "60000"      // Base health.
      "StatusHealthRegen"         "100"      // Health regeneration rate.
      "StatusMana"            "5000"      // Base mana.
      "StatusManaRegen"         "20"      // Mana regeneration rate.

      // Team
      //----------------------------------------------------------------
      "TeamName"               "DOTA_TEAM_NEUTRALS"         // Team name.
      "CombatClassAttack"         "DOTA_COMBAT_CLASS_ATTACK_LIGHT"
      "CombatClassDefend"         "DOTA_COMBAT_CLASS_DEFEND_STRONG"
      "UnitRelationshipClass"      "DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT"
      "UseNeutralCreepBehavior" "1"
      // Vision
      //----------------------------------------------------------------
      "VisionDaytimeRange"      "1400"      // Range of vision during day light.
      "VisionNighttimeRange"      "1400"      // Range of vision at night time.

      // Inventory
      //----------------------------------------------------------------
      "HasInventory"            "1"
     
        "AttachWearables"
{
                "Wearable0"    { "ItemDef" "69" }    //weapon
                "Wearable1"    { "ItemDef"    "70" }    //head
                "Wearable2" { "ItemDef"    "71" }    //offhand weapon
                "Wearable3"    { "ItemDef" "73" }    //back
                "Wearable4"    { "ItemDef"    "72" }    //shoulder
                "Wearable5" { "ItemDef"    "74" }    //arms
                "Wearable5" { "ItemDef"    "257" }    //belt
}
   }
Можете сказать что я сделал не так? не появляется одежда на боссе, вроде шмотки поставил как надо(слоты куда вставлять брал с героя)
Код:
        "Creature"
        {
            "AttachWearables"
            {
                "Wearable1" { "ItemDef" "9985" }
                "Wearable2" { "ItemDef" "9986" }
                "Wearable3" { "ItemDef" "9987" }
                "Wearable4" { "ItemDef" "9988" }
                "Wearable5" { "ItemDef" "9990" }
                "Wearable6" { "ItemDef" "9991" }
                "Wearable7" { "ItemDef" "6873" }
            }
        }
 
Реклама: