Head.tscn 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. [gd_scene load_steps=10 format=2]
  2. [ext_resource path="res://scripts/Head.gd" type="Script" id=1]
  3. [ext_resource path="res://exported_models/head_head.obj" type="ArrayMesh" id=2]
  4. [ext_resource path="res://exported_models/head_hair.obj" type="ArrayMesh" id=3]
  5. [ext_resource path="res://exported_models/head_eyes.obj" type="ArrayMesh" id=4]
  6. [ext_resource path="res://scripts/EPlace.gd" type="Script" id=5]
  7. [sub_resource type="SpatialMaterial" id=1]
  8. albedo_color = Color( 0.984314, 0.886275, 0.807843, 1 )
  9. [sub_resource type="SpatialMaterial" id=2]
  10. flags_vertex_lighting = true
  11. flags_do_not_receive_shadows = true
  12. flags_disable_ambient_light = true
  13. albedo_color = Color( 0, 0, 0, 1 )
  14. emission_enabled = true
  15. emission = Color( 0.666667, 0.301961, 0.752941, 1 )
  16. emission_energy = 3.41
  17. emission_operator = 0
  18. emission_on_uv2 = false
  19. [sub_resource type="SpatialMaterial" id=3]
  20. flags_vertex_lighting = true
  21. flags_do_not_receive_shadows = true
  22. flags_disable_ambient_light = true
  23. albedo_color = Color( 0, 0, 0, 1 )
  24. emission_enabled = true
  25. emission = Color( 0.772549, 0.796078, 0.368627, 1 )
  26. emission_energy = 3.24
  27. emission_operator = 0
  28. emission_on_uv2 = false
  29. [sub_resource type="CylinderShape" id=4]
  30. height = 1.98483
  31. [node name="Head" type="Spatial"]
  32. script = ExtResource( 1 )
  33. [node name="Spatial" type="Spatial" parent="."]
  34. transform = Transform( 0.1, 0, 0, 0, -4.37114e-09, 0.1, 0, -0.1, -4.37114e-09, 0, 0, 0 )
  35. [node name="head_head" type="MeshInstance" parent="Spatial"]
  36. mesh = ExtResource( 2 )
  37. material/0 = SubResource( 1 )
  38. [node name="head_hair" type="MeshInstance" parent="Spatial"]
  39. mesh = ExtResource( 3 )
  40. material/0 = SubResource( 2 )
  41. [node name="head_eyes" type="MeshInstance" parent="Spatial"]
  42. mesh = ExtResource( 4 )
  43. material/0 = SubResource( 3 )
  44. [node name="OmniLight4" type="OmniLight" parent="Spatial"]
  45. transform = Transform( 10, 0, 0, 0, 10, 2.84217e-13, 0, -2.84217e-13, 10, 5.61716, -0.795216, 24.629 )
  46. light_color = Color( 0.74902, 0.258824, 1, 1 )
  47. light_energy = 0.3
  48. omni_range = 0.5
  49. [node name="OmniLight5" type="OmniLight" parent="Spatial"]
  50. transform = Transform( 10, 0, 0, 0, 10, 2.84217e-13, 0, -2.84217e-13, 10, -6.40646, -0.795216, 24.629 )
  51. light_color = Color( 0.74902, 0.258824, 1, 1 )
  52. light_energy = 0.3
  53. omni_range = 0.5
  54. [node name="Head" type="StaticBody" parent="Spatial"]
  55. collision_layer = 5
  56. [node name="CollisionShape" type="CollisionShape" parent="Spatial/Head"]
  57. transform = Transform( 10.9021, 0, 0, 0, -5.49518e-07, -8.01943, 0, 12.5715, -3.50539e-07, 0, -6.24224e-07, 14.2806 )
  58. shape = SubResource( 4 )
  59. [node name="EPlace" type="Spatial" parent="."]
  60. transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 2.83708, 0 )
  61. script = ExtResource( 5 )
  62. size = 0.1
  63. [node name="CameraPlace" type="Spatial" parent="."]
  64. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.195681, 2.56359, 3.59786 )
  65. [node name="ChatPlace" type="Spatial" parent="."]
  66. transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 2.96054, 0 )