Menus overhaul #14

Merged
dkanus merged 30 commits from :somechanges into master 2022-01-23 22:14:51 +03:00
Showing only changes of commit b9fc5b8573 - Show all commits

View File

@ -200,7 +200,10 @@ simulated function Tick(float deltatime)
{
local vector BileExplosionLoc;
local FleshHitEmitter GibBileExplosion;
Super.tick(deltatime);
if( Role == ROLE_Authority && bMovingPukeAttack )
{
// Keep moving toward the target until the timer runs out (anim finishes)
@ -243,7 +246,8 @@ simulated function Tick(float deltatime)
{
if ( !class'GameInfo'.static.UseLowGore() )
{
BileExplosionLoc = self.Location;
// remove self.
BileExplosionLoc = Location;
BileExplosionLoc.z += (CollisionHeight - (CollisionHeight * 0.5));
if (bDecapitated)
@ -258,7 +262,7 @@ simulated function Tick(float deltatime)
}
else
{
BileExplosionLoc = self.Location;
BileExplosionLoc = Location;
BileExplosionLoc.z += (CollisionHeight - (CollisionHeight * 0.5));
GibBileExplosion = Spawn(class 'LowGoreBileExplosion',self,, BileExplosionLoc );