Frictional Games Forum (read-only)
I Dont Know What I'm Doing Wrong :c Help? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: I Dont Know What I'm Doing Wrong :c Help? (/thread-15149.html)



I Dont Know What I'm Doing Wrong :c Help? - suffersystem - 04-28-2012

hey guys, I've got no clue what I'm doing and I've been watching youtube tutorials for making custom stories but it's not working..
i got it to show up in the custom stories main menu but it doesnt open, i get an error msg that says; "FATAL ERROR: Could not load script file 'custom_stories/attempt1/maps/00_attemp1.hps'!' main (1,1) : ERR : Unexpected token '{'"

any kind of help would be appreciated


RE: I Dont Know What I'm Doing Wrong :c Help? - jamessnk1 - 04-28-2012

(04-28-2012, 10:47 PM)suffersystem Wrote: hey guys, I've got no clue what I'm doing and I've been watching youtube tutorials for making custom stories but it's not working..
i got it to show up in the custom stories main menu but it doesnt open, i get an error msg that says; "FATAL ERROR: Could not load script file 'custom_stories/attempt1/maps/00_attemp1.hps'!' main (1,1) : ERR : Unexpected token '{'"

any kind of help would be appreciated
Did you create a .hps for the map?



RE: I Dont Know What I'm Doing Wrong :c Help? - suffersystem - 04-28-2012

(04-28-2012, 10:55 PM)jamessnk1 Wrote:
(04-28-2012, 10:47 PM)suffersystem Wrote: hey guys, I've got no clue what I'm doing and I've been watching youtube tutorials for making custom stories but it's not working..
i got it to show up in the custom stories main menu but it doesnt open, i get an error msg that says; "FATAL ERROR: Could not load script file 'custom_stories/attempt1/maps/00_attemp1.hps'!' main (1,1) : ERR : Unexpected token '{'"

any kind of help would be appreciated
Did you create a .hps for the map?
yeah i followed this one video's instructions. i just typed


"void OnStart ()
{
}"


RE: I Dont Know What I'm Doing Wrong :c Help? - MrIcabod123 - 04-28-2012

(04-28-2012, 11:06 PM)suffersystem Wrote:
(04-28-2012, 10:55 PM)jamessnk1 Wrote:
(04-28-2012, 10:47 PM)suffersystem Wrote: hey guys, I've got no clue what I'm doing and I've been watching youtube tutorials for making custom stories but it's not working..
i got it to show up in the custom stories main menu but it doesnt open, i get an error msg that says; "FATAL ERROR: Could not load script file 'custom_stories/attempt1/maps/00_attemp1.hps'!' main (1,1) : ERR : Unexpected token '{'"

any kind of help would be appreciated
Did you create a .hps for the map?
yeah i followed this one video's instructions. i just typed


"void OnStart ()
{
}"
take off the space between Start(), like this:

void OnStart()
{

}


RE: I Dont Know What I'm Doing Wrong :c Help? - suffersystem - 04-29-2012

(04-28-2012, 11:23 PM)MrIcabod123 Wrote:
(04-28-2012, 11:06 PM)suffersystem Wrote:
(04-28-2012, 10:55 PM)jamessnk1 Wrote:
(04-28-2012, 10:47 PM)suffersystem Wrote: hey guys, I've got no clue what I'm doing and I've been watching youtube tutorials for making custom stories but it's not working..
i got it to show up in the custom stories main menu but it doesnt open, i get an error msg that says; "FATAL ERROR: Could not load script file 'custom_stories/attempt1/maps/00_attemp1.hps'!' main (1,1) : ERR : Unexpected token '{'"

any kind of help would be appreciated
Did you create a .hps for the map?
yeah i followed this one video's instructions. i just typed


"void OnStart ()
{
}"
take off the space between Start(), like this:

void OnStart()
{

}
it's still saying the same error msg D:


RE: I Dont Know What I'm Doing Wrong :c Help? - JetlinerX - 04-29-2012

Remove the .hps until you actually have something to code, its not needed to run the map.



RE: I Dont Know What I'm Doing Wrong :c Help? - FragdaddyXXL - 04-29-2012

Or make sure you save your code before you start up your map again.