public override void TargetDetected(AS_Bullet bullet, AS_BulletHiter target, Vector3 point) { if (!ActionCam) { return; } ActionCam.lookAtPosition = point; ActionCam.Follow = false; ActionCam.SlowmotionNow(0.02f, 3); ActionCam.SetPositionDistance(point, false); ActionCam.ActionBullet(10.0f); ActionCam.SetFOV(10, true, 0.1f); base.TargetDetected(bullet, target, point); }
public override void TargetHited(AS_Bullet bullet, AS_BulletHiter target, Vector3 point) { if (!ActionCam) { return; } ActionCam.SetPositionDistance(point, true); ActionCam.lookAtPosition = point; ActionCam.ActionBullet(2.0f); ActionCam.SlowmotionNow(0.03f, 1); ActionCam.SetFOV(20, true, 0.1f); ActionCam.ObjectFollowing = null; ActionCam.Follow = true; ActionCam.SetPosition(point - bullet.transform.forward * 5, false); base.TargetHited(bullet, target, point); }
public override void TargetDetected(AS_Bullet bullet, AS_BulletHiter target, Vector3 point) { if (!ActionCam) { return; } if (!ActionCam.HitTarget) { ActionCam.Follow = true; ActionCam.ActionBullet(10.0f); ActionCam.Slowmotion(0.015f, 10f); ActionCam.LengthMult = 0.1f; ActionCam.SetFOV(10, true, 0.1f); ActionCam.SetPosition(bullet.transform.position + (bullet.transform.right) - (bullet.transform.forward), ActionCam.Detected); ActionCam.CameraOffset = ((bullet.transform.right * 0.2f) - (bullet.transform.forward)); } base.TargetDetected(bullet, target, point); }