This article's documentation is for anything that uses the Source engine. Click here for more information.

Func useableladder: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(53 intermediate revisions by 25 users not shown)
Line 1: Line 1:
[http://activeimage.c3.hu/css/gwmrmi.html sing sing prison location] [http://www.easypayinfo.com/subscribe/tmp/anjmnp.html oregon scientific weather instruments] [http://maps.my2gig.com/cache/axoexp.html www rawhide] [http://maps.my2gig.com/cache/wiwtph.html mechanics truck bodies] [http://www.farmelco.hu/test/css/ebegww.html expressiveness] [http://www.stillwaterhomes.com/listings/images/pic/mhksta.html where is chad myers] [http://www.olemissfans.com/chatpro/image/uvvplm.html kinetic assay] [http://www.systemsupport.und.edu/cache/avatars/emo/qahvlm.html art deco press] [http://informer.siam.edu/themes/hm/ukcidr.html free vocal ringtones] [http://www.lowell.edu/styles/old_style/css/wvlnjn.html walking stick dog] [http://www.salona-yachts.eu/misc/qpwbqc.html the strokes new single] [http://www.olemissfans.com/chatpro/image/msuxne.html practice law in california] [http://kom-pas.de/3xcms/config/hkatuploads/images/vdbtbm.html archaeology jobs canada] [http://www.olemissfans.com/chatpro/image/sbfbii.html what to do when buying a brand new home] [http://www.lowell.edu/styles/old_style/css/clpkch.html buy klonopin] [http://kristinlyseggen.com/gallery/1documentaries/7travel/wtduou.html the practical writer with reading] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/irvwgr.html president bush popularity rating] [http://www.systemsupport.und.edu/cache/avatars/emo/rqvcjp.html order ephedrine] [http://informer.siam.edu/themes/hm/beffeu.html didrex online] [http://www.salona-yachts.eu/misc/chcfgi.html model no nude real] [http://maps.my2gig.com/cache/omgmbs.html service data objects] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/uidchx.html no limit poker free] [http://maps.my2gig.com/cache/lmemqs.html matrix access control] [http://www.stillwaterhomes.com/listings/images/pic/rdongw.html inited states of america] [http://kristinlyseggen.com/gallery/1documentaries/7travel/nnvqle.html synchronizing act] [http://activeimage.c3.hu/css/cwpiib.html ask the blind man] [http://2001.c3.hu/mas/cinije.html theatre jobs in ireland] [http://kom-pas.de/3xcms/config/hkatuploads/images/pakall.html sega genesis part] [http://kristinlyseggen.com/gallery/1documentaries/7travel/kbwtrq.html auto new car] [http://www.easypayinfo.com/subscribe/tmp/bumwws.html national museum of health and] [http://www.stillwaterhomes.com/listings/images/pic/qumhdh.html european child and adolescent psychiatry journal] [http://www.easypayinfo.com/subscribe/tmp/adevgw.html 2006 draft raider] [http://troniny.ovh.org/gallery/layout/xhdmxm.html exam crams] [http://www.systemsupport.und.edu/cache/avatars/emo/nvbklo.html active x not working] [http://kom-pas.de/3xcms/config/hkatuploads/images/uwoxtu.html surfer board shorts] [http://aura.c3.hu/thumb/jrkldm.html london brick company uk] [http://activeimage.c3.hu/css/vikfmh.html jackson heights queens] [http://www.systemsupport.und.edu/cache/avatars/emo/mocsud.html sales manual pdf] [http://www.easypayinfo.com/subscribe/tmp/nrfsvi.html eclipse 2.0 download] [http://www.lowell.edu/styles/old_style/css/fdwmvm.html tv ringtone] [http://kristinlyseggen.com/gallery/1documentaries/7travel/bfpbxg.html temporary recruitment agency] [http://www.housing.und.edu/reshalls/blog/wp-content/uploads/2007/04/img/maerqs.html cheap valium] [http://www.housing.und.edu/reshalls/blog/wp-content/uploads/2007/04/img/ghrvfa.html ritalin online] [http://www.plurpage.com/classifieds/cache/rbhjni.html sex and early pregnancy] [http://2001.c3.hu/mas/ctmkdp.html industrial engineering chemistry research] [http://www.stillwaterhomes.com/listings/images/pic/ofsloq.html motorolas mpx] [http://www.lowell.edu/styles/old_style/css/wncwea.html buy soma] [http://www.systemsupport.und.edu/cache/avatars/emo/kevgjk.html meatpacking district restaurants] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/lhgtxs.html ebony video girls] [http://informer.siam.edu/themes/hm/xiibxa.html buy glucophage] [http://www.lowell.edu/styles/old_style/css/xiftvt.html equipment nation rent rental] [http://maps.my2gig.com/cache/lhbgxi.html ross park mall] [http://www.easypayinfo.com/subscribe/tmp/omvmre.html voucher definition] [http://informer.siam.edu/themes/hm/tlqgmu.html tramadol online] [http://www.farmelco.hu/test/css/haqqka.html x ray technologist schools] [http://2001.c3.hu/mas/vwbart.html suv comparison tests] [http://aura.c3.hu/thumb/xitiqq.html evil movie resident trailer] [http://www.stillwaterhomes.com/listings/images/pic/dhwnmx.html america california flag great six] [http://www.salona-yachts.eu/misc/jwcebb.html add pcmcia card to a desktop] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/xqumvu.html vanilla egg cream recipe] [http://www.plurpage.com/classifieds/cache/wmmlce.html nazi sex crime] [http://kom-pas.de/3xcms/config/hkatuploads/images/abujgf.html the age of gold] [http://www.olemissfans.com/chatpro/image/gnpkex.html music crafts for kid] [http://maps.my2gig.com/cache/fbutxm.html practice sol test for world history] [http://informer.siam.edu/themes/hm/bcbhmg.html free alcatel ringtones] [http://www.stillwaterhomes.com/listings/images/pic/dqokoq.html trael agents] [http://troniny.ovh.org/gallery/layout/iufngo.html mature and two boy] [http://ndr.hu/rhodes/mtihkm.html kids alphabet game] [http://www.stillwaterhomes.com/listings/images/pic/nmclra.html nafta professional] [http://www.easypayinfo.com/subscribe/tmp/toopwg.html real player media browser] [http://www.lowell.edu/styles/old_style/css/rrpddx.html parking south boston] [http://www.easypayinfo.com/subscribe/tmp/qtqcmb.html student software pocket pc] [http://www.plurpage.com/classifieds/cache/ntbfdc.html mom song from daughter] [http://www.lowell.edu/styles/old_style/css/unirjh.html cheap cialis] [http://maps.my2gig.com/cache/hrilfp.html equity funding] [http://maps.my2gig.com/cache/njmifv.html make tattoo guns] [http://activeimage.c3.hu/css/lnleiv.html medicare age eligibility] [http://www.easypayinfo.com/subscribe/tmp/efrfwu.html swing swing music video] [http://informer.siam.edu/themes/hm/nngmcn.html cheap ringtone] [http://www.stillwaterhomes.com/listings/images/pic/bfclbx.html los angelas power] [http://informer.siam.edu/themes/hm/hsmwnt.html discount adderall] [http://www.olemissfans.com/chatpro/image/eofqwv.html what do i need to copy vhs to dvd] [http://troniny.ovh.org/gallery/layout/rptkjn.html solution chapter 6] [http://www.olemissfans.com/chatpro/image/hjpogw.html available error not site web] [http://www.easypayinfo.com/subscribe/tmp/mvgsax.html evolution midi controllers] [http://2001.c3.hu/mas/uhtfal.html process and instrumentation symbols] [http://activeimage.c3.hu/css/jokife.html maps of mountain ranges] [http://troniny.ovh.org/gallery/layout/wcjvjv.html 6th grade math question] [http://www.stillwaterhomes.com/listings/images/pic/pbcwfr.html 2006 druge report] [http://kom-pas.de/3xcms/config/hkatuploads/images/nlbxdn.html animals cell membrane] [http://www.stillwaterhomes.com/listings/images/pic/hsmlpp.html love to] [http://kom-pas.de/3xcms/config/hkatuploads/images/wlerir.html sarah murray financial times] [http://www.systemsupport.und.edu/cache/avatars/emo/aojqke.html the clash quotes] [http://www.plurpage.com/classifieds/cache/uopfed.html style consultant toronto] [http://informer.siam.edu/themes/hm/tblqme.html free sony ringtones] [http://kom-pas.de/3xcms/config/hkatuploads/images/wpqudt.html model minority thesis] [http://www.easypayinfo.com/subscribe/tmp/vtcmwb.html when daylight savings time changes] [http://www.salona-yachts.eu/misc/cdkbea.html motor vehicle inspections] [http://kom-pas.de/3xcms/config/hkatuploads/images/gsbxaj.html argument not valid] [http://www.plurpage.com/classifieds/cache/neguis.html microbial culture collection]
{{LanguageBar}}
{{wrongtitle|title=func_useableladder}}
{{This is a|point entity|name=func_useableladder}}
{{CD|CFuncLadder|file1=1}}
It is a [[Half-Life 2]]-style [[ladder]]. Handles player auto mount/unmount, as well as +use to get onto the ladder.


==Entity Description==
{{note|This entity is functional only in {{hl2series|4}} and {{portal|4}}. See [[Working ladders]] for other games.}}
A Half-Life 2 ladder. Handles player auto mount/unmount, as well as +use to get onto the ladder.
{{func point ent}}
{{bug|There seems to be a bug where mounting or dismounting a ladder within a trigger volume will cause the trigger to fire outputs as if the player left and re-entered the volume. Seems to be because of how dismounting works, as it technically gives the player noclip temporarily, which makes the player not touch the trigger.}}


{{note|This entity is non-functional in [[Counter-Strike: Source]]. Use [[func_ladder]] instead.}}
==Issues==
You should be sure, that ladder is not in contact with your brush if using it for ladder representation, otherwise it won't work.
[[File:Ladder1.jpg|right|150px|thumb|Usable ladder has a gap between itself and brush.]]


==Availability==
== Keyvalues ==
{{in game|point}} {{game-base}} (except [[CS:S]]; see note above)
{{KV Targetname}}
{{in code|class=class_c_func_ladder.html CFuncLadder|file=func__ladder_8cpp-source.html func_ladder.cpp}}
{{KV|Start|intn=point0|vec3|Ladder start point}}
{{KV|End|intn=point1|vec3|Ladder end point}}
{{KV|Surface properties|intn=ladderSurfaceProperties|string}}
{{KV EnableDisable}}


==Keyvalues==
== Flags ==
*{{kv targetname}}
{{fl|1|Fake Ladder|Ladder serving for mount check which still fires the <code>OnPlayerGotOnLadder</code> output but won't actually put the player on the ladder
*{{kv parentname}}
:{{example|Used in {{hl2}} <code>[[d2_coast_04]]</code> for the ladder leading to operable crane and uses <code>OnPlayerGotOnLadder</code> output to put player inside the crane}}}}
*'''point0'''
:<vector> Ladder end point.
*'''point1'''
:<vector> Ladder end point.
*'''StartDisabled'''
:<choices> Start Disabled.
:{|
! Literal value || Description
|-
| 0 || No
|-
| 1 || Yes
|}


==Flags==
== Inputs ==
*1 : Fake Ladder
{{I EnableDisable}}


==Inputs==
== Outputs ==
*{{i targetname}}
{{O|OnPlayerGotOnLadder|activator = this entity|caller=player that got on ladder|Fired whenever a player gets on this ladder.}}
*{{i parentname}}
{{O|OnPlayerGotOffLadder|activator = this entity|caller=player that got on ladder|Fired whenever a player gets off this ladder.}}
*'''Enable'''
:Enable this ladder.
*'''Disable'''
:Disable this ladder.


==Outputs==
== See also ==
*{{o targetname}}
* {{ent|info_ladder_dismount}} - An entity used to specify ladder auto-dismount points.
*'''OnPlayerGotOnLadder'''
* [[ladder_simple]] - A prefab containing a simple ladder setup
:Fired whenever a player gets on this ladder. {{plcal}}
* [[Working Ladders]] - A wiki tutorial on how to construct ladders
*'''OnPlayerGotOffLadder'''
* [http://twhl.co.za/mapvault_map.php?id=3898 A tutorial bsp and map for constructing ladders]
:Fired whenever a player gets off this ladder.  {{plcal}}
 
==See also==
*[[ladder_simple]] - A prefab containing a simple ladder setup.
*[[info_ladder_dismount]] - An entity used to specify ladder auto-dismount points.
*[[Working Ladders]] - A wiki tutorial on how to construct ladders.
*[http://twhl.co.za/mapvault_map.php?id=3898 A tutorial bsp and map for constructing ladders]
 
 
[[Category:Entities]]

Latest revision as of 13:06, 4 May 2025

English (en)Translate (Translate)

func_useableladder is a point entity available in all Source Source games.

C++ Class hierarchy
CFuncLadder
CBaseEntity
C++ func_ladder.cpp

It is a Half-Life 2-style ladder. Handles player auto mount/unmount, as well as +use to get onto the ladder.

Note.pngNote:This entity is functional only in Half-Life 2 series Half-Life 2 series and Portal Portal. See Working ladders for other games.
Warning.pngRisk of Confusion:This is a point entity despite the name starting with func_ (which is usually used for brush entities).
Icon-Bug.pngBug:There seems to be a bug where mounting or dismounting a ladder within a trigger volume will cause the trigger to fire outputs as if the player left and re-entered the volume. Seems to be because of how dismounting works, as it technically gives the player noclip temporarily, which makes the player not touch the trigger.  [todo tested in ?]

Issues

You should be sure, that ladder is not in contact with your brush if using it for ladder representation, otherwise it won't work.

Usable ladder has a gap between itself and brush.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Start (point0) <vector3>
Ladder start point
End (point1) <vector3>
Ladder end point
Surface properties (ladderSurfaceProperties) <string>
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Flags

Fake Ladder : [1]
Ladder serving for mount check which still fires the OnPlayerGotOnLadder output but won't actually put the player on the ladder
PlacementTip.pngExample:Used in Half-Life 2 d2_coast_04 for the ladder leading to operable crane and uses OnPlayerGotOnLadder output to put player inside the crane

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs

OnPlayerGotOnLadder
!activator = this entity
!caller = player that got on ladder
Fired whenever a player gets on this ladder.
OnPlayerGotOffLadder
!activator = this entity
!caller = player that got on ladder
Fired whenever a player gets off this ladder.

See also