Announcement

Collapse

Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.



In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.



All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

juggernaut legs can't walk,when create custom npc with AttachWearables

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • juggernaut legs can't walk,when create custom npc with AttachWearables

    I'm trying to make a custom npc hero of juggernaut , and the KVs are written below,
    I can't find any problems within it, however when I run the game, juggernaut legs can't walk, he just moves horizontally without legs animations, it feels like the legs is not attached to it's upper body. meanwhile other animations works fun, like attacking or dying.
    I will much appreciate if anyone can help.



    Code:
    "chess1"
    {
    "BaseClass" "npc_dota_creature"
    "Model" "models/heroes/juggernaut/juggernaut.vmdl"
    "ModelScale" "0.9"
    "Level" "2"
    "HealthBarOffset" "140"
    "HasInventory" "1"
    "ConsideredHero" "1"
    "SoundSet" "Hero_Juggernaut"
    "GameSoundsFile" "soundevents/game_sounds_heroes/game_sounds_juggernaut.vsndevts"
    "VoiceFile" "soundevents/voscripts/game_sounds_vo_juggernaut.vsndevts"
    "particle_folder" "particles/units/heroes/hero_juggernaut"
    
    // Abilities
    //----------------------------------------------------------------
    
    // Armor
    //----------------------------------------------------------------
    "ArmorPhysical" "2"
    "MagicalResistance" "0"
    
    // Attack
    //----------------------------------------------------------------
    "AttackCapabilities" "DOTA_UNIT_CAP_MELEE_ATTACK"
    "AttackDamageType" "DAMAGE_TYPE_ArmorPhysical"
    "AttackDamageMin" "12.0"
    "AttackDamageMax" "13.0"
    "AttackRate" "1.35"
    "AttackAnimationPoint" "0.4"
    "AttackAcquisitionRange" "500"
    "AttackRange" "90"
    
    // Bounty
    //----------------------------------------------------------------
    "BountyGoldMin" "26.0"
    "BountyGoldMax" "38.0"
    
    // Bounds
    //----------------------------------------------------------------
    "BoundsHullName" "DOTA_HULL_SIZE_REGULAR"
    "RingRadius" "70"
    
    // Movement
    //----------------------------------------------------------------
    "MovementCapabilities" "DOTA_UNIT_CAP_MOVE_GROUND"
    "MovementSpeed" "270"
    "MovementTurnRate" "0.5"
    
    // Status
    //----------------------------------------------------------------
    "StatusHealth" "420"
    "StatusHealthRegen" "0.25"
    "StatusMana" "0"
    "StatusManaRegen" "0"
    
    // Vision
    //----------------------------------------------------------------
    "VisionDaytimeRange" "1400"
    "VisionNighttimeRange" "800"
    
    // Team
    //----------------------------------------------------------------
    "TeamName" "DOTA_TEAM_NEUTRALS"
    "CombatClassAttack" "DOTA_COMBAT_CLASS_ATTACK_BASIC"
    "CombatClassDefend" "DOTA_COMBAT_CLASS_DEFEND_BASIC"
    "UnitRelationShipClass" "DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT"
    
    // Creature Data
    //----------------------------------------------------------------
    "Creature"
    {
    "AttachWearables"
    {
    "1"
    {
    "ItemDef" "6"
    }
    "2"
    {
    "ItemDef" "7"
    }
    "3"
    {
    "ItemDef" "8"
    }
    "4"
    {
    "ItemDef" "9"
    }
    "5"
    {
    "ItemDef" "62"
    }
    }
    }
    }
Working...
X