Moving Level Elements, Rails and OneTimeRot
Whether you want levels to have moving platforms or for path/hazards to open up upon certain conditions, you will need to use Rails or OneTimeRot parameters.
Note that if you want objects to stay how they were upon reset, leave Switchable–RespawnReset as 0, otherwise set it to 2.
Rails
Please help out this wiki by filling out details surrounding rails and there parameters
Rails are listed in a separate structure as objects in a given level's byaml file. They come in different types, mainly differentiated by colour, although this writer does not understand the different between them.
Objects are attached to rails using the RailableParams–Rail link. In the byaml it looks like this:
Links:
RailableParams__Rail:
- {DefinitionName: RailableParams__Rail, DestUnitId: rail3/0, UnitFileName: ''}
RailableParams__AttCalc: !l 0
RailableParams__BreakFrame: !l 30
RailableParams__ConstantVelUnitLength: 2.50000
RailableParams__Interpolation: !l 1
RailableParams__MoveFrame: !l 60
RailableParams__Patrol: !l 2
RailableParams__StandbyFrame: !l 0
RailableParams__Vel: !l 0
- ConstantVelUnitLength describes the speed at which the object moves along the rail, with Vel performing some yet unknown role. - Patrol describes how many times and in what way the objects moves along the rail. 0 means it only moves once, 1 means it will start its cycle again, 2 means it will move back the way it came until it finds its start point.