Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Scripting Problem
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#6
RE: Simple Scripting Problem

Bump...
You should use the DEBUG MODE!
Google DEBUG MODE AMNESIA.
It should bring you there :
Well, i grabbed it for you.
You should have this into your FAVORITE ( internet explorere \ Firefox etc.. )
http://wiki.frictionalgames.com/hpl2/amn...evenvguide
For any more questions you can ask there here on the forum here :
-
Spoiler below!

Quote: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:
1.
Enter the game normally, create a profile name (e.g. MyName) and then exit.

2.
Enter the save directory (“My Documents/Amnesia/Main” in windows by default; ”~/.frictionalgames/Amnesia/Main” in Linux) and rename the user name (e.g. MyName) to “dev_user”.

3.
Open main_settings.cfg and set ShowMenu=“false”, ShowPreMenu=“false”, ExitMenuDirectly=“true”, LoadDebugMenu=“true” (also setting SaveConfig=“false” should be good).

4.
If Amnesia is 1.0.1 or above, you must set ForceCacheLoadingAndSkipSaving=“false” main_settings.cfg, or else map changes will not show!

5.
Open user_settings.cfg (in “dev_user” folder), inside the Debug element add AllowQuickSave=“true” (F4=save, F5=load) and change ScriptDebugOn=“true”.

6.
In user_settings.cfg, inside the Map element set Folder=”“ to the root folder for your maps (eg Folder=“MyMaps/”), this folder MUST be located inside the maps folder in the game directory (where you put the tools).

7.
In user_settings.cfg, inside the Map element set File=”“ to point to the map you want to load (eg File=“my_map.map”).

8.
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”.

(This post was last modified: 03-14-2014, 02:05 AM by DnALANGE.)
03-14-2014, 02:03 AM
Find


Messages In This Thread
Simple Scripting Problem - by physcostealth - 03-13-2014, 12:12 AM
RE: Simple Scripting Problem - by Mudbill - 03-13-2014, 12:47 AM
RE: Simple Scripting Problem - by Daemian - 03-13-2014, 12:53 AM
RE: Simple Scripting Problem - by physcostealth - 03-13-2014, 01:05 AM
RE: Simple Scripting Problem - by Mudbill - 03-13-2014, 05:19 PM
RE: Simple Scripting Problem - by DnALANGE - 03-14-2014, 02:03 AM



Users browsing this thread: 1 Guest(s)