Site Tools


ac6-refmat:param:lookatparam

LookAtParam

Fields

Field Type Offset Description Notes
strCtrlBoneName fixstr 0x0 Bone name to apply to.
bRotEnableX u8 0x18 If ON, rotation of the X-axis is enabled for the look-at camera. This field is a boolean.
bRotEnableY u8 0x19 If ON, rotation of the Y-axis is enabled for the look-at camera. This field is a boolean.
bRotInverse u8 0x1a If ON, the rotation start position is flipped by 180 degrees. This field is a boolean.
bDirPosShootOffsetEnable u8 0x1b If ON, the look-at direction is corrected by the muzzle position. This field is a boolean.
upLimitAngleDeg u8 0x1c The upwards limit angle for the look-at camera. In degrees.
downLimitAngleDeg u8 0x1d The downwards limit angle for the look-at camera. In degrees.
maxRotSpeedDegPerSecX u16 0x1e The maximum rotation velocity to apply per second on the X-axis. In degrees.
turnAccelDPSS_X f32 0x20 The angular acceleration on the X-axis to apply. In degrees per second ^ 2.
offsetBaseDmyPolyId s32 0x24 The dummy polygon ID to use when correcting the Look-At direction. Applies for the discrepency between the rotation axis and the muzzle position. (-1 is used for the weapon shoot dummy polygon).
leftLimitAngleDeg u8 0x28 The leftward limit angle for the look-at camera. In degrees.
rightLimitAngleDeg u8 0x29 The rightward limit angle for the look-at camera. In degrees.
maxRotSpeedDegPerSecY u16 0x2a The maximum rotation velocity to apply per second on the Y-axis. In degrees.
turnAccelDPSS_Y f32 0x2c The angular acceleration on the Y-axis to apply. In degrees per second ^ 2.
lookAheadSecond_Y f32 0x30 The minimum duration to look ahead for the height target view position. In seconds.
basePosOffsetY f32 0x34 The reference position to use when calculating the direction for a location shifted by this value on the Y-axis from the rotation axis.
predictionShootObserveTime f32 0x38 The duration for which a target is observed for, over the specified velocity, for target prediction.
predictionBulletId s32 0x3c The bullet ID used for target predicition. This field refers to the following params: Bullet
predictionMaxTime f32 0x40 The maximum duration later that a target position can be predicted for.
predictionWepSlotIndex s8 0x44 The weapone equipment slot number to use for the target predicition (attack action).
bFollowOrbitMode u8 0x45 If ON, the control mode for orbiting comes from the root bone of the character. This field is a boolean.
pad01 dummy8 0x46 This field is padding.
fadeOutTime f32 0x48 The fade out duration if Look-At is disabled.
deflectType u8 0x4c The deflect type to use. This field uses the following enum: BULLET_DEFLECT_TYPE
bLookAtPosFollowTargetMode u8 0x4d If ON, the Look-At target position is followed after velocity and acceleration. This field is a boolean.
bWorldFixRotX u8 0x4e If ON, the X-axis rotation for Look-At is fixed relative to the World. This field is a boolean.
bWorldFixRotY u8 0x4f If ON, the Y-axis rotation for Look-At is fixed relative to the World. This field is a boolean.
worldFixRotOffsetAngleDegX s16 0x50 The fixed offset angle to use for the world fix on the X-axis. In degrees.
worldFixRotOffsetAngleDegY s16 0x52 The fixed offset angle to use for the world fix on the Y-axis. In degrees.
lookAtPosFollowTarget_BaseDmyId s32 0x54 The reference dummy polygon ID to use for the track target position mode.
lookAtPosFollowTarget_AcellMPSS f32 0x58 The acceleration towards the target in track target position mode. In metres per second ^ 2.
lookAtPosFollowTarget_BrakeMPSS f32 0x5c The deceleration in directions other than the target in track target position mode. In metres per second ^ 2.
lookAtPosFollowTarget_MaxSpeedKMH f32 0x60 The maximum velocity in track target position mode. In kilometres per hour.
rotRate_X f32 0x64 The rotation rate to apply to X-axis rotation. 1 is the target direction, cumulative total from the parent joint.
rotRate_Y f32 0x68 The rotation rate to apply to Y-axis rotation. 1 is the target direction, cumulative total from the parent joint.
pad_end dummy8 0x6c This field is padding.

Enums

BULLET_DEFLECT_TYPE

Option Description Notes
0 None
1 Simple
2 Detailed
ac6-refmat/param/lookatparam.txt · Last modified: by admin