Snarkpit Articles


OK, so there have been many ladder tutorials, and some good ones. But some of them suffer from the same problem.....THEY DON'T WORK. For example there is no brush entity func_ladder and relying on ladder textures does nothing as well. Now, I?m not sure as to whether it is because some tuts are for CS or because a recent Source update has made these tuts obsolete, but I will show you how to make ladders under the latest source update (05/19/07).

This tutorial is for HL2DM but should work easily as well in HL2.

SUMMARY: Create a func_useableladder. Entity has two parts that overlap. Click on circle in center of entity to pull the pieces apart. Place one block at top of ladder, place second at bottom. Create info_ladder_dismount where you want player to get on and off ladder, associate with ladder. Done.

DETAILS:
Step 1: Create a func_useableladder.



Step 2:
Make sure to name your ladder (in my case ladder_01). In your 2d view you should see a circle in the middle of the entity (figure 2). Drag this circle in the 2D view and you should see that your entity is actually two rectangle blocks connected.



Step 3: Position ladder start and end.
OK, one of these blocks is the start of your ladder and the other is the end. Place one block at the bottom and the other at the top. THE START IS THE BOTTOM OF YOUR LADDER, TOP IS THE END. To make sure you have done this correctly, look at the Start and End fields in the Object Properties. There are three numbers, X, Y, Z respectably. Your Start should be under your End so the last number in Start should be less then Ends (make sense?). If this is not the case reverse your two blocks (or switch the two parameters in Start and End)



Step 4: Place your info_ladder_dismount
The entity info_ladder_dismount tells Source where the person gets on the ladder and off. Simply create two of the entities and place one at the bottom of your ladder and one at the top. Now you have to tell the entity which ladder it is working for. Open Object Properties for the entity and select LadderName, type or select your ladder from the list (in my case ladder_01). YOU DONE!

Note you can use more then two info_ladder_dismount for multiple mount pts, but you need at least two. The image below shows the final result.

This tutorial was very rushed but I hope it helps



Post ReplyView Topic
Discussion
0 starsPosted by Niborius on Tue Apr 28th 2009 at 11:22am

Quoting Muhnay
I do ladders much easier than this as well. Not sure why anyone would..


Because you probably just used func_ladder. In this way, you will climb ladders like in HL2
0 starsPosted by G4MER on Mon Apr 27th 2009 at 10:28am

I do ladders much easier than this as well. Not sure why anyone would..

..also I like the Avatar SeanOCR, its a Dali’s piece, a Human Skull Consisting of Seven Naked Women’s Bodies.. very cool.. I saw that a recent movie ripped that art work off, the movie ( The Descent ).
0 starsPosted by Funky Monk on Mon Apr 27th 2009 at 5:43am

The_Great_Dm,

Then c'mon then, post your tutorial!

One, question to anyone who can answer, if I were to angle a ladder to 45 degrees, be it upside down or on a slope, would the character animation seem to grip it properly down to the angle. By this I mean, will the character animation still show (when in third person, or being watched) the full animation, only adjusted accordingly to match the ladder's angle?

I'd test it myself, but I haven't owned a PC in 4 years, and am slowly getting back into mapping, just studying up for some L4D map's I'm thinking of.
0 starsPosted by Blargdaniel on Thu Dec 20th 2007 at 6:10am

Yeah. Worked perfectly!
0 starsPosted by The_Great_Dm on Tue Nov 20th 2007 at 10:29pm

There is a way to do the same thing in 2 steps and its 10x easier and it takes a second. I dont know why anyone would do this.
Post ReplyView Topic