-
Notifications
You must be signed in to change notification settings - Fork 2
New OCB and Setup Instructions for Legacy Objects
Jakub edited this page Nov 23, 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 . exstention .
Please note that these OCB values are for Tomb Engine ONLY.
- 0 for wall switch
- 1 for small wall switch
- 2 for small button
- 3 for big button
- 4 for giant button (sequence switch)
- 5 for valve turn
- 6 for hole switch
- any other OCBs play corresponding switch on anim or OCB+1 switch off anim.
- put OCB 9 to perform lara's animation of pulling crowbar out of wall + crowbar pickup. (works with TR5 wall crowbar from The Submarine level)
- 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.
- To correct the death animation: please change the
STATE IDofANIMATION 5: "COBRA_ANIM_DEATH"from0to4
- 1 - Rollingball silent mode - No camera shake or sound.
- 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 60 = 2 seconds, etc
- 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.
(will be available in the upcoming 1.0.3 update)
- OCB XXYY where XX is width, and YY is sprite size
for example:
- 1030 = width of 1000 (around 1024 units which is 1 sector) and 30 in sprite size
- Set room type to "No Lens Flare" and he will choke to death.