by Chris » Sat Aug 05, 2006 5:35 am
No it lowers it to 0 0 14 view_ofs.
Quick fix:
open fight.qc
go to: float() CheckAttack
find:
spot2 = targ.origin + targ.view_ofs;
replace with:
if (!targ.crouch)
spot2 = targ.origin + targ.view_ofs;
if (targ.crouch)
spot2 = targ.origin;
Also due to Hull issues in different versions of bsp's that darkplaces supports (example: hl1 / q1 maps) it can't change the hull size effectively and causes sometimes to 'walk thru walls'. I wish I could edit this tutorial a bit more, it was just a snippet of code I had laying around from the hunted 3 that I never used. Sorry for the confusion. Hopefully that work around at least solved the issue of monsters seeing you, and good luck on your mod endeavors.