Changing Liquid Depth in Multiplayer: Difference between revisions

From Red Faction Wiki
No edit summary
No edit summary
Line 19: Line 19:
*If you want a continuous liquid movement, you will need to create x2 Delays and x2 Set_Liquid_Depth event.
*If you want a continuous liquid movement, you will need to create x2 Delays and x2 Set_Liquid_Depth event.
*Link the events in this order - Set_Liquid_Depth -> Delay -> Set_Liquid_Depth -> Delay -> (Back to the first Set_Liquid_Depth) - This creates a continuous loop that will set the liquid to move up and down all of the time throughout the level. You then set the times accordingly in the Set_Liquid_Depth and you set the Delay events to the same times of the Set_Liquid_Depth times.
*Link the events in this order - Set_Liquid_Depth -> Delay -> Set_Liquid_Depth -> Delay -> (Back to the first Set_Liquid_Depth) - This creates a continuous loop that will set the liquid to move up and down all of the time throughout the level. You then set the times accordingly in the Set_Liquid_Depth and you set the Delay events to the same times of the Set_Liquid_Depth times.
The Desire effect is shown in this video
 
The desired effect is shown in this video
 
<youtube>oIi21XrxDc0</youtube>
<youtube>oIi21XrxDc0</youtube>


[[Category: Red Faction]]
[[Category: Red Faction]]
[[Category: RF1 Editing]]
[[Category: RF1 Editing]]
[[Category: Tutorials]]
[[Category: Tutorials]]

Revision as of 19:32, 11 January 2022


In this tutorial, you will learn how to use the Liquid Depth event in Multiplayer.

  1. Make a Room Effect in your level and set the properties to "Liquid Room" - Adjust all other settings according to your specifications for your level, including "Depth".
  2. Make a keyframe trick to begin with. You can use a Delay event to keyframe.
  3. Create a Slay_Object Event.
  4. Create a Clutter Object that is breakable such as Potted Plant01.
  5. Make a note of the Slay_Object UID first then Go back to the keyframe trick and select the silver keyframe, and go into its properties.
  6. In the keyframe properties at the very bottom find "Trigger Event With UID", paste the UID of the Slay_Object into the corresponding field and click OK. You should see a link from the silver keyframe to the Slay_Object event.
  7. Link the Slay_Object to the Potted Plant01.
  8. Create a When_Dead event and link the When_Dead event to the Potted Plant01.
  9. Create a Delay and go into its properties. Select the Event Type drop down and change it to "Set_Liquid_Depth". Also change the field next to "Script Name" to match the Event Type so that they both say the same thing. This will make it easier to identify the Event when you need to select it.
  10. Set the Depth more than your Room Effects Depth if you wish the water level to rise, or below your Room Effects Depth if you wish for the water level to fall.
  11. Set the time (seconds) to set the duration of the liquid to rise or fall. The time setting will determine the speed of the liquid level to complete its journey from X Depth to Y Depth. Liquid level starts from the Depth settings from the Room Effect.
  12. Link the When_Dead to the Set_Liquid_Depth.

Additional Information

  • If you want a continuous liquid movement, you will need to create x2 Delays and x2 Set_Liquid_Depth event.
  • Link the events in this order - Set_Liquid_Depth -> Delay -> Set_Liquid_Depth -> Delay -> (Back to the first Set_Liquid_Depth) - This creates a continuous loop that will set the liquid to move up and down all of the time throughout the level. You then set the times accordingly in the Set_Liquid_Depth and you set the Delay events to the same times of the Set_Liquid_Depth times.

The desired effect is shown in this video