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
.HPS not working
Akos115 Offline
Member

Posts: 101
Threads: 14
Joined: Aug 2012
Reputation: 0
#1
.HPS not working

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:

07-26-2013, 02:42 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: .HPS not working

It's:

void OnStart()
{

}

void OnLeave()
{

}

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

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
07-26-2013, 02:54 PM
Find
Artyom Offline
Senior Member

Posts: 370
Threads: 27
Joined: Jul 2012
Reputation: 11
#3
RE: .HPS not working

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.

- Inactive account -
07-26-2013, 03:16 PM
Find
Akos115 Offline
Member

Posts: 101
Threads: 14
Joined: Aug 2012
Reputation: 0
#4
RE: .HPS not working

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

(This post was last modified: 07-26-2013, 03:26 PM by Akos115.)
07-26-2013, 03:23 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#5
RE: .HPS not working

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

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
07-26-2013, 04:39 PM
Find
Akos115 Offline
Member

Posts: 101
Threads: 14
Joined: Aug 2012
Reputation: 0
#6
RE: .HPS not working

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!

07-26-2013, 06:05 PM
Find
Artyom Offline
Senior Member

Posts: 370
Threads: 27
Joined: Jul 2012
Reputation: 11
#7
RE: .HPS not working

Awesome!

- Inactive account -
07-26-2013, 09:21 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#8
RE: .HPS not working

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

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
07-26-2013, 09:31 PM
Find




Users browsing this thread: 1 Guest(s)