hi all.
i have found the part in the new ai_ soldier script were the head shots are registered, and have modify it to count the head shots. and it works fine for me. ( module_combatcore )
function module_combatcore.headshot(e)
if string.find(string.lower(g_Entity[e]['limbhit']), "head") ~= nil then
-- PCS CHANGE
kills = kills + 1
xp = xp + 10
hs = hs + 1
--
SetEntityHealth(e,0)
ResetLimbHit(e)
end
end
i cant find the exit part to count a normal kill , can anyone maybe help me with this.
Thanks.
Pcs
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 4GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11