-
Notifications
You must be signed in to change notification settings - Fork 25
Burning floor node #1091
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Burning floor node #1091
Conversation
| -- !Name "Burning Floor" | ||
| -- !Section "Objects" | ||
| -- !Description "Create a Burning Floor Object." | ||
| -- !Arguments "NewLine, Moveables" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 | |||
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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 .
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.
To be merged after merging this PR.
TombEngine/TombEngine#1824