User Tools

Site Tools


hpl2:amnesia:devenvguide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hpl2:amnesia:devenvguide [2011/09/08 15:07]
yourcomputer
hpl2:amnesia:devenvguide [2013/10/08 13:57] (current)
ian.thomas old revision restored (2012/12/08 14:37)
Line 13: Line 13:
     - In order to avoid running into "File index out of bounds"​ errors when designing your custom story in the level editor, edit the file **resources.cfg** located in the root the directory of Amnesia (i.e. where Amnesia is installed) and add the ''​custom_stories''​ directory to the list.     - In order to avoid running into "File index out of bounds"​ errors when designing your custom story in the level editor, edit the file **resources.cfg** located in the root the directory of Amnesia (i.e. where Amnesia is installed) and add the ''​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"​.+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: 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:
hpl2/amnesia/devenvguide.1315494473.txt.gz ยท Last modified: 2011/09/08 15:07 by yourcomputer