Night Trap - 25th Anniversary Edition

Night Trap - 25th Anniversary Edition

Not enough ratings
Tool Assisted 100% Game Completion (AutoHotkey)
By Tony Soprano
This guide will show you how to use AutoHotKey (software) to almost completely automate completion of the game without missing an Auger and breaking contact.

AutoHotKey is a freeware script and macro platform, with many varied uses and applications. You can download it here[www.autohotkey.com] []. From its endless number of tools and usage, all we're going to need is a simple hotkey assignment.

AHK isn't a GUI-oriented software. Installing it won't bring up a nifty window to record and save macros or scripts, but rather make your computer able to recognize and run .ahk files.

Special thanks to Pulover's Macro Creator for creating software that made this so much easier and therobd for his 100% guide.
   
Award
Favorite
Favorited
Unfavorite
Requirements
Full Screen 1920x1080, 2017 UI (new or retro icons optional), mouse controls. This tool must be started from a new game and initiated at a specific time (see In-Game Usage section below).
The Script
Once AutoHotkey is installed, open Notepad on your computer (search start menu for "Notepad"). Copy and paste all text from the following URL (too large to in-line in this article).

Once you've pasted it into notepad, save the file as "Night Trap 2017 UI TAS.ahk" to your desktop and open it.

https://pastebin.com/raw/auquy8Tu
In-Game Usage
Before proceeding, verify the script is running in your system tray (next to date and time) by looking for this green icon with an H in it (upon hovering your cursor, the tooltip will be whatever you named the file you saved in Notepad);


Setting Up:
- Start new game (2017 UI)
- Once in-game, select Hall 1 (the first, top-left room in the scene grid)
- When RED trap indicator appears at 00:13 in Hall 1, press F1 to start the script. Do not right-click manually, just press F1. The auger should get trapped and the script will automatically go through all following scenes and catch each auger automatically until you need to change trap color access codes.

Trap Access Codes: The script will show you scenes where access code changes are announced. You will need to manually change colors of access codes (mouse wheel) after capturing the Aug at 05:54, then again at 08:59, at 13:37 and at 14:15. I have intentionally left the scrolling of my access codes in as placeholder indicators so that you know when this occurs, but be sure to listen for your game's unique code color, as the script has no way of knowing which color the trap controls are set to. This is the only keypress or button you should be doing in the entire time the script runs.

Once the script is started, DO NOT do any of the following or the script will mess up:
- Move mouse cursor or left click
- Minimize or alt-tab out of game
- Change to windowed mode
- Bring up Steam overlay (shift+tab)

If you want to stop, pressing F2 at any time will close the script.
There is no option to resume, you must start over from the beginning if you press F2.

Upon completing the game, your game will not save until after the credits. Keep this in mind if you are attempting a perfect playthrough.
3 Comments
Royale With Cheese Sep 28, 2022 @ 5:13pm 
good evening. i am having an issue with this script and i was hoping you had some answers for me. i set it up exactly as instructed and when i press F1 at 13 seconds the first trap goes off no problem but a few seconds after that the script makes my mouse cursor start drifting around the screen a bit and it pauses the game which cancels the script. is there any fix for this? thank you in advance.
G. I. Crow Dec 5, 2021 @ 3:11am 
Agreed. A promising start, but it doesn't get to Entryway by 5:40 for the first code change.
Struck Aug 5, 2019 @ 5:22pm 
Didn't work for me. Script wouldn't get to the room to listen for the access code in time and even when it randomly switched to the right one it would miss augers.