ladder

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
At0miC
General
Posts: 1164
Joined: Fri Feb 27, 2004 11:29 pm
Location: The Netherlands

ladder

Post by At0miC »

How to make a func_ladder able so a player can only use the ladder by pressing the use buttom, not by walking to it.
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Never heard of anyone wanting to do that before . Just a guess but what about a trigger use covering the ladder that targets the ladder and a script like this

the trigger has a key setthread and value mythread

mythread:
local.player = parm.other
local.player use(self.target)
end

I don't think it will work but I don't know maybe it will .
Image
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

out of plain curiosity ,but why? whats wrong with walking to it ? much faster .
is there anyway to disable a func_ladder thru script? (like disabling spawn points)
if there is u could make it disabled and enable it only when used (trigger_use)
Image
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

why? a aldder is almost always accessable. destroy it if you don't want it anymore.
dunno about the use thing.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
User avatar
At0miC
General
Posts: 1164
Joined: Fri Feb 27, 2004 11:29 pm
Location: The Netherlands

Post by At0miC »

The reason why I want this is:

I got a traincar and I want to make a ladder at the outside so you can climb on it, but the space were the ladder will be is not much, because you can also walk at the outside of the traincar, there as a very small path, so when u want to walk on this path, you will hit the ladder, but sometimes u dont want to use the ladder :wink: you know what I mean?
(You cant get of the traincar)
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

Post by hogleg »

How about some cheese with that whine!

Sry atomic can't help w/that 1.
"all the governments in the world are corrupt and in the hands of the Illuminati"
Random
Moderator
Posts: 401
Joined: Sun Jun 01, 2003 11:00 pm

Post by Random »

hogleg wrote:How about some cheese with that whine!
ahheemmm,

Well atomic i see why you would want to do this but there is one small problem with this approach, anti landshark cheats. In effect they kill anyone that tries to hit the use key while trying to climb a ladder. Now that could be problematic.

Random
Moderator
Image
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

whats wrong with jumping of the ladder? u climb it ,then jump of in the direction u were going ;)

or u can always make alittle more room :P .
if there is u could make it disabled and enable it only when used (trigger_use)

i guess u cant disable a ladder then :idea:
Image
User avatar
ColdKeyboard
Lance Corporal
Posts: 11
Joined: Wed Jul 21, 2004 10:28 am
Location: Brcko, BiH

Post by ColdKeyboard »

My advice is to make some more room, and make the ladder texture realy small and only where you need to step on it. So the player need to get realy close to ladder and look up to use it, or get to it and press use.

I'm sorry, my english isn't very good so I couldnt explane it quite well but I think you get the point.
Post Reply