InfraSpace Modding Tutorial: In-game Developer Tools

The in-game dev tools and help you in two main ways:

  1. Debug options will make it easier to test your creations without having to play so much
  2. The tools will show you information about what’s going on behind the scenes

How to turn on Developer Mode and Debug Menu

First, you need to turn on dev mode in the settings:

Next, open a game and press F3 in order to activate debug mode in game.

Disclaimer: Your game will run slower in debug mode. That’s normal. The reason is because of the debugging tools that are running in the background.

Now, you will be able to see the debug menu, giving you access to all kinds of tools:

1 Like

The Object Inspector

One of the most powerful debugging tools, the object inspector allows you to view the data in each object live during gameplay. Use the “Object Inspector” button on the Debug Menu to enable inspection mode then click on an in-world object you want to inspect.

The object inspector is one of the most powerful ways to understand what’s going on. You can not only use it to see the data behind the scenes, but you can also edit it live and see what happens in game. All of the things your program for your mods will automatically be inspectable as well.

Log Messages

As you can see in some of the example code provided, during development it’s important to see some log messages that could tell you about how the mod functions, or in worse case disfunctions. These log and error messages are not visible while running the game but you can find them in a log file that is right next to your “mods” folder.

So go to C:\Users\YOURUSERNAME\AppData\LocalLow\Dionic Software\InfraSpace and see the latest logs in the Player.log file. It can be opened and read in any text editor.

NOTE: Depending on the text editing software you use (notepad is one of these), you might have to close and reopen the file to see new log messages that have been written in there, since you lunched the game and last opened the log file. So if something is missing that is supposed to be there, don’t panic, just close the text file and open it again.