Head.tscn 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 = 1.82
  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 = 1.44
  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. omni_range = 0.5
  48. [node name="OmniLight5" type="OmniLight" parent="Spatial"]
  49. transform = Transform( 10, 0, 0, 0, 10, 2.84217e-13, 0, -2.84217e-13, 10, -6.40646, -0.795216, 24.629 )
  50. light_color = Color( 0.74902, 0.258824, 1, 1 )
  51. omni_range = 0.5
  52. [node name="Head" type="StaticBody" parent="Spatial"]
  53. collision_layer = 5
  54. [node name="CollisionShape" type="CollisionShape" parent="Spatial/Head"]
  55. transform = Transform( 10.9021, 0, 0, 0, -5.49518e-07, -8.01943, 0, 12.5715, -3.50539e-07, 0, -6.24224e-07, 14.2806 )
  56. shape = SubResource( 4 )
  57. [node name="EPlace" type="Spatial" parent="."]
  58. transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 2.83708, 0 )
  59. script = ExtResource( 5 )
  60. size = 0.1
  61. [node name="CameraPlace" type="Spatial" parent="."]
  62. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.195681, 2.56359, 3.59786 )
  63. [node name="ChatPlace" type="Spatial" parent="."]
  64. transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 2.96054, 0 )