A mod developed for A Hat In Time
A mod developed for A Hat In Time
This game mod features a complete level set in an ancient library deep underground. Players engage with a custom crafting system and must collect all the ingredients needed to make a Cherry Bomb Cake around the Library to explode a blockage and obtain the Time Piece!
🔵 Roles: Level Designer, Programmer, Artist
🔵 Collaborators: Solo
🔵 Year: 2023
🔵 Timeline: 4 months
This was my first time using Unreal Developer's Toolkit (UDK) / Unreal Engine 3 (UE3) and the UnrealScript language it uses (derived from C++ OOP). In weeks I learned how to code my game logic, how to create custom Kismet Nodes, and how to reference other scripts to call certain methods in code. This was accomplished by viewing the game's official scripts provided for modding and learning the structure of how the code operates.
The visual scripting (Kismet) nodes provided in Unreal Developer Toolkit (UDK) did not have the functionality I needed to give ingredients I created to the player. I created my own "Get Ingredient Action" node to simply give the player a specific ingredient I assign in the node's exposed enum variable. This bridged the gap between coding and visual scripting, as I can write logic in code, and then execute it as a node in the Kismet editor, it is a convenience to the project.
When the node is activated, it runs the function (third image) which spawns the ingredient we assigned into the world.