Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ID Conversion Maps Header

Data TypeVersionsBuildsDescription
32-bit signed int big-endian>=300AnyG = Number of destination containers
sequence with size of G of outer loop data>=300AnySee outer loop data for more information.

ID Conversion Maps Outer Loop (for each destination container)

Data TypeVersionsBuildsDescription
32-bit signed int big-endian>=300AnyH = Number of source containers
32-bit signed int big-endian>=300AnyDestination container (timeline) UID
sequence with size of H of middle loop data>=300AnySee middle loop data for more information.

ID Conversion Maps Middle Loop (for each source container)

Data TypeVersionsBuildsDescription
32-bit signed int big-endian>=300AnyI = Number of ID mappings
32-bit signed int big-endian>=300AnySource container (timeline) UID
sequence with size of I of inner loop data>=300AnySee inner loop data for more information.

ID Conversion Maps Inner Loop (for each ID mapping)

Data TypeVersionsBuildsDescription
32-bit signed int big-endian>=300AnySource container figure ID
32-bit signed int big-endian>=300AnyDestination container figure ID

Explanation

When you paste a figure from one container to another, Stick Nodes converts the ID of the figure from the source container to an ID within the destination container. If the figure was never pasted to the destination container before, it will assign a new unique ID to the figure within the destination container. If the figure was previously pasted to the destination container, it looks at the ID conversion map to know what ID to assign the figure within the destination container.

For a visual aid to help understand ID conversion maps, see ID converstion maps visual aid.

Visual Aids

You can imagine the map datatypes of an example ID conversion map like this:

{
    int: {
        int: {
            int: int,
            int: int,
        },
        int: {
            int: int
        }
    },
    int: {
        int: {
            int: int,
            int: int,
            int: int
        }
    }
}

For a visual of what each value could represent:

{
    ID_of_main_animation_container: {
        ID_of_movieclip_1_container: {
            ID_of_figure_1_when_in_movieclip_1: ID_of_figure_1_when_in_main_animation,
            ID_of_figure_2_when_in_movieclip_1: ID_of_figure_2_when_in_main_animation,
        },
        ID_of_movieclip_2_container: {
            ID_of_figure_1_when_in_movieclip_2: ID_of_figure_1_when_in_main_animation
        }
    },
    ID_of_movieclip_1_container: {
        ID_of_main_animation_container: {
            ID_of_figure_1_when_in_main_animation: ID_of_figure_1_when_in_movieclip_1,
            ID_of_figure_2_when_in_main_animation: ID_of_figure_2_when_in_movieclip_1,
            ID_of_figure_3_when_in_main_animation: ID_of_figure_3_when_in_movieclip_1
        }
    }
}

For an idea of what actual data might look like:

{
    0: {
        1: {
            420: 69,
            1: 3,
        },
        2: {
            20: 20
        }
    },
    1: {
        0: {
            1: 3000,
            343: 222,
            10: 8
        }
    }
}