1 ACTOR HatchetAndShield : Weapon /*6011*/ {
11 Inventory.PickupMessage "Got a Hatchet and Shield."
12 Inventory.PickupSound "none"
13 Tag "Hatchet and Shield"
14 Weapon.SelectionOrder 1
18 //AttackSound "Weapons/AxeSwing"
19 Inventory.Icon "WHATA0"
20 Obituary "%o was split by %k's Hatchet."
28 TNT1 A 0 A_GiveInventory("QuickKickDisabled", 1)
29 TNT1 A 0 A_TakeInventory("PerformQuickKick")
30 TNT1 A 0 A_TakeInventory("QuickKickInProgress")
31 TNT1 A 0 A_GiveInventory("HoldingAxe", 1)
32 TNT1 A 0 //A_SetCrosshair(9)
37 TNT1 A 0 A_TakeInventory("ShieldBlockOn",1)
38 WHAR A 1 Offset (-15, 40)
39 WHAR A 1 Offset (-40, 55)
40 WHAR A 1 Offset (-70, 80)
44 TNT1 A 0 A_TakeInventory("HoldingAxe", 1)
49 TNT1 A 0 A_PlaySound("Weapons/ShieldBlock3", CHAN_AUTO, 0.4)
50 WHAR A 1 Offset(-70, 80)
51 TNT1 A 0 A_SpawnItemEx("ShieldBlockPassive", 14, -13, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
52 WHAR A 1 Offset(-50, 65)
53 WHAR A 1 Offset(-30, 50)
54 WHAR A 1 Offset(-15, 40)
55 TNT1 A 0 A_TakeInventory("QuickKickDisabled")
59 WSPI A 0 A_JumpIfInventory("ShieldBlockOn",1,"ReadyBlocking")
60 WHAR A 1 A_WeaponReady
61 TNT1 A 0 A_SpawnItemEx("ShieldBlockPassive", 14, -13, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
62 TNT1 A 0 A_GiveInventory("ShieldArmorPassive", 1)
66 TNT1 A 0 A_TakeInventory("QuickKickDisabled")
67 WHAS B 1 A_WeaponReady
68 TNT1 A 0 A_SpawnItemEx("ShieldBlockActive", 46, 0, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
69 TNT1 A 0 A_GiveInventory("ShieldArmorActive", 1)
73 WHAS A 0 A_JumpIfInventory("ShieldBlockOn",1,"ShieldBash")
74 TNT1 A 0 A_TakeInventory("ShieldBlockOn",1)
75 TNT1 A 0 A_GiveInventory("ShieldArmorPassive", 1)
76 WHAR A 1 A_SpawnItemEx("ShieldBlockPassive", 14, -13, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
77 TNT1 A 0 A_Jump(10, "Rage")
79 TNT1 A 0 A_SetPitch(1.5+pitch)
80 TNT1 A 0 A_SetAngle(0.4+angle)
81 WHAF A 1 A_PlaySound("Weapons/AxeSwing", CHAN_AUTO)
82 TNT1 A 0 A_SetPitch(1.5+pitch)
83 TNT1 A 0 A_AlertMonsters(640)
84 WHAF B 1 A_SetPitch(1.5+pitch)
85 TNT1 A 0 A_SetAngle(0.4+angle)
86 WHAF B 1 A_SetPitch(1.5+pitch)
87 WHAF C 1 A_CustomPunch(6*random(8,14),1,CPF_NOTURN,"HatchetSlashPuff", 144,0,0,"ArmorBonus","Weapons/AxeMelee")
88 TNT1 A 0 A_FireProjectile("AxeCleave", 0 , 0, 0, 0, FPF_NOAUTOAIM, 0)
89 TNT1 A 0 A_SetPitch(-1.5+pitch)
90 WHAF C 1 A_SpawnItemEx("ShieldBlockPassive", 14, -13, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
91 TNT1 A 0 A_SetPitch(-1.5+pitch)
92 WHAF D 1 A_SetAngle(-0.4+angle)
93 WHAF E 1 A_SetPitch(-1.5+pitch)
94 WHAF F 1 A_SetPitch(-1.5+pitch)
95 TNT1 A 0 A_SetAngle(-0.4+angle)
96 TNT1 A 0 A_WeaponReady(WRF_NOPRIMARY | WRF_NOBOB)
97 WHAR A 2 A_SpawnItemEx("ShieldBlockPassive", 14, -13, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
98 TNT1 A 0 A_WeaponReady(WRF_NOPRIMARY | WRF_NOBOB)
99 WHAR A 2 A_SpawnItemEx("ShieldBlockPassive", 14, -13, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
100 TNT1 A 0 A_WeaponReady(WRF_NOPRIMARY | WRF_NOBOB)
101 WHAR A 2 A_SpawnItemEx("ShieldBlockPassive", 14, -13, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
102 TNT1 A 0 A_WeaponReady(WRF_NOPRIMARY | WRF_NOBOB)
103 WHAR A 2 A_SpawnItemEx("ShieldBlockPassive", 14, -13, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
108 TNT1 A 0 A_GiveInventory("ShieldArmorActive", 1)
109 TNT1 A 0 A_SpawnItemEx("ShieldBlockActive", 22, 0, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
110 TNT1 A 0 A_Jump(20, "AltRage")
112 TNT1 A 0 A_SetPitch(-1.5+pitch)
113 TNT1 A 0 A_SetAngle(-0.4+angle)
114 WHAS B 1 A_PlaySound("Weapons/GreatAxeSwing", CHAN_AUTO, 0.4)
115 TNT1 A 0 A_AlertMonsters(320)
116 TNT1 A 0 A_SetPitch(-1.5+pitch)
118 TNT1 A 0 A_SetPitch(-1.5+pitch)
119 TNT1 A 0 A_SetAngle(-0.4+angle)
120 WHAS D 1 A_SpawnItemEx("ShieldBlockActive", 22, 0, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
121 TNT1 A 0 A_SetPitch(1.5+pitch)
122 WHAS E 1 //A_CustomPunch(6*random(6,10),1,0,"ShieldBashPuff", 128,0,0,"ArmorBonus")//,"Weapons/ShieldBlock")
123 TNT1 A 0 A_FireProjectile("ShieldBash", 0 , 0, 0, 0, FPF_NOAUTOAIM, 0)
124 WHAS E 1 A_SpawnItemEx("ShieldBlockActive", 22, 0, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
125 TNT1 A 0 A_SetPitch(1.5+pitch)
126 WHAS D 1 A_SetAngle(0.8+angle)
127 WHAS C 1 A_SetPitch(1.5+pitch)
128 WHAS B 3 A_WeaponReady(WRF_NOPRIMARY)
129 TNT1 A 0 A_SpawnItemEx("ShieldBlockActive", 22, 0, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
130 WHAS B 3 A_WeaponReady(WRF_NOPRIMARY)
131 TNT1 A 0 A_SpawnItemEx("ShieldBlockActive", 22, 0, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
132 WHAS B 3 A_WeaponReady(WRF_NOPRIMARY)
133 TNT1 A 0 A_SpawnItemEx("ShieldBlockActive", 22, 0, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
137 TNT1 A 0 A_GiveInventory("ShieldArmorActive", 1)
138 WHAR A 1 A_SpawnItemEx("ShieldBlockPassive", 14, -11, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
139 TNT1 A 0 A_Jump(10, "Rage")
140 TNT1 A 0 A_SetPitch(1.5+pitch)
141 TNT1 A 0 A_SetAngle(0.4+angle)
142 WHAF A 1 A_PlaySound("Weapons/AxeSwing", CHAN_AUTO)
143 TNT1 A 0 A_AlertMonsters(640)
144 TNT1 A 0 A_SetPitch(1.5+pitch)
145 WHAF B 1 A_GiveInventory("AxeSwinging",1)
146 TNT1 A 0 A_SetPitch(1.5+pitch)
147 TNT1 A 0 A_SetAngle(0.4+angle)
149 TNT1 A 0 A_SetPitch(-1.5+pitch)
150 WHAF C 1 A_CustomPunch(6*random(8,12),1,CPF_NOTURN,"HatchetSlashPuff", 144,0,0,"ArmorBonus","Weapons/AxeMelee")
151 TNT1 A 0 A_FireProjectile("AxeCleave", 0 , 0, 0, 0, FPF_NOAUTOAIM, 0)
152 WHAF C 1 A_SpawnItemEx("ShieldBlockPassive", 14, -11, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
153 TNT1 A 0 A_SetPitch(-1.5+pitch)
154 WHAF E 1 A_SetAngle(-0.8+angle)
155 WHAF F 1 A_SetPitch(-1.5+pitch)
156 WHAR A 2 A_SpawnItemEx("ShieldBlockPassive", 14, -11, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
157 WHAS A 2 A_SpawnItemEx("ShieldBlockPassive", 14, -11, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
158 WHAS B 2 A_SpawnItemEx("ShieldBlockPassive", 14, -11, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
159 WHAS B 2 A_SpawnItemEx("ShieldBlockPassive", 14, -11, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
160 WHAS B 2 A_SpawnItemEx("ShieldBlockPassive", 14, -11, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
166 TNT1 A 0 A_PlaySound("Character/ZanRage", CHAN_VOICE)
170 TNT1 A 0 A_PlaySound("Character/ZanRage", CHAN_VOICE)
171 Goto ShieldBashNoRage
174 WHAS A 0 A_JumpIfInventory("ShieldBlockOn",1,"StopBlocking")
175 WHAS A 1 A_SpawnItemEx("ShieldBlockPassive", 14, -13, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
176 WHAS B 2 A_SpawnItemEx("ShieldBlockActive", 22, 0, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
177 WHAS B 2 A_SpawnItemEx("ShieldBlockActive", 22, 0, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
178 TNT1 A 0 A_GiveInventory("ShieldBlockOn",1)
182 TNT1 A 0 A_TakeInventory("ShieldBlockOn",1)
183 WHAS A 2 A_SpawnItemEx("ShieldBlockPassive", 14, -13, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
184 WHAR A 3 A_SpawnItemEx("ShieldBlockPassive", 14, -13, 8, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 0)
187 stateinclude "decorate/Weapons/QuickKick/QuickKickInclude.txt"
192 ACTOR ShieldBlockOn : Inventory {
193 Inventory.MaxAmount 1
197 ACTOR HatchetSlashPuff {
198 AttackSound "Weapons/AxeMelee4"
207 TNT1 A 1 A_SpawnItem("HatchetSlashWall")
213 ACTOR HatchetSlashWall {
221 ACTOR ShieldBashPuff {
222 AttackSound "Weapons/ShieldBlock1"
223 DamageType "KickPushback"
228 ProjectileKickback 500
232 TNT1 A 1 A_SpawnItem("ShieldSmashWall")
238 ACTOR ShieldSmashWall {
246 ACTOR ShieldBlockPassive {
254 Painchance "Aggro", 0
256 Painchance "PoxToxic", 0
257 DamageFactor "Lava", 0
258 DamageFactor "Acid", 0
259 DamageFactor "Toxic", 0
260 DamageFactor "Mind", 0
261 DamageFactor "Aggro", 0.0
279 PainSound "Weapons/ShieldBlock"
289 TNT1 A 0 A_Quake(5, 20, 0, 128, "Misc/Silence")
299 ACTOR ShieldBlockActive : ShieldBlockPassive {
307 ACTOR ShieldArmorPassive : PowerupGiver {
308 Powerup.Type "ShieldArmorA"
309 +INVENTORY.AUTOACTIVATE
319 ACTOR PowerShieldArmorA : PowerProtection {
322 DamageFactor "Melee", 0.25
326 ACTOR ShieldArmorActive : PowerupGiver {
327 Powerup.Type "ShieldArmorB"
328 +INVENTORY.AUTOACTIVATE
338 ACTOR PowerShieldArmorB : PowerProtection {
339 ActiveSound "Weapons/ShieldBlock"
342 DamageFactor "Melee", 0.1
346 ACTOR ShieldBash : FastProjectile {
351 DamageType "KickPushback"
358 ProjectileKickback 700
359 DeathSound "Weapons/ShieldBash"
367 TNT1 A 0 A_Explode(6*random(8,10), 48, 0, False, 48, 0, 0, " ", "KickPushback")
369 TNT1 A 0 A_Quake(6, 24, 0, 48, "misc/silence")