View Full Version : Ladders
11-13-2007, 01:44 PM
Hey ya'll! So, I placed a StaticMesh ladder in my map and was looking around abit on how to get it work. However I didn't get it to work so I've come here to ask you all if you know how to allow characters to use ladders, if you do, then how?
Thanks in advance.
11-13-2007, 01:56 PM
Looks like it requires Triggers > Trigger_LadderInteraction ... but I would need to look at the kismit from another level. I can't remember if you ever climb a ladder in gears. If you know of a level where you do let me know and I can help you get them working.
11-13-2007, 02:14 PM
You can climb ladders, atleast one... its on the map before General Raam on SP, I think its SP_Tyro_S05 (not sure about the number, 3-6 I think)
11-13-2007, 05:19 PM
SP_FactoryInterior_P has one near the breakable wooden floor puzzle.
11-13-2007, 05:36 PM
Ladder is in SP_Tyro_Scripting_1.
What is needed: 2 ladder triggers (Trigger > Trigger_LadderInteraction ... One at the top (have to check the bIsTopOfLadder box) and one at the bottom) and the ladder static mesh(The train uses one from Ephyra_02 package). Thats the end of the easy part... heh.
I have to figure out the rest of this when I get home... Its just offsets and rotations. From the looks of it the numbers have to be exact or it won't work right.
11-13-2007, 06:24 PM
Thanks for helping me out guys :)
11-13-2007, 07:02 PM
there isn't much to tweak, just put a ladder static mesh down, add a ladder trigger at the bottom, and set it's ladder mesh. Then Alt drag it up and check the top of ladder flag. Unfortunately, the ladders can only go up/down 500 game units (the ladders are 250 so you'll have to scale or stack them)
You can also use ladder volumes, but those are pretty lame =\
11-13-2007, 11:33 PM
Okay, so I added one Trigger_LadderInteraction at the bottom of my ladder, held down ALT and draged it to the top. Checked the box on the last one "bIsTopOfLadder" went to kismet and linked all the stuff but I think I made a mistake somewhere cuz when I walk up to the ladder and press E and instead of climbing up my character just strafes right =/
11-14-2007, 02:12 AM
Yeah, if it is not hooked up right, he will try to run to the origin(?) Your ladder should be named something like "StaticMesh_x" Where x is a number. Enter that exactly into the field on the Ladder trigger, and it should update the field with the full path to the object, then you know it is working.
11-14-2007, 12:50 PM
Could someone upload a quick guide or a pic? I'm like a big question mark here :p
11-17-2007, 02:41 AM
I'm also having difficulties to build this action either. I've the ladder, the 2 triggers that I am unable to define them as ladder triggers, btw, and in Kismet things go messy. :)
A step by step tutorial would be much apreciated from my part also. ;)
Ah, found the "ladder interaction trigger" in the Actor Classes - Triggers - Trigger Ladder Interaction. But the Kismet is still pretty non-friendly to me. :)
11-17-2007, 06:28 PM
You don't need kismet to do ladders.
First, place your ladder static mesh actor. Then open its properties window. Click on "object" to open the rollout. Look at the name field, it should be something like "StaticMesh_0".
Next place your Trigger_LadderInteraction. Open its properties, and open the "Trigger_LadderInteraction" rollout. In the Ladder_SMActor field type the name that you got earlier ("StaticMesh_0"). Hit enter and be sure that it accepted it. If it does not, it will change the field back to "none" if it does that. be sure that you have the correct name.
If it works, then Alt-Drag the trigger up to the top of the ladder (+500 units) and check the "bIsTopOf Ladder" bool to on. Save and build your map, play it, and you should be able to climb up your ladder :)
11-17-2007, 07:40 PM
Yeah, nice, Tanasoo! :) You saved my life. Thanx alot, mate! I apreciate your help! I has smashing my head with the Kismet and not getting anywhere.
I can build terrain, make toggleable lights, spawn AI, make pathnodes, spawn ammo, weapons, a locust hole, buid sky and so on... but I could not climb a ladder. Hah! Hillarious. :)
Only thing is that I had to put 2 ladders, one above the other, as Marcus just kept on climbing. Also, not sure what you mean by 500 units, as the wall I climbed (having the same height as the 2 ladders combined) has the Z scale = 7.6410.
Nevertheless, it's... great! :)
And if the editor gets updated and I'll be able to use materials and stuff from UT3 the game, I have some plans for a mod/SP map in the StarCraft universe.
But... until then, godspeed!
11-18-2007, 02:47 AM
Well, a default ladder is 250 game units tall at 100% (1.0) scale, and the player will climb up 500 units when he climbs a ladder. So you will either have to stack two, or scale one of them to 200% (2.0)Z for it to look right.
Edit: Just so you know, you can drag the middle mouse button in one of the ortho viewports to measure distance, with that and a little math, you can get the correct scale easily.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.