Hytale Asset ReferenceUnofficial
Versions / 0.5.0-pre.9.2 / Item / Items / Weapon / Shortbow / Template_Weapon_Shortbow.json

Template_Weapon_Shortbow

Server/Item/Items/Weapon/Shortbow/Template_Weapon_Shortbow.json, 15.1 KB

Fields

FieldType
TranslationPropertiesobject
Modelstring
Texturestring
Iconstring
DroppedItemAnimationstring
PlayerAnimationsIdstring
Reticlestring
Qualitystring
ItemLevelnumber
Categoriesarray[1]
IconPropertiesobject
Interactionsobject
InteractionVarsobject
Tagsobject
Weaponobject
ItemAppearanceConditionsobject
ItemSoundSetIdstring
MaxDurabilitynumber
DurabilityLossOnHitnumber

Source

{
  "TranslationProperties": {
    "Name": "server.items.Template_Weapon_Shortbow.name"
  },
  "Model": "Items/Weapons/Bow/Iron.blockymodel",
  "Texture": "Items/Weapons/Bow/Iron_Texture.png",
  "Icon": "Icons/ItemsGenerated/Weapon_Bow_Crude.png",
  "DroppedItemAnimation": "Items/Animations/Dropped/Dropped_Diagonal_Left.blockyanim",
  "PlayerAnimationsId": "Bow",
  "Reticle": "DefaultMelee",
  "Quality": "Template",
  "ItemLevel": 5,
  "Categories": [
    "Items.Weapons"
  ],
  "IconProperties": {
    "Scale": 0.4,
    "Translation": [
      -25,
      -39
    ],
    "Rotation": [
      45,
      90,
      0
    ]
  },
  "Interactions": {
    "Primary": "Root_Weapon_Shortbow_Primary_Shoot",
    "Secondary": "Root_Weapon_Shortbow_Secondary_Guard",
    "Ability1": "Root_Weapon_Shortbow_Signature_Volley",
    "SwapFrom": {
      "Interactions": [
        {
          "Type": "StatsCondition",
          "Costs": {
            "Ammo": 1
          },
          "Next": {
            "Type": "ModifyInventory",
            "RequiredGameMode": "Adventure",
            "ItemToAdd": {
              "Id": "Weapon_Arrow_Crude",
              "Quantity": 1
            }
          }
        },
        {
          "Type": "ChangeActiveSlot"
        }
      ]
    }
  },
  "InteractionVars": {
    "Primary_Shoot_Charge": {
      "Interactions": [
        {
          "$Comment": "Charging up a standard primary shot",
          "Parent": "Weapon_Shortbow_Primary_Shoot_Charge",
          "Effects": {
            "ClearSoundEventOnFinish": true,
            "WorldSoundEventId": "SFX_Bow_T2_Draw",
            "LocalSoundEventId": "SFX_Bow_T2_Draw_Local"
          },
          "HorizontalSpeedMultiplier": 0.667
        }
      ]
    },
    "Primary_Shoot_Strength_0": {
      "Interactions": [
        {
          "$Comment": "Launching a shot with 0.0s charge",
          "Parent": "Weapon_Shortbow_Primary_Shoot_Strength_0"
        }
      ]
    },
    "Primary_Shoot_Strength_1": {
      "Interactions": [
        {
          "$Comment": "Launching a shot with 0.3s charge",
          "Parent": "Weapon_Shortbow_Primary_Shoot_Strength_1"
        }
      ]
    },
    "Primary_Shoot_Strength_2": {
      "Interactions": [
        {
          "$Comment": "Launching a shot with 0.6s charge",
          "Parent": "Weapon_Shortbow_Primary_Shoot_Strength_2"
        }
      ]
    },
    "Primary_Shoot_Strength_3": {
      "Interactions": [
        {
          "$Comment": "Launching a shot with 0.9s charge",
          "Parent": "Weapon_Shortbow_Primary_Shoot_Strength_3"
        }
      ]
    },
    "Primary_Shoot_Strength_4": {
      "Interactions": [
        {
          "$Comment": "Launching a shot with full charge (1.2s+)",
          "Parent": "Weapon_Shortbow_Primary_Shoot_Strength_4"
        }
      ]
    },
    "Primary_Shoot_Damage_Strength_0": {
      "Interactions": [
        {
          "Parent": "Weapon_Shortbow_Primary_Shoot_Damage_Strength_0",
          "DamageCalculator": {
            "BaseDamage": {
              "Projectile": 6
            }
          }
        }
      ]
    },
    "Primary_Shoot_Damage_Strength_1": {
      "Interactions": [
        {
          "Parent": "Weapon_Shortbow_Primary_Shoot_Damage_Strength_1",
          "DamageCalculator": {
            "BaseDamage": {
              "Projectile": 10
            }
          }
        }
      ]
    },
    "Primary_Shoot_Damage_Strength_2": {
      "Interactions": [
        {
          "Parent": "Weapon_Shortbow_Primary_Shoot_Damage_Strength_2",
          "DamageCalculator": {
            "BaseDamage": {
              "Projectile": 12
            }
          }
        }
      ]
    },
    "Primary_Shoot_Damage_Strength_3": {
      "Interactions": [
        {
          "Parent": "Weapon_Shortbow_Primary_Shoot_Damage_Strength_3",
          "DamageCalculator": {
            "BaseDamage": {
              "Projectile": 14
            }
          }
        }
      ]
    },
    "Primary_Shoot_Damage_Strength_4": {
      "Interactions": [
        {
          "Parent": "Weapon_Shortbow_Primary_Shoot_Damage_Strength_4",
          "DamageCalculator": {
            "BaseDamage": {
              "Projectile": 15
            }
          }
        }
      ]
    },
    "Primary_Shoot_Impact_Strength_0": {
      "Interactions": [
        {
          "$Comment": "Effects played when basic primary arrow impacts an entity",
          "Parent": "Common_Projectile_Impact_Effects",
          "Effects": {
            "LocalSoundEventId": "SFX_Arrow_NoCharge_Hit",
            "WorldSoundEventId": "SFX_Arrow_NoCharge_Hit"
          }
        }
      ]
    },
    "Primary_Shoot_Impact_Strength_1": {
      "Interactions": [
        {
          "$Comment": "Effects played when basic primary arrow impacts an entity",
          "Parent": "Common_Projectile_Impact_Effects",
          "Effects": {
            "LocalSoundEventId": "SFX_Arrow_HalfCharge_Hit",
            "WorldSoundEventId": "SFX_Arrow_HalfCharge_Hit"
          }
        }
      ]
    },
    "Primary_Shoot_Impact_Strength_2": {
      "Interactions": [
        {
          "$Comment": "Effects played when 0.4s charge arrow impacts an entity",
          "Parent": "Common_Projectile_Impact_Effects",
          "Effects": {
            "LocalSoundEventId": "SFX_Arrow_HalfCharge_Hit",
            "WorldSoundEventId": "SFX_Arrow_HalfCharge_Hit"
          }
        }
      ]
    },
    "Primary_Shoot_Impact_Strength_3": {
      "Interactions": [
        {
          "$Comment": "Effects played when 0.6s charge arrow impacts an entity",
          "Parent": "Common_Projectile_Impact_Effects",
          "Effects": {
            "LocalSoundEventId": "SFX_Arrow_FullCharge_Hit",
            "WorldSoundEventId": "SFX_Arrow_FullCharge_Hit"
          }
        }
      ]
    },
    "Primary_Shoot_Impact_Strength_4": {
      "Interactions": [
        {
          "$Comment": "Effects played when full charge arrow impacts an entity",
          "Parent": "Common_Projectile_Impact_Effects",
          "Effects": {
            "LocalSoundEventId": "SFX_Arrow_FullCharge_Hit",
            "WorldSoundEventId": "SFX_Arrow_FullCharge_Hit"
          }
        }
      ]
    },
    "Primary_Shoot_Miss_Strength_0": {
      "Interactions": [
        {
          "Parent": "Common_Projectile_Miss",
          "Effects": {
            "LocalSoundEventId": "SFX_Arrow_NoCharge_Miss",
            "WorldSoundEventId": "SFX_Arrow_NoCharge_Miss"
          }
        }
      ]
    },
    "Primary_Shoot_Miss_Strength_1": {
      "Interactions": [
        {
          "Parent": "Common_Projectile_Miss",
          "Effects": {
            "LocalSoundEventId": "SFX_Arrow_HalfCharge_Miss",
            "WorldSoundEventId": "SFX_Arrow_HalfCharge_Miss"
          }
        }
      ]
    },
    "Primary_Shoot_Miss_Strength_2": {
      "Interactions": [
        {
          "Parent": "Common_Projectile_Miss",
          "Effects": {
            "LocalSoundEventId": "SFX_Arrow_HalfCharge_Miss",
            "WorldSoundEventId": "SFX_Arrow_HalfCharge_Miss"
          }
        }
      ]
    },
    "Primary_Shoot_Miss_Strength_3": {
      "Interactions": [
        {
          "Parent": "Common_Projectile_Miss",
          "Effects": {
            "LocalSoundEventId": "SFX_Arrow_FullCharge_Miss",
            "WorldSoundEventId": "SFX_Arrow_FullCharge_Miss"
          }
        }
      ]
    },
    "Primary_Shoot_Miss_Strength_4": {
      "Interactions": [
        {
          "Parent": "Common_Projectile_Miss",
          "Effects": {
            "LocalSoundEventId": "SFX_Arrow_FullCharge_Miss",
            "WorldSoundEventId": "SFX_Arrow_FullCharge_Miss"
          }
        }
      ]
    },
    "Signature_Activate_Effects": {
      "Interactions": [
        {
          "Type": "Simple",
          "Effects": {
            "WorldSoundEventId": "SFX_Bow_T2_Signature_Nock",
            "LocalSoundEventId": "SFX_Bow_T2_Signature_Nock_Local"
          }
        }
      ]
    },
    "Signature_Volley_Charge": {
      "Interactions": [
        {
          "$Comment": "Charging the signature volley attack",
          "Parent": "Weapon_Shortbow_Signature_Volley_Charge",
          "Effects": {
            "WorldSoundEventId": "SFX_Bow_T2_Draw",
            "LocalSoundEventId": "SFX_Bow_T2_Draw_Local"
          },
          "HorizontalSpeedMultiplier": 0.667
        }
      ]
    },
    "Signature_Volley_Effects": {
      "Interactions": [
        {
          "$Comment": "Effects upon launching a signature volley.",
          "Parent": "Weapon_Shortbow_Signature_Volley_Effects",
          "Effects": {
            "LocalSoundEventId": "SFX_Bow_T2_Signature_Shoot_Local",
            "WorldSoundEventId": "SFX_Bow_T2_Signature_Shoot"
          }
        }
      ]
    },
    "Signature_Volley_Impact": {
      "Interactions": [
        {
          "$Comment": "Effects played when signature volley arrow impacts an entity",
          "Parent": "Signature_Projectile_Impact_Effects",
          "Effects": {
            "LocalSoundEventId": "SFX_Arrow_FullCharge_Hit",
            "WorldSoundEventId": "SFX_Arrow_FullCharge_Hit"
          }
        }
      ]
    },
    "Signature_Volley_Miss": {
      "Interactions": [
        {
          "$Comment": "Effects played when signature volley hits the ground",
          "Parent": "Signature_Projectile_Miss",
          "Effects": {
            "LocalSoundEventId": "SFX_Arrow_FullCharge_Miss",
            "WorldSoundEventId": "SFX_Arrow_FullCharge_Miss"
          }
        }
      ]
    },
    "Signature_Volley_Damage": {
      "Interactions": [
        {
          "Parent": "Weapon_Shortbow_Signature_Volley_Damage",
          "DamageCalculator": {
            "BaseDamage": {
              "Projectile": 25
            }
          }
        }
      ]
    },
    "Guard_Start_StaminaCost": {
      "Interactions": [
        {
          "$Comment": "The amount of stamina consumed upon starting guarding",
          "Type": "ChangeStat",
          "StatModifiers": {
            "Stamina": -0.5
          }
        }
      ]
    },
    "Guard_Wield": {
      "Interactions": [
        {
          "$Comment": "Actively guarding with the weapon",
          "Parent": "Weapon_Shortbow_Secondary_Guard_Wield",
          "Effects": {
            "WorldSoundEventId": "SFX_Bow_T1_Raise",
            "LocalSoundEventId": "SFX_Bow_T1_Raise_Local"
          },
          "StaminaCost": {
            "Value": 4,
            "CostType": "Damage"
          },
          "BlockedEffects": {
            "WorldSoundEventId": "SFX_Bow_T1_Block_Impact"
          }
        }
      ]
    },
    "Guard_Bash": {
      "Interactions": [
        {
          "Type": "ApplyEffect",
          "EffectId": "Stamina_Broken_Immune"
        },
        {
          "$Comment": "Effects and stamina consumed upon a guard bash",
          "Parent": "Weapon_Shortbow_Secondary_Guard_Bash",
          "Effects": {
            "WorldSoundEventId": "SFX_Bow_T1_Swing",
            "LocalSoundEventId": "SFX_Bow_T1_Swing_Local"
          },
          "StatModifiers": {
            "Stamina": -2
          }
        }
      ]
    },
    "Guard_Bash_Damage": {
      "Interactions": [
        {
          "Parent": "Weapon_Shortbow_Secondary_Guard_Bash_Damage",
          "DamageCalculator": {
            "BaseDamage": {
              "Projectile": 0
            }
          },
          "DamageEffects": {
            "WorldSoundEventId": "SFX_T1_Impact_Blunt",
            "LocalSoundEventId": "SFX_T1_Impact_Blunt"
          }
        }
      ]
    }
  },
  "Tags": {
    "Type": [
      "Weapon"
    ],
    "Family": [
      "Bow"
    ]
  },
  "Weapon": {
    "EntityStatsToClear": [
      "SignatureEnergy",
      "SignatureCharges",
      "Ammo"
    ],
    "StatModifiers": {
      "SignatureEnergy": [
        {
          "Amount": 6,
          "CalculationType": "Additive"
        }
      ],
      "SignatureCharges": [
        {
          "Amount": 1,
          "CalculationType": "Additive"
        }
      ],
      "Ammo": [
        {
          "Amount": 1,
          "CalculationType": "Additive"
        }
      ]
    }
  },
  "ItemAppearanceConditions": {
    "SignatureCharges": [
      {
        "Condition": [
          1,
          100
        ],
        "ConditionValueType": "Percent",
        "Model": "Items/Weapons/Bow/Iron_Triple.blockymodel",
        "Texture": "Items/Weapons/Bow/Iron_Texture.png",
        "LocalSoundEventId": "SFX_Bow_T2_Signature_Loop_Local",
        "WorldSoundEventId": "SFX_Bow_T2_Signature_Loop",
        "Particles": [
          {
            "SystemId": "Bow_Signature_Charge",
            "TargetNodeName": "ARROW-PLACEHOLDER",
            "PositionOffset": {
              "X": 0.5,
              "Y": 0.25,
              "Z": 0
            },
            "Scale": 0.5,
            "TargetEntityPart": "PrimaryItem"
          },
          {
            "SystemId": "Bow_Signature_Charge",
            "TargetNodeName": "ARROW-PLACEHOLDER",
            "PositionOffset": {
              "X": 0.5,
              "Y": 0,
              "Z": 0
            },
            "Scale": 0.5,
            "TargetEntityPart": "PrimaryItem"
          },
          {
            "SystemId": "Bow_Signature_Charge",
            "TargetNodeName": "ARROW-PLACEHOLDER",
            "PositionOffset": {
              "X": 0.5,
              "Y": -0.25,
              "Z": 0
            },
            "Scale": 0.5,
            "TargetEntityPart": "PrimaryItem"
          }
        ],
        "ModelVFXId": "Bow_Signature_Status"
      }
    ],
    "SignatureEnergy": [
      {
        "Condition": [
          100,
          100
        ],
        "ConditionValueType": "Percent",
        "Particles": [
          {
            "SystemId": "Sword_Signature_Ready",
            "TargetNodeName": "Handle",
            "PositionOffset": {
              "X": 0.8
            },
            "TargetEntityPart": "PrimaryItem"
          },
          {
            "SystemId": "Sword_Signature_Status_Spawn",
            "TargetEntityPart": "PrimaryItem"
          },
          {
            "SystemId": "Bow_Signature_Status",
            "TargetNodeName": "Bow-Top",
            "PositionOffset": {
              "X": 0.55
            },
            "TargetEntityPart": "PrimaryItem",
            "Scale": 1.3
          },
          {
            "SystemId": "Bow_Signature_Status",
            "TargetNodeName": "Bow-Bot",
            "TargetEntityPart": "PrimaryItem",
            "Scale": 1.3
          }
        ],
        "FirstPersonParticles": [
          {
            "SystemId": "Sword_Signature_Ready",
            "TargetNodeName": "Handle",
            "PositionOffset": {
              "X": 0.8
            },
            "TargetEntityPart": "PrimaryItem"
          },
          {
            "SystemId": "Sword_Signature_Status_Spawn",
            "TargetNodeName": "Handle",
            "TargetEntityPart": "PrimaryItem",
            "PositionOffset": {
              "Y": 0
            }
          },
          {
            "SystemId": "Bow_Signature_Status_FP",
            "TargetNodeName": "Bow-Top",
            "PositionOffset": {
              "X": 0.5
            },
            "TargetEntityPart": "PrimaryItem"
          }
        ]
      }
    ]
  },
  "ItemSoundSetId": "ISS_Weapons_Wood",
  "MaxDurability": 80,
  "DurabilityLossOnHit": 0.58
}