#Can somebody please tell me what I'm doing wrong [Adding Hat to the game]

17 messages · Page 1 of 1 (latest)

warm mantle
#

I had no idea how to model but learned just to make this hat model, and a texture for it, and i'm ingame in a creative world and made a pack, within that pack made an item asset

half ospreyBOT
#
Welcome to the help forum!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.

warm mantle
#

I've tried adding the item model but it's grayed out in the menu

#

I can't find any documentation on how to add a simple hat to the game, and here I am thinking I'm gonna start working on mods, I can't figure it out

hollow vapor
#

You can override one of the helm items from Hytale:Hytale in the Asset Editor and modify the file from there by replacing the model + textures.

Here is the final result with the file you shared.

#
  "TranslationProperties": {
    "Name": "Items.Questioners_Cap_Head.name"
  },
  "Parent": "Armor_Iron_Head",
  "Quality": "Common",
  "ItemLevel": 5,
  "Icon": "Icons/ItemsGenerated/Armor_QuestionersCap_Head.png",
  "IconProperties": {
    "Scale": 0.23,
    "Rotation": [
      22.5,
      45,
      22.5
    ],
    "Translation": [
      -50,
      -36
    ]
  },
  "Model": "Items/Hats/QuestionersCap/questioners_cap.blockymodel",
  "Texture": "Items/Hats/QuestionersCap/T_Questioners_Cap.png",
  "Recipe": {
    "TimeSeconds": 2,
    "Input": [
      {
        "ItemId": "Ingredient_Stick",
        "Quantity": 3
      }
    ],
    "BenchRequirement": [
      {
        "Id": "Armor_Bench",
        "Type": "Crafting",
        "Categories": [
          "Armor_Head"
        ]
      }
    ],
    "KnowledgeRequired": false
  },
  "Armor": {
    "ArmorSlot": "Head",
    "BaseDamageResistance": 0,
    "CosmeticsToHide": [
      "EarAccessory",
      "Ear",
      "Haircut",
      "HeadAccessory"
    ],
    "StatModifiers": {
      "Health": [
        {
          "Amount": 2,
          "CalculationType": "Additive"
        }
      ]
    },
    "DamageResistance": {
      "Physical": [
        {
          "Amount": 0.05,
          "CalculationType": "Multiplicative"
        }
      ],
      "Projectile": [
        {
          "Amount": 0.05,
          "CalculationType": "Multiplicative"
        }
      ]
    }
  },
  "Tags": {
    "Type": [
      "Armor"
    ],
    "Family": [
      "Leather"
    ]
  },
  "MaxDurability": 120,
  "ItemSoundSetId": "ISS_Armor_Cloth"
}
#

Still trying to figure out how to attach it to the player when wearing it.

#

Got it!

#

You just had to enable the Attachment setting in element.

warm mantle