Jump to content

Ice Physics [2.53][2.55]

Overview
Creator: venrob Updated: 12 Oct 2019 Tags: 2.55, Global Downloads: 10
Rating[?]: No rating
Download Package
(7.56 KB)
Information

Description Setup Reviews Comments

Ice Physics!
Slippery Ice: You set the acceleration, deceleration, and max speed, as well as the combo type, in a function call when merging the global script.
An itemclass is specified for "Traction Boots". A level 2 of this item will halve the acceleration, and double the deceleration, making ice less slippery. A level 3 will disable this ice entirely. (Level 1 does nothing, in case you want to combine the 2 types of ice in interesting ways; though that will still likely require some modification on your end)

Force-Slide Ice: You set the movement speed, which is constant, the combo type, as well as the gridlock setting, in a function call when merging the global script.
GRID_NONE = you will just slide where you were. (This setting does not work that well if Diagonal Movement is on!)
GRID_HALF = When you begin sliding, you will be locked to the nearest half-tile.
GRID_FULL = When you begin sliding, you will be locked to the nearest full-tile.
An itemclass is specified for "Traction Boots". Any item of this itemclass will disable this ice entirely.

Using both types together will require extensive modification for the 2.53 version; far less so for the 2.55 version, because of namespaces.
Using either on their own should work out-of-the-box for either version.

CHANGELOG:
Oct 13, 2019 - Slippery Ice only - Fix a large issue when max speed is set to negative (Max speed <= 0 will now skip the script)