From 95426102fb10ded928b29f1b8dd8e1e2b0836428 Mon Sep 17 00:00:00 2001 From: Mohamed Date: Wed, 22 Nov 2023 19:42:44 +0400 Subject: [PATCH] Todos for Scrake & Husk --- Classes/AdvHuskFireProjectile.uc | 23 ++++++++++++++++++++++- Classes/AdvZombieScrake.uc | 16 +++++++++++----- 2 files changed, 33 insertions(+), 6 deletions(-) diff --git a/Classes/AdvHuskFireProjectile.uc b/Classes/AdvHuskFireProjectile.uc index 97c4ec6..18f1af3 100644 --- a/Classes/AdvHuskFireProjectile.uc +++ b/Classes/AdvHuskFireProjectile.uc @@ -10,5 +10,26 @@ class AdvHuskFireProjectile extends HuskFireProjectile; /* todo: Apply Physics to Fireball so that it actually has drop over distance (see: explosive pound code) - Allow it to destroyed mid-air by gunfire + Allow projectile to be destroyed mid-air by gunfire, as well as hit players in mid-air + Projectile has 2 separate explosions, one at the center that deals mediumish damage, and a flame explosion + That deals low, ticking, fire damage in a wide radius. Flame explosion needs a LinkedReplication class similar to + Super Zombies so that we can adjust and lengthen the burn time. Also, flame damage should temporarily mess with + User's vision/recoil for the duration. + */ + + +/* !!! UNCOMMENT THIS ONCE WE'VE ADJUSTED HOW BURNING WORKS !!! + +simulated function Explode(vector HitLocation, vector HitNormal) { + // Second explosion + HurtRadius(Damage*3,100, class'DamTypeFrag', MomentumTransfer, HitLocation ); + super.Explode(HitLocation,HitNormal); +} + +defaultproperties{ + Damage=15 + DamageRadius=300 + MomentumTransfer=31250 +} + */ \ No newline at end of file diff --git a/Classes/AdvZombieScrake.uc b/Classes/AdvZombieScrake.uc index 8a43422..4429a97 100644 --- a/Classes/AdvZombieScrake.uc +++ b/Classes/AdvZombieScrake.uc @@ -9,11 +9,17 @@ class AdvZombieScrake extends AdvZombieScrakeBase abstract; -// Base changes TODO: -// Scrake melee attack = instant kill -// Scrake doesn't turn to face target while melee attacking, allowing flanking from speedy perks. -// Scrake continues moving while melee attacking but can't rotate during it -// Scrake laughs after killing his target(modify pat anims) (Maybe?) +/* TODO + - Melee attack is an instant kill + - Can only deal damage IF his target is infront of him + - Starts out with slow movement speed until he spots his first target, which then he passively + Gains a speed increase until walks as fast as a player running with a knife + - Once he has a target, he will not change it until they are dead + On HoE, if target breaks line of sight for too long, rage + - When raged, bumps zeds out of the way + starts spawning avoidlocations infront of him + - Slowly turns to face target while melee attacking, allowing flanking from speedy perks + - Has a grace period where he derages temporarily after killing a player that lasts 15 seconds + */ #exec OBJ LOAD FILE=PlayerSounds.uax