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
Script Compiler / Map Viewer Does It Exist? [Solved]
WodahsR Offline
Junior Member

Posts: 1
Threads: 1
Joined: Jan 2011
Reputation: 0
#1
Question  Script Compiler / Map Viewer Does It Exist? [Solved]

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.
(This post was last modified: 01-10-2011, 01:53 AM by WodahsR.)
01-10-2011, 12:59 AM
Find
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
#2
RE: Script Compiler / Map Viewer Does It Exist? [Solved]

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
01-10-2011, 04:54 AM
Find
Tottel Offline
Senior Member

Posts: 307
Threads: 9
Joined: Nov 2010
Reputation: 0
#3
RE: Script Compiler / Map Viewer Does It Exist? [Solved]

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
Find
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#4
RE: Script Compiler / Map Viewer Does It Exist? [Solved]

(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


╔═════════════════╗
☺ Smoke weed everyday ☺
╚═════════════════╝
(This post was last modified: 01-10-2011, 06:45 PM by Frontcannon.)
01-10-2011, 05:19 PM
Find
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
#5
RE: Script Compiler / Map Viewer Does It Exist? [Solved]

(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
01-10-2011, 05:36 PM
Find
Tottel Offline
Senior Member

Posts: 307
Threads: 9
Joined: Nov 2010
Reputation: 0
#6
RE: Script Compiler / Map Viewer Does It Exist? [Solved]

Niiice, thanks. Big Grin
01-10-2011, 05:52 PM
Find
RawkBandMan Offline
Posting Freak

Posts: 1,146
Threads: 35
Joined: Nov 2010
Reputation: 5
#7
RE: Script Compiler / Map Viewer Does It Exist? [Solved]

Parden me but, where does the dev_user folder live?

I've come to learn to not fear the living, nor the dead... But the monsters that hide in closets.
01-13-2011, 02:57 PM
Find
Tottel Offline
Senior Member

Posts: 307
Threads: 9
Joined: Nov 2010
Reputation: 0
#8
RE: Script Compiler / Map Viewer Does It Exist? [Solved]

Make a new profile in the game, go to:

My Documents/Amnesia/main

rename the folder to dev_user
(This post was last modified: 01-13-2011, 03:40 PM by Tottel.)
01-13-2011, 03:39 PM
Find
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#9
RE: Script Compiler / Map Viewer Does It Exist? [Solved]

(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.


╔═════════════════╗
☺ Smoke weed everyday ☺
╚═════════════════╝
01-13-2011, 05:12 PM
Find
Tottel Offline
Senior Member

Posts: 307
Threads: 9
Joined: Nov 2010
Reputation: 0
#10
RE: Script Compiler / Map Viewer Does It Exist? [Solved]

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
01-13-2011, 05:56 PM
Find




Users browsing this thread: 1 Guest(s)