Object Code Bit

From WikiRaider
(Redirected from OCB)
Jump to: navigation, search

The Object Code Bits (or short OCB) are used inside the Level Editor during the making of new Tomb Raider Levels, e.g. Custom Levels.

The OCB can be used to assign a certain parameter to an Object, to make this object function in a certain way - e.g. to make an untriggered mummy appear inactive on the floor or tell the Spikes object whether they are supposed to be on the floor or on the ceiling.

To assign an OCB to an object, one has to select it using the mouse and then press "O". A pop-up menu will appear where the OCB can be entered using a number.

Pickups

Used for picking up objects.

  • 0 - standard, the item is placed on the floor
  • 1 - the item is inside s wall, Lara will grab into the wall
  • 2 - the item is on s wall, Lara has to use the Crowbar
  • 3 - the item is places on a high pedestal (6 Clicks), Lara will stretch up to reach it
  • 4 - the item is placed on a smaller pedestal (4 clicks)

To define the item as a Pickup, set bit 7 (add 64):

  • 64 - define the item on the floor as a pickup
  • 65 - define the item inside a wall as a pickup
  • 66 - define the item on a wall as a pickup
  • 67 - define the item on a high pedestal as a pickup
  • 68 - define the item on a smaller pedestal as a picup

Special:

  • 128 - new Ammo will appear here when Lara runs out

Door Type

  • 0 - normal door
  • 1 - Cog Switch door, will lift one click for every turn
  • 2 - crowbar door

Pulley

  • 1 - the rope needs only be pulled once
  • 2 - the rope needs to be pulled twice

Raising Block

To set the height of a raising block, enter a number between 1 and 5.

Animation

  • 666 - the object will only be animated as long as Lara stands on the corresponding Trigger

Steam Emitter

  • 111 - Steam will be emitted from the side in short intervals
  • 888 - continuous steam from inside a wall
  • 968 - short interval steam from inside a wall
  • 1448 - short interval deadly clouds of steam from inside a wall
  • 1928 - long interval deadly clouds of steam from inside a wall

Flame Emitter

  • -53 - flame will be pointed in the direction of the Nullmesh Object
  • -40 - flame will burn with long interruptions, pointing sideways
  • -9 - flame will burn pointing upwards, with very short interruptions
  • -8 - sideways flame with short interruptions
  • -7 - sideways flame with short interruptions (on the edge of a Square)
  • -3 - sideways flame, burning equally long as being interrupted
  • -2 - continuous sideways flame
  • -1 - upwards flame, burning equally long as being interrupted
  • Flame Emitter 2:
  • -3, -2, -1 - activates a Fliproom; flame is invisible and not deadly
  • 1, 3 - half height flame
  • 2 - sideways flame, pointed in the direction of the Nullmesh Object
  • 4 - quarter size flame
  • Flame Emitter 3:
  • -1 - electrical discharge, not deadly
  • 1 - small electrical discharge, not deadly
  • 2 - regular sized electrical discharge, not deadly
  • 3 - big electrical discharge, not deadly
  • 888 - Ball of Lightning that will follow Lara, deadly

Pushable Object

  • -1 - pushable object is not pushable

Switches

Enemies

  • 0 - regular baddy
  • 1 - rolls right for one suqare
  • 2 - rolls left for one suqare
  • 3 - ducks
  • 4 - climb up four clicks if possible
  • 2 - Wraith 2 will die when it comes in contact with water
  • 0 - regular
  • 1 - lies on the floor, visible, attacks if triggered
  • 1 through 128 - Number of beetles
  • add 1000 - beetles emerge from the floor
  • add 2000 - beetles emerge from the ceiling
  • add 4000 - beetles emerge slowly first

Note: 0 equals no beetles at all; to get e.g. one beetle to fall from the ceiling the OCB has to be set to 2001, and 2002 for two and so on; so 1001, 2001, and 4001 are the smallest, 1128, 2128, 4128 are the highest meaningful values

  • 1 - jumps right for one square
  • 2 - jumps left for one suqare
  • 3 - lies on the floor, visible, attacks if triggered

Traps

  • 100 - regular speed
  • 101 - high speed
  • 0 - Lara will be pushed by the blade without being injured
  • 1 - Lara will be pushed and injured by the blade
  • Seth Blade
    -10 - delay trigger for 1 second
    -20 - delay trigger for 2 seconds

Teeth Spikes

Main article: TEETH SPIKES

Teeth Spikes are the representation of the Common Spike Trap, one of the most basic traps in Tomb Raider.

Two Block

  • 132 - platform rises 8 clicks
  • 167 - platform rises 10 clicks
  • 207 - platform rises 12 clicks
  • 259 - platform rises 16 clicks

Rising Block

  • 1 - triggers an Earthquake while rising
  • 2 - triggers an earthquake while rising without being triggered

Icon.png

This article has been added to the list of Articles Needing Improvement. Please help us to improve the article or section.

The following reason for adding it to the list has been given: Add missing OCBs. Further reasons might be found on the "discussion page".

(This notice may only be removed by the Admin.)