Skip to content
Sofian Audry edited this page Mar 16, 2016 · 12 revisions

Currently supported commands

Paints

/mapmap/paint/name is <id> <name>        Change name of paint
/mapmap/paint/opacity if <id> <opacity>  Change opacity of paint

Color paint

/mapmap/paint/color is <id> <color>      Change color of paint (eg. "#ff0000")

Image/Video paint

/mapmap/paint/uri is <id> <uri>          Change URI of paint
/mapmap/paint/rate if <id> <rate>        Change rate (speed) of paint
/mapmap/paint/volume if <id> <volume>    Change audio volume of paint

Mappings

/mapmap/mapping/name is <id> <name>        Change name of mapping
/mapmap/mapping/opacity if <id> <opacity>  Change opacity of mapping
/mapmap/mapping/visible ii <id> <visible>  Change visibility status of mapping
/mapmap/mapping/solo ii <id> <solo>        Change solo status of mapping
/mapmap/mapping/locked ii <id> <locked>    Change lock status of mapping
/mapmap/mapping/locked ii <id> <locked>    Change lock status of mapping

General

/mapmap/quit                  Quit MapMap
/mapmap/play                  Starts playback
/mapmap/pause                 Stops playback
/mapmap/rewind                Rewinds paints

Suggested/debated

New

/mapmap/mapping/new is <paint-id> <classname>    Create new mapping of class <classname> with paint <paint-id>
OR
/mapmap/mapping/new/<type> is <paint-id>         Create new mapping of type <type> (mesh, triangle, or ellipse) with paint <paint-id>

/mapmap/paint/new s <classname>   Create new paint of class <classname>
OR
/mapmap/paint/new/media s <uri>   Create new media paint with <uri>

Potentially destructive

Notice that /mapmap/quit is already destructive also, so...

/mapmap/paint/delete i <id>       Delete paint <id> and all its mappings
/mapmap/mapping/delete i <id>     Delete mapping <id>
/mapmap/load s <filename>         Open file (might be dangerous: might break what we are doing)

Reordering

/mapmap/mapping/depth ii <id> <depth>   Set depth of mapping to <depth> (depths will then be reconfigured)
OR
/mapmap/mapping/move ii <id> <steps>    Move mapping <id> by <steps> in the layers (steps can be positive or negative)

Clone this wiki locally