added models and changed spawnpoint

This commit is contained in:
Luca 2024-09-27 13:01:28 +02:00
parent 2cf0846597
commit 877ebafc74
1007 changed files with 120779 additions and 37 deletions

View file

@ -1,8 +1,9 @@
[gd_scene load_steps=10 format=3 uid="uid://p8agd0dfam0p"]
[gd_scene load_steps=11 format=3 uid="uid://bgngmj53lc15q"]
[ext_resource type="PackedScene" uid="uid://dawpmu4vvv3rs" path="res://entities/monster_spawnpoint/monster_spawnpoint.tscn" id="3_esgto"]
[ext_resource type="Script" path="res://resources/monster_data.gd" id="3_iktqp"]
[ext_resource type="Resource" uid="uid://0xqaef8uftnv" path="res://resources/monsters/debuggy.tres" id="4_noslo"]
[ext_resource type="PackedScene" uid="uid://dibg4wpthwdov" path="res://entities/healing_station/healing_station.tscn" id="4_xewui"]
[sub_resource type="PlaneMesh" id="PlaneMesh_wak6a"]
size = Vector2(1000, 1000)
@ -28,6 +29,8 @@ glow_enabled = true
[node name="DebugLevel" type="Node3D"]
[node name="Floor" type="StaticBody3D" parent="."]
collision_layer = 2
collision_mask = 13
metadata/_edit_lock_ = true
[node name="FloorMesh" type="MeshInstance3D" parent="Floor"]
@ -52,3 +55,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.6673, 0, -8.88992)
spawnable_monsters = Array[ExtResource("3_iktqp")]([ExtResource("4_noslo")])
ignore_visibility = true
max_monsters = 1
[node name="HealingStation" parent="." instance=ExtResource("4_xewui")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.26308, 0, -1.63961)

61
worlds/world1/world1.tscn Normal file
View file

@ -0,0 +1,61 @@
[gd_scene load_steps=11 format=3 uid="uid://bhhqaysqjw2d"]
[ext_resource type="PackedScene" uid="uid://dawpmu4vvv3rs" path="res://entities/monster_spawnpoint/monster_spawnpoint.tscn" id="1_3qqsk"]
[ext_resource type="Script" path="res://entities/monster_spawnpoint/monster_spawnpoint_probability.gd" id="2_pmb72"]
[ext_resource type="Resource" uid="uid://0xqaef8uftnv" path="res://resources/monsters/debuggy.tres" id="3_rfdrv"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_xgcdx"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
[sub_resource type="Sky" id="Sky_02hua"]
sky_material = SubResource("ProceduralSkyMaterial_xgcdx")
[sub_resource type="Environment" id="Environment_pn35c"]
background_mode = 2
sky = SubResource("Sky_02hua")
tonemap_mode = 2
glow_enabled = true
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_pjix1"]
[sub_resource type="QuadMesh" id="QuadMesh_ry8lc"]
size = Vector2(1000, 1000)
orientation = 1
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_u86mj"]
albedo_color = Color(0.287254, 0.543277, 0.418799, 1)
[sub_resource type="Resource" id="Resource_13u2y"]
script = ExtResource("2_pmb72")
monster_data = ExtResource("3_rfdrv")
chance = 50.0
[node name="World1" type="Node3D"]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_pn35c")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.866023, -0.433016, 0.250001, 0, 0.499998, 0.866027, -0.500003, 0.749999, -0.43301, 0, 5, 0)
shadow_enabled = true
metadata/_edit_lock_ = true
[node name="Floor" type="StaticBody3D" parent="."]
collision_layer = 2
collision_mask = 13
metadata/_edit_lock_ = true
[node name="FloorCollision" type="CollisionShape3D" parent="Floor"]
shape = SubResource("WorldBoundaryShape3D_pjix1")
[node name="FloorMesh" type="MeshInstance3D" parent="Floor"]
mesh = SubResource("QuadMesh_ry8lc")
surface_material_override/0 = SubResource("StandardMaterial3D_u86mj")
[node name="MonsterSpawnpoints" type="Node3D" parent="."]
[node name="MonsterSpawnpointDebug" parent="MonsterSpawnpoints" instance=ExtResource("1_3qqsk")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -9)
spawnable_monsters = Array[ExtResource("2_pmb72")]([SubResource("Resource_13u2y")])
ignore_visibility = true