MoveObjects Cheat with Hotkey

SCREENSHOTS
Downloaded 15,318 times 267 Thanks 82 Favourited 23,483 Views
 Say Thanks!
Uploaded: 20th Feb 2023 at 1:33 PM
Updated: 13th Oct 2024 at 11:28 PM
Warning: If you're having an issue with saving custom presets AND your game is crashing on exit, it's likely due to these two mods and The Third Person Mod.
This mod allows you to turn the "moveObjects" cheat on or off just by pressing the "O" key.

With another mod, you can also turn the "constrainFloorElevation" cheat on or off with the "F" key.

Tunables
O = MoveObjects → Replace "O" with any key you wish, preferably with one that is not used as a hotkey already. For instance, replace it with "Y", not with "E", which is used to clone objects in buy mode. This one is in the TRIG file, found in MoveObjects Cheat.zip.
F = ConstrainFloorElevation → Replace "F" with any key you wish, preferably with one that is not used as a hotkey already. For instance, replace it with "U", not with "L", which is used to switch between day and night in buy, build, blueprint modes. This one is in the TRIG file, found in ConstrainFloorElevation Cheat.zip.
debugNotification → Set it to true to show a notification when turning the cheat on/off. This one is in the _XML file, found in both .zip files.

Compatibility and Conflicts
These mods should not conflict with any other mods, as they are pure script mods, that is, except:
↳ If any other pure script mod depends on the same hotkeys and its priority is higher than in these mods then the hotkeys for these mods won't work.

Known Issues
→ For some odd reason, these two mods have an impact on saving presets, and cause your game to crash on exit.

Credits
Tool Credits
ILSpy (decompiling the game's scripts)
NRaas (unprotected assemblies)
s3pe (packaging the mod)
Visual Studio 2022 (writing and compiling the script)
Other Credits
The Third Person Mod (hotkey inspiration)
NRaas Overwatch (cheat execution inspiration)