Frictional Games Forum (read-only)

Full Version: Script Compiler / Map Viewer Does It Exist? [Solved]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I am doing some work creating a custom story and I was wonder if there was a quicker way to compile scripts and run maps other than launch Amnesia, load map, crash, look at error, and have to relaunch it when the error is fixed.

What I am looking for looks very similar to what MulleDK19 was using in his video tutorials any hep would be appreciated.

===================================
It turns out all this stuff is available in debug mode which I learned how to do. Anyone who wants to know how to turn it on go here.
you setup the in game debug, load up a working map
open the script in an editor, select it all copy/delete it all and it so its 'clean' and works, save it
load the map, (so it has no script)
undo the deleted code in your script, save it and switch to the game, and using the debug menu (F1) click (recompile scripts)
the game wont crash and close, it will tell you an error and you can simply close it and edit it and go back, repeat until happy
I recommend using notepad++ for your script if you're not using it already. And set the language to javascript.
Truly, you'll save yourself a lot of trouble when using it.
(01-10-2011, 04:42 PM)Tottel Wrote: [ -> ]I recommend using notepad++ for your script if you're not using it already. And set the language to javascript.
Truly, you'll save yourself a lot of trouble when using it.

Frictional released a custom .xml for .hps on Notepad++ on the Wiki.

Lulz Post #404
(01-10-2011, 05:19 PM)Frontcannon Wrote: [ -> ]
(01-10-2011, 04:42 PM)Tottel Wrote: [ -> ]I recommend using notepad++ for your script if you're not using it already. And set the language to javascript.
Truly, you'll save yourself a lot of trouble when using it.

Frictional released a custom .xml for .hps on Notepad++ on the Wiki.
Sweet linkage
http://wiki.frictionalgames.com/hpl2/thi...xt/notepad
Niiice, thanks. Big Grin
Parden me but, where does the dev_user folder live?
Make a new profile in the game, go to:

My Documents/Amnesia/main

rename the folder to dev_user
(01-13-2011, 03:39 PM)Tottel Wrote: [ -> ]Make a new profile in the game, go to:

My Documents/Amnesia/main

rename the folder to dev_user

Do not do this.

The profile folders are automatically created in the main folder.
Quote from the wiki:

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

Guess we'll have to change that then. Smile
Pages: 1 2