Skip to content

Yurihaia/HollowKnight-Timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HKTimer

Hollow Knight in-game timer mod

Installation

To install the mod, grab the release ZIP from the latest release. Extract all 3 .dll files into the Mods folder in your Hollow Knight installation.
The modding API will say that System.Runtime.Serialization.dll failed to load but this is completely normal

Settings

The keybinds and various other settings can be edited in the hktimer.json in the same directory as your save files. They follow the unity keybind naming system.
the defaults are

{
    "pause": "[1]",
    "reset": "[0]",
    "open_ui": "[5]",
    "set_start": "[7]",
    "set_end": "[8]",
    "timerAnchorX": 0.15,
    "timerAnchorY": 0.1
}

timerAchorX/Y

The settings timerAnchorX and timerAnchorY can be used to change the position of the timer text. The point specified should be the lower right corner of the text probably idk test it for yourself. Values are % of the screen I think.

Triggers

Currently, you are able to place a start and an end trigger that can start and pause the timer respectively. They are marked by a green (start) or red (end) square floating in the air. Saving them (default keybind num6) creates a file hktimer_triggers.json in your save folder that contains the positions. You can copy this file to save different trigger presets. Loading the file (default keybind num9) will read that same file. This is done automatically on game start as well

Personal Best Display

The timer also shows a personal best that is tied to a set of waypoints. These are saved in hktimer_triggers.json and measured in microseconds (1000 per millisecond). The PB is loaded when you load the triggers, so if you need to edit/reset it just edit the file. The PB will be wiped when you change the trigger positioning, and has to be saved using the save triggers button.

Manual Trigger File Editing

TBD - Just look in the save file its fairly self explanatory

About

Shitty in game timer mod for Hollow Knight

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages