Jump to content

XML:BINA/ONIE: Difference between revisions

Line 413: Line 413:


::I guess you're right, I forgot to think about the AI that wouldn't know to aim for the head. --[[User:Iritscen|Iritscen]] 17:57, 18 May 2009 (UTC)
::I guess you're right, I forgot to think about the AI that wouldn't know to aim for the head. --[[User:Iritscen|Iritscen]] 17:57, 18 May 2009 (UTC)
::AI can be learnt to score "headshots", however, that requires all characters to have similar height. In [[ONWC]], some values around 0x100 - 0x120 in primary firing component if I recall correctly are used to tell AI where to aim according to its target's root (pelvis) when shooting with primary fire. It is set zero or low, so AI tends to shoot into stomach. Set Y component a bit higher to achieve chest/headshots. But then be prepared for consequences - if character is minimized (lenght from root to head is smaller), AI will be happily missing character. Good luck with it, if you want to try it. P.S.: delete this immediately if you don't like it. I don't want to waste space.--[[User:Loser|Loser]] 18:11, 18 May 2009 (UTC)


<!--
<!--
271

edits