In order to make maps for Amnesia you will need to set up the game, so you can easily test maps and reload scripts. First of all, follow these steps to create a dev user:
custom_stories
directory to the list.Now you can simply run Amnesia and the map will be loaded directly without any menu. You can now press F1 to open a debug menu to turn on/off various things and more importantly quick reload the map. This is probably the most important thing to do when editing. When changed a script or added entities to a map, do NOT restart the game, instead simply press “Quick reload”. If a mesh or texture has been updated, you need to press “Reload”.
By setting ScriptDebugOn=“true” you have set the script function ScriptDebugOn() to return true. This is extremly important as you can add in your startup code something like:
if(ScriptDebugOn()) { //Do your setup stuff }
This will enable you to easily add all kinds of debug stuff (giving lantern, extra items, etc) wihout having to worry about removing it for the final release.
Now you should be ready to start some editing!