deno.land / x / enviromodder@1.0.6

Map Key

map key is a library of functions designed to extend ReMapper if you don't know what that is then im sorry but this is not the tool for you. If you do then welcome! Map Key is designed to make otherwise tedious things easier, here are a few examples:

despawning environment pieces base ReMapper

const piece1 = new Environment("Building$", "Regex")
peice1.position = [-9999, -9999, -9999]
peice1.push

const piece2 = new Environemnt("Track$", "Regex")
piece2.position = [-9999, -9999, -9999]
piece2.push();

with Map Key

new despawner("Regex", [
    "Building$",
    "Track$"
])

moving the player with base ReMapper

new CustomEvent(0).assignPlayerToTrack("player").push();

const track = new CustomEvent(0).animateTrack()
track.animate.position = [[0, 0, 0, 0], [0, 10, 0, 0.5], [0, 0, 0, 1, "easeOutQuad"]]
track.push();

new CustomEvent().assignTrackParent(["notes"], "player").push();

notesBetween(0, 10, n => {
   n.customData.track = "notes"
})

with Map Key

new PlayerAnim(0, 10).position([[0, 0, 0, 0], [0, 10, 0, 0.5], [0, 0, 0, 1, "easeOutQuad"]])

Documentation

there are 2 similar ways to call these functions, one using const and one not, each function will be documented here option 1

new despwner("Contains", [
   "Environment"
]).exclude([
   "Lighting",
   "Auroras"
])

option2

const des = new despawner("Contains", [
   "Environment"
])
des.exclude([
   "Auroras",
   "Lightning"
])

these 2 choices will apply to almost all of the functions here, for any that it doesn't I'll say that in the documentation for the function

enviromodder

Version Info

Tagged at
a year ago