Essentials Series/Platforms: Difference between revisions
m
no edit summary
No edit summary |
Igorseabra4 (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
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]].
== Using Platforms ==
[[Industrial Park (level editor)|Industrial Park]] has a
You can check [[Asset#Entity Assets|Entity Assets]] and [[../Editing Assets/#Gizmos|Gizmos]] for general information about placement of Entity assets. [[../
== Movement Preview ==
Line 11:
== Events ==
All [[../
* '''Run''': send this to a platform to make it start moving.
Line 42:
=== MovePoint ===
This is a platform that moves according to a move point ([[MVPT]]) chain, much like enemies also can. The speed is also configurable.
Place Point_MVPT templates to use this platform type.
* The platform will start at the MVPT whose asset ID is in the Motion section.
* When moving, it will continue to the '''NextMVPT''' of the MVPT asset.
* Once the next has been reached, it will continue to the next's next, and so on. The chain can be as long as you like.
* If you want the platform in a continuous loop, set the last point's NextMVPT back to the first one.
* If you want the platform to stop at the final MVPT, set its Next to itself. Do not leave any MVPT in the chain without a Next as the platform will not function properly.
* If a MVPT has multiple NextMVPTs, the platform will randomly choose one of them!
The platform will send the Arrive event to each move point when it arrives on it. You can use this to detect when a platform has reached a specific move point.
Line 71 ⟶ 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
=== Pendulum ===
Line 154 ⟶ 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 [[
# 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.
When you are in the range for one of the platforms, all of them will be updated together instead of separately.
|