Archeia

Image Map + Choices Tutorial

Dec 10th, 2017
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 20.96 KB | None | 0 0
  1. [
  2.     {
  3.         "id": "vn.ChangeBackground",
  4.         "params": {
  5.             "graphic": {
  6.                 "name": "Background_picture3",
  7.                 "hue": 0,
  8.                 "opacity": 255,
  9.                 "blending": 0,
  10.                 "tone": {
  11.                     "red": 0,
  12.                     "green": 0,
  13.                     "blue": 0,
  14.                     "grey": 0
  15.                 }
  16.             },
  17.             "layer": 0,
  18.             "duration": 0,
  19.             "waitForCompletion": 1,
  20.             "blendMode": 0,
  21.             "origin": 0,
  22.             "zOrder": 0,
  23.             "loopVertical": 0,
  24.             "loopHorizontal": 0,
  25.             "easing": {
  26.                 "type": 0,
  27.                 "inOut": 1
  28.             },
  29.             "animation": {
  30.                 "type": 1,
  31.                 "movement": 0,
  32.                 "mask": {
  33.                     "graphic": null,
  34.                     "vague": 30
  35.                 }
  36.             },
  37.             "fieldFlags": {
  38.                 "duration": 1,
  39.                 "easing.type": 1,
  40.                 "animation.type": 0,
  41.                 "origin": 1,
  42.                 "zOrder": 1,
  43.                 "blendMode": 1,
  44.                 "loopVertical": 1,
  45.                 "loopHorizontal": 1
  46.             },
  47.             "previewBackground": {
  48.                 "name": "$live_preview_snapshot"
  49.             },
  50.             "viewport": {
  51.                 "type": "scene"
  52.             }
  53.         },
  54.         "indent": 0,
  55.         "uid": "11CAF4887C77414E518B4FF5B4C99FAC4BD8",
  56.         "expanded": false
  57.     },
  58.     {
  59.         "id": "vn.CharacterJoinScene",
  60.         "params": {
  61.             "predefinedPositionId": 1,
  62.             "expressionId": null,
  63.             "characterId": "D817084774AB154CCE68B7B2587B0058EBFA",
  64.             "zOrder": 0,
  65.             "origin": 0,
  66.             "blendMode": 0,
  67.             "positionType": 0,
  68.             "motionBlur": {
  69.                 "enabled": 0,
  70.                 "delay": 2,
  71.                 "opacity": 100,
  72.                 "dissolveSpeed": 3
  73.             },
  74.             "position": {
  75.                 "x": 0,
  76.                 "y": 0
  77.             },
  78.             "animation": {
  79.                 "type": 0,
  80.                 "movement": 0,
  81.                 "mask": {
  82.                     "graphic": null,
  83.                     "vague": 30
  84.                 }
  85.             },
  86.             "easing": {
  87.                 "type": 0,
  88.                 "inOut": 0
  89.             },
  90.             "duration": 0,
  91.             "waitForCompletion": 1,
  92.             "fieldFlags": {
  93.                 "duration": 1
  94.             },
  95.             "viewport": {
  96.                 "type": "scene"
  97.             }
  98.         },
  99.         "indent": 0,
  100.         "uid": "2D4A01253DE3D447FD1B9D8213C0C90A18CF"
  101.     },
  102.     {
  103.         "id": "gs.ShowImageMap",
  104.         "params": {
  105.             "numberDomain": "com.degica.vnm.default",
  106.             "number": 0,
  107.             "hotspots": [
  108.                 {
  109.                     "x": 249,
  110.                     "y": 120,
  111.                     "angle": 0,
  112.                     "zoom": 1,
  113.                     "horizontalFlip": false,
  114.                     "data": {
  115.                         "x": 249,
  116.                         "y": 120,
  117.                         "width": 167,
  118.                         "height": 132,
  119.                         "action": 1,
  120.                         "label": "a",
  121.                         "bindToSwitch": false,
  122.                         "bindEnabledState": false,
  123.                         "bindValueTo": false,
  124.                         "finish": false,
  125.                         "zoom": 1,
  126.                         "angle": 0,
  127.                         "horizontalFlip": false
  128.                     },
  129.                     "color": {
  130.                         "red": 0,
  131.                         "green": 0,
  132.                         "blue": 0,
  133.                         "alpha": 160
  134.                     },
  135.                     "size": {
  136.                         "width": 167,
  137.                         "height": 132
  138.                     }
  139.                 },
  140.                 {
  141.                     "x": 58,
  142.                     "y": 337,
  143.                     "angle": 0,
  144.                     "zoom": 0,
  145.                     "horizontalFlip": false,
  146.                     "data": {
  147.                         "x": 58,
  148.                         "y": 337,
  149.                         "width": 213,
  150.                         "height": 194,
  151.                         "action": 1,
  152.                         "label": "c",
  153.                         "bindToSwitch": false,
  154.                         "bindEnabledState": false,
  155.                         "bindValueTo": false,
  156.                         "finish": false,
  157.                         "zoom": null,
  158.                         "angle": 0,
  159.                         "horizontalFlip": false
  160.                     },
  161.                     "color": {
  162.                         "red": 0,
  163.                         "green": 0,
  164.                         "blue": 0,
  165.                         "alpha": 160
  166.                     },
  167.                     "size": {
  168.                         "width": 213,
  169.                         "height": 194
  170.                     }
  171.                 },
  172.                 {
  173.                     "x": 958,
  174.                     "y": 105,
  175.                     "angle": 0,
  176.                     "zoom": 0,
  177.                     "horizontalFlip": false,
  178.                     "data": {
  179.                         "x": 958,
  180.                         "y": 105,
  181.                         "width": 186,
  182.                         "height": 170,
  183.                         "action": 1,
  184.                         "label": "b",
  185.                         "bindToSwitch": false,
  186.                         "bindEnabledState": false,
  187.                         "bindValueTo": false,
  188.                         "finish": false,
  189.                         "zoom": null,
  190.                         "angle": 0,
  191.                         "horizontalFlip": false
  192.                     },
  193.                     "color": {
  194.                         "red": 0,
  195.                         "green": 0,
  196.                         "blue": 0,
  197.                         "alpha": 160
  198.                     },
  199.                     "size": {
  200.                         "width": 186,
  201.                         "height": 170
  202.                     }
  203.                 }
  204.             ],
  205.             "predefinedPositionId": 0,
  206.             "ground": {
  207.                 "name": "1",
  208.                 "hue": 0,
  209.                 "opacity": 255,
  210.                 "blending": 0,
  211.                 "tone": {
  212.                     "red": 0,
  213.                     "green": 0,
  214.                     "blue": 0,
  215.                     "grey": 0
  216.                 }
  217.             },
  218.             "hover": {
  219.                 "name": "2",
  220.                 "hue": 0,
  221.                 "opacity": 255,
  222.                 "blending": 0,
  223.                 "tone": {
  224.                     "red": 0,
  225.                     "green": 0,
  226.                     "blue": 0,
  227.                     "grey": 0
  228.                 }
  229.             },
  230.             "unselected": null,
  231.             "selected": null,
  232.             "selectedHover": null,
  233.             "duration": 0,
  234.             "origin": 0,
  235.             "waitForCompletion": 0,
  236.             "positionType": 0,
  237.             "position": {
  238.                 "x": 0,
  239.                 "y": 0
  240.             },
  241.             "easing": {
  242.                 "type": 0,
  243.                 "inOut": 1
  244.             },
  245.             "blendMode": 0,
  246.             "zOrder": 0,
  247.             "animation": {
  248.                 "type": 1,
  249.                 "movement": 0,
  250.                 "mask": {
  251.                     "graphic": null,
  252.                     "vague": 30
  253.                 }
  254.             },
  255.             "fieldFlags": {
  256.                 "easing.type": 1,
  257.                 "animation.type": 1,
  258.                 "origin": 1,
  259.                 "zOrder": 1,
  260.                 "blendMode": 1
  261.             },
  262.             "previewBackground": {
  263.                 "name": "$live_preview_snapshot"
  264.             }
  265.         },
  266.         "indent": 0,
  267.         "uid": "F66F4A3A2109194B25399A383A7841D6CD02",
  268.         "expanded": false
  269.     },
  270.     {
  271.         "id": "gs.Label",
  272.         "params": {
  273.             "name": "reset"
  274.         },
  275.         "indent": 0,
  276.         "uid": "3C0F12591B3A7046A79A6366741CA8063944"
  277.     },
  278.     {
  279.         "id": "gs.ClearMessage",
  280.         "params": {
  281.             "waitForCompletion": 1,
  282.             "duration": 30,
  283.             "fieldFlags": {
  284.                 "duration": 1
  285.             }
  286.         },
  287.         "indent": 0,
  288.         "uid": "64FB935C24569541878A47F120E0E58ECC9A"
  289.     },
  290.     {
  291.         "id": "vn.MessageBoxVisibility",
  292.         "params": {
  293.             "duration": 30,
  294.             "waitForCompletion": true,
  295.             "visible": 1,
  296.             "animation": {
  297.                 "type": 0,
  298.                 "movement": 3,
  299.                 "mask": {
  300.                     "graphic": null,
  301.                     "vague": 30
  302.                 }
  303.             },
  304.             "easing": {
  305.                 "type": 0,
  306.                 "inOut": 1
  307.             },
  308.             "fieldFlags": {
  309.                 "duration": 1
  310.             },
  311.             "id": "messageBox"
  312.         },
  313.         "indent": 0,
  314.         "uid": "DCDA1E2E60D6C849B48AC3902F17BE0D5007"
  315.     },
  316.     {
  317.         "id": "gs.ShowMessage",
  318.         "params": {
  319.             "waitForCompletion": 1,
  320.             "duration": 15,
  321.             "expressionId": null,
  322.             "custom": {
  323.                 "object": {
  324.                     "x": 0,
  325.                     "y": 0,
  326.                     "size": {
  327.                         "width": 300,
  328.                         "height": 100
  329.                     }
  330.                 }
  331.             },
  332.             "message": {
  333.                 "lcId": "F64ABF4D10045242038A925793FDDBBE018C",
  334.                 "defaultText": "Jane looks at the strange blobs hovering across the mosaic sky. She thinks...and thinks..."
  335.             },
  336.             "position": 0,
  337.             "characterId": "BA77A09EK7F14A4C2BSA11BE8CC099F00810",
  338.             "partial": 0,
  339.             "fieldFlags": {
  340.                 "duration": 1
  341.             },
  342.             "expressions": [],
  343.             "animations": []
  344.         },
  345.         "indent": 0,
  346.         "uid": "AE1D9B194E38874E6B99C335DA1AA7359B3A",
  347.         "expanded": true
  348.     },
  349.     {
  350.         "id": "vn.Choice",
  351.         "params": {
  352.             "action": {
  353.                 "type": 0,
  354.                 "bindValue": 0,
  355.                 "bindValueVariable": {
  356.                     "scope": 0,
  357.                     "index": 0
  358.                 },
  359.                 "commonEventId": 0,
  360.                 "label": "a1",
  361.                 "switch": {
  362.                     "scope": 1,
  363.                     "index": 0
  364.                 },
  365.                 "scene": null
  366.             },
  367.             "text": {
  368.                 "lcId": "9466A09A7F7FA542167AC8156519906C6CCC",
  369.                 "defaultText": "Contemplate about the meaning of life and existence"
  370.             },
  371.             "label": "",
  372.             "enabled": 1,
  373.             "positionType": 0,
  374.             "box": {
  375.                 "x": 0,
  376.                 "y": 0,
  377.                 "size": {
  378.                     "width": 300,
  379.                     "height": 50
  380.                 }
  381.             },
  382.             "defaultChoice": 0
  383.         },
  384.         "indent": 0,
  385.         "uid": "7CA937B151218242CB3B3BA34951F2B59C92"
  386.     },
  387.     {
  388.         "id": "vn.Choice",
  389.         "params": {
  390.             "action": {
  391.                 "type": 0,
  392.                 "bindValue": 0,
  393.                 "bindValueVariable": {
  394.                     "scope": 0,
  395.                     "index": 0
  396.                 },
  397.                 "commonEventId": 0,
  398.                 "label": "a2",
  399.                 "switch": {
  400.                     "scope": 1,
  401.                     "index": 0
  402.                 },
  403.                 "scene": null
  404.             },
  405.             "text": {
  406.                 "lcId": "3BCA694D04D70246F089B051D81A6E174303",
  407.                 "defaultText": {
  408.                     "t": "Wow I am so bored right now",
  409.                     "d": {
  410.                         "eid": "7B34B3C2219CE842CA1A516005F11A2337B7"
  411.                     }
  412.                 }
  413.             },
  414.             "label": "",
  415.             "enabled": 1,
  416.             "positionType": 0,
  417.             "box": {
  418.                 "x": 0,
  419.                 "y": 0,
  420.                 "size": {
  421.                     "width": 300,
  422.                     "height": 50
  423.                 }
  424.             },
  425.             "defaultChoice": 0
  426.         },
  427.         "indent": 0,
  428.         "uid": "7B34B3C2219CE842CA1A516005F11A2337B7"
  429.     },
  430.     {
  431.         "id": "vn.ShowChoices",
  432.         "params": {},
  433.         "indent": 0,
  434.         "uid": "D25D5178760D6743AA1AE098D0D9861AB3E2"
  435.     },
  436.     {
  437.         "id": "gs.Label",
  438.         "params": {
  439.             "name": "a"
  440.         },
  441.         "indent": 0,
  442.         "uid": "79CD2E1A4188F74C853B51D122C9325B38B9"
  443.     },
  444.     {
  445.         "id": "gs.Script",
  446.         "params": {
  447.             "script": "GameManager.tempFields.choices = [];\nSceneManager.scene.choiceWindow.dispose();"
  448.         },
  449.         "indent": 0,
  450.         "uid": "24048C2856A6B74D192AE818C2E5EEA87F44",
  451.         "expanded": true
  452.     },
  453.     {
  454.         "id": "gs.ClearMessage",
  455.         "params": {
  456.             "waitForCompletion": 1,
  457.             "duration": 30,
  458.             "fieldFlags": {
  459.                 "duration": 1
  460.             }
  461.         },
  462.         "indent": 0,
  463.         "uid": "77CF0BC61ADFE64F2A5A53024EB4888AAAC5"
  464.     },
  465.     {
  466.         "id": "gs.ShowMessage",
  467.         "params": {
  468.             "waitForCompletion": 1,
  469.             "duration": 15,
  470.             "expressionId": null,
  471.             "custom": {
  472.                 "object": {
  473.                     "x": 0,
  474.                     "y": 0,
  475.                     "size": {
  476.                         "width": 300,
  477.                         "height": 100
  478.                     }
  479.                 }
  480.             },
  481.             "message": {
  482.                 "lcId": "7D1D917F23288348FC3833E517C28E596402",
  483.                 "defaultText": "Jane killed the blob! Why?!"
  484.             },
  485.             "position": 0,
  486.             "characterId": 0,
  487.             "partial": 0,
  488.             "fieldFlags": {
  489.                 "duration": 1
  490.             },
  491.             "expressions": [],
  492.             "animations": []
  493.         },
  494.         "indent": 0,
  495.         "uid": "A7F2700B080E784B9F1B3A810D503389ADD7",
  496.         "expanded": true
  497.     },
  498.     {
  499.         "id": "gs.JumpToLabel",
  500.         "params": {
  501.             "name": "reset"
  502.         },
  503.         "indent": 0,
  504.         "uid": "E0378442838746441A3BF4C6455ED4585DCC"
  505.     },
  506.     {
  507.         "id": "gs.Label",
  508.         "params": {
  509.             "name": "b"
  510.         },
  511.         "indent": 0,
  512.         "uid": "1A27BDF09B4064490B780958155B72741D8B"
  513.     },
  514.     {
  515.         "id": "gs.Script",
  516.         "params": {
  517.             "script": "GameManager.tempFields.choices = [];\nSceneManager.scene.choiceWindow.dispose();"
  518.         },
  519.         "indent": 0,
  520.         "uid": "A09EEED63D76D64CD17AA483643667C4EB90",
  521.         "expanded": false
  522.     },
  523.     {
  524.         "id": "gs.ClearMessage",
  525.         "params": {
  526.             "waitForCompletion": 1,
  527.             "duration": 30,
  528.             "fieldFlags": {
  529.                 "duration": 1
  530.             }
  531.         },
  532.         "indent": 0,
  533.         "uid": "C60497F9329DB744281AA86852A5DF22ACF0"
  534.     },
  535.     {
  536.         "id": "gs.ShowMessage",
  537.         "params": {
  538.             "waitForCompletion": 1,
  539.             "duration": 15,
  540.             "expressionId": null,
  541.             "custom": {
  542.                 "object": {
  543.                     "x": 0,
  544.                     "y": 0,
  545.                     "size": {
  546.                         "width": 300,
  547.                         "height": 100
  548.                     }
  549.                 }
  550.             },
  551.             "message": {
  552.                 "lcId": "E09B71D373AAD642205873B66D243ED54265",
  553.                 "defaultText": "Jane has somehow inflicted bodily harm to the blob"
  554.             },
  555.             "position": 0,
  556.             "characterId": 0,
  557.             "partial": 0,
  558.             "fieldFlags": {
  559.                 "duration": 1
  560.             },
  561.             "expressions": [],
  562.             "animations": []
  563.         },
  564.         "indent": 0,
  565.         "uid": "8714DF0F2207884CC24B3B340A9955B96127",
  566.         "expanded": true
  567.     },
  568.     {
  569.         "id": "gs.JumpToLabel",
  570.         "params": {
  571.             "name": "reset"
  572.         },
  573.         "indent": 0,
  574.         "uid": "3F03992E5AD6264AC7998CC5D2883B950A1F"
  575.     },
  576.     {
  577.         "id": "gs.Label",
  578.         "params": {
  579.             "name": "c"
  580.         },
  581.         "indent": 0,
  582.         "uid": "1EA8B6267CF4C840663BFAF33DFE0F76068F"
  583.     },
  584.     {
  585.         "id": "gs.Script",
  586.         "params": {
  587.             "script": "GameManager.tempFields.choices = [];\nSceneManager.scene.choiceWindow.dispose();"
  588.         },
  589.         "indent": 0,
  590.         "uid": "DDE9173F1062D24C5F4A191517941469DFA8",
  591.         "expanded": false
  592.     },
  593.     {
  594.         "id": "gs.ClearMessage",
  595.         "params": {
  596.             "waitForCompletion": 1,
  597.             "duration": 30,
  598.             "fieldFlags": {
  599.                 "duration": 1
  600.             }
  601.         },
  602.         "indent": 0,
  603.         "uid": "19B90D5B533AE74413790C36F20158F92858"
  604.     },
  605.     {
  606.         "id": "gs.ShowMessage",
  607.         "params": {
  608.             "waitForCompletion": 1,
  609.             "duration": 15,
  610.             "expressionId": null,
  611.             "custom": {
  612.                 "object": {
  613.                     "x": 0,
  614.                     "y": 0,
  615.                     "size": {
  616.                         "width": 300,
  617.                         "height": 100
  618.                     }
  619.                 }
  620.             },
  621.             "message": {
  622.                 "lcId": "6A4B70E24BE4854F8778C7A2806C7482A010",
  623.                 "defaultText": "The blob looks at Jane in sheer boredom."
  624.             },
  625.             "position": 0,
  626.             "characterId": 0,
  627.             "partial": 0,
  628.             "fieldFlags": {
  629.                 "duration": 1
  630.             },
  631.             "expressions": [],
  632.             "animations": []
  633.         },
  634.         "indent": 0,
  635.         "uid": "047D3472293A9542410B6DE38F76D49B1F63",
  636.         "expanded": true
  637.     },
  638.     {
  639.         "id": "gs.JumpToLabel",
  640.         "params": {
  641.             "name": "reset"
  642.         },
  643.         "indent": 0,
  644.         "uid": "E3F31ADC491A87479E8918496DF7E81099E6"
  645.     },
  646.     {
  647.         "id": "gs.Label",
  648.         "params": {
  649.             "name": "a1"
  650.         },
  651.         "indent": 0,
  652.         "uid": "4C044C6D6B9C524E726B4DA4382A7E05CAF5"
  653.     },
  654.     {
  655.         "id": "gs.ShowMessage",
  656.         "params": {
  657.             "waitForCompletion": 1,
  658.             "duration": 15,
  659.             "expressionId": null,
  660.             "custom": {
  661.                 "object": {
  662.                     "x": 0,
  663.                     "y": 0,
  664.                     "size": {
  665.                         "width": 300,
  666.                         "height": 100
  667.                     }
  668.                 }
  669.             },
  670.             "message": {
  671.                 "lcId": "72FA0FCF3D06304B9C7A1093ABBFD6F51635",
  672.                 "defaultText": "Your head exploded from the sheer weight of your existentialism."
  673.             },
  674.             "position": 0,
  675.             "characterId": 0,
  676.             "partial": 0,
  677.             "fieldFlags": {
  678.                 "duration": 1
  679.             },
  680.             "expressions": [],
  681.             "animations": []
  682.         },
  683.         "indent": 0,
  684.         "uid": "8592BAB96FC2B74A787B3610CEBBD5BCA8C8",
  685.         "expanded": true
  686.     },
  687.     {
  688.         "id": "gs.JumpToLabel",
  689.         "params": {
  690.             "name": "reset"
  691.         },
  692.         "indent": 0,
  693.         "uid": "4FD3EA2B8A37614DB388B3E1788F34298D42"
  694.     },
  695.     {
  696.         "id": "gs.Label",
  697.         "params": {
  698.             "name": "a2"
  699.         },
  700.         "indent": 0,
  701.         "uid": "A0BCB8BB4DC6F4426B484495D4A9E4678730"
  702.     },
  703.     {
  704.         "id": "gs.ShowMessage",
  705.         "params": {
  706.             "waitForCompletion": 1,
  707.             "duration": 15,
  708.             "expressionId": null,
  709.             "custom": {
  710.                 "object": {
  711.                     "x": 0,
  712.                     "y": 0,
  713.                     "size": {
  714.                         "width": 300,
  715.                         "height": 100
  716.                     }
  717.                 }
  718.             },
  719.             "message": {
  720.                 "lcId": "79D9887A2E557740672BC204840FBB0702CA",
  721.                 "defaultText": "I'm running out of things to say"
  722.             },
  723.             "position": 0,
  724.             "characterId": 0,
  725.             "partial": 0,
  726.             "fieldFlags": {
  727.                 "duration": 1
  728.             },
  729.             "expressions": [],
  730.             "animations": []
  731.         },
  732.         "indent": 0,
  733.         "uid": "9BF6C0058361B64E9D4AC58572E22D38A05D",
  734.         "expanded": true
  735.     },
  736.     {
  737.         "id": "gs.JumpToLabel",
  738.         "params": {
  739.             "name": "reset"
  740.         },
  741.         "indent": 0,
  742.         "uid": "41A0F5757B439741260A228634041D4413C6"
  743.     }
  744. ].novelsharp/vn-scene-command
Advertisement
Add Comment
Please, Sign In to add comment