summaryrefslogtreecommitdiffstats
path: root/assets/maps/misc/dev_plane/DevPlane.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'assets/maps/misc/dev_plane/DevPlane.tscn')
-rw-r--r--assets/maps/misc/dev_plane/DevPlane.tscn17
1 files changed, 13 insertions, 4 deletions
diff --git a/assets/maps/misc/dev_plane/DevPlane.tscn b/assets/maps/misc/dev_plane/DevPlane.tscn
index a17a112..5134d2e 100644
--- a/assets/maps/misc/dev_plane/DevPlane.tscn
+++ b/assets/maps/misc/dev_plane/DevPlane.tscn
@@ -1,7 +1,9 @@
-[gd_scene load_steps=9 format=2]
+[gd_scene load_steps=11 format=2]
[ext_resource path="res://assets/maps/misc/dev_plane/tile_color.png" type="Texture" id=1]
[ext_resource path="res://assets/view_model/ViewModel.tscn" type="PackedScene" id=2]
+[ext_resource path="res://assets/characters/base_character/BaseCharacter.tscn" type="PackedScene" id=3]
+[ext_resource path="res://assets/characters/base_character/enemy_material.tres" type="Material" id=4]
[sub_resource type="SpatialMaterial" id=6]
albedo_texture = ExtResource( 1 )
@@ -25,14 +27,21 @@ material = SubResource( 3 )
[node name="DevPlane" type="Spatial"]
+[node name="ViewModel" parent="." instance=ExtResource( 2 )]
+character = NodePath("../FriendlyPlayer")
+
+[node name="FriendlyPlayer" parent="." groups=["players"] instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 12 )
+
+[node name="EnemyPlayer" parent="." groups=["players"] instance=ExtResource( 3 )]
+transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0.75, -12 )
+material = ExtResource( 4 )
+
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( -4.37114e-08, -0.292372, 0.956305, 0, 0.956305, 0.292372, -1, 1.278e-08, -4.18014e-08, 0, 10, 0 )
shadow_enabled = true
directional_shadow_blend_splits = true
-[node name="ViewModel" parent="." instance=ExtResource( 2 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 12 )
-
[node name="Geometry" type="Spatial" parent="."]
[node name="Floor" type="StaticBody" parent="Geometry"]