Working ladders (GoldSrc)

From Valve Developer Community
Revision as of 07:02, 12 March 2025 by SirYodaJedi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Ladders in GoldSrc GoldSrc are traditionally made using two entities:

  • a func_illusionary with rendermode 4 and renderamt 255, for the visual representation of the ladder (usually with a clip brush around it if it isn't up next to a wall), and
  • a func_ladder, for the climbable surface itself.

Ladders do not need to use func_ladder, however. Any SOLID_NOT entity with clipnodes can be made climbable. By setting the skin KV to -16, the func_illusionary itself can be climbed, saving an edict! Do note, however, that ladders shouldn't have more than one brush per entity, as multiple brushes will cause unpredictable results.