Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.8.1 / Entity / UI / CombatText.json

CombatText

Server/Entity/UI/CombatText.json, 759 B

Fields

FieldType
Typestring
HitboxOffsetobject
RandomPositionOffsetRangeobject
ViewportMarginnumber
Durationnumber
HitAngleModifierStrengthnumber
FontSizenumber
TextColorstring
AnimationEventsarray[3]

Source

{
  "Type": "CombatText",
  "HitboxOffset": {
    "X": 0,
    "Y": -100
  },
  "RandomPositionOffsetRange": {
    "X": {
      "Min": 20,
      "Max": 60
    },
    "Y": {
      "Min": 10,
      "Max": 30
    }
  },
  "ViewportMargin": 100,
  "Duration": 0.4,
  "HitAngleModifierStrength": 2.0,
  "FontSize": 48,
  "TextColor": "#ffffff",
  "AnimationEvents": [
    {
      "Type": "Scale",
      "StartAt": 0,
      "EndAt": 0.4,
      "StartScale": 1,
      "EndScale": 0.5
    },
    {
      "Type": "Position",
      "StartAt": 0.1,
      "EndAt": 1,
      "PositionOffset": {
        "X": 0,
        "Y": -80
      }
    },
    {
      "Type": "Opacity",
      "StartAt": 0.4,
      "EndAt": 1,
      "StartOpacity": 1,
      "EndOpacity": 0
    }
  ]
}