Zombie hp meta rebalanced
This commit is contained in:
parent
e4c25a1ca5
commit
c6ceaa28d2
13 changed files with 155 additions and 309 deletions
|
|
@ -1,8 +1,6 @@
|
|||
[gd_scene load_steps=71 format=3 uid="uid://bgqmwsb6ynm81"]
|
||||
[gd_scene load_steps=65 format=3 uid="uid://bgqmwsb6ynm81"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://co11v3w8hbwgf" path="res://scenes/entities/Zombies/zombie.tscn" id="1_fnu7s"]
|
||||
[ext_resource type="Shader" uid="uid://d0eo5uuj222c4" path="res://assets/shaders/CG_color_blender.gdshader" id="2_6qr4h"]
|
||||
[ext_resource type="Script" uid="uid://bcc7skl7ts6sh" path="res://scripts/systems/effects/Effect.cs" id="2_n380g"]
|
||||
[ext_resource type="Resource" uid="uid://dsg1vjx76ifgu" path="res://assets/effects/GarlicEffect.tres" id="3_b583s"]
|
||||
[ext_resource type="Script" uid="uid://dt5uj25u0g6y3" path="res://scripts/particles/FallParticle.cs" id="3_tu6af"]
|
||||
[ext_resource type="Script" uid="uid://c5v2og85t7s6j" path="res://scripts/entities/zombies/behaviours/HoboBehaviour.cs" id="4_5selg"]
|
||||
|
|
@ -11,7 +9,7 @@
|
|||
[ext_resource type="Texture2D" uid="uid://dri70dxyks7xh" path="res://assets/sprites/zombies/hobo.png" id="5_b583s"]
|
||||
[ext_resource type="Script" uid="uid://bbw848msxb4re" path="res://scripts/entities/DegradingSprite.cs" id="5_ndwp0"]
|
||||
[ext_resource type="Texture2D" uid="uid://8h5vg1pk32b2" path="res://assets/sprites/garbage_can1.tres" id="6_i6nje"]
|
||||
[ext_resource type="Shader" uid="uid://cgc7spjkhsx7c" path="res://assets/shaders/generic_flash.gdshader" id="7_nlwsb"]
|
||||
[ext_resource type="Material" uid="uid://cn7ac4meka1hc" path="res://assets/GenericFlashMaterial.tres" id="6_vn3j1"]
|
||||
[ext_resource type="Texture2D" uid="uid://cogfbn4re3kob" path="res://assets/sprites/garbage_can2.tres" id="7_txjqc"]
|
||||
[ext_resource type="AnimationLibrary" uid="uid://ceb3khu7rwgy8" path="res://assets/animations/zombies/basic.res" id="7_vn3j1"]
|
||||
[ext_resource type="AudioStream" uid="uid://bu1egfsyplpx4" path="res://assets/audio/sfx/metalhit_generic.tres" id="8_4248q"]
|
||||
|
|
@ -24,11 +22,12 @@
|
|||
[ext_resource type="Script" uid="uid://30pbgasu64aw" path="res://scripts/entities/FlashShaderController.cs" id="19_8y6c0"]
|
||||
[ext_resource type="Shader" uid="uid://btf4xhu31ln6n" path="res://assets/shaders/canvas_group_flash.gdshader" id="23_nc6p3"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_w8pya"]
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_vn3j1"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("2_6qr4h")
|
||||
shader_parameter/blend_color = Color(1, 1, 1, 1)
|
||||
shader_parameter/amount = 0.0
|
||||
shader = ExtResource("23_nc6p3")
|
||||
shader_parameter/FLASH_COLOR = Color(1, 0.709804, 0.439216, 0.5)
|
||||
shader_parameter/blend = 0.0
|
||||
shader_parameter/selected = false
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_txjqc"]
|
||||
atlas = ExtResource("5_b583s")
|
||||
|
|
@ -74,18 +73,6 @@ region = Rect2(91, 32, 9, 15)
|
|||
atlas = ExtResource("5_b583s")
|
||||
region = Rect2(137, 19, 29, 39)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_y0p2l"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("7_nlwsb")
|
||||
shader_parameter/selected = false
|
||||
shader_parameter/blend = 0.0
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_op0h6"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("7_nlwsb")
|
||||
shader_parameter/selected = false
|
||||
shader_parameter/blend = 0.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5selg"]
|
||||
atlas = ExtResource("5_b583s")
|
||||
region = Rect2(0, 29, 35, 11)
|
||||
|
|
@ -102,12 +89,6 @@ region = Rect2(80, 0, 32, 30)
|
|||
atlas = ExtResource("5_b583s")
|
||||
region = Rect2(38, 22, 22, 13)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_0s5wm"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("7_nlwsb")
|
||||
shader_parameter/selected = false
|
||||
shader_parameter/blend = 0.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_n380g"]
|
||||
atlas = ExtResource("5_b583s")
|
||||
region = Rect2(34, 38, 45, 27)
|
||||
|
|
@ -775,19 +756,13 @@ flat_value = 0.4
|
|||
percentage_value = 0.0
|
||||
mult_value = 1.0
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_pjhfy"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("23_nc6p3")
|
||||
shader_parameter/blend = 0.0
|
||||
shader_parameter/selected = false
|
||||
|
||||
[node name="Hobo" node_paths=PackedStringArray("_armor") instance=ExtResource("1_fnu7s")]
|
||||
_armor = NodePath("CanArmor")
|
||||
MaxHP = 130.0
|
||||
_effectImmunities = Array[ExtResource("2_n380g")]([ExtResource("3_b583s")])
|
||||
MaxHP = 185.0
|
||||
_effectImmunities = [ExtResource("3_b583s")]
|
||||
|
||||
[node name="CanvasGroup" parent="." index="0"]
|
||||
material = SubResource("ShaderMaterial_w8pya")
|
||||
material = SubResource("ShaderMaterial_vn3j1")
|
||||
|
||||
[node name="Butt" parent="CanvasGroup/basic_zombie_walk/Zombie" index="0"]
|
||||
scale = Vector2(0.999902, 0.999902)
|
||||
|
|
@ -796,13 +771,13 @@ scale = Vector2(0.999902, 0.999902)
|
|||
texture = SubResource("AtlasTexture_txjqc")
|
||||
|
||||
[node name="RightUpperLeg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt" index="1"]
|
||||
scale = Vector2(0.99982, 0.99982)
|
||||
scale = Vector2(0.999826, 0.999826)
|
||||
|
||||
[node name="Right_Upper_Leg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/RightUpperLeg" index="0"]
|
||||
texture = SubResource("AtlasTexture_b583s")
|
||||
|
||||
[node name="RightLowerLeg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/RightUpperLeg" index="1"]
|
||||
scale = Vector2(0.999826, 0.999826)
|
||||
scale = Vector2(0.99983, 0.99983)
|
||||
|
||||
[node name="RightFoot" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/RightUpperLeg/RightLowerLeg" index="0"]
|
||||
scale = Vector2(0.999826, 0.999826)
|
||||
|
|
@ -814,7 +789,7 @@ texture = SubResource("AtlasTexture_uoit3")
|
|||
texture = SubResource("AtlasTexture_vn3j1")
|
||||
|
||||
[node name="LeftUpperLeg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt" index="2"]
|
||||
scale = Vector2(0.999823, 0.999823)
|
||||
scale = Vector2(0.999828, 0.999828)
|
||||
|
||||
[node name="Left_Upper_Leg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/LeftUpperLeg" index="0"]
|
||||
texture = SubResource("AtlasTexture_yb81c")
|
||||
|
|
@ -826,13 +801,13 @@ scale = Vector2(0.999829, 0.999829)
|
|||
texture = SubResource("AtlasTexture_nlwsb")
|
||||
|
||||
[node name="LeftFoot" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/LeftUpperLeg/LeftLowerLeg" index="1"]
|
||||
scale = Vector2(0.999822, 0.999822)
|
||||
scale = Vector2(0.999818, 0.999818)
|
||||
|
||||
[node name="Left_Foot" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/LeftUpperLeg/LeftLowerLeg/LeftFoot" index="0"]
|
||||
texture = SubResource("AtlasTexture_8y6c0")
|
||||
|
||||
[node name="Body" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt" index="3"]
|
||||
scale = Vector2(0.999825, 0.999825)
|
||||
scale = Vector2(0.999828, 0.999828)
|
||||
|
||||
[node name="RightUpperArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="0"]
|
||||
scale = Vector2(0.999828, 0.999828)
|
||||
|
|
@ -841,7 +816,7 @@ scale = Vector2(0.999828, 0.999828)
|
|||
texture = SubResource("AtlasTexture_nc6p3")
|
||||
|
||||
[node name="RightLowerArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/RightUpperArm" index="1"]
|
||||
scale = Vector2(0.999811, 0.999811)
|
||||
scale = Vector2(0.999814, 0.999814)
|
||||
|
||||
[node name="Right_Hand" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/RightUpperArm/RightLowerArm/RightHand" index="0"]
|
||||
texture = SubResource("AtlasTexture_y0p2l")
|
||||
|
|
@ -853,7 +828,7 @@ texture = SubResource("AtlasTexture_op0h6")
|
|||
texture = SubResource("AtlasTexture_0s5wm")
|
||||
|
||||
[node name="Tie" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="2"]
|
||||
rotation = 0.0327417
|
||||
rotation = 0.0564365
|
||||
scale = Vector2(1e-05, 1e-05)
|
||||
|
||||
[node name="Tie" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Tie" index="0"]
|
||||
|
|
@ -872,7 +847,7 @@ maxTorque = 45.0
|
|||
Impulse = 100.0
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Can" index="0" node_paths=PackedStringArray("armor")]
|
||||
material = SubResource("ShaderMaterial_y0p2l")
|
||||
material = ExtResource("6_vn3j1")
|
||||
position = Vector2(-5.9999, -4.5002)
|
||||
texture = ExtResource("6_i6nje")
|
||||
script = ExtResource("5_ndwp0")
|
||||
|
|
@ -882,7 +857,7 @@ thresholdPercentage = Array[float]([1.0, 0.667, 0.333])
|
|||
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Can" index="1"]
|
||||
z_index = -1
|
||||
material = SubResource("ShaderMaterial_op0h6")
|
||||
material = ExtResource("6_vn3j1")
|
||||
position = Vector2(-7.4999, -27.5002)
|
||||
texture = SubResource("AtlasTexture_5selg")
|
||||
|
||||
|
|
@ -904,8 +879,8 @@ position = Vector2(-4, -9)
|
|||
|
||||
[node name="Jaw" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head" index="2"]
|
||||
position = Vector2(-3, 3)
|
||||
rotation = -0.0532523
|
||||
scale = Vector2(0.999828, 0.999828)
|
||||
rotation = -0.0917904
|
||||
scale = Vector2(0.999825, 0.999825)
|
||||
texture = SubResource("AtlasTexture_7cvmi")
|
||||
offset = Vector2(-14, -2)
|
||||
|
||||
|
|
@ -920,7 +895,7 @@ data = NodePath("../../../../../../../../..")
|
|||
|
||||
[node name="Trashcan_lid" type="Sprite2D" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head/TrashcanLid" index="0"]
|
||||
z_index = -1
|
||||
material = SubResource("ShaderMaterial_0s5wm")
|
||||
material = ExtResource("6_vn3j1")
|
||||
position = Vector2(2.99822, -20.0166)
|
||||
scale = Vector2(1, 1)
|
||||
texture = SubResource("AtlasTexture_n380g")
|
||||
|
|
@ -937,7 +912,7 @@ _threshold = 0.333
|
|||
_observedArmor = NodePath("../../../../../../../../../../CanArmor")
|
||||
|
||||
[node name="Jaw" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head" index="1"]
|
||||
scale = Vector2(0.999828, 0.999828)
|
||||
scale = Vector2(0.999825, 0.999825)
|
||||
|
||||
[node name="TrashcanLid" type="Bone2D" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head" index="4"]
|
||||
position = Vector2(-0.0022974, -17.0131)
|
||||
|
|
@ -952,24 +927,24 @@ editor_settings/show_bone_gizmo = false
|
|||
remote_path = NodePath("../../HeadParticle/Head/TrashcanLid/Trashcan_lid")
|
||||
|
||||
[node name="LeftUpperArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="5"]
|
||||
scale = Vector2(0.99981, 0.99981)
|
||||
scale = Vector2(0.999826, 0.999826)
|
||||
|
||||
[node name="Left_Upper_Arm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm" index="0"]
|
||||
texture = SubResource("AtlasTexture_tebih")
|
||||
|
||||
[node name="Left_Lower_Arm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm/HandProjectile" index="0"]
|
||||
rotation = 0.0295357
|
||||
scale = Vector2(0.999991, 0.999991)
|
||||
rotation = 0.0509104
|
||||
scale = Vector2(1, 1)
|
||||
texture = SubResource("AtlasTexture_auxav")
|
||||
|
||||
[node name="Left_Hand" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm/HandProjectile/Left_Lower_Arm" index="0"]
|
||||
position = Vector2(-0.99983, 12.9978)
|
||||
rotation = 0.0
|
||||
rotation = 3.72659e-09
|
||||
scale = Vector2(0.999652, 0.999652)
|
||||
texture = SubResource("AtlasTexture_dntsa")
|
||||
|
||||
[node name="LeftLowerArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm" index="2"]
|
||||
scale = Vector2(0.999821, 0.999821)
|
||||
scale = Vector2(0.99983, 0.99983)
|
||||
|
||||
[node name="LeftHand" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm/LeftLowerArm" index="0"]
|
||||
scale = Vector2(0.999822, 0.999822)
|
||||
|
|
@ -990,6 +965,7 @@ advance_expression_base_node = NodePath("../Behaviour")
|
|||
|
||||
[node name="Mover" parent="." index="4"]
|
||||
_speed = SubResource("Resource_4248q")
|
||||
_speedControlMult = 0.0
|
||||
|
||||
[node name="HitPlayer" parent="." index="5"]
|
||||
playlist = Array[AudioStream]([ExtResource("8_4248q"), ExtResource("9_tu6af")])
|
||||
|
|
@ -997,12 +973,12 @@ channels = Array[String](["metal_hit", "hit"])
|
|||
|
||||
[node name="CanArmor" type="Node" parent="." index="7"]
|
||||
script = ExtResource("4_w8pya")
|
||||
MaxHP = 385.0
|
||||
MaxHP = 550.0
|
||||
metadata/_custom_type_script = "uid://fd4im1fmwc5n"
|
||||
|
||||
[node name="FlashController" type="Node" parent="CanArmor" index="0"]
|
||||
script = ExtResource("19_8y6c0")
|
||||
shaderMaterial = SubResource("ShaderMaterial_0s5wm")
|
||||
shaderMaterial = ExtResource("6_vn3j1")
|
||||
|
||||
[node name="Behaviour" type="Node" parent="." index="8" node_paths=PackedStringArray("_eatBox", "_animationTree")]
|
||||
script = ExtResource("4_5selg")
|
||||
|
|
@ -1016,7 +992,7 @@ channel = "anger"
|
|||
metadata/_custom_type_script = "uid://c36bj8u7jghc7"
|
||||
|
||||
[node name="FlashController" parent="." index="12"]
|
||||
shaderMaterial = SubResource("ShaderMaterial_pjhfy")
|
||||
shaderMaterial = SubResource("ShaderMaterial_vn3j1")
|
||||
|
||||
[connection signal="ThresholdReached" from="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head/TrashcanLid/Observer" to="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head/TrashcanLid" method="FallOff"]
|
||||
[connection signal="ThresholdReached" from="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head/TrashcanLid/Observer" to="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/TrashcanLid/RemoteTransform2D" method="queue_free"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue