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 !?!?!?!
Do you have a .hps file for your map?
////////////////////////////
// Run when entering map
void Onstart(Test map)
{
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
^^^^ like this ?
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 }
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
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)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
ok so my .hps looks like that ^^^
what else do i need now?
(just so you know i am new to this )