Page MenuHomeFeedback Tracker

AI Zombies Ignoring FireGeometry and BarbWireHit on Base Building WatchTower / Fence
Assigned, NormalPublic

Description

Are you aware zombie seem too be ignoring Firegeometry and BarbedWireHit, maybe should be looked into, I thought this was working a few versions back maybe 1.12 -1.14 can't remember exactly, but enjoyed watching and listening to zombie's getting cut up bye barbwire. Anyhow maybe check into it. Thanks, or is this just an isolated serverside glitch?

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
Windows 11 x64
Category
AI Issues
Steps To Reproduce

Build a fence or watchtower near a decoration wall or building, build lower and upper base added barbwire, also upgrade either upper / lower base with sheet metal, or planks, zombies not taking BarbedWireHit ignoring FireGeometry.

Event Timeline

CjMcC created this task.Apr 14 2022, 2:26 PM
CjMcC added a comment.Apr 14 2022, 2:29 PM

BarbedWireHit

CjMcC added a comment.Apr 14 2022, 2:33 PM

Playing current Stable version.

CjMcC edited Steps To Reproduce. (Show Details)Apr 14 2022, 2:38 PM
CjMcC updated the task description. (Show Details)Apr 14 2022, 2:41 PM
CjMcC edited Steps To Reproduce. (Show Details)
CjMcC removed a subscriber: CjMcC.Apr 14 2022, 3:17 PM
CjMcC added a subscriber: CjMcC.
CjMcC added a comment.Apr 14 2022, 4:07 PM

ZombieBase.c Is this causing no damage from barbedwire?

//! selects animation type and direction based on damage system data
bool EvaluateDamageHitAnimation(EntityAI pSource, string pComponent, string pAmmoType, out bool pHeavyHit, out int pAnimType, out float pAnimHitDir)
{

		int invertHitDir = 0; //Used to flip the heavy hit animation direction
		
		//! heavy hit
		pHeavyHit = ((GetGame().ConfigGetInt("cfgAmmo " + pAmmoType + " hitAnimation") > 0) || m_HeavyHitOverride);
		invertHitDir = GetGame().ConfigGetInt("cfgAmmo " + pAmmoType + " invertHitDir");
		
		//! anim type
		pAnimType = 0; // belly
		
		if ( !pHeavyHit )
		{
			if ( pComponent == "Torso" ) // body
				pAnimType = 1;
			else if ( pComponent == "Head" ) // head		
				pAnimType = 2;
		}
		
		//! direction
		//pAnimHitDir = ComputeHitDirectionAngle(pSource);
		pAnimHitDir = ComputeHitDirectionAngleEx(pSource, invertHitDir);
		//! shock GetDamage
		//m_ShockDamage = GetGame().ConfigGetFloat( "CfgAmmo " + pAmmoType + " DamageApplied " + "Shock " + "damage");
		return true;

}

CjMcC added a comment.Apr 14 2022, 5:53 PM

This might be a collision problem, we know fire geometry is there, But I have no idea !

Geez changed the task status from New to Assigned.Apr 19 2022, 1:04 PM

This might just be a LAN server Glitch, I was playing my LAN server when this was happening. Not sure
Anyhow feel free to look into it.

CjMcC removed a subscriber: CjMcC.Apr 25 2022, 6:31 PM