started fixing hud to prevent crosshair from wobbling

This commit is contained in:
Derek
2025-03-18 08:35:10 -05:00
parent 99cfc9dde2
commit d17bc56ca2
12 changed files with 148 additions and 113 deletions

View File

@@ -178,7 +178,7 @@ tracks/2/path = NodePath(".")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.166667, 0.566667),
"times": PackedFloat32Array(0.166667, 0.266667),
"transitions": PackedFloat32Array(1, 1),
"values": [{
"args": [],

View File

@@ -33,14 +33,15 @@ glow_enabled = true
fog_density = 0.0005
[node name="Realtime Day Night Cycle" type="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
script = ExtResource("1_idjmm")
sun_color = SubResource("GradientTexture1D_xp6wm")
realtime = true
sun_energy_over_time = SubResource("Curve_idjmm")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_ml2st")
[node name="Sun" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.969658, -0.064919, 0.235691, -0.0649191, 0.861104, 0.504268, -0.235691, -0.504268, 0.830761, 0, 0, 0)
transform = Transform3D(0.997171, 0.0751772, 0, 0.0642699, -0.852493, 0.518773, 0.0389999, -0.517306, -0.854912, 0, 0, 0)
light_energy = 1.45936
shadow_enabled = true

View File

@@ -34,7 +34,6 @@ weapon_type = 0
reload_type = 0
bullet = ExtResource("2_mnla0")
fire_mode = 1
hitscan_range = 100.0
fov_zoom_amt = 0.98
ads = false
recoil_amount = Vector3(0.05, 0.05, 0.05)
@@ -44,10 +43,15 @@ start_mags = 3
bullet_damage = 1
smoke_enabled = false
bullet_force_mod = 5.0
bullet_speed = 300
bullet_speed = 100
vibration_weak_magnitude = 0.1
vibration_strong_magnitude = 0.5
vibration_duration = 0.1
chamber_rot_amount = 60.0
shotgun_spread = Vector3(0.1, 0.1, 0.1)
pellets_per_shot = 20
blast_power = 50.0
hitscan_range = 100.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_uqdtd"]
resource_name = "rocketlauncher12"
@@ -611,7 +615,7 @@ skeleton = NodePath("../../../../../../..")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_lrhqi")
&"": SubResource("AnimationLibrary_lrhqi")
}
[node name="Audio" type="Node3D" parent="."]