From 379c2794c40bc2b212d29fa0e0847f76e3f3a870 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 25 Apr 2017 01:04:37 +0200 Subject: Almost done here, still not really a game but, oh well Not everything has to work out, not always. --- exporter.tscn | 211 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 208 insertions(+), 3 deletions(-) (limited to 'exporter.tscn') diff --git a/exporter.tscn b/exporter.tscn index 7a5af79..bdb9e00 100644 --- a/exporter.tscn +++ b/exporter.tscn @@ -1,13 +1,52 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=12 format=2] [ext_resource path="res://mesh/exporter.dae" type="PackedScene" id=1] [ext_resource path="res://scripts/exporter.gd" type="Script" id=2] -[ext_resource path="res://glass.tres" type="Material" id=3] +[ext_resource path="res://gray_mat.tres" type="Material" id=3] +[ext_resource path="res://glass.tres" type="Material" id=4] [sub_resource type="ConvexPolygonShape" id=1] points = PoolVector3Array( 1, -1, 1, -0.999512, -1, -1, 1, -1, -0.999512, -0.999512, 1, -1, 0.999512, 1, 1, 1, 1, -0.999512, 1, 1, -0.999512, 1, -1, 1, 1, -1, -0.999512, 0.999512, 1, 1, -1, -1, 0.999512, 1, -1, 1, -1, -1, 0.999512, -0.999512, 1, -1, -0.999512, -1, -1, 1, -1, -0.999512, -0.999512, 1, -1, 1, 1, -0.999512, -1, -1, 0.999512, -1, 1, 0.999512, 0.999512, 1, 1, -1, 1, 0.999512, -1, 1, 0.999512, -0.999512, -1, -1 ) +[sub_resource type="ConvexPolygonShape" id=2] + +points = PoolVector3Array( -1, 1, 2.81836, -1, -1, -1, -1, -1, 2.81836, -1, 1, -1, 1, -1, -1, -1, -1, -1, 1, 1, -1, 1, -1, 2.81836, 1, -1, -1, 1, 1, 2.81836, -1, -1, 2.81836, 1, -1, 2.81836, 1, -1, -1, -1, -1, 2.81836, -1, -1, -1, -1, 1, -1, 1, 1, 2.81836, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, 2.81836, -1, 1, 2.81836, 1, -1, 2.81836, -1, 1, 2.81836 ) + +[sub_resource type="ConvexPolygonShape" id=3] + +points = PoolVector3Array( 0, 1, -1, 0.195068, -1, -0.980469, 0, -1, -1, 0.195068, 1, -0.980469, 0.382568, -1, -0.923828, 0.195068, -1, -0.980469, 0.382568, 1, -0.923828, 0.555176, -1, -0.831055, 0.382568, -1, -0.923828, 0.555176, 1, -0.831055, 0.707031, -1, -0.707031, 0.555176, -1, -0.831055, 0.707031, 1, -0.707031, 0.831055, -1, -0.555176, 0.707031, -1, -0.707031, 0.831055, 1, -0.555176, 0.923828, -1, -0.382568, 0.831055, -1, -0.555176, 0.923828, 1, -0.382568, 0.980469, -1, -0.195068, 0.923828, -1, -0.382568, 0.980469, 1, -0.195068, 1, -1, 0, 0.980469, -1, -0.195068, 1, 1, 0, 0.980469, -1, 0.195068, 1, -1, 0, 0.980469, 1, 0.195068, 0.923828, -1, 0.382568, 0.980469, -1, 0.195068, 0.923828, 1, 0.382568, 0.831055, -1, 0.555176, 0.923828, -1, 0.382568, 0.831055, 1, 0.555176, 0.707031, -1, 0.707031, 0.831055, -1, 0.555176, 0.707031, 1, 0.707031, 0.555176, -1, 0.831055, 0.707031, -1, 0.707031, 0.555176, 1, 0.831055, 0.382568, -1, 0.923828, 0.555176, -1, 0.831055, 0.382568, 1, 0.923828, 0.195068, -1, 0.980469, 0.382568, -1, 0.923828, 0.195068, 1, 0.980469, 0, -1, 1, 0.195068, -1, 0.980469, 0, 1, 1, -0.195068, -1, 0.980469, 0, -1, 1, -0.195068, 1, 0.980469, -0.382568, -1, 0.923828, -0.195068, -1, 0.980469, -0.382568, 1, 0.923828, -0.555176, -1, 0.831055, -0.382568, -1, 0.923828, -0.555176, 1, 0.831055, -0.707031, -1, 0.707031, -0.555176, -1, 0.831055, -0.707031, 1, 0.707031, -0.831055, -1, 0.555176, -0.707031, -1, 0.707031, -0.831055, 1, 0.555176, -0.923828, -1, 0.382568, -0.831055, -1, 0.555176, -0.923828, 1, 0.382568, -0.980469, -1, 0.195068, -0.923828, -1, 0.382568, -0.980469, 1, 0.195068, -1, -1, 0, -0.980469, -1, 0.195068, -1, 1, 0, -0.980469, -1, -0.195068, -1, -1, 0, -0.980469, 1, -0.195068, -0.923828, -1, -0.382568, -0.980469, -1, -0.195068, -0.923828, 1, -0.382568, -0.831055, -1, -0.555176, -0.923828, -1, -0.382568, -0.831055, 1, -0.555176, -0.707031, -1, -0.707031, -0.831055, -1, -0.555176, -0.707031, 1, -0.707031, -0.555176, -1, -0.831055, -0.707031, -1, -0.707031, -0.555176, 1, -0.831055, -0.382568, -1, -0.923828, -0.555176, -1, -0.831055, -0.382568, 1, 0.923828, 0.923828, 1, 0.382568, -0.923828, 1, -0.382568, -0.382568, 1, -0.923828, -0.195068, -1, -0.980469, -0.382568, -1, -0.923828, -0.195068, 1, -0.980469, 0, -1, -1, -0.195068, -1, -0.980469, 0.195068, -1, 0.980469, -0.980469, -1, 0.195068, 0.980469, -1, -0.195068, 0.195068, 1, -0.980469, 0.382568, 1, -0.923828, 0.555176, 1, -0.831055, 0.707031, 1, -0.707031, 0.831055, 1, -0.555176, 0.923828, 1, -0.382568, 0.980469, 1, -0.195068, 1, 1, 0, 0.980469, 1, 0.195068, 0.923828, 1, 0.382568, 0.831055, 1, 0.555176, 0.707031, 1, 0.707031, 0.555176, 1, 0.831055, 0.382568, 1, 0.923828, 0.195068, 1, 0.980469, 0, 1, 1, -0.195068, 1, 0.980469, -0.382568, 1, 0.923828, -0.555176, 1, 0.831055, -0.707031, 1, 0.707031, -0.831055, 1, 0.555176, -0.923828, 1, 0.382568, -0.980469, 1, 0.195068, -1, 1, 0, -0.980469, 1, -0.195068, -0.923828, 1, -0.382568, -0.831055, 1, -0.555176, -0.707031, 1, -0.707031, -0.555176, 1, -0.831055, -0.382568, 1, -0.923828, 0.382568, 1, -0.923828, 0.195068, 1, -0.980469, 0, 1, -1, -0.195068, 1, -0.980469, -0.382568, 1, -0.923828, -0.555176, 1, -0.831055, -0.707031, 1, -0.707031, -0.831055, 1, -0.555176, -0.980469, 1, -0.195068, -1, 1, 0, -0.980469, 1, 0.195068, -0.923828, 1, 0.382568, -0.831055, 1, 0.555176, -0.707031, 1, 0.707031, -0.555176, 1, 0.831055, -0.195068, 1, 0.980469, 0, 1, 1, 0.195068, 1, 0.980469, 0.382568, 1, 0.923828, 0.555176, 1, 0.831055, 0.707031, 1, 0.707031, 0.831055, 1, 0.555176, 0.980469, 1, 0.195068, 1, 1, 0, 0.980469, 1, -0.195068, 0.923828, 1, -0.382568, 0.831055, 1, -0.555176, 0.707031, 1, -0.707031, 0.555176, 1, -0.831055, -0.195068, 1, -0.980469, 0, 1, -1, -0.195068, -1, -0.980469, 0, -1, -1, 0.195068, -1, -0.980469, 0.382568, -1, -0.923828, 0.555176, -1, -0.831055, 0.707031, -1, -0.707031, 0.831055, -1, -0.555176, 0.923828, -1, -0.382568, 1, -1, 0, 0.980469, -1, 0.195068, 0.923828, -1, 0.382568, 0.831055, -1, 0.555176, 0.707031, -1, 0.707031, 0.555176, -1, 0.831055, 0.382568, -1, 0.923828, 0, -1, 1, -0.195068, -1, 0.980469, -0.382568, -1, 0.923828, -0.555176, -1, 0.831055, -0.707031, -1, 0.707031, -0.831055, -1, 0.555176, -0.923828, -1, 0.382568, -1, -1, 0, -0.980469, -1, -0.195068, -0.923828, -1, -0.382568, -0.831055, -1, -0.555176, -0.707031, -1, -0.707031, -0.555176, -1, -0.831055, -0.382568, -1, -0.923828 ) + +[sub_resource type="ConvexPolygonShape" id=4] + +points = PoolVector3Array( 0, 1, -1, 0.195068, -1, -0.980469, 0, -1, -1, 0.195068, 1, -0.980469, 0.382568, -1, -0.923828, 0.195068, -1, -0.980469, 0.382568, 1, -0.923828, 0.555176, -1, -0.831055, 0.382568, -1, -0.923828, 0.555176, 1, -0.831055, 0.707031, -1, -0.707031, 0.555176, -1, -0.831055, 0.707031, 1, -0.707031, 0.831055, -1, -0.555176, 0.707031, -1, -0.707031, 0.831055, 1, -0.555176, 0.923828, -1, -0.382568, 0.831055, -1, -0.555176, 0.923828, 1, -0.382568, 0.980469, -1, -0.195068, 0.923828, -1, -0.382568, 0.980469, 1, -0.195068, 1, -1, 0, 0.980469, -1, -0.195068, 1, 1, 0, 0.980469, -1, 0.195068, 1, -1, 0, 0.980469, 1, 0.195068, 0.923828, -1, 0.382568, 0.980469, -1, 0.195068, 0.923828, 1, 0.382568, 0.831055, -1, 0.555176, 0.923828, -1, 0.382568, 0.831055, 1, 0.555176, 0.707031, -1, 0.707031, 0.831055, -1, 0.555176, 0.707031, 1, 0.707031, 0.555176, -1, 0.831055, 0.707031, -1, 0.707031, 0.555176, 1, 0.831055, 0.382568, -1, 0.923828, 0.555176, -1, 0.831055, 0.382568, 1, 0.923828, 0.195068, -1, 0.980469, 0.382568, -1, 0.923828, 0.195068, 1, 0.980469, 0, -1, 1, 0.195068, -1, 0.980469, 0, 1, 1, -0.195068, -1, 0.980469, 0, -1, 1, -0.195068, 1, 0.980469, -0.382568, -1, 0.923828, -0.195068, -1, 0.980469, -0.382568, 1, 0.923828, -0.555176, -1, 0.831055, -0.382568, -1, 0.923828, -0.555176, 1, 0.831055, -0.707031, -1, 0.707031, -0.555176, -1, 0.831055, -0.707031, 1, 0.707031, -0.831055, -1, 0.555176, -0.707031, -1, 0.707031, -0.831055, 1, 0.555176, -0.923828, -1, 0.382568, -0.831055, -1, 0.555176, -0.923828, 1, 0.382568, -0.980469, -1, 0.195068, -0.923828, -1, 0.382568, -0.980469, 1, 0.195068, -1, -1, 0, -0.980469, -1, 0.195068, -1, 1, 0, -0.980469, -1, -0.195068, -1, -1, 0, -0.980469, 1, -0.195068, -0.923828, -1, -0.382568, -0.980469, -1, -0.195068, -0.923828, 1, -0.382568, -0.831055, -1, -0.555176, -0.923828, -1, -0.382568, -0.831055, 1, -0.555176, -0.707031, -1, -0.707031, -0.831055, -1, -0.555176, -0.707031, 1, -0.707031, -0.555176, -1, -0.831055, -0.707031, -1, -0.707031, -0.555176, 1, -0.831055, -0.382568, -1, -0.923828, -0.555176, -1, -0.831055, -0.382568, 1, 0.923828, 0.923828, 1, 0.382568, -0.923828, 1, -0.382568, -0.382568, 1, -0.923828, -0.195068, -1, -0.980469, -0.382568, -1, -0.923828, -0.195068, 1, -0.980469, 0, -1, -1, -0.195068, -1, -0.980469, 0.195068, -1, 0.980469, -0.980469, -1, 0.195068, 0.980469, -1, -0.195068, 0.195068, 1, -0.980469, 0.382568, 1, -0.923828, 0.555176, 1, -0.831055, 0.707031, 1, -0.707031, 0.831055, 1, -0.555176, 0.923828, 1, -0.382568, 0.980469, 1, -0.195068, 1, 1, 0, 0.980469, 1, 0.195068, 0.923828, 1, 0.382568, 0.831055, 1, 0.555176, 0.707031, 1, 0.707031, 0.555176, 1, 0.831055, 0.382568, 1, 0.923828, 0.195068, 1, 0.980469, 0, 1, 1, -0.195068, 1, 0.980469, -0.382568, 1, 0.923828, -0.555176, 1, 0.831055, -0.707031, 1, 0.707031, -0.831055, 1, 0.555176, -0.923828, 1, 0.382568, -0.980469, 1, 0.195068, -1, 1, 0, -0.980469, 1, -0.195068, -0.923828, 1, -0.382568, -0.831055, 1, -0.555176, -0.707031, 1, -0.707031, -0.555176, 1, -0.831055, -0.382568, 1, -0.923828, 0.382568, 1, -0.923828, 0.195068, 1, -0.980469, 0, 1, -1, -0.195068, 1, -0.980469, -0.382568, 1, -0.923828, -0.555176, 1, -0.831055, -0.707031, 1, -0.707031, -0.831055, 1, -0.555176, -0.980469, 1, -0.195068, -1, 1, 0, -0.980469, 1, 0.195068, -0.923828, 1, 0.382568, -0.831055, 1, 0.555176, -0.707031, 1, 0.707031, -0.555176, 1, 0.831055, -0.195068, 1, 0.980469, 0, 1, 1, 0.195068, 1, 0.980469, 0.382568, 1, 0.923828, 0.555176, 1, 0.831055, 0.707031, 1, 0.707031, 0.831055, 1, 0.555176, 0.980469, 1, 0.195068, 1, 1, 0, 0.980469, 1, -0.195068, 0.923828, 1, -0.382568, 0.831055, 1, -0.555176, 0.707031, 1, -0.707031, 0.555176, 1, -0.831055, -0.195068, 1, -0.980469, 0, 1, -1, -0.195068, -1, -0.980469, 0, -1, -1, 0.195068, -1, -0.980469, 0.382568, -1, -0.923828, 0.555176, -1, -0.831055, 0.707031, -1, -0.707031, 0.831055, -1, -0.555176, 0.923828, -1, -0.382568, 1, -1, 0, 0.980469, -1, 0.195068, 0.923828, -1, 0.382568, 0.831055, -1, 0.555176, 0.707031, -1, 0.707031, 0.555176, -1, 0.831055, 0.382568, -1, 0.923828, 0, -1, 1, -0.195068, -1, 0.980469, -0.382568, -1, 0.923828, -0.555176, -1, 0.831055, -0.707031, -1, 0.707031, -0.831055, -1, 0.555176, -0.923828, -1, 0.382568, -1, -1, 0, -0.980469, -1, -0.195068, -0.923828, -1, -0.382568, -0.831055, -1, -0.555176, -0.707031, -1, -0.707031, -0.555176, -1, -0.831055, -0.382568, -1, -0.923828 ) + +[sub_resource type="ConvexPolygonShape" id=5] + +points = PoolVector3Array( 0, 1, -1, 0.195068, -1, -0.980469, 0, -1, -1, 0.195068, 1, -0.980469, 0.382568, -1, -0.923828, 0.195068, -1, -0.980469, 0.382568, 1, -0.923828, 0.555176, -1, -0.831055, 0.382568, -1, -0.923828, 0.555176, 1, -0.831055, 0.707031, -1, -0.707031, 0.555176, -1, -0.831055, 0.707031, 1, -0.707031, 0.831055, -1, -0.555176, 0.707031, -1, -0.707031, 0.831055, 1, -0.555176, 0.923828, -1, -0.382568, 0.831055, -1, -0.555176, 0.923828, 1, -0.382568, 0.980469, -1, -0.195068, 0.923828, -1, -0.382568, 0.980469, 1, -0.195068, 1, -1, 0, 0.980469, -1, -0.195068, 1, 1, 0, 0.980469, -1, 0.195068, 1, -1, 0, 0.980469, 1, 0.195068, 0.923828, -1, 0.382568, 0.980469, -1, 0.195068, 0.923828, 1, 0.382568, 0.831055, -1, 0.555176, 0.923828, -1, 0.382568, 0.831055, 1, 0.555176, 0.707031, -1, 0.707031, 0.831055, -1, 0.555176, 0.707031, 1, 0.707031, 0.555176, -1, 0.831055, 0.707031, -1, 0.707031, 0.555176, 1, 0.831055, 0.382568, -1, 0.923828, 0.555176, -1, 0.831055, 0.382568, 1, 0.923828, 0.195068, -1, 0.980469, 0.382568, -1, 0.923828, 0.195068, 1, 0.980469, 0, -1, 1, 0.195068, -1, 0.980469, 0, 1, 1, -0.195068, -1, 0.980469, 0, -1, 1, -0.195068, 1, 0.980469, -0.382568, -1, 0.923828, -0.195068, -1, 0.980469, -0.382568, 1, 0.923828, -0.555176, -1, 0.831055, -0.382568, -1, 0.923828, -0.555176, 1, 0.831055, -0.707031, -1, 0.707031, -0.555176, -1, 0.831055, -0.707031, 1, 0.707031, -0.831055, -1, 0.555176, -0.707031, -1, 0.707031, -0.831055, 1, 0.555176, -0.923828, -1, 0.382568, -0.831055, -1, 0.555176, -0.923828, 1, 0.382568, -0.980469, -1, 0.195068, -0.923828, -1, 0.382568, -0.980469, 1, 0.195068, -1, -1, 0, -0.980469, -1, 0.195068, -1, 1, 0, -0.980469, -1, -0.195068, -1, -1, 0, -0.980469, 1, -0.195068, -0.923828, -1, -0.382568, -0.980469, -1, -0.195068, -0.923828, 1, -0.382568, -0.831055, -1, -0.555176, -0.923828, -1, -0.382568, -0.831055, 1, -0.555176, -0.707031, -1, -0.707031, -0.831055, -1, -0.555176, -0.707031, 1, -0.707031, -0.555176, -1, -0.831055, -0.707031, -1, -0.707031, -0.555176, 1, -0.831055, -0.382568, -1, -0.923828, -0.555176, -1, -0.831055, -0.382568, 1, 0.923828, 0.923828, 1, 0.382568, -0.923828, 1, -0.382568, -0.382568, 1, -0.923828, -0.195068, -1, -0.980469, -0.382568, -1, -0.923828, -0.195068, 1, -0.980469, 0, -1, -1, -0.195068, -1, -0.980469, 0.195068, -1, 0.980469, -0.980469, -1, 0.195068, 0.980469, -1, -0.195068, 0.195068, 1, -0.980469, 0.382568, 1, -0.923828, 0.555176, 1, -0.831055, 0.707031, 1, -0.707031, 0.831055, 1, -0.555176, 0.923828, 1, -0.382568, 0.980469, 1, -0.195068, 1, 1, 0, 0.980469, 1, 0.195068, 0.923828, 1, 0.382568, 0.831055, 1, 0.555176, 0.707031, 1, 0.707031, 0.555176, 1, 0.831055, 0.382568, 1, 0.923828, 0.195068, 1, 0.980469, 0, 1, 1, -0.195068, 1, 0.980469, -0.382568, 1, 0.923828, -0.555176, 1, 0.831055, -0.707031, 1, 0.707031, -0.831055, 1, 0.555176, -0.923828, 1, 0.382568, -0.980469, 1, 0.195068, -1, 1, 0, -0.980469, 1, -0.195068, -0.923828, 1, -0.382568, -0.831055, 1, -0.555176, -0.707031, 1, -0.707031, -0.555176, 1, -0.831055, -0.382568, 1, -0.923828, 0.382568, 1, -0.923828, 0.195068, 1, -0.980469, 0, 1, -1, -0.195068, 1, -0.980469, -0.382568, 1, -0.923828, -0.555176, 1, -0.831055, -0.707031, 1, -0.707031, -0.831055, 1, -0.555176, -0.980469, 1, -0.195068, -1, 1, 0, -0.980469, 1, 0.195068, -0.923828, 1, 0.382568, -0.831055, 1, 0.555176, -0.707031, 1, 0.707031, -0.555176, 1, 0.831055, -0.195068, 1, 0.980469, 0, 1, 1, 0.195068, 1, 0.980469, 0.382568, 1, 0.923828, 0.555176, 1, 0.831055, 0.707031, 1, 0.707031, 0.831055, 1, 0.555176, 0.980469, 1, 0.195068, 1, 1, 0, 0.980469, 1, -0.195068, 0.923828, 1, -0.382568, 0.831055, 1, -0.555176, 0.707031, 1, -0.707031, 0.555176, 1, -0.831055, -0.195068, 1, -0.980469, 0, 1, -1, -0.195068, -1, -0.980469, 0, -1, -1, 0.195068, -1, -0.980469, 0.382568, -1, -0.923828, 0.555176, -1, -0.831055, 0.707031, -1, -0.707031, 0.831055, -1, -0.555176, 0.923828, -1, -0.382568, 1, -1, 0, 0.980469, -1, 0.195068, 0.923828, -1, 0.382568, 0.831055, -1, 0.555176, 0.707031, -1, 0.707031, 0.555176, -1, 0.831055, 0.382568, -1, 0.923828, 0, -1, 1, -0.195068, -1, 0.980469, -0.382568, -1, 0.923828, -0.555176, -1, 0.831055, -0.707031, -1, 0.707031, -0.831055, -1, 0.555176, -0.923828, -1, 0.382568, -1, -1, 0, -0.980469, -1, -0.195068, -0.923828, -1, -0.382568, -0.831055, -1, -0.555176, -0.707031, -1, -0.707031, -0.555176, -1, -0.831055, -0.382568, -1, -0.923828 ) + +[sub_resource type="ConvexPolygonShape" id=6] + +points = PoolVector3Array( 0, 1, -1, 0.195068, -1, -0.980469, 0, -1, -1, 0.195068, 1, -0.980469, 0.382568, -1, -0.923828, 0.195068, -1, -0.980469, 0.382568, 1, -0.923828, 0.555176, -1, -0.831055, 0.382568, -1, -0.923828, 0.555176, 1, -0.831055, 0.707031, -1, -0.707031, 0.555176, -1, -0.831055, 0.707031, 1, -0.707031, 0.831055, -1, -0.555176, 0.707031, -1, -0.707031, 0.831055, 1, -0.555176, 0.923828, -1, -0.382568, 0.831055, -1, -0.555176, 0.923828, 1, -0.382568, 0.980469, -1, -0.195068, 0.923828, -1, -0.382568, 0.980469, 1, -0.195068, 1, -1, 0, 0.980469, -1, -0.195068, 1, 1, 0, 0.980469, -1, 0.195068, 1, -1, 0, 0.980469, 1, 0.195068, 0.923828, -1, 0.382568, 0.980469, -1, 0.195068, 0.923828, 1, 0.382568, 0.831055, -1, 0.555176, 0.923828, -1, 0.382568, 0.831055, 1, 0.555176, 0.707031, -1, 0.707031, 0.831055, -1, 0.555176, 0.707031, 1, 0.707031, 0.555176, -1, 0.831055, 0.707031, -1, 0.707031, 0.555176, 1, 0.831055, 0.382568, -1, 0.923828, 0.555176, -1, 0.831055, 0.382568, 1, 0.923828, 0.195068, -1, 0.980469, 0.382568, -1, 0.923828, 0.195068, 1, 0.980469, 0, -1, 1, 0.195068, -1, 0.980469, 0, 1, 1, -0.195068, -1, 0.980469, 0, -1, 1, -0.195068, 1, 0.980469, -0.382568, -1, 0.923828, -0.195068, -1, 0.980469, -0.382568, 1, 0.923828, -0.555176, -1, 0.831055, -0.382568, -1, 0.923828, -0.555176, 1, 0.831055, -0.707031, -1, 0.707031, -0.555176, -1, 0.831055, -0.707031, 1, 0.707031, -0.831055, -1, 0.555176, -0.707031, -1, 0.707031, -0.831055, 1, 0.555176, -0.923828, -1, 0.382568, -0.831055, -1, 0.555176, -0.923828, 1, 0.382568, -0.980469, -1, 0.195068, -0.923828, -1, 0.382568, -0.980469, 1, 0.195068, -1, -1, 0, -0.980469, -1, 0.195068, -1, 1, 0, -0.980469, -1, -0.195068, -1, -1, 0, -0.980469, 1, -0.195068, -0.923828, -1, -0.382568, -0.980469, -1, -0.195068, -0.923828, 1, -0.382568, -0.831055, -1, -0.555176, -0.923828, -1, -0.382568, -0.831055, 1, -0.555176, -0.707031, -1, -0.707031, -0.831055, -1, -0.555176, -0.707031, 1, -0.707031, -0.555176, -1, -0.831055, -0.707031, -1, -0.707031, -0.555176, 1, -0.831055, -0.382568, -1, -0.923828, -0.555176, -1, -0.831055, -0.382568, 1, 0.923828, 0.923828, 1, 0.382568, -0.923828, 1, -0.382568, -0.382568, 1, -0.923828, -0.195068, -1, -0.980469, -0.382568, -1, -0.923828, -0.195068, 1, -0.980469, 0, -1, -1, -0.195068, -1, -0.980469, 0.195068, -1, 0.980469, -0.980469, -1, 0.195068, 0.980469, -1, -0.195068, 0.195068, 1, -0.980469, 0.382568, 1, -0.923828, 0.555176, 1, -0.831055, 0.707031, 1, -0.707031, 0.831055, 1, -0.555176, 0.923828, 1, -0.382568, 0.980469, 1, -0.195068, 1, 1, 0, 0.980469, 1, 0.195068, 0.923828, 1, 0.382568, 0.831055, 1, 0.555176, 0.707031, 1, 0.707031, 0.555176, 1, 0.831055, 0.382568, 1, 0.923828, 0.195068, 1, 0.980469, 0, 1, 1, -0.195068, 1, 0.980469, -0.382568, 1, 0.923828, -0.555176, 1, 0.831055, -0.707031, 1, 0.707031, -0.831055, 1, 0.555176, -0.923828, 1, 0.382568, -0.980469, 1, 0.195068, -1, 1, 0, -0.980469, 1, -0.195068, -0.923828, 1, -0.382568, -0.831055, 1, -0.555176, -0.707031, 1, -0.707031, -0.555176, 1, -0.831055, -0.382568, 1, -0.923828, 0.382568, 1, -0.923828, 0.195068, 1, -0.980469, 0, 1, -1, -0.195068, 1, -0.980469, -0.382568, 1, -0.923828, -0.555176, 1, -0.831055, -0.707031, 1, -0.707031, -0.831055, 1, -0.555176, -0.980469, 1, -0.195068, -1, 1, 0, -0.980469, 1, 0.195068, -0.923828, 1, 0.382568, -0.831055, 1, 0.555176, -0.707031, 1, 0.707031, -0.555176, 1, 0.831055, -0.195068, 1, 0.980469, 0, 1, 1, 0.195068, 1, 0.980469, 0.382568, 1, 0.923828, 0.555176, 1, 0.831055, 0.707031, 1, 0.707031, 0.831055, 1, 0.555176, 0.980469, 1, 0.195068, 1, 1, 0, 0.980469, 1, -0.195068, 0.923828, 1, -0.382568, 0.831055, 1, -0.555176, 0.707031, 1, -0.707031, 0.555176, 1, -0.831055, -0.195068, 1, -0.980469, 0, 1, -1, -0.195068, -1, -0.980469, 0, -1, -1, 0.195068, -1, -0.980469, 0.382568, -1, -0.923828, 0.555176, -1, -0.831055, 0.707031, -1, -0.707031, 0.831055, -1, -0.555176, 0.923828, -1, -0.382568, 1, -1, 0, 0.980469, -1, 0.195068, 0.923828, -1, 0.382568, 0.831055, -1, 0.555176, 0.707031, -1, 0.707031, 0.555176, -1, 0.831055, 0.382568, -1, 0.923828, 0, -1, 1, -0.195068, -1, 0.980469, -0.382568, -1, 0.923828, -0.555176, -1, 0.831055, -0.707031, -1, 0.707031, -0.831055, -1, 0.555176, -0.923828, -1, 0.382568, -1, -1, 0, -0.980469, -1, -0.195068, -0.923828, -1, -0.382568, -0.831055, -1, -0.555176, -0.707031, -1, -0.707031, -0.555176, -1, -0.831055, -0.382568, -1, -0.923828 ) + +[sub_resource type="Animation" id=7] + +resource_name = "right" +length = 0.5 +loop = false +step = 0.1 +tracks/0/type = "value" +tracks/0/path = NodePath("Cube.1:translation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/keys = { +"times": PoolFloatArray( 0, 0.2, 0.5 ), +"transitions": PoolFloatArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector3( 1.086, 1.15185, -1.40063 ), Vector3( 1.086, 1.03863, -1.40063 ), Vector3( 1.086, 1.15185, -1.40063 ) ] +} + [node name="Exporter" instance=ExtResource( 1 )] script = ExtResource( 2 ) @@ -33,10 +72,135 @@ shape = SubResource( 1 ) trigger = true _update_shape_index = 0 -[node name="cover" parent="."] +[node name="Cube.1" parent="."] + +material_override = ExtResource( 3 ) + +[node name="StaticBody" type="StaticBody" parent="Cube.1"] + +input_ray_pickable = true +input_capture_on_drag = false +shape_count = 1 +shapes/0/shape = SubResource( 2 ) +shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) +shapes/0/trigger = true +collision_layer = 1 +collision_mask = 1 +friction = 1.0 +bounce = 0.0 +constant_linear_velocity = Vector3( 0, 0, 0 ) +constant_angular_velocity = Vector3( 0, 0, 0 ) + +[node name="CollisionShape" type="CollisionShape" parent="Cube.1/StaticBody"] + +shape = SubResource( 2 ) +trigger = true +_update_shape_index = 0 + +[node name="Cylinder" parent="."] + +material_override = ExtResource( 3 ) + +[node name="StaticBody" type="StaticBody" parent="Cylinder"] + +input_ray_pickable = true +input_capture_on_drag = false +shape_count = 1 +shapes/0/shape = SubResource( 3 ) +shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) +shapes/0/trigger = true +collision_layer = 1 +collision_mask = 1 +friction = 1.0 +bounce = 0.0 +constant_linear_velocity = Vector3( 0, 0, 0 ) +constant_angular_velocity = Vector3( 0, 0, 0 ) + +[node name="CollisionShape" type="CollisionShape" parent="Cylinder/StaticBody"] + +shape = SubResource( 3 ) +trigger = true +_update_shape_index = 0 + +[node name="Cylinder.2" parent="."] + +material_override = ExtResource( 3 ) + +[node name="StaticBody" type="StaticBody" parent="Cylinder.2"] + +input_ray_pickable = true +input_capture_on_drag = false +shape_count = 1 +shapes/0/shape = SubResource( 4 ) +shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) +shapes/0/trigger = true +collision_layer = 1 +collision_mask = 1 +friction = 1.0 +bounce = 0.0 +constant_linear_velocity = Vector3( 0, 0, 0 ) +constant_angular_velocity = Vector3( 0, 0, 0 ) + +[node name="CollisionShape" type="CollisionShape" parent="Cylinder.2/StaticBody"] + +shape = SubResource( 4 ) +trigger = true +_update_shape_index = 0 + +[node name="Cylinder.4" parent="."] material_override = ExtResource( 3 ) +[node name="StaticBody" type="StaticBody" parent="Cylinder.4"] + +input_ray_pickable = true +input_capture_on_drag = false +shape_count = 1 +shapes/0/shape = SubResource( 5 ) +shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) +shapes/0/trigger = true +collision_layer = 1 +collision_mask = 1 +friction = 1.0 +bounce = 0.0 +constant_linear_velocity = Vector3( 0, 0, 0 ) +constant_angular_velocity = Vector3( 0, 0, 0 ) + +[node name="CollisionShape" type="CollisionShape" parent="Cylinder.4/StaticBody"] + +shape = SubResource( 5 ) +trigger = true +_update_shape_index = 0 + +[node name="Cylinder.6" parent="."] + +material_override = ExtResource( 3 ) + +[node name="StaticBody" type="StaticBody" parent="Cylinder.6"] + +input_ray_pickable = true +input_capture_on_drag = false +shape_count = 1 +shapes/0/shape = SubResource( 6 ) +shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) +shapes/0/trigger = true +collision_layer = 1 +collision_mask = 1 +friction = 1.0 +bounce = 0.0 +constant_linear_velocity = Vector3( 0, 0, 0 ) +constant_angular_velocity = Vector3( 0, 0, 0 ) + +[node name="CollisionShape" type="CollisionShape" parent="Cylinder.6/StaticBody"] + +shape = SubResource( 6 ) +trigger = true +_update_shape_index = 0 + +[node name="cover" parent="."] + +material_override = ExtResource( 4 ) + [node name="bulb" type="OmniLight" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.05032, 2.05093, 1.5916 ) @@ -71,6 +235,47 @@ environment = null h_offset = 0.0 v_offset = 0.0 +[node name="spawns" type="Spatial" parent="."] + +editor/display_folded = true + +[node name="0" type="Position3D" parent="spawns"] + +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.244547, 1.67247, 1.21558 ) + +[node name="1" type="Position3D" parent="spawns"] + +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.244547, 1.67247, 0.414972 ) + +[node name="2" type="Position3D" parent="spawns"] + +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.244547, 1.67247, -0.383759 ) + +[node name="3" type="Position3D" parent="spawns"] + +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.244547, 1.67247, -1.20674 ) + +[node name="animation" type="AnimationPlayer" parent="."] + +playback_process_mode = 1 +playback_default_blend_time = 0.0 +root_node = NodePath("..") +anims/right = SubResource( 7 ) +playback/active = true +playback/speed = 1.0 +blend_times = [ ] +autoplay = "" + [connection signal="input_event" from="Cube/StaticBody" to="." method="_on_body_input_event"] +[connection signal="input_event" from="Cube.1/StaticBody" to="." method="_on_panel_input_event"] + +[connection signal="input_event" from="Cylinder/StaticBody" to="." method="_on_cylinder_input_event" binds= [ "Cylinder", Vector2( 0, 0 ) ]] + +[connection signal="input_event" from="Cylinder.2/StaticBody" to="." method="_on_cylinder_input_event" binds= [ "Cylinder.2", Vector2( 1, 0 ) ]] + +[connection signal="input_event" from="Cylinder.4/StaticBody" to="." method="_on_cylinder_input_event" binds= [ "Cylinder.4", Vector2( 2, 0 ) ]] + +[connection signal="input_event" from="Cylinder.6/StaticBody" to="." method="_on_cylinder_input_event" binds= [ "Cylinder.6", Vector2( 3, 0 ) ]] + -- cgit v1.2.3-70-g09d2