My first 3D game with Godot 4.4
This commit is contained in:
85
mob/spawner/spawner_model.tscn
Normal file
85
mob/spawner/spawner_model.tscn
Normal file
@@ -0,0 +1,85 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://dtf66or38qi43"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://diiskgqfi7kay" path="res://mob/spawner/spawner_model.glb" id="1_bk78j"]
|
||||
[ext_resource type="Shader" uid="uid://cfnwyva3u4qeb" path="res://mob/spawner/spawner_halo.gdshader" id="2_lvlhh"]
|
||||
[ext_resource type="Material" uid="uid://jvnbftghahty" path="res://mob/spawner/spawner_screen_material.tres" id="3_p6j4b"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_rug3p"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("2_lvlhh")
|
||||
shader_parameter/color = Color(0.13153, 0.557624, 0.421582, 1)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2xi82"]
|
||||
albedo_color = Color(0.879323, 0.706001, 0.185322, 1)
|
||||
metallic = 0.45
|
||||
metallic_specular = 0.75
|
||||
roughness = 0.25
|
||||
rim_enabled = true
|
||||
rim = 0.1
|
||||
rim_tint = 0.4
|
||||
clearcoat_enabled = true
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bk78j"]
|
||||
albedo_color = Color(0.646029, 0.646029, 0.646029, 1)
|
||||
metallic = 0.5
|
||||
roughness = 0.1
|
||||
rim_enabled = true
|
||||
rim = 0.1
|
||||
clearcoat_enabled = true
|
||||
|
||||
[sub_resource type="Animation" id="Animation_lvlhh"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Top:rotation")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector3(0, -2.0944, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_bk78j"]
|
||||
resource_name = "idle"
|
||||
length = 0.5
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Top:rotation")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(0, 0, 0), Vector3(0, 6.28319, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_p6j4b"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_lvlhh"),
|
||||
&"idle": SubResource("Animation_bk78j")
|
||||
}
|
||||
|
||||
[node name="spawner_model" instance=ExtResource("1_bk78j")]
|
||||
|
||||
[node name="halo" parent="." index="0"]
|
||||
material_override = SubResource("ShaderMaterial_rug3p")
|
||||
|
||||
[node name="Body" parent="." index="1"]
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_2xi82")
|
||||
surface_material_override/1 = ExtResource("3_p6j4b")
|
||||
|
||||
[node name="Top" parent="." index="2"]
|
||||
transform = Transform3D(-0.500004, 0, -0.866023, 0, 1, 0, 0.866023, 0, -0.500004, 0, 0.783957, 0)
|
||||
material_override = SubResource("StandardMaterial3D_bk78j")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." index="3"]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_p6j4b")
|
||||
}
|
||||
autoplay = "idle"
|
||||
Reference in New Issue
Block a user