TEN: New Pushable System - Tomb-Raider-Level-Editor/Tutorials GitHub Wiki

Original tutorial by Adngel on TEN Discord Server

Greetings, builders! Today, let's dive into the core of pushable objects.

00

What are Pushable Objects?

These game elements open doors to player interaction—push, pull, and even climb. They're keys to puzzle-solving, adding depth to your levels.

In a level designer's arsenal, pushable objects shine. Craft puzzles, set obstacles, reveal secrets, or create challenging platforms. The possibilities are as vast as your imagination.

01

Stay tuned as we explore TEN engine implementation, new features, and practical tips in upcoming posts. Elevate your level design game with pushable objects!

Installation - Bringing Pushables to Life

Ready to breathe life into your levels with pushable objects? Here's a simple guide:

  1. Use WadTool to create a new wad. Add a pushable object from another wad you've got (for example, we've got this one in the resource: https://github.com/TombEngine/Resources/raw/main/Wad2%20Objects/Interactables/TEN_Pushable_Object_Climbable.wad2). Save and close WadTool.

02

  1. Open Tomb Editor. Navigate to Level Settings, then Object Files. Click 'Add,' select the wad with your pushable object. Press Apply and Ok.

03

  1. Your pushable object is now in the level! Find 'Pushable_Object' and 'Pushable_Object_Climbable' in the Items window. Drag them onto the level floor and compile your level.

05

  1. Jump in-game, and witness your pushable creations in action!

06

Climbables vs Objects - Rediscovering the Pushable Duo

Embark on the intriguing history of pushables:

Pushable Objects:

Dynamic and versatile, rooted in Tomb Raider's legacy. Players can push, pull, trigger, and craft puzzles seamlessly.

08

Climbable Pushables:

A nostalgic revival! Originally climbable in Tomb Raider 1-3, they lost their ascent in Tomb Raider 4. Now, with a simplified setup, they're back to their climbing glory.

07

The magic? Their height effortlessly configured in WadTool's collision box. No more complex formulas—just intuitive design!

09

In WadTool you can resize the collision box pressing the button calculate, or setting the values manually in the Rezize area, for higher control

##Unveiling OCB Magic

Dive into the enchanting realm of OCBs, unlocking special behaviors for pushable objects and climbable pushables:

OCB + 1: Allows to push pushable through edges

Pushables defy physics! Enjoy new animations made by Gecko as they smoothly glide through edges.

10 11

OCB + 2: Do NOT align at center Embrace control! By adding +2 to the OCB, players can grab pushables without automatic centering.

14 15

OCB + 4: Is Buoyant Float or sink! In water rooms, OCB +4 turns pushables into buoyant wonders, gracefully floating to the surface.

12 13

OCB + 8: Classic Block Animations Revisit tradition! OCB +8 invokes the classic TR1-TR3 block push animation, a nostalgic touch for Lara enthusiasts.

16 17

Lets considerate an Example: Are you dreaming of a pushable that Lara can push into a lake, and it gracefully floats in water Then combine OCB +1 and OCB +4:

OCB = 1 + 4 = 5

Set the OCB to 5 for a magical water-faring experience!

In this table, you can also see a sumary of the OCB values:

18