www.tombraiderforums.com

Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Level Editor > Tomb Raider Level Editor Tutorials

Closed Thread
 
Thread Tools
Old 27-08-15, 11:17   #1
AkyV
Moderator
 
Join Date: Dec 2011
Location: Hungary
Posts: 2,493
Default Object OCB Library

(got by an unknown person)


Amber_light
Turquoise blinking light

1
- Causes turquoise explosion and then blinks

Burning Floor

Chain

0 - Hurts Lara
1 - Pushes Lara aside

Cog Switches



Earthquake

0 - Constant earthquake until anti-triggered.
333 - 16 seconds of earthquake-sound, but no shaking.
888 - 5 seconds of quake with additional sounds of something heavy at work.

Flame Emitter OCBs

Flame Emitters - Timed

Hammers



Coyote Creek - The Abandoned Mine

Place ordinary triggers on a switch or lever with OCB settings as follows:

OCB 0 - Nothing happens
OCB 1 - Hammers smash and raise continuously but can be anti-triggered.
OCB 2- Hammers smash once and remain down.
OCB 3 - Hammers smash and raise and stay up and can be reused.

Lightning Conductor

Click here and here

Lyre and Music Scroll

Type -422 in the OCB options for the Music Scroll puzzle hole and Lara will play the lyre when placing the scroll puzzle piece. The lyre static object must be placed at an angle to the left of the scroll puzzle hole. The sound track that plays is hardcoded so make sure you leave that track alone (track 6) in the audio folder.



Mines

0 - Creates an invisible mine field of minimum one block or, if the mine mesh is bigger, the range of the collision box. If Lara steps within this zone she is blown up and killed (no trigger needed).
1 - An insubstantial mesh is visible, and when triggered it sets on fire and explodes destroying whatever (except Lara) is nearby (blast range approx. 3 blocks). Make the trigger a oneshot trigger, otherwise the screen will flash yellow, and explosions will be heard every time Lara passes the trigger.
For the original minefield set up from City of the Dead, see this tutorial - Click here

Pick ups

Planet Effect

Poseidon Trident

Type -423 in the OCB options and Lara will climb the statue and place the trident.


Raising Blocks

Reappearing Ammo

If you place Lara in an area with a hard to defeat enemy, how do you ensure there is enough ammo around? Easy, put 128 in the OCB code box and that ammo will reappear when Lara runs out.

This is especially useful because it means Lara has as much ammo as she needs in one area but she can't stock up her inventory with it which could affect gameplay further into the level.

Sentry_gun

Made passive by having Lara pick up a item which must be in the puzzle_item_5 slot. The sentry_gun dissappears, when a flipeffect 46-trigger is used.

1 - Is invisible until triggered, when triggered it becomes jammed and harmless.

Steam Emitter OCB settings

by EssGee

Formula: (480 x n) + 8; where n = No of seconds pause

In a dry room:

OCB____Effect
0 - 7...........small constant vertical steam in centre of tile
8 - 15.........constant horizontal shot of steam
128............3-4 second horizontal shot of steam - 0.25 second pause
248............3-4 second horizontal shot of steam - 0.5 second pause
488............3-4 second horizontal shot of steam - 1 second pause
968............3-4 second horizontal shot of steam - 2 second pause
1448..........3-4 second horizontal shot of steam - 3 second pause
1928..........3-4 second horizontal shot of steam - 4 second pause
2408..........3-4 second horizontal shot of steam - 5 second pause
2888..........3-4 second horizontal shot of steam - 6 second pause
3368..........3-4 second horizontal shot of steam - 7 second pause
3848..........3-4 second horizontal shot of steam - 8 second pause
4328..........3-4 second horizontal shot of steam - 9 second pause
4808..........3-4 second horizontal shot of steam - 10 second pause
7688..........3-4 second horizontal shot of steam - 16 second pause
-2008.........small constant vertical steam at edge of tile

In a water room:

OCB_____Effect

0...............intermittent stream of bubbles rising
1...............constant stream of bubbles rising

* Notes

The steam comes out in the direction of the cone.
For steam in crawlspaces, steam emitters should be raised 2 clicks.

Teeth Spikes


Two Block Platform

Advanced Two Block Tutorial Click Here

The OCB formula for raising the two block platform is as follows:

(16 x the No of clicks to be raised) + Speed it travels (1-15)

e.g.
to raise 4 clicks very slowly would be:

(4 x 16) + 1 = 65

to raise 12 clicks very fast would be:

(12 x 16) + 15 = 207

(Thanks EssGee)

Press 1-5 in the OCB to make it go slowly down when Lara stands on it. Enter 207 in OCB to make it rise. You need a dummy trigger below the platform so to prevent conflicts with triggers, place a small room below the platform (1 click high), use toggle opacity 2 on the portal, place the dummy trigger in the room below and your other triggers above.

The Eye of Horus Door



This door requires special setting up.

Enter 999 in the OCb dialogue box

This turns off collision from the puzzle done object. Without it an invisible door would prevent Lara from coming back through the doorway.

Also, it is advisable to use a fixed cam where Lara uses the Eye of Horus puzzle piece to prevent the cam going behind the door when Lara turns around while its closed.

Waterfall

668 - Once triggered the waterfall turns invisible when antitriggered and can be re-triggered and antitriggered as many times as desired. Used with the "sand" falls in Tomb of Seth, together with "invisible" button activated. Plays appropriate sound.
777 - Plays waterfall sounds. The waterfall can't be made invisible again.
AkyV is online now  
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 17:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.