Zombie hp meta rebalanced
This commit is contained in:
parent
e4c25a1ca5
commit
c6ceaa28d2
13 changed files with 155 additions and 309 deletions
|
|
@ -1,6 +1,7 @@
|
|||
[gd_scene load_steps=16 format=3 uid="uid://hhjbqkjqpt7x"]
|
||||
[gd_scene load_steps=18 format=3 uid="uid://hhjbqkjqpt7x"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://co11v3w8hbwgf" path="res://scenes/entities/Zombies/zombie.tscn" id="1_3dq4c"]
|
||||
[ext_resource type="Shader" uid="uid://btf4xhu31ln6n" path="res://assets/shaders/canvas_group_flash.gdshader" id="2_s2p07"]
|
||||
[ext_resource type="Script" uid="uid://fd4im1fmwc5n" path="res://scripts/entities/Armor.cs" id="3_5s7in"]
|
||||
[ext_resource type="Material" uid="uid://cn7ac4meka1hc" path="res://assets/GenericFlashMaterial.tres" id="3_b8kja"]
|
||||
[ext_resource type="Script" uid="uid://dt5uj25u0g6y3" path="res://scripts/particles/FallParticle.cs" id="3_w70im"]
|
||||
|
|
@ -13,6 +14,13 @@
|
|||
[ext_resource type="AudioStream" uid="uid://w0qfwds4o3ti" path="res://assets/audio/sfx/hit_generic.tres" id="7_67t4t"]
|
||||
[ext_resource type="Script" uid="uid://30pbgasu64aw" path="res://scripts/entities/FlashShaderController.cs" id="13_7fceb"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_b8kja"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("2_s2p07")
|
||||
shader_parameter/FLASH_COLOR = Color(1, 0.709804, 0.439216, 0.5)
|
||||
shader_parameter/blend = 0.0
|
||||
shader_parameter/selected = false
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_67t4t"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_011r0"]
|
||||
|
|
@ -32,8 +40,11 @@ mult_value = 1.0
|
|||
[node name="ConeZombie" node_paths=PackedStringArray("_armor") instance=ExtResource("1_3dq4c")]
|
||||
_armor = NodePath("Armor")
|
||||
|
||||
[node name="CanvasGroup" parent="." index="0"]
|
||||
material = SubResource("ShaderMaterial_b8kja")
|
||||
|
||||
[node name="RightUpperLeg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt" index="1"]
|
||||
scale = Vector2(0.999834, 0.999834)
|
||||
scale = Vector2(0.999832, 0.999832)
|
||||
|
||||
[node name="RightLowerLeg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/RightUpperLeg" index="1"]
|
||||
scale = Vector2(0.999832, 0.999832)
|
||||
|
|
@ -42,43 +53,44 @@ scale = Vector2(0.999832, 0.999832)
|
|||
scale = Vector2(0.999831, 0.999831)
|
||||
|
||||
[node name="LeftUpperLeg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt" index="2"]
|
||||
scale = Vector2(0.999832, 0.999832)
|
||||
scale = Vector2(0.999834, 0.999834)
|
||||
|
||||
[node name="LeftLowerLeg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/LeftUpperLeg" index="1"]
|
||||
scale = Vector2(0.999832, 0.999832)
|
||||
scale = Vector2(0.999833, 0.999833)
|
||||
|
||||
[node name="LeftFoot" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/LeftUpperLeg/LeftLowerLeg" index="1"]
|
||||
scale = Vector2(0.99983, 0.99983)
|
||||
|
||||
[node name="Body" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt" index="3"]
|
||||
scale = Vector2(0.999829, 0.999829)
|
||||
|
||||
[node name="RightUpperArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="0"]
|
||||
scale = Vector2(0.99983, 0.99983)
|
||||
|
||||
[node name="RightUpperArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="0"]
|
||||
scale = Vector2(0.999829, 0.999829)
|
||||
|
||||
[node name="RightLowerArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/RightUpperArm" index="1"]
|
||||
scale = Vector2(0.999825, 0.999825)
|
||||
scale = Vector2(0.999828, 0.999828)
|
||||
|
||||
[node name="RightHand" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/RightUpperArm/RightLowerArm" index="0"]
|
||||
scale = Vector2(0.99983, 0.99983)
|
||||
|
||||
[node name="Tie" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="2"]
|
||||
rotation = 0.116614
|
||||
skew = -0.000146031
|
||||
rotation = -0.0737795
|
||||
skew = -0.00014627
|
||||
|
||||
[node name="Head" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="3"]
|
||||
scale = Vector2(0.999828, 0.999828)
|
||||
|
||||
[node name="Right_Eye" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head" index="0"]
|
||||
position = Vector2(-16, -8)
|
||||
position = Vector2(-16, -8.00001)
|
||||
scale = Vector2(1, 1)
|
||||
|
||||
[node name="Left_Eye" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head" index="1"]
|
||||
position = Vector2(-4, -9)
|
||||
scale = Vector2(1, 1)
|
||||
|
||||
[node name="Jaw" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head" index="2"]
|
||||
position = Vector2(-3.00143, 2.99758)
|
||||
rotation = 0.011317
|
||||
position = Vector2(-2.90837, 2.77886)
|
||||
rotation = -0.0515354
|
||||
scale = Vector2(0.999829, 0.999829)
|
||||
|
||||
[node name="Jaw" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head" index="1"]
|
||||
|
|
@ -115,26 +127,26 @@ shape = SubResource("CircleShape2D_67t4t")
|
|||
scale = Vector2(0.999828, 0.999828)
|
||||
|
||||
[node name="Left_Lower_Arm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm/HandProjectile" index="0"]
|
||||
rotation = 0.109643
|
||||
scale = Vector2(0.999998, 0.999998)
|
||||
rotation = -0.0781998
|
||||
scale = Vector2(0.999999, 0.999999)
|
||||
|
||||
[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.0483896
|
||||
scale = Vector2(0.999657, 0.999657)
|
||||
rotation = -0.0644599
|
||||
scale = Vector2(0.999659, 0.999659)
|
||||
|
||||
[node name="LeftLowerArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm" index="2"]
|
||||
scale = Vector2(0.999828, 0.999828)
|
||||
scale = Vector2(0.999829, 0.999829)
|
||||
|
||||
[node name="LeftHand" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm/LeftLowerArm" index="0"]
|
||||
scale = Vector2(0.999827, 0.999827)
|
||||
scale = Vector2(0.999829, 0.999829)
|
||||
|
||||
[node name="Eatbox" parent="." index="2"]
|
||||
_damage = SubResource("Resource_011r0")
|
||||
|
||||
[node name="Mover" parent="." index="4"]
|
||||
_speed = SubResource("Resource_b6mal")
|
||||
_speedControlMult = 0.670374
|
||||
_speedControlMult = 0.113427
|
||||
|
||||
[node name="HitPlayer" parent="." index="5"]
|
||||
playlist = Array[AudioStream]([ExtResource("7_0amn8"), ExtResource("7_67t4t")])
|
||||
|
|
@ -142,12 +154,15 @@ channels = Array[String](["plastic_hit", "hit"])
|
|||
|
||||
[node name="Armor" type="Node" parent="." index="6"]
|
||||
script = ExtResource("3_5s7in")
|
||||
MaxHP = 135.0
|
||||
MaxHP = 195.0
|
||||
|
||||
[node name="FlashController" type="Node" parent="Armor" index="0"]
|
||||
script = ExtResource("13_7fceb")
|
||||
shaderMaterial = ExtResource("3_b8kja")
|
||||
|
||||
[node name="FlashController" parent="." index="10"]
|
||||
shaderMaterial = SubResource("ShaderMaterial_b8kja")
|
||||
|
||||
[connection signal="ArmorLost" from="Armor" to="HitPlayer" method="Next"]
|
||||
[connection signal="ArmorLost" from="Armor" to="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/Hat" method="FallOff"]
|
||||
[connection signal="Damaged" from="Armor" to="HitPlayer" method="Play"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue