Frictional Games Forum (read-only)
.HPS not working - 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: .HPS not working (/thread-22242.html)



.HPS not working - Akos115 - 07-26-2013

In one of my maps, nothing happens what is programmed in the .hps file.

I checked the .map's and the .hps's file's name, and they match. If I create an error in the hps file (for example type random letters), the game crashes with an error message. This means that the game reads the .hps, just wont use it.

I tried to simplyfy the hps file, I removed everything, added Onstart and Onleave. For Onstart I used FadeOut, nothing happend.

I've never had this problem with other maps, and I pretty much tried everything, and nothing seems to work D:


RE: .HPS not working - The chaser - 07-26-2013

It's:

void OnStart()
{

}

void OnLeave()
{

}

Also, if there's any .map_cache file, delete it.


RE: .HPS not working - Artyom - 07-26-2013

I've had problems like this as well, make sure you're running the game as administrator and also make sure that both the .hps and the .map are saved in administrator mode.


RE: .HPS not working - Akos115 - 07-26-2013

(07-26-2013, 02:54 PM)The chaser Wrote: It's:

void OnStart()
{

}

void OnLeave()
{

}

Also, if there's any .map_cache file, delete it.

There is no cache file D:

They are saved in administrator mode, and still nothing happens when I run it in administrator mode.


RE: .HPS not working - The chaser - 07-26-2013

Can you post the script, please? Also, get sure the names of your script and ELEMENTS in the map match.


RE: .HPS not working - Akos115 - 07-26-2013

I tried running it again after I ran it in administrator mode, and now it works.. O.O
I still don't know what the problem was, but it's okay now.
Thanks for your time and help anyway!


RE: .HPS not working - Artyom - 07-26-2013

Awesome!


RE: .HPS not working - The chaser - 07-26-2013

That's weird, real weird. I'm glad it works, though! Smile