Tut | Climbable - JasXSL/GoThongs GitHub Wiki
Climbable items work off of descriptions, no scripts are needed. The syntax is as follows
D$Climb$$CL$(rot)rotation_offset$(str)anim_passive$(str)anim_up$(str)anim_down$(str)dismount_top$(str)dismount_bottom$(vec)dismount_bottom_at$(vec)dismount_bottom_pos$(vec)node1$(vec)node2...$(vec)dismount_top_pos$(ved)dismount_top_at
| Value | Description |
|---|---|
| rotation_offset | Rotation offset relative to the object |
| anim_passive | Animation when on the ladder/rope but not actively moving. The animations are in the HUD. l_p is ladder passive. You can make your own and install them with the mod. |
| anim_up | Animation that plays when going up. l_a for ladders |
| anim_down | Animation that plays when going down. l_a for ladders |
| dismount_top | Animation that plays when you dismount at the top. l_d for ladders |
| dismount_bottom | Animation that plays when you dismount at the bottom. Blank space for ladders |
| dismount_botom_at | Local coordinates offset for where the ladder should place the user after reaching the bottom. |
| dismount_bottom_pos | First node, where the player should appear when starting to climb at the bottom. |
| node1, node2.. | Optional additional nodes if you want the line the player climbs in to be curved etc. |
| dismount_top_pos | Last node, where the player should appear when starting to climb at the top. |
| dismount_top_at | Where to place the player after reaching the top. Usually a bit higher than dismount_top_pos |
If you need assets you can just pull them from existing levels.