Site Tools


ds1-refmat:param:objactparam

ObjActParam

Fields

Field Type Offset Description Notes
actionEnableMsgId s32 0x0 The text ID to use for the prompt message if this interaction is enabled. This field refers to the following text files: Event_Text
actionFailedMsgId s32 0x4 The text ID to use for the prompt message if this interaction fails. This field refers to the following text files: Event_Text
spQualifiedPassEventFlag s32 0x8 The event flag ID that causes the qualification checks to be ignored for this interaction. This field takes an Event Flag ID.
validDist u16 0xc The maximum distance at which this interaction can be triggered. In metres.
playerAnimId u16 0xe The player animation to use when this interaction is used by a player.
chrAnimId u16 0x10 The player animation to use when this interaction is used by a non-player character.
spQualifiedId u16 0x12 The requirements to use this interaction, can either be a EquipParamGoods or SpEffectParam row. spQualifiedType determines which type to reference. This field refers to the following params: SpEffectParam, EquipParamGoods
spQualifiedId2 u16 0x14 The requirements to use this interaction, can either be a EquipParamGoods or SpEffectParam row. spQualifiedType2 determines which type to reference. This field refers to the following params: SpEffectParam, EquipParamGoods
objDummyId u8 0x16 The dummy polygon belonging to the attached object for this interaction that determines the 'action' position.
objAnimId u8 0x17 The object animation to use when this interaction is used.
validPlayerAngle u8 0x18 The usage cone where a player can trigger this interaction (on the player's side). Effective angular difference between the player's orientation vector and the object's orientation vector. In degrees.
spQualifiedType u8 0x19 The requirement type to use for spQualifiedID. This field uses the following enum: OBJACT_SP_QUALIFIED_TYPE
spQualifiedType2 u8 0x1a The requirement type to use for spQualifiedID2. This field uses the following enum: OBJACT_SP_QUALIFIED_TYPE
validObjAngle u8 0x1b The usage cone where a player can trigger this interaction (on the object's side). Effective angular difference between the player's orientation vector and the object's orientation vector. In degrees.
chrSorbType u8 0x1c How the user character is attracted into the object during usage. This field uses the following enum: OBJACT_CHR_SORB_TYPE
eventKickTiming u8 0x1d The timing for the interaction activation.
pad1 dummy8 0x1e This field is padding.

Enums

OBJACT_SP_QUALIFIED_TYPE

Option Description Notes
0 None
1 Goods
2 SpEffect

OBJACT_CHR_SORB_TYPE

Option Description Notes
0 Move to Dummy Polygon
1 Turn towards Dummy Polygon

OBJACT_EVENT_KICK_TIMING

Option Description Notes
0 After playing object animation
1 Before playing object animation
ds1-refmat/param/objactparam.txt · Last modified: by admin