Essentials Series/Platforms: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
Line 1:
{{EssentialsSeriesBox}}
This page is part of the Essential Series modding tutorials. A '''Platform''' ([[PLAT]]) is an [[Asset#Entity Asset|entity asset]] that creates a model in the world, with all the possibilities of a [[SIMP]], but with the added functionalities. Usually, this is a programmable movement, but can be other things as well (such as springboards and conveyor belts). There are many different platform types and they can perform all sorts of functions. Platforms are, in the game, not only platforms in a literal sense. Anything that perfoms programmable patterns of movement that are not [[ANIM|Animations]] is a platform. Platforms can move on their own or be moved by [[../Links/|events]]. PLATsPlatforms are usually found in the Default layer of the level's HIP.
 
== Using Platforms ==
[[Industrial Park (level editor)|Industrial Park]] has a Generic Platform [[../Asset Templates/|template]]. After placing the template, you '''must''' assign it a model yourself, otherwise the game will crash.
 
You can check [[Asset#Entity Assets|Entity Assets]] and [[../Editing Assets/#Gizmos|Gizmos]] for general information about placement of Entity assets. [[../SIMPsSimple Objects/#Animations|Animations]] and [[../SIMPsSimple Objects/#Drivenby|Drivenby]] of SIMPsSimple Objects apply the same way for PLATsplatforms.
 
== Movement Preview ==
Line 11:
 
== Events ==
All [[../SIMPsSimple Objects/#Events|events which work for SIMPsSimple Objects]] function the same way on PLATsplatforms. Other events are also used on PLATsplatforms:
 
* '''Run''': send this to a platform to make it start moving.
Line 77:
* '''Reverse''': send this to make it move in the opposite direction. This can be done while the platform is still moving forward. It will immediately reverse its movement.
 
If the information above confuses you, you can take a look at the game's original PLATplatform assets and even copy them to your level if one has a similar movement to the one you're looking for.
 
=== Pendulum ===
Line 160:
=== GroupUpdateTogether ===
Since platforms only update when the player is in a specific distance, two or more platforms might get off sync due to being in different positions. If you don't need a platform to always update, but you need its movement to be synced with other platforms:
# Create a [[GRUPGroup]] asset (you can place the Group template).
# Add all platforms that need to be synced to this group.
# Add the link ScenePrepare => GroupUpdateTogether to the group's links, with the group itself as the target.