-
Notifications
You must be signed in to change notification settings - Fork 1
/
state (2)
1 lines (1 loc) · 132 KB
/
state (2)
1
[{"extends":"asset.vwf","properties":{"___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"owner":"Rob","transform":[24.700002670288086,0,0,0,0,-8.858883404627704e-9,24.700002670288086,0,0,-24.700000762939453,-8.858883404627704e-9,0,0.45100003480911255,-1.1180002689361572,-1.121999979019165,1],"translation":[0.45100003480911255,-1.1180002689361572,-1.121999979019165],"visible":false},"random":{"c":1,"s0":0.189805781235918,"s1":0.983853878453374,"s2":0.648477415088564},"sequence":0,"source":"./vwfdatamanager.svc/datafile/XAPIGame/city_col.dae","type":"subDriver/threejs/asset/vnd.collada+xml","name":"./vwfdatamanager.svc/datafile/XAPIGame/city_col.dae1"},{"extends":"box2.vwf","methods":{"makeGateSound":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n this.audioAPI.stopSound(\"./vwfdatamanager.svc/datafile/XAPIGame.boochch.mp3\");\n this.audioAPI.playSound(\"./vwfdatamanager.svc/datafile/XAPIGame/boochch.mp3\", false, 100);\n","parameters":[]},"tick":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n if (this.Scene.children_by_name.GameCode.paused === true) return;\n\n if (Vec3.distance(this.transformAPI.getPosition(), this.Scene.children_by_name.Player.transformAPI.getPosition()) < 1.5)\n {\n this.counter += 1;\n this.translation[2] = .5 + (Math.sin(this.counter / 3) + 1) / 2;\n if (this.translation[2] > .5 && this.translation[2] < .505)\n this.makeGateSound();\n if (Vec3.distance(this.transformAPI.getPosition(), this.Scene.children_by_name.Player.transformAPI.getPosition()) < .35)\n {\n this.Scene.children_by_name.Player.Die();\n this.Scene.children_by_name.GameCode.postDeath(this.DisplayName);\n }\n }\n","parameters":[]}},"properties":{"DisplayName":"Trapdoor2","GameType":"TrapDoor","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"_length":0.12,"counter":35187,"materialDef":{"alpha":1,"ambient":{"b":0.588235294117647,"g":0.588235294117647,"r":0.588235294117647},"color":{"a":1,"b":0.588235294117647,"g":0.588235294117647,"r":0.588235294117647},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"blendMode":0,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"rot":0,"scalex":1,"scaley":1,"src":"/adl/sandbox/DnNE31e3uvYptRYw//vwfDataManager.svc/texture?UID=\\wests_textures\\paneling.png"}],"morphTargets":false,"reflect":0.8,"shadeless":false,"shadow":true,"shininess":15,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":1,"type":"phong"},"owner":"Rob","quaternion":[0,0,-0.707808256149292,0.7064046263694763],"size":[1,1,1],"tempid":"","texture":"checker.jpg","transform":[-0.001984983216971159,-0.9999980330467224,0,0,0.9999980330467224,-0.001984983216971159,-7.119330082058783e-13,0,0,0,1,0,-8.158066749572754,-4.257143497467041,0.5,1],"translation":[-8.158066749572754,-4.257143497467041,0.5046285566209221],"type":"Primitive","width":0.98},"random":{"c":1,"s0":0.628118557622656,"s1":0.905939199496061,"s2":0.972370508825406},"sequence":0,"source":"vwf/model/threejs/box.js","type":"subDriver/threejs","name":"29408b6e-622e-1c4e-76ee-1a12fffba25f"},{"children":{"64269767-af3-b54a-3a17-96439495c95a":{"extends":"rotator.vwf","properties":{"Active":true,"Axis":"Y","DisplayName":"rotator3","Local":true,"owner":"vergenzs","type":"behavior"},"random":{"c":1,"s0":0.546726125059649,"s1":0.515483861323446,"s2":0.592796659562737},"sequence":0,"name":"64269767-af3-b54a-3a17-96439495c95a"},"d056ade-13bf-922b-54cc-de0dd59160da":{"extends":"SandboxParticleSystem.vwf","methods":{"makeFlameSound":{"body":"\n\n\n\n\n\n\n\n this.audioAPI.stopSound(\"./vwfdatamanager.svc/datafile/XAPIGame/flame.mp3\");\n this.audioAPI.playSound(\"./vwfdatamanager.svc/datafile/XAPIGame/flame.mp3\", false, 100);\n","parameters":[]},"tick":{"body":"\n\n\n\n\n\n\n\n if (this.Scene.children_by_name.GameCode.paused === true) return;\n\n var localPlayer = this.transformAPI.globalToLocal(this.Scene.children_by_name.Player.transformAPI.getPosition());\n\n if (Math.abs(localPlayer[0]) < .1 && Math.abs(localPlayer[1]) < .1 && localPlayer[2] > -.2 && localPlayer[2] < 3 && this.visible === true)\n {\n this.Scene.children_by_name.GameCode.postDeath(this.parent.DisplayName);\n this.Scene.children_by_name.Player.Die();\n }\n","parameters":[]}},"properties":{"DisplayName":"ParticleSystem1","additive":true,"alphaTest":0,"counter":294588,"depthTest":false,"emitterSize":[1,1,0],"emitterType":"sphere","endColor":[0.0588235294117647,0.0588235294117647,1,0.6],"endSize":0.19,"image":"/adl/sandbox/DnNE31e3uvYptRYw//vwfDataManager.svc/datafile/XAPIGame/spark.jpg","maxAcceleration":[0,0,0],"maxLifeTime":23,"maxOrientation":-30,"maxVelocity":[0,0,0.084],"minAcceleration":[0,0,0],"minLifeTime":23,"minOrientation":-30,"minVelocity":[0,0,0.064],"owner":"vergenzs","solver":"AnalyticShader","startColor":[0.490196078431373,0,0.949019607843137,1],"startSize":0.18,"textureTiles":1,"transform":[1,0,0,0,0,1,0,0,0,0,1,0,0.015921633690595627,0.017000118270516396,-0.09707215428352356,1],"translation":[0.015921633690595627,0.017000118270516396,-0.09707215428352356],"type":"ParticleSystem","visible":true},"random":{"c":1,"s0":0.814968207851052,"s1":0.292661768384278,"s2":0.651666836580262},"sequence":0,"name":"d056ade-13bf-922b-54cc-de0dd59160da"}},"extends":"cone2.vwf","properties":{"DisplayName":"Laser1","GameType":"Laser","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"height":0.53,"materialDef":{"alpha":1,"ambient":{"b":1,"g":0.0392156862745098,"r":0.345098039215686},"blendMode":1,"color":{"a":1,"b":1,"g":0.0392156862745098,"r":0.345098039215686},"emit":{"b":0.968627450980392,"g":0.0392156862745098,"r":0.176470588235294},"layers":[],"metal":false,"morphTargets":false,"reflect":0.8,"shadeless":false,"shadow":true,"shininess":15,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":1,"type":"phong"},"owner":"Rob","quaternion":[0,0.7071067690849304,0.7071067690849304,0.000009469153155805543],"radius":0.1,"size":[0.5,1,0.5],"tempid":"","texture":"checker.jpg","transform":[0.8338348269462585,0.5518097877502441,1.9791175642769332e-10,0,0,0,0.9993730783462524,0,0.5520142316818237,-0.8335255980491638,-2.9895175224226023e-10,0,0.04208539053797722,-2.520653247833252,0.5,1],"translation":[0.04208539053797722,-2.520653247833252,0.5],"type":"Primitive"},"random":{"c":1,"s0":0.853646328439936,"s1":0.640379393240437,"s2":0.711409916402772},"sequence":0,"source":"vwf/model/threejs/cone.js","type":"subDriver/threejs","name":"314cd2-9b51-50eb-159-4849a3095990"},{"children":{"c20a7e2c-38c6-9034-1f88-d2bd4d671fc9":{"extends":"uvmap.vwf","properties":{"DisplayName":"uvmap1","NotProto":"NOT!","_length":2.78,"height":2.73,"mode":"plane","owner":"Rob","plane":"y","quaternion":[0,0,0,1],"transform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"translation":[0,0,0],"type":"modifier","uoffset":0.34,"voffset":-0.07},"random":{"c":1,"s0":0.0115805226378143,"s1":0.223965629935265,"s2":0.206677667563781},"sequence":0,"source":"vwf/model/threejs/uvmap.js","type":"subDriver/threejs","name":"c20a7e2c-38c6-9034-1f88-d2bd4d671fc9"}},"extends":"cylinder2.vwf","properties":{"DisplayName":"cylinder3","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"height":0.26,"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"a":1,"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"blendMode":0,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"rot":0,"scalex":1,"scaley":1,"src":"./vwfdatamanager.svc/datafile/XAPIGame/teleport.png"}],"morphTargets":false,"reflect":0.8,"shadeless":false,"shadow":true,"shininess":15,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":1,"type":"phong"},"owner":"Rob","quaternion":[0,0,0,1],"radius":0.59,"rsegs":16,"size":[1,0.5,0.5],"tempid":"","texture":"checker.jpg","transform":[1,0,0,0,0,1,0,0,0,0,1,0,0.868994414806366,2.874997854232788,-0.21900001168251038,1],"translation":[0.868994414806366,2.874997854232788,-0.21900001168251038],"type":"Primitive"},"random":{"c":1,"s0":0.307763082440943,"s1":0.157772459322587,"s2":0.224498455645517},"sequence":0,"source":"vwf/model/threejs/cylinder.js","type":"subDriver/threejs","name":"365b266-41ce-11b9-1872-e623ef131b5d"},{"children":{"371ce16d-b4aa-d944-6123-bfd76c8c2a89":{"extends":"rotator.vwf","properties":{"Active":true,"Amount":4,"DisplayName":"rotator1","Local":true,"owner":"Rob","type":"behavior"},"random":{"c":1,"s0":0.697554648621008,"s1":0.740025692153722,"s2":0.641901551513001},"sequence":0,"name":"371ce16d-b4aa-d944-6123-bfd76c8c2a89"}},"extends":"cone2.vwf","properties":{"DisplayName":"cone1","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"height":0.69,"hsegs":1,"materialDef":{"alpha":0.48,"ambient":{"b":0.0745098039215686,"g":0.0745098039215686,"r":0.968627450980392},"color":{"a":1,"b":0.0745098039215686,"g":0.0745098039215686,"r":0.968627450980392},"emit":{"b":0,"g":0,"r":0},"layers":[],"morphTargets":false,"reflect":5.2,"shadeless":false,"shadow":true,"shininess":10,"side":2,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":9.6,"type":"phong"},"owner":"Rob","quaternion":[-0.018211809918284416,-0.9609280824661255,0.2761912941932678,0.001968324650079012],"radius":0.33,"rsegs":3,"size":[0.5,1,0.5],"tempid":"","testprop":"value","texture":"checker.jpg","transform":[0.851941704750061,0.43730518221855164,-0.28799381852149963,0,0.5234314799308777,-0.7260025143623352,0.4460059106349945,0,-0.014042798429727554,-0.5307221412658691,-0.8474276661872864,0,-6.758000373840332,-0.9682438969612122,1.3683621883392334,1],"translation":[-6.758000373840332,-0.9682438969612122,1.3683621883392334],"type":"Primitive"},"random":{"c":1,"s0":0.709777161711827,"s1":0.231308539630845,"s2":0.789308838779107},"sequence":0,"source":"vwf/model/threejs/cone.js","type":"subDriver/threejs","name":"3b2df2e9-b9c8-2082-930f-eabf145f5273"},{"extends":"http://vwf.example.com/behavior.vwf","methods":{"initialize":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","parameters":[]},"postDeath":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n if (!_DataManager.getInstanceData().publishSettings) return;\n var worldId = \"http://vwf.adlnet.gov/xapi/\" + /\\w{16}/.exec(_DataManager.getCurrentSession())[0];\n var trapId = worldId + '/' + trapName;\n var agentId = {\n 'homePage': 'http://vwf.adlnet.gov',\n 'name': this.playerName\n };\n var statement = new ADL.XAPIStatement(\n new ADL.XAPIStatement.Agent(agentId, agentId.name),\n new ADL.XAPIStatement.Verb('http://vwf.adlnet.gov/xapi/IFestGame2014/verbs/killed_by', 'killed by'),\n new ADL.XAPIStatement.Activity(trapId, trapName));\n\n statement.addParentActivity(new ADL.XAPIStatement.Activity(worldId, _DataManager.getInstanceData().title || 'tempPublish'));\n statement.context.registration = this.registration;\n\n statement.context.extensions = {\n \"http://vwf.adlnet.gov/xapi/IFestGame2014\":\n {\n 'GameType': this.Scene.children_by_name[trapName].GameType,\n 'timeAlive': this.Scene.children_by_name.Player.timer\n }\n };\n \n this.xAPI.sendStatement(null, statement);\n","parameters":["trapName"]},"postQuit":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n if (!_DataManager.getInstanceData().publishSettings) return;\n var worldId = \"http://vwf.adlnet.gov/xapi/\" + /\\w{16}/.exec(_DataManager.getCurrentSession())[0];\n var statement = new ADL.XAPIStatement(\n {\n 'homePage': 'http://vwf.adlnet.gov',\n 'name': this.playerName\n },\n ADL.verbs.terminated,\n new ADL.XAPIStatement.Activity(worldId, _DataManager.getInstanceData().title || 'tempPublish')\n );\n statement.generateId();\n statement.context = {};\n statement.context.registration = this.registration;\n console.log(statement);\n this.xAPI.sendStatement(null, statement);\n","parameters":[]},"postSpawn":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n if (!_DataManager.getInstanceData().publishSettings) return;\n var worldId = \"http://vwf.adlnet.gov/xapi/\" + /\\w{16}/.exec(_DataManager.getCurrentSession())[0];\n\n var agentId = {\n 'homePage': 'http://vwf.adlnet.gov',\n 'name': this.playerName\n };\n var statement = new ADL.XAPIStatement(\n new ADL.XAPIStatement.Agent(agentId, agentId.name),\n new ADL.XAPIStatement.Verb('http://vwf.adlnet.gov/xapi/IFestGame2014/verbs/spawned_in', 'spawned in'),\n new ADL.XAPIStatement.Activity(worldId, _DataManager.getInstanceData().title || 'tempPublish'));\n\n statement.context.registration = this.registration;\n\n console.log(statement);\n this.xAPI.sendStatement(null, statement);\n","parameters":["player"]},"postStart":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n if (!_DataManager.getInstanceData().publishSettings) return;\n var worldId = \"http://vwf.adlnet.gov/xapi/\" + /\\w{16}/.exec(_DataManager.getCurrentSession())[0];\n var agentId = {\n 'homePage': 'http://vwf.adlnet.gov',\n 'name': player\n };\n\n var statement = new ADL.XAPIStatement(\n new ADL.XAPIStatement.Agent(agentId, agentId.name),\n ADL.verbs.attempted,\n new ADL.XAPIStatement.Activity(worldId, _DataManager.getInstanceData().title || 'tempPublish'));\n statement.object.definition.moreInfo = window.location.href;\n\n statement.generateRegistration();\n\n this.registration = statement.context.registration;\n\n console.log(statement);\n this.xAPI.sendStatement(null, statement);\n","parameters":["player"]},"postSuccess":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n if (!_DataManager.getInstanceData().publishSettings) return;\n var worldId = \"http://vwf.adlnet.gov/xapi/\" + /\\w{16}/.exec(_DataManager.getCurrentSession())[0];\n var agentId = {\n 'homePage': 'http://vwf.adlnet.gov',\n 'name': this.playerName\n };\n\n var statement = new ADL.XAPIStatement(\n new ADL.XAPIStatement.Agent(agentId, agentId.name),\n ADL.verbs.completed,\n new ADL.XAPIStatement.Activity(worldId, _DataManager.getInstanceData().title || 'tempPublish'));\n\n statement.object.definition.moreInfo = window.location.href;\n\n statement.context = {\n 'registration': this.registration,\n 'extensions':\n {\n \"http://vwf.adlnet.gov/xapi/IFestGame2014\":\n {\n 'timeAlive': this.Scene.children_by_name.Player.timer\n }\n }\n };\n \n this.xAPI.sendStatement(null, statement);\n","parameters":[]},"postWaypoint":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n if (!_DataManager.getInstanceData().publishSettings) return;\n\n var worldId = \"http://vwf.adlnet.gov/xapi/\" + /\\w{16}/.exec(_DataManager.getCurrentSession())[0];\n var waypointId = worldId + '/' + waypointName;\n var agentId = {\n 'homePage': 'http://vwf.adlnet.gov',\n 'name': this.playerName\n };\n var statement = new ADL.XAPIStatement(\n new ADL.XAPIStatement.Agent(agentId, agentId.name),\n new ADL.XAPIStatement.Verb('http://vwf.adlnet.gov/xapi/IFestGame2014/verbs/reached', 'reached'),\n new ADL.XAPIStatement.Activity(waypointId, waypointName));\n \n statement.addParentActivity(new ADL.XAPIStatement.Activity(worldId, _DataManager.getInstanceData().title || 'tempPublish'));\n statement.context.registration = this.registration;\n statement.context.extensions = {\n \"http://vwf.adlnet.gov/xapi/IFestGame2014\":\n {\n 'timeAlive': this.Scene.children_by_name.Player.timer\n }\n };\n this.xAPI.sendStatement(null, statement);\n","parameters":["waypointName"]},"ready":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n this.xAPI.configure(\n {\n endpoint: 'https://lrs.adlnet.gov/xapi/',\n user: 'IFestGame',\n password: 'UQw9Sw*FcZlM'\n });\n this.xAPI.testConfig();\n var id = this.id;\n var self2 = this;\n\n //_dView.setCamera('SandboxCamera-vwf-58faf29-3658-392-e779-44d7f701f192');\n\n this.Scene.bind('avatarCreated', function(cid, name)\n {\n window.setTimeout(function()\n {\n _dView.setCamera('SandboxCamera-vwf-58faf29-3658-392-e779-44d7f701f192');\n }, 300);\n });\n\n this.Scene.bind('clientConnected', function(cid, name)\n {\n // _dView.setCamera('SandboxCamera-vwf-58faf29-3658-392-e779-44d7f701f192');\n self2.playerName = name;\n\n if (self2.playerName == 'anonymous')\n {\n alertify.prompt(\"Please tell me your name.\", function(ok, val)\n {\n vwf_view.kernel.setProperty(self2.id, 'playerName', val);\n self2.postStart(val);\n\n });\n }\n else\n {\n\n self2.postStart(self2.playerName);\n }\n });\n\n var settings = _DataManager.getInstanceData();\n if (!settings.publishSettings)\n {\n $(document.head).append('<script type=\"text/javascript\" src=\"./vwfdatamanager.svc/datafile/XAPIGame/gamegui.js\" ></script>')\n }\n","parameters":[]},"reset":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n var myself = this;\n\n function walk(node)\n {\n if (!node || node == myself || node == myself.Scene.children_by_name.Player) return;\n\n if (node.reset)\n node.reset();\n var children = node.children;\n for (var i = 0; i < children.length; i++)\n {\n if (children[i])\n walk(children[i]);\n }\n }\n var children = this.parent.children;\n for (var i = 0; i < children.length; i++)\n {\n walk(children[i]);\n }\n this.postSpawn();\n","parameters":[]}},"properties":{"DisplayName":"GameCode","NotProto":"","owner":"Rob","paused":false,"playerName":"Rob","registration":"b8cb7ddb-a081-baf8-ccb8-cdd9674db892","type":"behavior"},"random":{"c":1,"s0":0.61410125461407,"s1":0.146318237995729,"s2":0.355505408486351},"sequence":0,"name":"528b1838-cc3c-d7c-b8ee-17f0d5806c2c"},{"children":{"c51f8e7f-6e15-b0b0-e161-7e041a5b5c9e":{"extends":"uvmap.vwf","properties":{"DisplayName":"uvmap1","NotProto":"NOT!","_length":2.78,"height":2.73,"mode":"plane","owner":"Rob","plane":"y","quaternion":[0,0,0,1],"transform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"translation":[0,0,0],"type":"modifier","uoffset":0.34,"voffset":-0.07},"random":{"c":1,"s0":0.0115805226378143,"s1":0.223965629935265,"s2":0.206677667563781},"sequence":0,"source":"vwf/model/threejs/uvmap.js","type":"subDriver/threejs","name":"c51f8e7f-6e15-b0b0-e161-7e041a5b5c9e"},"fd05649d-f109-ef76-b8ea-396e783d8a20":{"extends":"hoverlabel.vwf","properties":{"DisplayName":"hoverlabel1","color":[0.933333333333333,0,1],"offset3D":[0,0,0.9],"owner":"Rob","text":"Start!","textsize":12,"type":"behavior"},"random":{"c":1,"s0":0.0182904226239771,"s1":0.415411794790998,"s2":0.657714408589527},"sequence":0,"name":"fd05649d-f109-ef76-b8ea-396e783d8a20"}},"extends":"cylinder2.vwf","properties":{"DisplayName":"cylinder1","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"height":0.26,"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"a":1,"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"blendMode":0,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"rot":0,"scalex":1,"scaley":1,"src":"./vwfdatamanager.svc/datafile/XAPIGame/teleport.png"}],"morphTargets":false,"reflect":0.8,"shadeless":false,"shadow":true,"shininess":15,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":1,"type":"phong"},"owner":"Rob","quaternion":[0,0,0,1],"radius":0.59,"rsegs":16,"size":[1,0.5,0.5],"tempid":"","texture":"checker.jpg","transform":[1,0,0,0,0,1,0,0,0,0,1,0,-7.551003932952881,-0.8910018801689148,-0.09300000220537186,1],"translation":[-7.551003932952881,-0.8910018801689148,-0.09300000220537186],"type":"Primitive"},"random":{"c":1,"s0":0.307763082440943,"s1":0.157772459322587,"s2":0.224498455645517},"sequence":0,"source":"vwf/model/threejs/cylinder.js","type":"subDriver/threejs","name":"57a66669-539-e627-73b-5a87c02bd688"},{"extends":"SandboxCamera.vwf","properties":{"DisplayName":"OverheadCam","far":1000,"fov":74,"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"blendMode":0,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"rot":0,"scalex":5.3,"scaley":6.1,"src":"/adl/sandbox/DnNE31e3uvYptRYw//vwfDataManager.svc/texture?UID=brick.jpg"}],"morphTargets":false,"reflect":0.1,"shininess":0.2,"side":0,"skinning":false,"specularColor":{"b":0.0666666666666667,"g":0.0666666666666667,"r":0.0666666666666667},"specularLevel":1,"type":"phong"},"owner":"Rob","quaternion":[-0.7071068286895752,0,0,0.7071067094802856],"transform":[1,0,0,0,0,-1.3078633287477714e-7,-0.9999998807907104,0,0,0.9999998807907104,-1.3078633287477714e-7,0,0.011422243900597095,-1.155956506729126,11.91999340057373,1],"translation":[0.011422243900597095,-1.155956506729126,11.91999340057373]},"random":{"c":1,"s0":0.293749240227044,"s1":0.289425936760381,"s2":0.0649766458664089},"sequence":0,"source":"vwf/model/threejs/camera.js","type":"subDriver/threejs","name":"58faf29-3658-392-e779-44d7f701f192"},{"children":{"908a2f13-4380-20a0-cf72-414a7ce1ca75":{"extends":"SandboxParticleSystem.vwf","methods":{"makeFlameSound":{"body":"\n\n\n\n\n\n\n this.audioAPI.stopSound(\"./vwfdatamanager.svc/datafile/XAPIGame/flame.mp3\");\n this.audioAPI.playSound(\"./vwfdatamanager.svc/datafile/XAPIGame/flame.mp3\", false, 100);\n","parameters":[]},"tick":{"body":"\n\n\n\n\n\n\n if (this.Scene.children_by_name.GameCode.paused === true) return;\n\n var localPlayer = this.transformAPI.globalToLocal(this.Scene.children_by_name.Player.transformAPI.getPosition());\n\n if (Math.abs(localPlayer[0]) < 1.5 && Math.abs(localPlayer[1]) < 1.5 && localPlayer[2] > -1 && localPlayer[2] < 6)\n {\n this.counter++;\n if (Math.sin(this.counter / 10) > 0)\n {\n if (this.visible == false)\n this.makeFlameSound();\n this.visible = true;\n }\n else\n this.visible = false;\n }\n else\n this.visible = false;\n\n if (Math.abs(localPlayer[0]) < .4 && Math.abs(localPlayer[1]) < .4 && localPlayer[2] > -.2 && localPlayer[2] < 3.5 && this.visible === true)\n {\n this.Scene.children_by_name.GameCode.postDeath(this.parent.DisplayName);\n this.Scene.children_by_name.Player.Die();\n }\n","parameters":[]}},"properties":{"DisplayName":"ParticleSystem1","additive":true,"counter":293668,"depthTest":false,"endColor":[0,0,0,0.6],"endSize":0.46,"image":"/adl/sandbox/DnNE31e3uvYptRYw//vwfDataManager.svc/texture?UID=fire.png","maxAcceleration":[0,0,-0.001],"maxLifeTime":91,"maxOrientation":13.4,"maxVelocity":[-0.007,-0.007,0.084],"minAcceleration":[0,0,-0.001],"minLifeTime":48,"minOrientation":-17.9,"minVelocity":[0.004,0.004,0.064],"owner":"vergenzs","solver":"AnalyticShader","startSize":0.18,"transform":[1,0,0,0,0,1,0,0,0,0,1,0,0.015921633690595627,0.017000118270516396,-0.09707215428352356,1],"translation":[0.015921633690595627,0.017000118270516396,-0.09707215428352356],"type":"ParticleSystem","visible":false},"random":{"c":1,"s0":0.465156200574711,"s1":0.393244100734591,"s2":0.144900905666873},"sequence":0,"name":"908a2f13-4380-20a0-cf72-414a7ce1ca75"}},"extends":"cone2.vwf","properties":{"DisplayName":"FlameThrower2","GameType":"FlameThrower","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"height":0.16,"materialDef":{"alpha":1,"ambient":{"b":0.0352941176470588,"g":0.0352941176470588,"r":0.580392156862745},"color":{"a":1,"b":0.0352941176470588,"g":0.0352941176470588,"r":0.580392156862745},"emit":{"b":0,"g":0,"r":1},"layers":[],"morphTargets":false,"reflect":0.8,"shadeless":false,"shadow":true,"shininess":15,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":1,"type":"phong"},"owner":"Rob","quaternion":[0.5,0.5,0.5,0.5],"radius":0.1,"size":[0.5,1,0.5],"tempid":"","texture":"checker.jpg","transform":[0,1,0,0,0,0,1,0,1,0,0,0,-8.50002670288086,-5.602114200592041,0.5,1],"translation":[-8.50002670288086,-5.602114200592041,0.5],"type":"Primitive"},"random":{"c":1,"s0":0.110157498857006,"s1":0.29614214762114,"s2":0.524260704638436},"sequence":0,"source":"vwf/model/threejs/cone.js","type":"subDriver/threejs","name":"591cb3cb-85c3-f604-78cf-740795683f0"},{"children":{"9f9ced25-4a85-6184-a3cb-781b2ce6eea3":{"extends":"uvmap.vwf","properties":{"DisplayName":"uvmap3","NotProto":"NOT!","_length":2.19,"height":2.32,"mode":"plane","owner":"Rob","plane":"y","quaternion":[0,0,0,1],"transform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"translation":[0,0,0],"type":"modifier","uoffset":0.34,"voffset":-0.07},"random":{"c":1,"s0":0.0343576180748641,"s1":0.70666490867734,"s2":0.0313245826400816},"sequence":0,"source":"vwf/model/threejs/uvmap.js","type":"subDriver/threejs","name":"9f9ced25-4a85-6184-a3cb-781b2ce6eea3"},"f66b15bf-7b14-34a4-9075-3e023509a8b3":{"extends":"SandboxParticleSystem.vwf","methods":{"makeRingSound":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n this.audioAPI.stopSound(\"./vwfdatamanager.svc/datafile/XAPIGame/ring.mp3\");\n this.audioAPI.playSound(\"./vwfdatamanager.svc/datafile/XAPIGame/ring.mp3\", false, 100);\n","parameters":[]},"reset":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n this.active = true;\n this.visible = false;\n","parameters":[]},"tick":{"body":"\n\n\n\n\n\n\n\n\n if (this.Scene.children_by_name.GameCode.paused === true) return;\n\n var localPlayer = this.transformAPI.globalToLocal(this.Scene.children_by_name.Player.transformAPI.getPosition());\n\n if (Vec3.magnitude(localPlayer) < .5)\n {\n if (this.visible == false)\n {\n this.active = false;\n this.Scene.children_by_name.GameCode.postWaypoint(this.parent.DisplayName); this.makeRingSound();\n }\n this.visible = true;\n }\n","parameters":[]}},"properties":{"DisplayName":"ParticleSystem4","active":true,"additive":true,"alphaTest":0.255,"counter":298728,"depthTest":false,"endColor":[0,0,0,0.6],"endSize":0.46,"image":"/adl/sandbox/1OimhGKL2jk8Fdh4//vwfDataManager.svc/datafile/XAPIGame/spark.jpg","maxAcceleration":[0,0,-0.001],"maxLifeTime":40,"maxOrientation":13.4,"maxVelocity":[-0.033,-0.037,0.012],"minAcceleration":[0,0,-0.001],"minLifeTime":38,"minOrientation":-17.9,"minVelocity":[0.027,0.03,0.012],"owner":"vergenzs","solver":"AnalyticShader","startColor":[0.254901960784314,0.4,0.980392156862745,0.45],"startSize":0.16,"transform":[-4.171958423171418e-8,-0.9999998807907104,7.915092599354231e-15,0,0.999919056892395,-4.1716212706433e-8,-0.012740704230964184,0,0.012740678153932095,-5.315541895534182e-10,0.9999189972877502,0,0.0068735480308532715,-0.012549042701721191,0.7300000786781311,1],"translation":[0.0068735480308532715,-0.012549042701721191,0.7300000786781311],"type":"ParticleSystem","visible":false},"random":{"c":1,"s0":0.960840939776972,"s1":0.824023353634402,"s2":0.6333122481592},"sequence":0,"name":"f66b15bf-7b14-34a4-9075-3e023509a8b3"}},"extends":"cylinder2.vwf","properties":{"DisplayName":"WayPoint1","GameType":"WayPoint","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"height":0.13,"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"a":1,"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"blendMode":0,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"rot":0,"scalex":1,"scaley":1,"src":"./vwfdatamanager.svc/datafile/XAPIGame/teleport.png"}],"morphTargets":false,"reflect":0.8,"shadeless":false,"shadow":true,"shininess":15,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":1,"type":"phong"},"owner":"Rob","quaternion":[0,0,0,1],"radius":0.48,"rsegs":16,"size":[1,0.5,0.5],"tempid":"","texture":"checker.jpg","transform":[1,0,0,0,0,1,0,0,0,0,1,0,-8.168293952941895,-9.588322639465332,0.15000000596046448,1],"translation":[-8.168293952941895,-9.588322639465332,0.15000000596046448],"type":"Primitive"},"random":{"c":1,"s0":0.168332272209227,"s1":0.443781930720434,"s2":0.811153281480074},"sequence":0,"source":"vwf/model/threejs/cylinder.js","type":"subDriver/threejs","name":"79e5f66a-e626-31a-a306-70235fb7249b"},{"extends":"box2.vwf","methods":{"makeGateSound":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n this.audioAPI.stopSound(\"./vwfdatamanager.svc/datafile/XAPIGame.boochch.mp3\");\n this.audioAPI.playSound(\"./vwfdatamanager.svc/datafile/XAPIGame/boochch.mp3\", false, 100);\n","parameters":[]},"tick":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n if (this.Scene.children_by_name.GameCode.paused === true) return;\n\n if (Vec3.distance(this.transformAPI.getPosition(), this.Scene.children_by_name.Player.transformAPI.getPosition()) < 1.5)\n {\n this.counter += 1;\n this.translation[2] = .5 + (Math.sin(this.counter / 3) + 1) / 2;\n if (this.translation[2] > .5 && this.translation[2] < .505)\n this.makeGateSound();\n if (Vec3.distance(this.transformAPI.getPosition(), this.Scene.children_by_name.Player.transformAPI.getPosition()) < .35)\n {\n this.Scene.children_by_name.Player.Die();\n this.Scene.children_by_name.GameCode.postDeath(this.DisplayName);\n }\n }\n","parameters":[]}},"properties":{"DisplayName":"Trapdoor1","GameType":"TrapDoor","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"_length":0.12,"counter":35190,"materialDef":{"alpha":1,"ambient":{"b":0.588235294117647,"g":0.588235294117647,"r":0.588235294117647},"color":{"a":1,"b":0.588235294117647,"g":0.588235294117647,"r":0.588235294117647},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"blendMode":0,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"rot":0,"scalex":1,"scaley":1,"src":"/adl/sandbox/DnNE31e3uvYptRYw//vwfDataManager.svc/texture?UID=\\wests_textures\\paneling.png"}],"morphTargets":false,"reflect":0.8,"shadeless":false,"shadow":true,"shininess":15,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":1,"type":"phong"},"owner":"Rob","quaternion":[0,0,0,1],"size":[1,1,1],"tempid":"","texture":"checker.jpg","transform":[1,0,0,0,0,1,0,0,0,0,1,0,-7.368267059326172,-6.439555644989014,0.5,1],"translation":[-7.368267059326172,-6.439555644989014,0.6752340956976758],"type":"Primitive","width":0.98},"random":{"c":1,"s0":0.238688198151067,"s1":0.204870774177834,"s2":0.36744123371318},"sequence":0,"source":"vwf/model/threejs/box.js","type":"subDriver/threejs","name":"8cbf7546-c4-c6f7-e4cd-c4261c317c42"},{"children":{"30e56e3a-e0ed-6f6-55aa-111c312af45":{"extends":"SandboxParticleSystem.vwf","methods":{"makeFlameSound":{"body":"\n this.audioAPI.stopSound(\"./vwfdatamanager.svc/datafile/XAPIGame/flame.mp3\");\n this.audioAPI.playSound(\"./vwfdatamanager.svc/datafile/XAPIGame/flame.mp3\", false, 100);\n","parameters":[]},"tick":{"body":"\n if (this.Scene.children_by_name.GameCode.paused === true) return;\n\n var localPlayer = this.transformAPI.globalToLocal(this.Scene.children_by_name.Player.transformAPI.getPosition());\n\n if (Math.abs(localPlayer[0]) < 1.5 && Math.abs(localPlayer[1]) < 1.5 && localPlayer[2] > -1 && localPlayer[2] < 6)\n {\n this.counter++;\n if (Math.sin(this.counter / 10) > 0)\n {\n if (this.visible == false)\n this.makeFlameSound();\n this.visible = true;\n }\n else\n this.visible = false;\n }\n else\n this.visible = false;\n\n if (Math.abs(localPlayer[0]) < .4 && Math.abs(localPlayer[1]) < .4 && localPlayer[2] > -.2 && localPlayer[2] < 3.5 && this.visible === true)\n {\n this.Scene.children_by_name.GameCode.postDeath(this.parent.DisplayName);\n this.Scene.children_by_name.Player.Die();\n }\n","parameters":[]}},"properties":{"DisplayName":"ParticleSystem1","additive":true,"counter":293654,"depthTest":false,"endAlpha":0.6,"endColor":[0,0,0,0.6],"endSize":0.46,"image":"/adl/sandbox/DnNE31e3uvYptRYw//vwfDataManager.svc/texture?UID=fire.png","maxAcceleration":[0,0,-0.001],"maxLifeTime":91,"maxOrientation":13.4,"maxVelocity":[-0.007,-0.007,0.084],"minAcceleration":[0,0,-0.001],"minLifeTime":48,"minOrientation":-17.9,"minVelocity":[0.004,0.004,0.064],"owner":"vergenzs","solver":"AnalyticShader","startSize":0.18,"transform":[0.9999998807907104,3.0720584801339438e-15,4.1719598442568895e-8,0,1.321999049130624e-15,1.000000238418579,-8.121186567677796e-8,0,-4.171959133714154e-8,8.12118585713506e-8,1.0000001192092896,0,0.015921633690595627,0.017000118270516396,-0.09707215428352356,1],"type":"ParticleSystem","visible":false},"random":{"c":1,"s0":0.826795142842457,"s1":0.308137990534306,"s2":0.67542101838626},"sequence":0,"name":"30e56e3a-e0ed-6f6-55aa-111c312af45"}},"extends":"cone2.vwf","properties":{"DisplayName":"FlameThrower3","GameType":"FlameThrower","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"height":0.16,"materialDef":{"shininess":15,"alpha":1,"ambient":{"r":0.5803921568627451,"g":0.03529411764705882,"b":0.03529411764705882},"color":{"r":0.5803921568627451,"g":0.03529411764705882,"b":0.03529411764705882,"a":1},"emit":{"r":1,"g":0,"b":0},"reflect":0.8,"shadeless":false,"shadow":true,"specularColor":{"r":0.5773502691896258,"g":0.5773502691896258,"b":0.5773502691896258},"specularLevel":1,"layers":[],"morphTargets":false,"skinning":false,"type":"phong"},"owner":"Rob","quaternion":[-0.7071067690849304,0,0,0.7071068286895752],"radius":0.1,"rotation":[-1,0,0,89.99999237060547],"scale":[1,0.9999998211860657,0.9999998211860657],"size":[0.5,1,0.5],"tempid":"","texture":"checker.jpg","transform":[3.892134543548309e-7,-1,0,0,0,0,1,0,-1,-3.892134543548309e-7,-1.3959507958378776e-16,0,5.765370845794678,-2.2212860584259033,0.5,1],"translation":[5.765370649963433,-2.2212861642845563,0.5000000000000002],"type":"Primitive"},"random":{"c":1,"s0":0.522280551958829,"s1":0.100714337546378,"s2":0.498434046749026},"sequence":0,"source":"vwf/model/threejs/cone.js","type":"subDriver/threejs","name":"9cb145ed-fe66-327d-2f50-82cd1c4077e"},{"children":{"8acf61a-ac8e-c581-ccfd-dee82564078":{"extends":"SandboxParticleSystem.vwf","methods":{"makeFlameSound":{"body":"\n\n\n\n\n\n\n this.audioAPI.stopSound(\"./vwfdatamanager.svc/datafile/XAPIGame/flame.mp3\");\n this.audioAPI.playSound(\"./vwfdatamanager.svc/datafile/XAPIGame/flame.mp3\", false, 100);\n","parameters":[]},"tick":{"body":"\n\n\n\n\n\n\n if (this.Scene.children_by_name.GameCode.paused === true) return;\n\n var localPlayer = this.transformAPI.globalToLocal(this.Scene.children_by_name.Player.transformAPI.getPosition());\n\n if (Math.abs(localPlayer[0]) < 1.5 && Math.abs(localPlayer[1]) < 1.5 && localPlayer[2] > -1 && localPlayer[2] < 6)\n {\n this.counter++;\n if (Math.sin(this.counter / 10) > 0)\n {\n if (this.visible == false)\n this.makeFlameSound();\n this.visible = true;\n }\n else\n this.visible = false;\n }\n else\n this.visible = false;\n\n if (Math.abs(localPlayer[0]) < .4 && Math.abs(localPlayer[1]) < .4 && localPlayer[2] > -.2 && localPlayer[2] < 3.5 && this.visible === true)\n {\n this.Scene.children_by_name.GameCode.postDeath(this.parent.DisplayName);\n this.Scene.children_by_name.Player.Die();\n }\n","parameters":[]}},"properties":{"DisplayName":"ParticleSystem1","additive":true,"counter":293668,"depthTest":false,"endColor":[0,0,0,0.6],"endSize":0.46,"image":"/adl/sandbox/DnNE31e3uvYptRYw//vwfDataManager.svc/texture?UID=fire.png","maxAcceleration":[0,0,-0.001],"maxLifeTime":91,"maxOrientation":13.4,"maxVelocity":[-0.007,-0.007,0.084],"minAcceleration":[0,0,-0.001],"minLifeTime":48,"minOrientation":-17.9,"minVelocity":[0.004,0.004,0.064],"owner":"vergenzs","solver":"AnalyticShader","startSize":0.18,"transform":[1,0,0,0,0,1,0,0,0,0,1,0,0.015921633690595627,0.017000118270516396,-0.09707215428352356,1],"translation":[0.015921633690595627,0.017000118270516396,-0.09707215428352356],"type":"ParticleSystem","visible":false},"random":{"c":1,"s0":0.349977965699509,"s1":0.280897714197636,"s2":0.0766798630356789},"sequence":0,"name":"8acf61a-ac8e-c581-ccfd-dee82564078"}},"extends":"cone2.vwf","properties":{"DisplayName":"FlameThrower1","GameType":"FlameThrower","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"height":0.16,"materialDef":{"alpha":1,"ambient":{"b":0.0352941176470588,"g":0.0352941176470588,"r":0.580392156862745},"color":{"a":1,"b":0.0352941176470588,"g":0.0352941176470588,"r":0.580392156862745},"emit":{"b":0,"g":0,"r":1},"layers":[],"morphTargets":false,"reflect":0.8,"shadeless":false,"shadow":true,"shininess":15,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":1,"type":"phong"},"owner":"Rob","quaternion":[0.5,-0.5,-0.5,0.5],"radius":0.1,"size":[0.5,1,0.5],"tempid":"","texture":"checker.jpg","transform":[0,-1,0,0,0,0,1,0,-1,0,0,0,-5.844048023223877,-5.540787696838379,0.5,1],"translation":[-5.844048023223877,-5.540787696838379,0.5],"type":"Primitive"},"random":{"c":1,"s0":0.870513870147988,"s1":0.497386750532314,"s2":0.936224479228258},"sequence":0,"source":"vwf/model/threejs/cone.js","type":"subDriver/threejs","name":"a14c53e0-14d9-2c9c-30ec-9dcce0010bf"},{"children":{"15a0b433-725a-7c58-a53a-d3a52296efd9":{"children":{"3ee14198-1420-926a-e5c6-22d85be97c00":{"extends":"asset.vwf","properties":{"DisplayName":"truck","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"scalex":1,"scaley":1,"src":"./vwfdatamanager.svc/datafile/XAPIGame/paneltruck.png"}],"morphTargets":false,"reflect":0,"shininess":1,"side":0,"skinning":false,"specularColor":{"b":1,"g":1,"r":1},"specularLevel":1,"type":"phong"},"owner":"Rob","transform":[0.005164550617337227,0.39996662735939026,0,0,2.0162806979584502e-9,-2.6034740335800777e-11,0.4000000059604645,0,0.39996662735939026,-0.005164550617337227,-2.016449673902798e-9,0,0.2001999169588089,-0.6000019907951355,0.023793736472725868,1],"translation":[0.2001999169588089,-0.6000019907951355,0.023793736472725868]},"random":{"c":1,"s0":0.601201624143869,"s1":0.0353553316090256,"s2":0.457793089793995},"sequence":0,"source":"./vwfdatamanager.svc/datafile/XAPIGame/GamePanelTruck.json","type":"subDriver/threejs/asset/vnd.osgjs+json+compressed","name":"3ee14198-1420-926a-e5c6-22d85be97c00"}},"extends":"box2.vwf","properties":{"DisplayName":"Ship","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"_length":0,"height":0.06,"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"a":1,"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"blendMode":0,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"rot":0,"scalex":1,"scaley":1,"src":"checker.jpg"}],"morphTargets":false,"reflect":0.8,"shadeless":false,"shadow":true,"shininess":15,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":1,"type":"phong"},"owner":"Rob","size":[1,1,1],"tempid":"","texture":"checker.jpg","transform":[0.00001001734290184686,-0.9999996423721313,0.0010302640730515122,0,1.0000001192092896,0.000010017347449320368,0,0,-1.0320510668293537e-8,0.0010302639566361904,0.999999463558197,0,-0.0030044326558709145,-0.07700011879205704,-0.30900001525878906,1],"translation":[-0.0030044326558709145,-0.07700011879205704,-0.30900001525878906],"type":"Primitive","visible":true,"width":0.1},"random":{"c":1,"s0":0.0230230980087072,"s1":0.0933316189330071,"s2":0.181355822365731},"sequence":0,"source":"vwf/model/threejs/box.js","type":"subDriver/threejs","name":"15a0b433-725a-7c58-a53a-d3a52296efd9"},"1e8f40f1-7ad6-f731-62d0-65bccbc91286":{"extends":"SandboxCamera.vwf","properties":{"DisplayName":"ChaseCam","fov":74,"owner":"Rob","transform":[1,0,0,0,0,0.8660255670547485,-0.5000000596046448,0,0,0.5000000596046448,0.8660255670547485,0,-0.1387643814086914,-1.1550631523132324,1.225171446800232,1],"translation":[-0.1387643814086914,-1.1550631523132324,1.225171446800232]},"random":{"c":1,"s0":0.66005057701841,"s1":0.261992189334705,"s2":0.890604599611834},"sequence":0,"source":"vwf/model/threejs/camera.js","type":"subDriver/threejs","name":"1e8f40f1-7ad6-f731-62d0-65bccbc91286"},"24623952-8037-e5d2-7651-8bc5b9a26b5a":{"extends":"SandboxCamera.vwf","properties":{"DisplayName":"TopCam","far":1000,"fov":81,"owner":"Rob","transform":[1,0,0,0,0,0.14711886644363403,-0.9891186952590942,0,0,0.9891186952590942,0.14711886644363403,0,-0.005886853206902742,-0.5893968939781189,2.674015760421753,1],"translation":[-0.005886853206902742,-0.5893968939781189,2.674015760421753]},"random":{"c":1,"s0":0.334513067733496,"s1":0.52267289115116,"s2":0.855998533079401},"sequence":0,"source":"vwf/model/threejs/camera.js","type":"subDriver/threejs","name":"24623952-8037-e5d2-7651-8bc5b9a26b5a"},"6b6e6aa3-bab7-9e12-16e1-3e54f035c875":{"extends":"SandboxParticleSystem.vwf","methods":{"hide":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n this.visible = false;\n","parameters":[]}},"properties":{"DisplayName":"ParticleSystem1","additive":true,"damping":0.71,"depthTest":false,"endColor":[0,0,0,0.19],"endSize":0.37,"gravity":0.01,"image":"/adl/sandbox/p7jjNfdWCRtxqLAE//vwfDataManager.svc/texture?UID=fire.jpg","mamSpin":3.3,"maxAcceleration":[0,0,0],"maxLifeTime":33,"maxOrientation":15.7,"maxRate":10000000.001,"maxVelocity":[-1,-1,-0.00159999999999817],"minAcceleration":[0,0,0],"minLifeTime":33,"minOrientation":-22.5,"minSpin":-9.3,"minVelocity":[1,1,0.1],"owner":"Rob","solver":"Analytic","startSize":0.86,"transform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"translation":[0,0,0],"type":"ParticleSystem","velocityMode":"spherical","visible":false},"random":{"c":1,"s0":0.750982497818768,"s1":0.964711369713768,"s2":0.593375997850671},"sequence":0,"name":"6b6e6aa3-bab7-9e12-16e1-3e54f035c875"}},"extends":"sphere2.vwf","methods":{"Die":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n this.audioAPI.playSound(\"./vwfdatamanager.svc/datafile/XAPIGame/explode.mp3\", false, 100);\n\n this.Scene.children_by_name.GameCode.paused = true;\n this.children_by_name.ParticleSystem1.visible = true;\n this.children_by_name.ParticleSystem1.future(.5).hide();\n this.children_by_name.ParticleSystem1.maxVelocity[2] += .0001;\n \n this.children_by_name.Ship.visible = false;\n this.future(2).reset();\n alertify.error('You died!', function() {\n\n }.bind(this));\n","parameters":[]},"ready":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n this.Scene.unbind('keyDown', this.keydownfunc);\n this.Scene.unbind('keyUp', this.keyupfunc);\n\n var self = this;\n this.keydownfunc = function(keyData)\n {\n\n self.lastKeyDown = keyData.key.char;\n if (keyData.key.char == 'W')\n self.movement = Vec3.add(self.movement.internal_val, [0, .3, 0], []);\n if (keyData.key.char == 'S')\n self.movement = Vec3.add(self.movement.internal_val, [0, -0.3, 0], []);\n if (keyData.key.char == 'A')\n self.movement = Vec3.add(self.movement.internal_val, [-.3, 0, 0], []);\n if (keyData.key.char == 'D')\n self.movement = Vec3.add(self.movement.internal_val, [.3, 0, 0], []);\n\n console.log(self.movement.internal_val);\n };\n\n this.keyupfunc = function(keyData)\n {\n //if (keyData.key && keyData.key.char == self.lastKeyDown)\n // self.movement = [0, 0, 0];\n if (keyData.key.char == 'W')\n self.movement = Vec3.add(self.movement.internal_val, [0, -.3, 0], []);\n if (keyData.key.char == 'S')\n self.movement = Vec3.add(self.movement.internal_val, [0, .3, 0], []);\n if (keyData.key.char == 'A')\n self.movement = Vec3.add(self.movement.internal_val, [.3, 0, 0], []);\n if (keyData.key.char == 'D')\n self.movement = Vec3.add(self.movement.internal_val, [-.3, 0, 0], []);\n };\n\n this.Scene.bind('keyDown', this.keydownfunc);\n this.Scene.bind('keyUp', this.keyupfunc);\n self.movement = [0, 0, 0];\n //This function was created for you by the system. \n //The scene is now completely loaded. This will fire on each client when the client joins, so it`s not a great place to create objects\n","parameters":[]},"reset":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n this.Scene.children_by_name.GameCode.paused = false;\n var origin = [-7.31, -1.263, .1];\n this.transformAPI.setPosition(origin[0], origin[1], origin[2] + .5);\n this.children_by_name.ParticleSystem1.visible = false;\n\n this.timer = 0;\n this.children_by_name.Ship.visible = true;\n this.Scene.children_by_name.GameCode.reset();\n","parameters":[]},"tick":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n if (this.Scene.children_by_name.GameCode.paused === true) return;\n //This function was created for you by the system. \n //The tick function is called 20 times every second. \n // Write code here to animate over time\n \n var hits = this.tryMove(this.movement);\n\n if (Vec3.magnitude(this.movement.internal_val) > .0001)\n this.children_by_name.Ship.transformAPI.lookat(Vec3.scale(\n [this.movement[0], this.movement[1], 0], 1000, []), '', 'X', 'Z');\n\n var offset = Vec3.clone(this.movement.internal_val);\n var count = 0;\n while (hits && Vec3.magnitude(offset) > .001 && count < 10)\n {\n count++;\n offset = Vec3.scale(offset, .5, []);\n hits = this.tryMove(offset);\n }\n if (!hits)\n this.transformAPI.move(offset[0], offset[1], offset[2]);\n else\n {\n\n }\n this.timer += 1.0 / 30.0;\n","parameters":[]},"tryMove":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n if (Vec3.magnitude(dir) == 0) return false;\n\n var transform = this.translation.internal_val;\n var newpos = Vec3.add(transform, dir, []);\n var hits = _SceneManager.SphereCast(newpos, .27,\n {\n OneHitPerMesh: false,\n ignore: [_dSky, _Editor.findviewnode(this.id),_Editor.findviewnode(\"sandboxGroup-vwf-ff144e59-a5d8-d4b0-94ed-641a4d60d49\")]\n });\n\n if (hits && hits.length)\n {\n return hits;\n }\n return false;\n","parameters":["dir"]}},"properties":{"DisplayName":"Player","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"materialDef":{"alpha":1,"ambient":{"b":1,"g":0,"r":0.0823529411764706},"color":{"a":1,"b":1,"g":0,"r":0.0823529411764706},"emit":{"b":0,"g":0,"r":0},"layers":[],"morphTargets":false,"reflect":0.8,"shadeless":false,"shadow":true,"shininess":15,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":1,"type":"phong"},"movement":[0,0,0],"owner":"Rob","quaternion":[0,0,0,1],"radius":0.3,"size":[0.5,1,1],"tempid":"","texture":"checker.jpg","time":0,"timer":3.8333333333333295,"transform":[1,0,0,0,0,1,0,0,0,0,1,0,-7.309999942779541,-1.2630000114440918,0.6000000238418579,1],"translation":[-7.309999942779541,-1.2630000114440918,0.6000000238418579],"type":"Primitive","visible":false},"random":{"c":1,"s0":0.489484123885632,"s1":0.787186275236309,"s2":0.766554398229346},"sequence":0,"source":"vwf/model/threejs/sphere.js","type":"subDriver/threejs","name":"d7ab6422-9b04-f46f-9247-620e3217770e"},{"children":{"6d482e8-f3cf-eeee-ce28-77c685817e46":{"children":{"d7355484-de05-9a75-373c-bccd741374d7":{"extends":"rotator.vwf","properties":{"Active":true,"DisplayName":"rotator1","Local":true,"owner":"Rob","type":"behavior"},"random":{"c":1,"s0":0.374866498634219,"s1":0.831964534241706,"s2":0.533414667937905},"sequence":0,"name":"d7355484-de05-9a75-373c-bccd741374d7"}},"extends":"cone2.vwf","properties":{"DisplayName":"cone1","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"height":0.69,"materialDef":{"alpha":0.39,"ambient":{"b":1,"g":0,"r":0.0823529411764706},"color":{"a":1,"b":1,"g":0,"r":0.0823529411764706},"emit":{"b":0,"g":0,"r":0},"layers":[],"morphTargets":false,"reflect":0.8,"shadeless":false,"shadow":true,"shininess":10,"side":1,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":10,"type":"phong"},"owner":"Rob","radius":0.33,"rsegs":3,"size":[0.5,1,0.5],"tempid":"","texture":"checker.jpg","transform":[0.5638859272003174,-0.7038975954055786,0.4319497048854828,0,-0.8257589936256409,-0.47209781408309937,0.3086518943309784,0,-0.0133369704708457,-0.530719518661499,-0.8474418520927429,0,-2.9802322831784522e-9,0.0317564494907856,1.367362141609192,1],"translation":[-2.9802322831784522e-9,0.0317564494907856,1.367362141609192],"type":"Primitive"},"random":{"c":1,"s0":0.673546148231253,"s1":0.329978154040873,"s2":0.257451710291207},"sequence":0,"source":"vwf/model/threejs/cone.js","type":"subDriver/threejs","name":"6d482e8-f3cf-eeee-ce28-77c685817e46"},"f280a341-263e-dd03-9dcc-9beb6d0a4243":{"extends":"hoverlabel.vwf","properties":{"DisplayName":"hoverlabel1","color":[1,0,0.635294117647059],"offset3D":[0,0,0.9],"owner":"Rob","text":"Goal!","textsize":16,"type":"behavior"},"random":{"c":1,"s0":0.235764436423779,"s1":0.838487991364673,"s2":0.67600059369579},"sequence":0,"name":"f280a341-263e-dd03-9dcc-9beb6d0a4243"}},"extends":"cylinder2.vwf","methods":{"playWinSound":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n this.audioAPI.stopSound(\"./vwfdatamanager.svc/datafile/XAPIGame/win.mp3\");\n this.audioAPI.playSound(\"./vwfdatamanager.svc/datafile/XAPIGame/win.mp3\", false, 100);\n","parameters":[]},"tick":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n if (Vec3.distance(this.transformAPI.getPosition(), this.Scene.children_by_name.Player.transformAPI.getPosition()) < 1.8)\n {\n // alertify.alert(\"You Win!\");\n this.Scene.children_by_name.GameCode.postSuccess();\n this.Scene.children_by_name.Player.reset();\n this.playWinSound();\n\n }\n","parameters":[]}},"properties":{"DisplayName":"cylinder1","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"height":0.26,"materialDef":{"alpha":1,"ambient":{"b":0.0901960784313725,"g":0.670588235294118,"r":0},"color":{"a":1,"b":0.0901960784313725,"g":0.670588235294118,"r":0},"emit":{"b":0,"g":0,"r":0},"layers":[],"morphTargets":false,"reflect":0.8,"shadeless":false,"shadow":true,"shininess":15,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":1,"type":"phong"},"owner":"Rob","quaternion":[0,0,0,1],"radius":0.46,"rsegs":8,"size":[1,0.5,0.5],"tempid":"","texture":"checker.jpg","transform":[1,0,0,0,0,1,0,0,0,0,1,0,1.1799986362457275,6.448997497558594,-0.14600002765655518,1],"translation":[1.1799986362457275,6.448997497558594,-0.14600002765655518],"type":"Primitive"},"random":{"c":1,"s0":0.723132537910715,"s1":0.637780156685039,"s2":0.0355265494436026},"sequence":0,"source":"vwf/model/threejs/cylinder.js","type":"subDriver/threejs","name":"df9935e2-56fa-59c0-5a00-3306185e5bd8"},{"children":{"2ecb18d8-5ee4-3751-8726-ced2c14032ea":{"children":{"566b7b2e-8686-451e-a7e0-cf25eed33cb4":{"extends":"asset.vwf","properties":{"___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"scalex":1,"scaley":1,"src":"./vwfdatamanager.svc/datafile/XAPIGame/policecar.png"}],"morphTargets":false,"reflect":0,"shininess":1,"side":0,"skinning":false,"specularColor":{"b":1,"g":1,"r":1},"specularLevel":1,"type":"phong"},"owner":"Rob","transform":[6.735213081698888e-11,-0.39993909001350403,0.006980963051319122,0,1.2635426038798414e-10,0.0069635105319321156,0.39893922209739685,0,-0.4000000059604645,-6.513115741180187e-11,1.2782709613023968e-10,0,0,0,-0.3349999785423279,1],"translation":[0,0,-0.3349999785423279]},"random":{"c":1,"s0":0.953633794793859,"s1":0.951581143541262,"s2":0.0818706699647009},"sequence":0,"source":"./vwfdatamanager.svc/datafile/XAPIGame/PoliceCar.json","type":"subDriver/threejs/asset/vnd.osgjs+json+compressed","name":"566b7b2e-8686-451e-a7e0-cf25eed33cb4"}},"extends":"sphere2.vwf","properties":{"DisplayName":"Ship","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"a":1,"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"blendMode":0,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"rot":0,"scalex":1,"scaley":1,"src":"checker.jpg"}],"morphTargets":false,"reflect":0.8,"shadeless":false,"shadow":true,"shininess":15,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":1,"type":"phong"},"owner":"Rob","radius":0.23,"size":[0.5,1,1],"tempid":"","texture":"checker.jpg","transform":[-1,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,1],"translation":[0,0,0],"type":"Primitive","visible":false},"random":{"c":1,"s0":0.216963760089129,"s1":0.302025123033673,"s2":0.709411301417276},"sequence":0,"source":"vwf/model/threejs/sphere.js","type":"subDriver/threejs","name":"2ecb18d8-5ee4-3751-8726-ced2c14032ea"}},"extends":"sphere2.vwf","methods":{"doMove":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n this.transformAPI.move(x, y, z);\n this.children_by_name.Ship.transformAPI.lookat([x*100,y*100,0],'','X','Z');\n","parameters":["x","y","z"]},"reset":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n if(this.startingLocation)\n {\n this.transformAPI.setPosition(this.startingLocation); \n }\n","parameters":[]},"tick":{"body":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n if (this.Scene.children_by_name.GameCode.paused === true) return;\n //This function was created for you by the system. \n //The tick function is called 20 times every second. \n // Write code here to animate over time\n var toPlayer = Vec3.subtract(this.Scene.children_by_name.Player.transformAPI.getPosition(), this.transformAPI.getPosition(), []);\n var hits = this.Scene.traceAPI.rayCast(this.transformAPI.getPosition(), toPlayer,\n {\n ignore: [this.id]\n });\n if (!this.sign)\n this.sign = function(num)\n {\n return num > 0 ? 1 : -1;\n }\n\n if (Vec3.distance(this.transformAPI.getPosition(), this.Scene.children_by_name.Player.transformAPI.getPosition()) < .74)\n {\n\n if (hits.node == this.Scene.children_by_name.Player)\n {\n this.Scene.children_by_name.Player.Die();\n this.Scene.children_by_name.GameCode.postDeath(this.DisplayName);\n }\n }\n else if (Vec3.distance(this.transformAPI.getPosition(), this.Scene.children_by_name.Player.transformAPI.getPosition()) < 4)\n {\n var max = Math.max(Math.abs(toPlayer[0]), Math.abs(toPlayer[1]), Math.abs(toPlayer[2]));\n if (max == Math.abs(toPlayer[0]))\n if (this.tryMove([this.sign(toPlayer[0]) / 10, 0, 0]))\n this.doMove(this.sign(toPlayer[0]) / 10, 0, 0);\n else if (this.tryMove([0, this.sign(toPlayer[1]) / 10, 0]))\n this.doMove(0, this.sign(toPlayer[1]) / 10, 0);\n if (max == Math.abs(toPlayer[1]))\n if (this.tryMove([0, this.sign(toPlayer[1]) / 10, 0]))\n this.doMove(0, this.sign(toPlayer[1]) / 10, 0);\n else if (this.tryMove([this.sign(toPlayer[0]) / 10, 0, 0]))\n this.doMove(this.sign(toPlayer[0]) / 10, 0, 0);\n\n }\n","parameters":[]},"tryMove":{"body":"\n\n\n\n\n\n\n\n if (Vec3.magnitude(dir) == 0) return false;\n\n var transform = this.translation.internal_val;\n var newpos = Vec3.add(transform, dir, []);\n var hits = _SceneManager.SphereCast(newpos, .3,\n {\n OneHitPerMesh: true,\n ignore: [_dSky, _Editor.findviewnode(this.id),_Editor.findviewnode(\"sandboxGroup-vwf-ff144e59-a5d8-d4b0-94ed-641a4d60d49\")]\n });\n\n if (hits && hits.length)\n {\n\n return false;\n }\n return true;\n","parameters":["dir"]}},"properties":{"DisplayName":"Enemy1","GameType":"Enemy","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"materialDef":{"alpha":1,"ambient":{"b":0.0745098039215686,"g":0.0745098039215686,"r":0.941176470588235},"color":{"a":1,"b":0.0745098039215686,"g":0.0745098039215686,"r":0.941176470588235},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"blendMode":0,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"rot":0,"scalex":1,"scaley":1,"src":"checker.jpg"}],"morphTargets":false,"reflect":0.8,"shadeless":false,"shadow":true,"shininess":15,"skinning":false,"specularColor":{"b":0.577350269189626,"g":0.577350269189626,"r":0.577350269189626},"specularLevel":1,"type":"phong"},"owner":"Rob","radius":0.42,"size":[0.5,1,1],"startingLocation":[-1.39908254164381,-9.39210848996257,0.55],"tempid":"","texture":"checker.jpg","transform":[-0.9999918341636658,-0.004014354199171066,0,0,0.004014354199171066,-0.9999918341636658,0,0,0,0,1,0,-1.3990825414657593,-9.392108917236328,0.550000011920929,1],"translation":[-1.3990825414657593,-9.392108917236328,0.550000011920929],"type":"Primitive","visible":false},"random":{"c":1,"s0":0.201469623949379,"s1":0.204106712946668,"s2":0.828892245423049},"sequence":0,"source":"vwf/model/threejs/sphere.js","type":"subDriver/threejs","name":"fe684a65-7a34-ce72-f944-8853f1f33815"},{"children":{"7577be93-1b73-80b6-469d-70604810dd65":{"children":{"27878cb4-4739-f2d4-e22f-83c5b4d558":{"extends":"asset.vwf","properties":{"DisplayName":"node-Curbs","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"scalex":1,"scaley":1,"src":"./vwfdatamanager.svc/datafile/XAPIGame/curb.png"}],"morphTargets":false,"reflect":0,"shininess":0.6,"side":0,"skinning":false,"specularColor":{"b":0,"g":0,"r":0},"specularLevel":1,"type":"phong"},"owner":"Rob","transform":[0.3937009871006012,0,0,0,0,8.741919999168254e-17,0.3937009871006012,0,0,-0.3937009871006012,8.741919999168254e-17,0,0,0,0,1],"translation":[0,0,0],"type":"3DR Object"},"random":{"c":1,"s0":0.289539704332128,"s1":0.291034385561943,"s2":0.87710920907557},"sequence":0,"source":"node-Curbs","type":"link_existing/threejs","name":"27878cb4-4739-f2d4-e22f-83c5b4d558"},"406373a-419-8bdf-d9a3-d2c2e630c2f3":{"extends":"asset.vwf","properties":{"DisplayName":"node-ConcreteBackdrop","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"scalex":1,"scaley":1,"src":"./vwfdatamanager.svc/datafile/XAPIGame/concrete_pad.png"}],"morphTargets":false,"reflect":0,"shininess":0,"side":0,"skinning":false,"specularColor":{"b":0,"g":0,"r":0},"specularLevel":1,"type":"phong"},"owner":"Rob","transform":[0.3937009871006012,0,0,0,0,8.741919999168254e-17,0.3937009871006012,0,0,-0.3937009871006012,8.741919999168254e-17,0,0,0,0,1],"translation":[0,0,0],"type":"3DR Object"},"random":{"c":1,"s0":0.393710754346102,"s1":0.0822572635952383,"s2":0.314054609509185},"sequence":0,"source":"node-ConcreteBackdrop","type":"link_existing/threejs","name":"406373a-419-8bdf-d9a3-d2c2e630c2f3"},"544ee70-69e7-7402-a049-1b01af125b59":{"extends":"asset.vwf","properties":{"DisplayName":"node-Intersections","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"scalex":1,"scaley":1,"src":"./vwfdatamanager.svc/datafile/XAPIGame/main_intersections.png"}],"morphTargets":false,"reflect":0,"shininess":0.2,"side":0,"skinning":false,"specularColor":{"b":0,"g":0,"r":0},"specularLevel":1,"type":"phong"},"owner":"Rob","transform":[0.3937009871006012,0,0,0,0,8.741919999168254e-17,0.3937009871006012,0,0,-0.3937009871006012,8.741919999168254e-17,0,0,0,0,1],"translation":[0,0,0],"type":"3DR Object"},"random":{"c":1,"s0":0.668747626710683,"s1":0.546453263843432,"s2":0.918419106630608},"sequence":0,"source":"node-Intersections","type":"link_existing/threejs","name":"544ee70-69e7-7402-a049-1b01af125b59"},"7c894861-767a-ce68-2e70-e1fdd8cfce71":{"extends":"asset.vwf","properties":{"DisplayName":"node-Roads","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"scalex":1,"scaley":1,"src":"./vwfdatamanager.svc/datafile/XAPIGame/main_road.png"}],"morphTargets":false,"reflect":0,"shininess":0.2,"side":0,"skinning":false,"specularColor":{"b":0.9,"g":0.9,"r":0.9},"specularLevel":1,"type":"phong"},"owner":"Rob","transform":[0.3937009871006012,0,0,0,0,8.741919999168254e-17,0.3937009871006012,0,0,-0.3937009871006012,8.741919999168254e-17,0,0,0,0,1],"translation":[0,0,0],"type":"3DR Object"},"random":{"c":1,"s0":0.188105322187766,"s1":0.0735020318534225,"s2":0.931469126837328},"sequence":0,"source":"node-Roads","type":"link_existing/threejs","name":"7c894861-767a-ce68-2e70-e1fdd8cfce71"},"8341f8fc-6014-3900-b3ca-356ef2cf7854":{"extends":"asset.vwf","properties":{"DisplayName":"node-Curbs2","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"scalex":1,"scaley":1,"src":"./vwfdatamanager.svc/datafile/XAPIGame/curb.png"}],"morphTargets":false,"reflect":0,"shininess":0.6,"side":0,"skinning":false,"specularColor":{"b":0,"g":0,"r":0},"specularLevel":1,"type":"phong"},"owner":"Rob","transform":[0.3937009871006012,0,0,0,0,8.741919999168254e-17,0.3937009871006012,0,0,-0.3937009871006012,8.741919999168254e-17,0,0,0,0,1],"translation":[0,0,0],"type":"3DR Object"},"random":{"c":1,"s0":0.671664703870192,"s1":0.906491779955104,"s2":0.765995352528989},"sequence":0,"source":"node-Curbs2","type":"link_existing/threejs","name":"8341f8fc-6014-3900-b3ca-356ef2cf7854"},"bc9cd1fd-f073-3b1f-42ca-65063e518f0":{"extends":"asset.vwf","properties":{"DisplayName":"node-Start","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"scalex":1,"scaley":1,"src":"./vwfdatamanager.svc/datafile/XAPIGame/start_end.png"}],"morphTargets":false,"reflect":0,"shininess":1.128772,"side":0,"skinning":false,"specularColor":{"b":0,"g":0,"r":0},"specularLevel":1,"type":"phong"},"owner":"Rob","transform":[0.3937009871006012,0,0,0,0,8.741919999168254e-17,0.3937009871006012,0,0,-0.3937009871006012,8.741919999168254e-17,0,0,0,0,1],"translation":[0,0,0],"type":"3DR Object"},"random":{"c":1,"s0":0.0898619326762855,"s1":0.483161891112104,"s2":0.7960892082192},"sequence":0,"source":"node-Start","type":"link_existing/threejs","name":"bc9cd1fd-f073-3b1f-42ca-65063e518f0"},"cc447b53-f867-d269-1e0b-a9d6bc765210":{"extends":"asset.vwf","properties":{"DisplayName":"node-Finish","___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"scalex":1,"scaley":1,"src":"./vwfdatamanager.svc/datafile/XAPIGame/start_end.png"}],"morphTargets":false,"reflect":0,"shininess":1.128772,"side":0,"skinning":false,"specularColor":{"b":0,"g":0,"r":0},"specularLevel":1,"type":"phong"},"owner":"Rob","transform":[0.3937009871006012,0,0,0,0,8.741919999168254e-17,0.3937009871006012,0,0,-0.3937009871006012,8.741919999168254e-17,0,0.490556001663208,4.7846999168396,0,1],"translation":[0.490556001663208,4.7846999168396,0],"type":"3DR Object"},"random":{"c":1,"s0":0.985537244006991,"s1":0.569249778985977,"s2":0.482421754160896},"sequence":0,"source":"node-Finish","type":"link_existing/threejs","name":"cc447b53-f867-d269-1e0b-a9d6bc765210"}},"extends":"asset.vwf","properties":{"___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"owner":"Rob","transform":[1,0,0,0,0,1,0,0,0,0,1,0,0.006054401397705078,-0.012330055236816406,0.04000002145767212,1],"translation":[0.006054401397705078,-0.012330055236816406,0.04000002145767212]},"random":{"c":1,"s0":0.651371901156381,"s1":0.0982542089186609,"s2":0.536566209048033},"sequence":0,"source":"./vwfdatamanager.svc/datafile/XAPIGame/roads.json","type":"subDriver/threejs/asset/vnd.osgjs+json+compressed","name":"7577be93-1b73-80b6-469d-70604810dd65"},"fa5c9e96-f6a4-1c5b-4040-20285912c6c9":{"extends":"asset.vwf","properties":{"___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"materialDef":{"alpha":1,"ambient":{"b":1,"g":1,"r":1},"color":{"b":1,"g":1,"r":1},"emit":{"b":0,"g":0,"r":0},"layers":[{"alpha":1,"mapInput":0,"mapTo":1,"offsetx":0,"offsety":0,"scalex":1,"scaley":1,"src":"./vwfdatamanager.svc/datafile/XAPIGame/buildings_group1.png"}],"morphTargets":false,"reflect":0,"shininess":0.16,"side":0,"skinning":false,"specularColor":{"b":0.9,"g":0.9,"r":0.9},"specularLevel":1,"type":"phong"},"owner":"Rob","transform":[0.39100000262260437,0,0,0,0,0.39100000262260437,0,0,0,0,0.3790000081062317,0,-0.006054401397705078,0.012330055236816406,0.02869562990963459,1],"translation":[-0.006054401397705078,0.012330055236816406,0.02869562990963459]},"random":{"c":1,"s0":0.565891590667889,"s1":0.311066881520674,"s2":0.26518156984821},"sequence":0,"source":"./vwfdatamanager.svc/datafile/XAPIGame/MazeCityBuildings.json","type":"subDriver/threejs/asset/vnd.osgjs+json+compressed","name":"fa5c9e96-f6a4-1c5b-4040-20285912c6c9"}},"extends":"sandboxGroup.vwf","properties":{"___physics_activation_state":1,"___physics_deactivation_time":0,"___physics_velocity_angular":[0,0,0],"___physics_velocity_linear":[0,0,0],"open":false,"owner":"Rob","transform":[1.600000023841858,0,0,0,0,1.600000023841858,0,0,0,0,1.600000023841858,0,0.46005985140800476,-1.1663297414779663,0.005999718327075243,1],"translation":[0.46005985140800476,-1.1663297414779663,0.005999718327075243],"type":"Group"},"random":{"c":1,"s0":0.130991763900965,"s1":0.53304577502422,"s2":0.142360993660986},"sequence":0,"name":"ff144e59-a5d8-d4b0-94ed-641a4d60d49"},{"DisplayName":null,"glyphURL":"../vwf/view/editorview/images/icons/scene.png","simTime":221,"placemarks":{"Origin":{"0":-6.93499994277954,"1":-367,"2":0},"startpoint":{"0":-4.45302486419678,"1":-1.26249170303345,"2":0.109999999403954}},"navmode":"none","sunColor":[1,1,1],"sunDirection":[0.75,0.55,1],"sunIntensity":0.8,"shadowDarkness":0.5,"ambientColor":[0.35,0.35,0.35],"fogColor":[1,1,1],"fogNear":100,"fogFar":1000,"fogType":0,"fogDensity":0.005,"fogVFalloff":1.3,"fogVFalloffStart":0,"skyColorBlend":0,"skyFogBlend":0,"skyApexColor":[0.458823529411765,0.458823529411765,0.458823529411765],"skyHorizonColor":[0.341176470588235,0.333333333333333,0.333333333333333],"___physics_gravity":[0,0,-9.8],"___physics_accuracy":10,"___physics_active":true,"vAtmosphereDensity":0.0005,"playMode":"stop","octreeObjects":5,"octreeDepth":16,"octreeExtents":640,"materialDef":{"shininess":0,"alpha":1,"ambient":{"r":0.6588235294117647,"g":0.6509803921568628,"b":0.6509803921568628},"color":{"r":0.6588235294117647,"g":0.6509803921568628,"b":0.6509803921568628,"a":1},"emit":{"r":0,"g":0,"b":0},"reflect":0,"shadeless":false,"shadow":true,"specularColor":{"r":0,"g":0,"b":0},"specularLevel":1,"layers":{"length":0},"type":"phong"},"skyTexture":"cloudy_noon","owner":"Rob","type":"scene","permission":{"Everyone":1},"publishSettings":{"SinglePlayer":true,"allowAnonymous":true,"allowTools":false,"camera":"SandboxCamera-vwf-58faf29-3658-392-e779-44d7f701f192","createAvatar":false}}]