Ordinary.tscn 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. [gd_scene load_steps=9 format=2]
  2. [ext_resource path="res://scripts/OrdinaryHuman.gd" type="Script" id=1]
  3. [ext_resource path="res://exported_models/human_robes.obj" type="ArrayMesh" id=2]
  4. [ext_resource path="res://exported_models/human_face.obj" type="ArrayMesh" id=3]
  5. [ext_resource path="res://exported_models/human_eyes.obj" type="ArrayMesh" id=4]
  6. [ext_resource path="res://scripts/Cloak.gd" type="Script" id=5]
  7. [sub_resource type="SpatialMaterial" id=1]
  8. albedo_color = Color( 0.196078, 0.196078, 0.196078, 1 )
  9. [sub_resource type="SpatialMaterial" id=2]
  10. albedo_color = Color( 0, 0, 0, 1 )
  11. emission_enabled = true
  12. emission = Color( 0.784314, 0.784314, 0.352941, 1 )
  13. emission_energy = 2.21
  14. emission_operator = 0
  15. emission_on_uv2 = false
  16. [sub_resource type="CapsuleShape" id=3]
  17. [node name="Human" type="Spatial"]
  18. script = ExtResource( 1 )
  19. [node name="Spatial" type="Spatial" parent="."]
  20. transform = Transform( 0.1, 0, 0, 0, -4.37114e-09, 0.1, 0, -0.1, -4.37114e-09, 0, 0, 0 )
  21. [node name="human_robes" type="MeshInstance" parent="Spatial"]
  22. transform = Transform( 1, 0, 0, 0, 1, 7.10543e-15, 0, -7.10543e-15, 1, 0, 0, 0 )
  23. mesh = ExtResource( 2 )
  24. material/0 = SubResource( 1 )
  25. script = ExtResource( 5 )
  26. [node name="OmniLight" type="OmniLight" parent="Spatial"]
  27. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -13, 30 )
  28. visible = false
  29. omni_range = 31.7067
  30. [node name="OmniLight2" type="OmniLight" parent="Spatial"]
  31. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5.05298, 16.228, 30 )
  32. visible = false
  33. omni_range = 31.7067
  34. [node name="human_face" type="MeshInstance" parent="Spatial"]
  35. mesh = ExtResource( 3 )
  36. material/0 = null
  37. [node name="eyes" type="MeshInstance" parent="Spatial"]
  38. transform = Transform( 1, 0, 0, 0, 1, 3.55271e-15, 0, -3.55271e-15, 1, 0, 0, 0 )
  39. mesh = ExtResource( 4 )
  40. material/0 = SubResource( 2 )
  41. [node name="OmniLight3" type="OmniLight" parent="Spatial"]
  42. transform = Transform( 10, 0, 0, 0, 10, 5.40012e-13, 0, -5.40012e-13, 10, 0.662763, -4.71408, 14.4107 )
  43. light_color = Color( 0.784314, 0.784314, 0.352941, 1 )
  44. light_energy = 0.2
  45. omni_range = 0.1
  46. [node name="OmniLight5" type="OmniLight" parent="Spatial"]
  47. transform = Transform( 10, 0, 0, 0, 10, 5.96856e-13, 0, -5.96856e-13, 10, -1.35707, -4.71408, 14.4107 )
  48. light_color = Color( 0.784314, 0.784314, 0.352941, 1 )
  49. light_energy = 0.2
  50. omni_range = 0.1
  51. [node name="human" type="StaticBody" parent="Spatial"]
  52. collision_layer = 5
  53. [node name="CollisionShape" type="CollisionShape" parent="Spatial/human"]
  54. transform = Transform( 6.70971, 0, 0, 0, 7.08227, -6.7557e-08, 0, -6.75596e-08, 8.62783, 0, -0.247, 7.706 )
  55. shape = SubResource( 3 )
  56. [node name="CameraPlace" type="Spatial" parent="."]
  57. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.43166, 1.51239 )