Hytale Mods

September 1, 2019
Hytale Mods
2 2
Hytale community server lobby

Hytale supports modding. According to the Hytale FAQ, the game was built with modding in mind. Because of that, the game features scripting, custom model creation, custom sound creation, and a collection of other tools to help creators.

Scripting

Hytale features a tentatively unknown scripting language. The scripts can be written in-game and their effect can be seen instantly in real time.

The trailer showed a scene, where an in-game code editor could be seen as well as a snippet of code. From the footage shown, the code editor featured syntax highlighting, a function setting the player’s game mode to Adventure Mode and a function teleporting the player to the origin.

The scripting language can be (relatively) safely assumed to be JavaScript – this is because of its use of anonymous objects inside curly brackets.

The shown effect on the NPC however, probably has nothing to do with the shown code, as it changes into a pig when the code gets executed.

Behaviors

Recently, we gained obtained knowledge about the npc behavior scripting. Hytale uses .json scripts to give their mobs life; and these scripts are divided on two parts: The sensor and the action.

On the first part, on the script, the npc detects something from the environment (the player, rain, some dropped item or entity), and in the second part executes an action, this action can be some code, another sensor, one common built behavior (like fleeing or seeking), one animation or everything in between.

There is not information if the .json behaviors are used in any other part of Hytale right now.

Currently, we have knowledge about of the above mentioned Script Editor and a Model Maker tool.

Minigames

At the current point in time, it is unknown if minigames can be added to Hytale mods. However, considering the direct support for mods on servers, it can assume that it might be possible.

Leave a Reply