1
Knytt Underground / Easy teleport + 100% routing
« on: January 21, 2017, 13:05:16 »
I'm looking at making a 100% speedrun route for Knytt Underground. In the effort of planning said route, I needed to know where I am on the map, and the PC version doesn't tell you your coordinates. So I edited the debug functions in "Global Script.py" that run when you enter debug mode (Shift+D+B) and press F9 or F11.
Now I can press F9 to write the current coordinates to a file, then F11 to teleport to the coordinates I've specified in a different file. Very cool.
Now, 100% routing. The only item I can think of to definitely include is the Enigma, which means getting the Sun and Moon triangles and the Day and Night spheres, and the Sandwich Recipe, which involves getting the four puzzle pieces. Should secrets like the redundant bird be included? 100% is very much subjective for each game depending on what the runners want to do, so I'd like to get input from anyone that still checks this forum on the goals to attempt. Thanks
Code: [Select]
def debug_f9():
with open("P:\\coords", "a") as f:
f.write(str(room_x()) + "," + str(room_y()) + "," +
str(player_x_tile()) + "," + str(player_y_tile()) + "\n")
def debug_f11():
with open("P:\\goto") as f:
x,y,px,py = f.read().split(",")
savegame_set_key('General', 'X Room', x)
savegame_set_key('General', 'Y Room', y)
savegame_set_key('General', 'X Position', px)
savegame_set_key('General', 'Y Position', py)
music_delete_all()
game_trigger_death('Teleport',1)
Now I can press F9 to write the current coordinates to a file, then F11 to teleport to the coordinates I've specified in a different file. Very cool.
Now, 100% routing. The only item I can think of to definitely include is the Enigma, which means getting the Sun and Moon triangles and the Day and Night spheres, and the Sandwich Recipe, which involves getting the four puzzle pieces. Should secrets like the redundant bird be included? 100% is very much subjective for each game depending on what the runners want to do, so I'd like to get input from anyone that still checks this forum on the goals to attempt. Thanks