315 lines · 9.0 KB · JavaScript
RawDownload
TUTORIAL_TAG_TO_ENTITY_IDS_MAP = {    "teleport": {        "{ff064b9e-7fa4-4693-a386-a67b9f92a948}": {            "tag": "teleport"        },        "{4478f7b5-d3ac-4213-9a7b-ad8cd69575b8}": {            "tag": "teleport"        }    },    "finish": {        "{340e05b5-88df-4b2b-b43c-756dd714d6d8}": {            "tag": "finish"        }    },    "door": {        "{9c5b0fee-e695-4516-94cd-153371e3857b}": {            "tag": "door"        }    },    "farGrab": {        "{70fcd96c-cd59-4f23-9ca5-a167f2f85680}": {            "visible": false,            "tag": "farGrab"        },        "{ff7b9793-0d94-4f18-bc09-4ab589126e60}": {            "tag": "farGrab"        },        "{fdd77d2c-af36-41c1-ba57-74b7ae79d996}": {            "tag": "farGrab"        },        "{e11700f6-bc9a-411f-9ddc-bf265d4e3ccf}": {            "tag": "farGrab"        },        "{95850c56-cd1c-42b9-ab6b-a163a6f2878f}": {            "tag": "farGrab"        }    },    "nearGrab": {        "{55c861ef-60ca-4722-a6c5-9c6967966ec5}": {            "tag": "nearGrab"        },        "{644d655b-ae66-43b1-9bab-a44b9a8ad632}": {            "tag": "nearGrab"        },        "{88221a22-b710-4d35-852b-5257b0aa77dc}": {            "tag": "nearGrab"        },        "{8bf0baa1-88d0-448a-a782-100d4413bd82}": {            "tag": "nearGrab"        },        "{5cf22b9c-fb22-4854-8821-554422980b24}": {            "visible": false,            "tag": "nearGrab"        }    },    "equip-part1": {        "{d73822ca-0a34-4cf4-a530-3258ac459a14}": {            "tag": "equip-part1"        },        "{97ced5e7-fc81-40f9-a9e8-f85b4b30f24c}": {            "tag": "equip-part1"        },        "{8572d991-5777-45df-97bf-7243d7b12f81}": {            "tag": "equip-part1"        },        "{da5ea72e-54b6-41ac-b711-742b062b6968}": {            "tag": "equip-part1"        },        "{c8944a13-9acb-4d77-b1ee-851845e98357}": {            "tag": "equip-part1"        },        "{e9481c78-1a21-43f7-b54c-58f2efdf3c8f}": {            "tag": "equip-part1"        },        "{ca3c28f3-15fc-4349-a85e-eaca0fad6434}": {            "tag": "equip-part1"        },        "{09ddcb94-52a7-4f50-a5a2-db9db28fc519}": {            "tag": "equip-part1"        },        "{dd13fcd5-616f-4749-ab28-2e1e8bc512e9}": {            "tag": "equip-part1"        }    },    "equip-part2": {        "{b5d17eda-90ab-40cf-b973-efcecb2e992e}": {            "tag": "equip-part2"        },        "{6307cd16-dd1d-4988-a339-578178436b45}": {            "tag": "equip-part2"        }    },    "turnAround": {        "{ce74b3ca-d1c7-4980-bd98-2d488095a39e}": {            "tag": "turnAround"        }    },    "bothGrab": {        "{14792a6e-dc6f-4e7a-843f-4b109b06b5a4}": {            "visible": false,            "tag": "bothGrab",            "collidable": true        },        "{215dcd14-88fc-4604-9033-cbd2a660178a}": {            "tag": "bothGrab"        },        "{fbc2e40d-0633-45ac-b1c9-97fc8465f93b}": {            "tag": "bothGrab"        },        "{6752dad6-109d-4dc5-aef7-dc8509468cf4}": {            "tag": "bothGrab"        },        "{178e2c71-dff5-4231-8d28-df47fddf4709}": {            "soundKey": {                "playbackGapRange": 0,                "url": "atp:/sounds/crackling_fire.L.wav",                "volume": 0.5,                "playbackGap": 5,                "playing": false,                "loop": true            },            "tag": "bothGrab"        },        "{52445ac5-8730-4457-827e-6c076d2c609c}": {            "tag": "bothGrab"        }    },    "raiseHands": {        "{7139e45d-25cf-470b-b133-c0fda0099d2b}": {            "tag": "raiseHands"        }    },    "equip": {        "{e7897c9c-f4fa-4989-a383-28af56c2e544}": {            "visible": false,            "tag": "equip"        },        "{9df518da-9e65-4b76-8a79-eeefdb0b7310}": {            "visible": false,            "tag": "equip"        },        "{1a77c20e-5d9b-4b54-bf20-1416141a7ca8}": {            "tag": "equip"        }    },    "orient": {        "{95d233ab-ed0a-46e1-b047-1c542688ef3f}": {            "tag": "orient"        }    }}; TUTORIAL_NAME_TO_ENTITY_PROPERTIES_MAP = {    "tutorial/gun_spawn": {        "userData": "{\"tag\":\"equip\",\"visible\":false}",        "dimensions": {            "y": 0.0649842768907547,            "x": 0.0649842768907547,            "z": 0.0649842768907547        },        "collisionless": 1,        "created": "2016-09-08T18:38:24Z",        "color": {            "blue": 0,            "green": 0,            "red": 255        },        "queryAACube": {            "y": 0.6283726096153259,            "x": 0.6865367293357849,            "scale": 0.11255607008934021,            "z": 0.3359576463699341        },        "visible": 0,        "shape": "Cube",        "clientOnly": 0,        "owningAvatarID": "{00000000-0000-0000-0000-000000000000}",        "position": {            "y": 0.6846506595611572,            "x": 0.7428147792816162,            "z": 0.3922356963157654        },        "rotation": {            "y": 0.7066605091094971,            "x": 0.7066605091094971,            "z": -0.025131583213806152,            "w": -0.025101065635681152        },        "ignoreForCollisions": 1,        "type": "Box",        "id": "{9df518da-9e65-4b76-8a79-eeefdb0b7310}",        "name": "tutorial/gun_spawn"    },    "tutorial/nearGrab/box_spawn": {        "userData": "{\"tag\":\"nearGrab\",\"visible\":false}",        "dimensions": {            "y": 0.08225371688604355,            "x": 0.08225371688604355,            "z": 0.08225371688604355        },        "collisionless": 1,        "created": "2016-09-08T18:38:24Z",        "color": {            "blue": 255,            "green": 0,            "red": 255        },        "queryAACube": {            "y": 0.738319456577301,            "x": 0.8985498547554016,            "scale": 0.14246761798858643,            "z": 0.29067665338516235        },        "visible": 0,        "shape": "Cube",        "clientOnly": 0,        "owningAvatarID": "{00000000-0000-0000-0000-000000000000}",        "position": {            "y": 0.8095532655715942,            "x": 0.9697836637496948,            "z": 0.36191046237945557        },        "rotation": {            "y": -1.52587890625e-05,            "x": -1.52587890625e-05,            "z": -1.52587890625e-05,            "w": 1        },        "ignoreForCollisions": 1,        "type": "Box",        "id": "{5cf22b9c-fb22-4854-8821-554422980b24}",        "name": "tutorial/nearGrab/box_spawn"    },    "tutorial/farGrab/box_spawn": {        "userData": "{\"tag\":\"farGrab\",\"visible\":false}",        "dimensions": {            "y": 0.37358683347702026,            "x": 0.37358683347702026,            "z": 0.37358683347702026        },        "collisionless": 1,        "created": "2016-09-08T18:38:24Z",        "color": {            "blue": 255,            "green": 0,            "red": 255        },        "queryAACube": {            "y": 0.3304251432418823,            "x": 3.0951309204101562,            "scale": 0.647071361541748,            "z": 0.18027013540267944        },        "visible": 0,        "shape": "Cube",        "clientOnly": 0,        "owningAvatarID": "{00000000-0000-0000-0000-000000000000}",        "position": {            x: 3.4866,            y: 0.6716,            z: 0.4789        },        "rotation": {            "y": -1.52587890625e-05,            "x": -1.52587890625e-05,            "z": -1.52587890625e-05,            "w": 1        },        "ignoreForCollisions": 1,        "type": "Box",        "id": "{70fcd96c-cd59-4f23-9ca5-a167f2f85680}",        "name": "tutorial/farGrab/box_spawn"    },    "tutorial/teleport/pad": {        "userData": "{\"tag\":\"teleport\"}",        "rotation": {            "y": -0.9702650308609009,            "x": -2.1246911273919977e-05,            "z": -4.222852112434339e-06,            "w": 0.2420452982187271        },        "dimensions": {            "y": 0.4365682601928711,            "x": 2.1751723289489746,            "z": 2.175173044204712        },        "collisionless": 1,        "created": "2016-09-08T18:38:24Z",        "queryAACube": {            "y": -1.7979401350021362,            "x": 7.5136213302612305,            "scale": 3.106983184814453,            "z": -1.4602710008621216        },        "visible": 0,        "angularVelocity": {            "y": -0.5235987901687622,            "x": 0,            "z": 0        },        "clientOnly": 0,        "owningAvatarID": "{00000000-0000-0000-0000-000000000000}",        "angularDamping": 0,        "position": {            "y": -0.2444484978914261,            "x": 9.067112922668457,            "z": 0.09322060644626617        },        "modelURL": "atp:/alan/dev/Teleport-Pad.fbx",        "ignoreForCollisions": 1,        "type": "Model",        "id": "{4478f7b5-d3ac-4213-9a7b-ad8cd69575b8}",        "name": "tutorial/teleport/pad"    }};