Skip to content

Conversation

@TrainWrack
Copy link
Collaborator

@TrainWrack TrainWrack commented Dec 13, 2025

Adds Burning Floor Node.

Trigger the Burning Floor Object or set all bits 1-5 to active
Create a volume covering it
Add an event set
Change to onVolumeInside
Set Activators to Lara and others
Put the burning floor as the first argument in the node
Leave second as [Activator]

OCB dictates the flipmap number that will be triggered once the object burns
You can have multiple burning floors but only one should be active at one time.

image

To be merged after merging this PR.

TombEngine/TombEngine#1824

@Stranger1992 Stranger1992 self-requested a review December 14, 2025 21:41
-- !Name "Burning Floor"
-- !Section "Objects"
-- !Description "Create a Burning Floor Object."
-- !Arguments "NewLine, Moveables"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No tooltips

}

local FIRE_OFFSETS =
{ --displacement, rotation, size
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these offsets relative to the OG Burning Floor object?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

@@ -0,0 +1,123 @@
local START_DELAY = 0.25
local BURN_DURATION = 1024
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the burning parameters should be included in the node itself. So the effect can be customised per burning floor.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, watching the OG version back : the colour of the burning floor doesn't fade to black

https://youtube.com/clip/UgkxVedmKiQO6JAusaCvA2GNosmuGOfgMkA3?si=5W7cAxM1Vt2-22-Z

local ocb = burningFloor:GetOCB()
TEN.Sound.PlaySound(SOUNDS.SHATTER)
burningFloor:Shatter()
TEN.Flow.FlipMap(ocb)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AS well as the OCB parameter (ie: choose flipmap number) and then set the OCB of the specified burning floor object to it .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants