Advertisement
HugePinball

skeevFX

Feb 28th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 6.30 KB | None | 0 0
  1.     {
  2.       "Name": "Custom_Assetbundle",
  3.       "Transform": {
  4.         "posX": 33.9979324,
  5.         "posY": 3.50575233,
  6.         "posZ": 24.0035782,
  7.         "rotX": 4.453641E-06,
  8.         "rotY": 359.97937,
  9.         "rotZ": -5.128578E-06,
  10.         "scaleX": 2.0,
  11.         "scaleY": 2.0,
  12.         "scaleZ": 2.0
  13.       },
  14.       "Nickname": "skeevFX",
  15.       "Description": "",
  16.       "ColorDiffuse": {
  17.         "r": 1.0,
  18.         "g": 1.0,
  19.         "b": 1.0
  20.       },
  21.       "Locked": false,
  22.       "Grid": true,
  23.       "Snap": true,
  24.       "IgnoreFoW": false,
  25.       "Autoraise": true,
  26.       "Sticky": true,
  27.       "Tooltip": true,
  28.       "GridProjection": false,
  29.       "HideWhenFaceDown": false,
  30.       "Hands": false,
  31.       "CustomAssetbundle": {
  32.         "AssetbundleURL": "http://cloud-3.steamusercontent.com/ugc/964238389890137120/92490939A17CB28113E27CAE459B925F8F132FA6/",
  33.         "AssetbundleSecondaryURL": "",
  34.         "MaterialIndex": 0,
  35.         "TypeIndex": 0,
  36.         "LoopingEffectIndex": 0
  37.       },
  38.       "XmlUI": "<!-- working unicode chars: circled 1, neg circled 1, double circled 1 = &#x2460; &#x2776; &#x24F5; -->\r\n<!-- die faces don't work: &#x2680; -->\r\n\r\n<Defaults>\r\n  <Panel class=\"face\" color=\"#14e50088\" height=\"100\" width=\"100\" raycastTarget=\"false\" />\r\n  <Panel class=\"base\" color=\"#0040ffcc\" height=\"125\" width=\"150\" />\r\n  <Panel class=\"x\" color=\"#ff0000cc\" height=\"10\" width=\"200\" forceChildExpandWidth=\"true\" />\r\n  <Panel class=\"y\" color=\"#00ff00cc\" height=\"200\" width=\"10\" />\r\n  <Panel class=\"z\" color=\"#0000ffcc\" height=\"200\" width=\"10\" rotation=\"90 0 0\" />\r\n  <Panel class=\"cl\" color=\"clear\" />\r\n  <Panel class=\"f1\" position=\"0 0 -50\" rotation=\"0 0 0\" />\r\n  <Panel class=\"f2\" position=\"0 -50 0\" rotation=\"90 0 0\" />\r\n  <Panel class=\"f3\" position=\"-50 0 0\" rotation=\"0 90 0\" />\r\n  <Panel class=\"f4\" position=\"50 0 0\" rotation=\"0 -90 0\" />\r\n  <Panel class=\"f5\" position=\"0 50 0\" rotation=\"-90 0 0\" />\r\n  <Panel class=\"f6\" position=\"0 0 50\" rotation=\"180 0 0\" />\r\n  <Text class=\"face\" color=\"#ffffff\" fontStyle=\"bold\" fontSize=\"32\" scale=\"1 1\"/>\n  <Text class=\"face\" color=\"clear\" />\r\n  <Text class=\"axis\" color=\"#ffffff\" width=\"200%\" height=\"200%\" position=\"0 0 -70\" scale=\"5 5\"/>\r\n  \r\n</Defaults>\r\n\r\n<Panel id=\"die\" class=\"base\" color=\"clear\">\r\n    <Panel id=\"x\" class=\"x,cl\"><HorizontalLayout><Text class=\"axis\" alignment=\"MiddleLeft\">-&#x2796;</Text><Text class=\"axis\" alignment=\"MiddleRight\">+&#x2795;</Text></HorizontalLayout></Panel>\r\n    <Panel id=\"y\" class=\"y,cl\" />\r\n    <Panel id=\"z\" class=\"z,cl\" />\r\n    <Panel id=\"f1\" class=\"face,f1,inv\" image=\"f1\"><Text class=\"face\">&#x2776;</Text></Panel>\r\n    <Panel id=\"f2\" class=\"face,f2,inv\" image=\"f2\"><Text class=\"face\">&#x2777;</Text></Panel>\r\n    <Panel id=\"f2\" class=\"face,f3,inv\" image=\"f3\"><Text class=\"face\">&#x2778;</Text></Panel>\r\n    <Panel id=\"f3\" class=\"face,f4,inv\" image=\"f4\"><Text class=\"face\">&#x2779;</Text></Panel>\r\n    <Panel id=\"f4\" class=\"face,f5,inv\" image=\"f5\"><Text class=\"face\">&#x277A;</Text></Panel>\r\n    <Panel id=\"f5\" class=\"face,f6,inv\" image=\"f6\"><Text class=\"face\">&#x277B;</Text></Panel>\r\n</Panel>\r\n    \r\n",
  39.       "LuaScript": "",
  40.       "LuaScriptState": "",
  41.       "PhysicsMaterial": {
  42.         "StaticFriction": 0.6,
  43.         "DynamicFriction": 0.6,
  44.         "Bounciness": 0.0,
  45.         "FrictionCombine": 0,
  46.         "BounceCombine": 0
  47.       },
  48.       "Rigidbody": {
  49.         "Mass": 0.01,
  50.         "Drag": 0.1,
  51.         "AngularDrag": 0.1,
  52.         "UseGravity": true
  53.       },
  54.       "JointFixed": {
  55.         "ConnectedBodyGUID": "8a9257",
  56.         "EnableCollision": false,
  57.         "Axis": {
  58.           "x": 1.0,
  59.           "y": 0.0,
  60.           "z": 0.0
  61.         },
  62.         "Anchor": {
  63.           "x": 0.0,
  64.           "y": 0.0,
  65.           "z": 0.0
  66.         },
  67.         "ConnectedAnchor": {
  68.           "x": -0.000281632761,
  69.           "y": 0.366289318,
  70.           "z": 2.0
  71.         },
  72.         "BreakForce": "Infinity",
  73.         "BreakTorgue": "Infinity"
  74.       },
  75.       "GUID": "3c926f"
  76.     },
  77.     {
  78.       "Name": "BlockSquare",
  79.       "Transform": {
  80.         "posX": 0.00212097168,
  81.         "posY": -1.09886718,
  82.         "posZ": -6.0,
  83.         "rotX": 5.89710271E-06,
  84.         "rotY": 359.987823,
  85.         "rotZ": -9.594993E-07,
  86.         "scaleX": 3.0,
  87.         "scaleY": 3.0,
  88.         "scaleZ": 3.0
  89.       },
  90.       "Nickname": "Effect Player",
  91.       "Description": "",
  92.       "ColorDiffuse": {
  93.         "r": 0.9264706,
  94.         "g": 0.0,
  95.         "b": 0.0
  96.       },
  97.       "Locked": false,
  98.       "Grid": true,
  99.       "Snap": true,
  100.       "IgnoreFoW": false,
  101.       "Autoraise": true,
  102.       "Sticky": true,
  103.       "Tooltip": true,
  104.       "GridProjection": false,
  105.       "HideWhenFaceDown": false,
  106.       "Hands": false,
  107.       "XmlUI": "<Defaults>\r\n    <button fontSize=\"48\" fontStyle=\"Bold\" />\r\n</Defaults>\r\n    \r\n<HorizontalLayout width = \"400\" height=\"65\" position=\"0 0 -65\">\r\n  <button onClick=\"n_index\" width=\"50\" rectAlignment=\"MiddleLeft\">-</button>\r\n  <button id =\"play\" onClick=\"play\" fontSize=\"20\" width=\"300\" rectAlignment=\"MiddleCenter\" text=\"None\"></button>\r\n  <button onClick=\"p_index\" width=\"50\" rectAlignment=\"MiddleRight\">+</button>\r\n</HorizontalLayout>",
  108.       "LuaScript": "effect_guid = \"3c926f\"\r\n\r\nfunction onLoad()\r\n  index = 9\r\n  effect = getObjectFromGUID(effect_guid)\n  play()\n  index = nil\r\nend\r\n\r\nfunction play()\r\n  effect.AssetBundle.playTriggerEffect(index)\r\nend\r\n\r\nfunction n_index()\r\n  if index == nil then index = 39\n  elseif index == 0 then\n    index = 39\r\r\n  else\r\n    index = index - 1\r\n  end\r\n  do_update()\r\nend\r\n\r\nfunction p_index()\r\n    if index == nil then index = 0\n  elseif index == 39 then\r\n    index = 0\r\n  else\r\n    index = index + 1\r\n  end\r\n  do_update()\r\nend\r\n\r\nfunction do_update()\r\n  local table = effect.AssetBundle.getTriggerEffects()\r\n  local s_index = index + 1\r\n  local name = table[s_index][\"name\"]\r\n  local final = index .. \" - \" .. name\r\n  self.UI.setAttribute(\"play\", \"text\", final)\r\nend\r\n",
  109.       "LuaScriptState": "",
  110.       "GUID": "8a9257"
  111.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement