Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "Name": "Custom_Assetbundle",
- "Transform": {
- "posX": 33.9979324,
- "posY": 3.50575233,
- "posZ": 24.0035782,
- "rotX": 4.453641E-06,
- "rotY": 359.97937,
- "rotZ": -5.128578E-06,
- "scaleX": 2.0,
- "scaleY": 2.0,
- "scaleZ": 2.0
- },
- "Nickname": "skeevFX",
- "Description": "",
- "ColorDiffuse": {
- "r": 1.0,
- "g": 1.0,
- "b": 1.0
- },
- "Locked": false,
- "Grid": true,
- "Snap": true,
- "IgnoreFoW": false,
- "Autoraise": true,
- "Sticky": true,
- "Tooltip": true,
- "GridProjection": false,
- "HideWhenFaceDown": false,
- "Hands": false,
- "CustomAssetbundle": {
- "AssetbundleURL": "http://cloud-3.steamusercontent.com/ugc/964238389890137120/92490939A17CB28113E27CAE459B925F8F132FA6/",
- "AssetbundleSecondaryURL": "",
- "MaterialIndex": 0,
- "TypeIndex": 0,
- "LoopingEffectIndex": 0
- },
- "XmlUI": "<!-- working unicode chars: circled 1, neg circled 1, double circled 1 = ① ❶ ⓵ -->\r\n<!-- die faces don't work: ⚀ -->\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\">-➖</Text><Text class=\"axis\" alignment=\"MiddleRight\">+➕</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\">❶</Text></Panel>\r\n <Panel id=\"f2\" class=\"face,f2,inv\" image=\"f2\"><Text class=\"face\">❷</Text></Panel>\r\n <Panel id=\"f2\" class=\"face,f3,inv\" image=\"f3\"><Text class=\"face\">❸</Text></Panel>\r\n <Panel id=\"f3\" class=\"face,f4,inv\" image=\"f4\"><Text class=\"face\">❹</Text></Panel>\r\n <Panel id=\"f4\" class=\"face,f5,inv\" image=\"f5\"><Text class=\"face\">❺</Text></Panel>\r\n <Panel id=\"f5\" class=\"face,f6,inv\" image=\"f6\"><Text class=\"face\">❻</Text></Panel>\r\n</Panel>\r\n \r\n",
- "LuaScript": "",
- "LuaScriptState": "",
- "PhysicsMaterial": {
- "StaticFriction": 0.6,
- "DynamicFriction": 0.6,
- "Bounciness": 0.0,
- "FrictionCombine": 0,
- "BounceCombine": 0
- },
- "Rigidbody": {
- "Mass": 0.01,
- "Drag": 0.1,
- "AngularDrag": 0.1,
- "UseGravity": true
- },
- "JointFixed": {
- "ConnectedBodyGUID": "8a9257",
- "EnableCollision": false,
- "Axis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0
- },
- "Anchor": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0
- },
- "ConnectedAnchor": {
- "x": -0.000281632761,
- "y": 0.366289318,
- "z": 2.0
- },
- "BreakForce": "Infinity",
- "BreakTorgue": "Infinity"
- },
- "GUID": "3c926f"
- },
- {
- "Name": "BlockSquare",
- "Transform": {
- "posX": 0.00212097168,
- "posY": -1.09886718,
- "posZ": -6.0,
- "rotX": 5.89710271E-06,
- "rotY": 359.987823,
- "rotZ": -9.594993E-07,
- "scaleX": 3.0,
- "scaleY": 3.0,
- "scaleZ": 3.0
- },
- "Nickname": "Effect Player",
- "Description": "",
- "ColorDiffuse": {
- "r": 0.9264706,
- "g": 0.0,
- "b": 0.0
- },
- "Locked": false,
- "Grid": true,
- "Snap": true,
- "IgnoreFoW": false,
- "Autoraise": true,
- "Sticky": true,
- "Tooltip": true,
- "GridProjection": false,
- "HideWhenFaceDown": false,
- "Hands": false,
- "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>",
- "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",
- "LuaScriptState": "",
- "GUID": "8a9257"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement