8462a2fde7
- Added SymptomManager autoload for managing symptom intensities. - Introduced nausea tilt effect for camera roll based on nausea intensity. - Created color desaturation shader and overlay for visual feedback. - Developed TreatmentManager to handle nausea ramping during IV treatment. - Added hospital room scene with first-person controller and interactions. - Implemented sit-down interaction for the treatment chair. - Created IV insertion sequence with animations and completion signal. - Added player controller with movement and interaction capabilities. - Integrated nausea effects into the player experience with smooth transitions.
26 lines
877 B
Plaintext
26 lines
877 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://c0play3r0001a"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/character/player_controller.gd" id="1_player"]
|
|
[ext_resource type="Script" path="res://scripts/symptoms/nausea_tilt.gd" id="2_tilt"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="Shape_Body"]
|
|
radius = 0.3
|
|
height = 1.8
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
script = ExtResource("1_player")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
|
|
shape = SubResource("Shape_Body")
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
|
|
current = true
|
|
script = ExtResource("2_tilt")
|
|
|
|
[node name="InteractionRay" type="RayCast3D" parent="Camera3D"]
|
|
target_position = Vector3(0, 0, -2.5)
|
|
collide_with_areas = true
|
|
collide_with_bodies = true
|