此内容来自第三方平台 (Dailymotion)。如果此视频侵犯了您的版权,请使用 立即删除 工具。
FarCry - HitEffects
描述
Player's Hit Effects :)
In BasicPlayer.lua, replace lines 1397 and following with this:
local ShakeAmount = (hit.explosion and hit.damage) or (sqrt(hit.damage)*5);
self.cnt:ShakeCamera( ShakeAxis, ShakeAmount, 33/ShakeAmount, ShakeAmount/66);
self.cnt:ShakeCameraL( ShakeAmount/100,1,ShakeAmount/100);
In BasicPlayer.lua, replace lines 1397 and following with this:
local ShakeAmount = (hit.explosion and hit.damage) or (sqrt(hit.damage)*5);
self.cnt:ShakeCamera( ShakeAxis, ShakeAmount, 33/ShakeAmount, ShakeAmount/66);
self.cnt:ShakeCameraL( ShakeAmount/100,1,ShakeAmount/100);