Frictional Games Forum (read-only)

Full Version: Ladder won't work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
I got it working perfectly, but since I'm stupid, how do you post file downloads on the forum? lol
(02-01-2014, 08:19 PM)Neelke Wrote: [ -> ]I got it working perfectly, but since I'm stupid, how do you post file downloads on the forum? lol

by going on near "post reply" there's a thing called "attachments", click on choose file, do the map in a rar file and ad attachment and post reply
That's what I tried first, what the hell?

I would recommend doing this to get the player up the hatch. I use it in one of my own maps:

void CollideAreaLadderUp(string &in asParent, string &in asChild, int alState)
{
PlayGuiSound("player_climb.snt", 0.5f);
FadeOut(0.5f);
AddTimer("teleport", 0.5f, "TimerTeleport");
}
void TimerTeleport(string &in asTimer)
{
TeleportPlayer("NAMEOFSTARTAREA");
FadeIn(0.5f);
}
what do i do in nameofstartarea?
Put a PlayerStartArea up on the top of where you want the player to be once the ladder has been climbed. Then write the name of the PlayerStartArea in the script.
(02-01-2014, 08:36 PM)Neelke Wrote: [ -> ]Put a PlayerStartArea up on the top of where you want the player to be once the ladder has been climbed. Then write the name of the PlayerStartArea in the script.

Omg it worked thank you so much!!Big GrinSmile one more thing what number should I make the hatch in the openamount thing? to make the ladder pass?
To be stuck at max, 1. Do you want to open the hatch during the cutscene? If so, it would be somewhat harder.
(02-01-2014, 08:46 PM)Neelke Wrote: [ -> ]To be stuck at max, 1. Do you want to open the hatch during the cutscene? If so, it would be somewhat harder.

I don't want the player to teleport, I just want him to get up the area, but how much should I make it for the ladder to go trough the hatch?
I still have your map. Do you want me to fix this? I can either force it open when player has reached a certain area or you can just pull it open from the ground. How do you want it to be?
(02-01-2014, 08:54 PM)Neelke Wrote: [ -> ]I still have your map. Do you want me to fix this? I can either force it open when player has reached a certain area or you can just pull it open from the ground. How do you want it to be?

I want it the same, i just want the hatch on the ceiling, to have the open amount number to let the ladder to get trough, you don't have to post the map, you can just tell me what number it is for the open amount of the hatch so the ladder can get trough it not get stuck
Pages: 1 2 3 4