Frictional Games Forum (read-only)
Making my first level! - 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: Making my first level! (/thread-9013.html)

Pages: 1 2 3 4


Making my first level! - christopher231 - 07-08-2011

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


RE: Making my first level! - Zypherzemus - 07-08-2011

Do you have a .hps file for your map?


RE: Making my first level! - christopher231 - 07-08-2011

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

}

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

^^^^ like this ?



RE: Making my first level! - Tanshaydar - 07-08-2011

void Onstart(Test map)
Test map?

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

}

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

A { always needs to be closed with a }


RE: Making my first level! - christopher231 - 07-08-2011

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



RE: Making my first level! - Tanshaydar - 07-08-2011

Which video is that?


RE: Making my first level! - christopher231 - 07-08-2011

lol i cant remember



RE: Making my first level! - christopher231 - 07-08-2011

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?


RE: Making my first level! - Zypherzemus - 07-08-2011

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

Code:
////////////////////////////
// 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


RE: Making my first level! - christopher231 - 07-08-2011

ok so my .hps looks like that ^^^
what else do i need now?
(just so you know i am new to this )