View Single Post
Re: how to determine look up or down on ladder
Old
  (#4)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: how to determine look up or down on ladder - 25-07-2004

not true

You can still climb that ladder by facing it all the time and strafe left to get out of it when you've reached the top... and this is usually what I do.

In fact the ladder code works like this:
-if you face the ladder AND your pitch is > to -45 degrees, FORWARD will go UP
-if you face the ladder AND your pitch is < to -45 degrees, FORWARD will go DOWN
-if the ladder is on your left, STRAFE LEFT will go UP (no matter your pitch)
-if the ladder is on your right, STRAFE RIGHT will go UP (no matter your pitch)
-if you have the ladder in the back AND your pitch is > to +45 degrees, FORWARD will go UP
-if you have the ladder in the back AND your pitch is < to +45 degrees, FORWARD will go DOWN
the opposite of the mentioned keys do the opposite movement. When talking about pitch, + means up and - means down (I'm not sure it's like that in the HL engine, actually I think it's the contrary).



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote