Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making my first level!
Author Message
christopher231 Offline
Junior Member

Posts: 26
Joined: Jul 2011
Reputation: 0
Post: #1
Making my first level!

Hey
i just got amnesia a few days ago, and i started to play around with the map editor. ive worked out how to make the map, but i cant seem to get it to work in amnesia to test the level. i have tried different ways that people show you on there vids but it still doesnt work still.

can someone please help me !?!?!?!Huh
07-08-2011 04:07 AM
Find all posts by this user Quote this message in a reply
Snuffalofagus Offline
Member

Posts: 94
Joined: Jul 2011
Reputation: 0
Post: #2
RE: Making my first level!

Do you have a .hps file for your map?
07-08-2011 04:23 AM
Find all posts by this user Quote this message in a reply
christopher231 Offline
Junior Member

Posts: 26
Joined: Jul 2011
Reputation: 0
Post: #3
RE: Making my first level!

////////////////////////////
// Run when entering map
void Onstart(Test map)
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

^^^^ like this ?
07-08-2011 04:26 AM
Find all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,086
Joined: Mar 2009
Reputation: 66
Post: #4
RE: Making my first level!

void Onstart(Test map)
Test map?

////////////////////////////
// Run when entering map
void Onstart()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{}

A { always needs to be closed with a }

07-08-2011 04:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
christopher231 Offline
Junior Member

Posts: 26
Joined: Jul 2011
Reputation: 0
Post: #5
RE: Making my first level!

so does that mean if i did that it will work?
with the test map thingy when i watched a vid i think the guy said something about having the name in it
(This post was last modified: 07-08-2011 04:33 AM by christopher231.)
07-08-2011 04:31 AM
Find all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,086
Joined: Mar 2009
Reputation: 66
Post: #6
RE: Making my first level!

Which video is that?

07-08-2011 04:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
christopher231 Offline
Junior Member

Posts: 26
Joined: Jul 2011
Reputation: 0
Post: #7
RE: Making my first level!

lol i cant remember
07-08-2011 04:38 AM
Find all posts by this user Quote this message in a reply
christopher231 Offline
Junior Member

Posts: 26
Joined: Jul 2011
Reputation: 0
Post: #8
RE: Making my first level!

yeah i fixed the file and it still doesnt work.. what else do i need for my level just so i can test it out?
07-08-2011 06:51 AM
Find all posts by this user Quote this message in a reply
Snuffalofagus Offline
Member

Posts: 94
Joined: Jul 2011
Reputation: 0
Post: #9
RE: Making my first level!

(07-08-2011 06:51 AM)christopher231 Wrote:  yeah i fixed the file and it still doesnt work.. what else do i need for my level just so i can test it out?

////////////////////////////
// Run first time starting map
void OnStart()
{

}

///////////////////////////////////
//Run when entering map
void OnEnter()
{

}


////////////////////////////
// Run when leaving map
void OnLeave()
{

}

your .hps file should look EXACTLY like this in order for it to work. Tanshayder's was wrong
(This post was last modified: 07-08-2011 07:28 AM by Snuffalofagus.)
07-08-2011 07:27 AM
Find all posts by this user Quote this message in a reply
christopher231 Offline
Junior Member

Posts: 26
Joined: Jul 2011
Reputation: 0
Post: #10
RE: Making my first level!

ok so my .hps looks like that ^^^
what else do i need now?
(just so you know i am new to this )
07-08-2011 07:57 AM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)