Skip to content

New OCB and Setup Instructions for Legacy Objects

Stranger1992 edited this page Aug 15, 2022 · 25 revisions

Below you will find the existing and NEW Object Code Bits (OCB) for objects. Any specific levels where an entity exists once (ie: the famous Midas gold effect) have their original data file listed as xxx . extention .

Please note that these OCB values are for Tomb Engine ONLY.

Tomb Raider : Starring Lara Croft

ID_WINGED_MUMMY

  • 1 - Start off flying when triggered.
  • 2 - Start off as a mummy when triggered.
  • 4 - Start posed.
  • 8 - No Wings.
  • 16 - Disable Bomb Attack.
  • 32 - Disable Shard Attack.

Tomb Raider II: The Dagger of Xian.

Tomb Raider III: Adventures of Lara Croft.

Tomb Raider IV: The Last Revelation.

ID_TEETH_SPIKES

  • 0 - Ordinary TR4 teeth spikes behaviour
  • 1 - Spikes stuck out constantly
  • 2 - Stick out once and retract forever
  • 3 and onwards - OCB specifies spikes retraction delay in frames, i.e. OCB 30 = spikes will delay for 1 second, OCB 30 = 2 seconds, etc

ID_HAMMER Hall.TR4

  • 0 - Does not animate but will cause Lara damage if collided.
  • 2 - Hardcoded Obelisk set up.
  • 3 - Triggers once, then raises up and remains there.
  • 4 - Works like OCB 3 but will not stop. So once triggered will continuously raise, smackdown, raise up and then loop every two seconds.

Tomb Raider Chronicles

ID_HITMAN

  • Set room type to "No Lens Flare" and he will choke to death.

Clone this wiki locally