Frictional Games Forum (read-only)
PLEEAASEE HELP? - 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: PLEEAASEE HELP? (/thread-15285.html)

Pages: 1 2


RE: PLEEAASEE HELP? - AirmanerX - 05-06-2012

(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


RE: PLEEAASEE HELP? - Xanthos - 05-06-2012

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


RE: PLEEAASEE HELP? - AirmanerX - 05-06-2012

(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


RE: PLEEAASEE HELP? - Xanthos - 05-06-2012

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.


RE: PLEEAASEE HELP? - Rownbear - 05-06-2012

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


RE: PLEEAASEE HELP? - AirmanerX - 05-06-2012

(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