-
Notifications
You must be signed in to change notification settings - Fork 2
Home
This wiki contains information for map makers on how to use this mod.
Group and Sequence block types increase the system requirements and load times significantly depending on amount of use.
| Type | Red | Green | Blue | |
|---|---|---|---|---|
| Basic On | 238 | 120 | _ | Going left by default |
| Basic Off | _ | 120 | 238 | Going right by default |
| Countdown On | 238 | 130 | _ | Going left by default |
| Countdown Off | _ | 130 | 238 | Going right by default |
_ = a color from 1 to 30, 1 slowest, 30 fastest.
Path: YOUR MAP\switchBlocksMod\conveyors\basic or YOUR MAP\switchBlocksMod\conveyors\countdown
Name same as other plaforms, platform_.xml, with _ being the screen.
<?xml version="1.0"?>
<Platforms xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Platform>
<Background>example_background</Background>
<Scrolling>example_scrolling</Scrolling>
<Position>
<X>432</X>
<Y>104</Y>
</Position>
<StartState>on</StartState>
<IsForeground />
<Multiplier>3.5</Multiplier>
</Platform>
</Platforms>
<Multiplier> determines the scroll speed, not influenced by the multiplier set in the blocks.xml.
The platform requires a background or foreground texture to be set, this texture determines the size used for the platforms scrolling animation. To convey information about the state the platform texture contains both the ON and OFF state in its texture. The texture does this by rendering the left half of the texture should the state be ON and the right half should the state be off. The scrolling texture should be at least as wide as the background/foreground and half as tall (as tall as one of the states). This texture will be looped and the left and right will be next to each other.