Site Tools


ds1-refmat:param:throwparam

ThrowParam

Fields

Field Type Offset Description Notes
AtkChrId s32 0x0 The character ID to define the attacker parameters for.
DefChrId s32 0x4 The character ID to define the defender parameters for.
Dist f32 0x8 The maximum distance the throw is allowed to occur at. In metres.
DiffAngMin f32 0xc The minimum angular difference range between own direction and opponent's direction. In degrees.
DiffAngMax f32 0x10 The maximum angular difference range between own direction and opponent's direction. In degrees.
upperYRange f32 0x14 The throw will not proceed unless the relative distance of the Y-axis from the attacker to the defender is less than this value.
lowerYRange f32 0x18 The throw will not proceed unless the relative distance of the Y-axis from the attacker to the defender is above this value.
diffAngMyToDef f32 0x1c The angular difference between the vector in front of the attacker and the vector in the direction from the attacker to the defender. If it is larger than this value, the throw will not proceed.
throwTypeId s32 0x20 The throw type ID for this throw. Linked to the throwTypeId field in the AtkParam.
atkAnimId s32 0x24 The animation ID for the attacker when performing the throw (linked with EzState).
defAnimId s32 0x28 The animation ID for the defender when performing the throw (linked with EzState).
escHp u16 0x2c The amount of 'HP' the throw has. A player can 'resist' the throw, reducing the throw's resistance per escape cycle. If the resistance is lower than 0, the player is released from the throw.
selfEscCycleTime u16 0x2e The duration of the throw escape cycle for the player. This is the interval that the player can reduce the throw's resistance in. In milliseconds.
sphereCastRadiusRateTop u16 0x30 The ratio of the upper radius when using the sphere cast (this determines if a throw connects).
sphereCastRadiusRateLow u16 0x32 The ratio of the lower radius when using the sphere cast (this determines if a throw connects).
PadType u8 0x34 The operation type for the throw. This field uses the following enum: THROW_PAD_TYPE
AtkEnableState u8 0x35 The state type in which the attacker may perform the throw. This field uses the following enum: THROW_ENABLE_STATE
atkSorbDmyId u8 0x36 The dummy polygon used to spawn the sphere cast which determines if a throw connects.
defSorbDmyId u8 0x37 The dummy polygon used to spawn the sphere cast which determines if a throw connects.
throwType u8 0x38 The throw type for this throw. This field uses the following enum: THROW_TYPE
selfEscCycleCnt u8 0x39 The number of throw escape cycles a player has during this throw.
dmyHasChrDirType u8 0x3a The direction of the throw hold dummy polygon ID when a throw occurs. This field uses the following enum: THROW_DMY_CHR_DIR_TYPE
isTurnAtker u8 0x3b [0] If ON, the attacker can turn during the throw. This field is a boolean.
isSkipWepCate u8 0x3b [1] If ON, the attacker's weapon category check is skipped. This field is a boolean.
isSkipSphereCast u8 0x3b [2] If ON, the sphere cast is skipped. This field is a boolean.
pad0 dummy8 0x3b [3-7] This field is padding.
pad1 dummy8 0x3c This field is padding.

Enums

THROW_PAD_TYPE

Option Description Notes
0 None
1 R1
2 L1
3 R1 + Up
4 L1 + Up
5 Cross

THROW_ENABLE_STATE

Option Description Notes
0 None
1 Waiting
2 In stealth
255 Never

THROW_TYPE

Option Description Notes
0 Normal
1 Normal (player)
2 Stealth
8 Parry
9 Coffin
10 Falling
11 Boosted Normal
12 Boosted Parry
13 Soul Drain
14 Boosted Coffin
15 Boosted Falling
16 Boosted Soul Drain

THROW_DMY_CHR_DIR_TYPE

Option Description Notes
0 Turn towards defender
1 Turn away from defender
255 Do nothing
ds1-refmat/param/throwparam.txt · Last modified: by admin