Free flight for NieR:Automata on NierFramework: call the Flight Unit anywhere and fly it freely around the map. Work in progress.
https://www.nexusmods.com/nierautomata/mods/861
| Key | Action |
|---|---|
| F9 | get on / off the Flight Unit (player + partner) |
| W / A / S / D | move relative to the camera |
| Space / Ctrl | up / down |
| Alt (held) | faster |
These are the defaults: Menu (Insert) > Scripts > Free Flight lists every action with its key; click one and press
the new key (Esc cancels). Saved at once in nierframework/free_flight.cfg; Reset keys restores the defaults.
Insert can't be used (it opens the NierFramework menu).
The partner gets on its own Flight Unit too (the game's Pl0000.setBuddyFlightUnit) and follows in formation behind
and to the right of you. When you land, it lands too and is placed next to you a moment later.
Speed and formation are at the top of free_flight.lua (SPEED, BOOST, WING_*).
- Install NierFramework (
dinput8.dll+nierframework/next toNieRAutomata.exe). - Copy this repo's
nierframework/folder into the game folder (it addsnierframework/autorun/free_flight.lua).
Uninstall by deleting nierframework/autorun/free_flight.lua.
entity:set_flying(true/false): the game's own start / end of the Flight Unit phase (the prologue ship).- While flying, the game's plane controls are replaced: the script blocks the movement input
(
nier.player.block_movement) and moves the ship itself every game tick withentity:set_position. - If the game takes the ship away (cutscene, loading), flight turns off by itself.
- Prototype: no flight-mode camera, no pitch / roll, collisions are whatever the game does with a teleported ship.