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
PLEEAASEE HELP?
AirmanerX Offline
Junior Member

Posts: 14
Threads: 3
Joined: May 2012
Reputation: 0
#11
RE: PLEEAASEE HELP?

(05-06-2012, 12:38 PM)Xanthos Wrote:
(05-06-2012, 12:33 PM)AirmanerX Wrote:
(05-06-2012, 12:29 PM)Xanthos Wrote:
(05-06-2012, 12:23 PM)AirmanerX Wrote:
(05-06-2012, 12:20 PM)Xanthos Wrote: Make sure that the subset name in the Level Editor for that key is corresponding with the one in the extra lang
Ok, thanks. Another thing (sorry about all the questions)

What do I add to the hps file if i want to make more doors + keys. where do i add it?
You would add another Function in the OnStart.



Like So
void OnStart
{
AddEntityCollideCallback("Player", "Blah", "Blah", false, 1);

AddUseItemCallback("", "Key", "Blah", "Blah", true);

AddUseItemCallback("", "Key", "Blah", "Blah", true);

}

Then you add another on of the script functions thingys. Directly under the OnStart Section



void blah(string &in asParent, string &in asChild, int alState)
{
SetLampLit("candlestick_floor_18", true, false);
}


void blah(string &in asItem, string &in asEntity)
{
SetLevelDoorLocked("Blah", false);
PlaySoundAtEntity("", "unlock_door", "Player", 0, false);
RemoveItem("Key");

}


void blah(string &in asItem, string &in asEntity)
{

SetSwingDoorLocked("blah", false, true);
PlaySoundAtEntity("", "unlock_door", "Player", 0, false);
RemoveItem("blah");
}

(05-06-2012, 12:23 PM)AirmanerX Wrote:
(05-06-2012, 12:20 PM)Xanthos Wrote: Make sure that the subset name in the Level Editor for that key is corresponding with the one in the extra lang
Also, when I put a doorframe02 its invisible. Is there a way to solve it?
Check the "Active" box under the name of it
Sorry, not Door Frame. Door Way.
Check if you have any map_cache files hiding around in your custom story folder.
If so delete and try again with the test.
I dont
05-06-2012, 12:39 PM
Website Find Reply
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#12
RE: PLEEAASEE HELP?

(05-06-2012, 12:39 PM)AirmanerX Wrote:
Spoiler below!

(05-06-2012, 12:38 PM)Xanthos Wrote:
(05-06-2012, 12:33 PM)AirmanerX Wrote:
(05-06-2012, 12:29 PM)Xanthos Wrote:
(05-06-2012, 12:23 PM)AirmanerX Wrote: Ok, thanks. Another thing (sorry about all the questions)

What do I add to the hps file if i want to make more doors + keys. where do i add it?
You would add another Function in the OnStart.



Like So
void OnStart
{
AddEntityCollideCallback("Player", "Blah", "Blah", false, 1);

AddUseItemCallback("", "Key", "Blah", "Blah", true);

AddUseItemCallback("", "Key", "Blah", "Blah", true);

}

Then you add another on of the script functions thingys. Directly under the OnStart Section



void blah(string &in asParent, string &in asChild, int alState)
{
SetLampLit("candlestick_floor_18", true, false);
}


void blah(string &in asItem, string &in asEntity)
{
SetLevelDoorLocked("Blah", false);
PlaySoundAtEntity("", "unlock_door", "Player", 0, false);
RemoveItem("Key");

}


void blah(string &in asItem, string &in asEntity)
{

SetSwingDoorLocked("blah", false, true);
PlaySoundAtEntity("", "unlock_door", "Player", 0, false);
RemoveItem("blah");
}

(05-06-2012, 12:23 PM)AirmanerX Wrote: Also, when I put a doorframe02 its invisible. Is there a way to solve it?
Check the "Active" box under the name of it
Sorry, not Door Frame. Door Way.
Check if you have any map_cache files hiding around in your custom story folder.
If so delete and try again with the test.

I dont
Is it like a transparent look to it?
Then the box must not be checked for active, fix by selecting the door way and checking the box "Active"

05-06-2012, 12:42 PM
Find Reply
AirmanerX Offline
Junior Member

Posts: 14
Threads: 3
Joined: May 2012
Reputation: 0
#13
RE: PLEEAASEE HELP?

(05-06-2012, 12:42 PM)Xanthos Wrote:
(05-06-2012, 12:39 PM)AirmanerX Wrote:
Spoiler below!

(05-06-2012, 12:38 PM)Xanthos Wrote:
(05-06-2012, 12:33 PM)AirmanerX Wrote:
(05-06-2012, 12:29 PM)Xanthos Wrote: You would add another Function in the OnStart.



Like So
void OnStart
{
AddEntityCollideCallback("Player", "Blah", "Blah", false, 1);

AddUseItemCallback("", "Key", "Blah", "Blah", true);

AddUseItemCallback("", "Key", "Blah", "Blah", true);

}

Then you add another on of the script functions thingys. Directly under the OnStart Section



void blah(string &in asParent, string &in asChild, int alState)
{
SetLampLit("candlestick_floor_18", true, false);
}


void blah(string &in asItem, string &in asEntity)
{
SetLevelDoorLocked("Blah", false);
PlaySoundAtEntity("", "unlock_door", "Player", 0, false);
RemoveItem("Key");

}


void blah(string &in asItem, string &in asEntity)
{

SetSwingDoorLocked("blah", false, true);
PlaySoundAtEntity("", "unlock_door", "Player", 0, false);
RemoveItem("blah");
}

Check the "Active" box under the name of it
Sorry, not Door Frame. Door Way.
Check if you have any map_cache files hiding around in your custom story folder.
If so delete and try again with the test.

I dont
Is it like a transparent look to it?
Then the box must not be checked for active, fix by selecting the door way and checking the box "Active"
No. What I mean, is that it is literally invisible. Its theer, i can move it, but i can only see the white outline
05-06-2012, 12:45 PM
Website Find Reply
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#14
RE: PLEEAASEE HELP?

You should find it this way
Static Objects > mansion base(or whatever) > DoorWay

If not then the file for the door way is broken, you will have to reinstall Amnesia(BACKING UP FILES INCLUDED)

Or have me upload the door way file to you and you shall replace the old ones.

05-06-2012, 12:47 PM
Find Reply
Rownbear Offline
Member

Posts: 157
Threads: 13
Joined: Apr 2011
Reputation: 2
#15
RE: PLEEAASEE HELP?

Have you tried turning it around 180 degrees? some walls/doorways you can only see from the right angle

05-06-2012, 12:53 PM
Find Reply
AirmanerX Offline
Junior Member

Posts: 14
Threads: 3
Joined: May 2012
Reputation: 0
#16
RE: PLEEAASEE HELP?

(05-06-2012, 12:53 PM)Rownbear Wrote: Have you tried turning it around 180 degrees? some walls/doorways you can only see from the right angle



Thanks
Im a retard. I just had to turn it around -.-. Are there any tutorials for jumpscares? Im currently trying to create my first map. Its very simple and wont be scary, as I dont know how to make it scary. I dont even know how to script Sad
05-06-2012, 07:17 PM
Website Find Reply




Users browsing this thread: 1 Guest(s)