Skip to content

Rename 'Unknown0' field to 'Radius' in ModelChara#230

Open
Makar8000 wants to merge 1 commit into
xivdev:latestfrom
Makar8000:latest
Open

Rename 'Unknown0' field to 'Radius' in ModelChara#230
Makar8000 wants to merge 1 commit into
xivdev:latestfrom
Makar8000:latest

Conversation

@Makar8000

@Makar8000 Makar8000 commented Jun 28, 2026

Copy link
Copy Markdown

If present (not 0), the value in this field appears to be multiplied by BNpcBase.Scale to determine HitboxRadius for BNpcs. Otherwise (if 0), ModelSkeleton.Radius seems to be used instead. The result will be stored in FFXIVClientStructs.FFXIV.Client.Game.Character.ModelContainer.UnscaledRadius

It's also referenced in Client::Game::Character::ModelContainer::CalculateUnscaledRadius

Examples below

Kefka (DMU P2 version)

Kefka (DMU P2 version)

In-game hitbox radius: 6.02
https://exd.camora.dev/sheet/BNpcBase#R19506
Scale: 3.5
https://exd.camora.dev/sheet/ModelChara#R4967
Radius: 1.72
Model: 459
https://exd.camora.dev/sheet/ModelSkeleton#R459
Radius: 1
3.5 * 1.72 = 6.02

Exdeath (DMU P3 version)

Exdeath (DMU P3 version)

In-game hitbox radius: 3.8
https://exd.camora.dev/sheet/BNpcBase#R19509
Scale: 3.8
https://exd.camora.dev/sheet/ModelChara#R326
Radius: 0
Model: 109
https://exd.camora.dev/sheet/ModelSkeleton#R109
Radius: 1
3.8 * 1 = 3.8

Chaos (DMU P3 version)

Chaos (DMU P3 version)

In-game hitbox radius: 6
https://exd.camora.dev/sheet/BNpcBase#R19508
Scale: 1
https://exd.camora.dev/sheet/ModelChara#R5010
Radius: 6
Model: 295
https://exd.camora.dev/sheet/ModelSkeleton#R295
Radius: 4.5
1 * 6 = 6

Hephaistos (P8N)

Hephaistos (P8N)

In-game hitbox radius: 10
https://exd.camora.dev/sheet/BNpcBase#R15045
Scale: 0.8
https://exd.camora.dev/sheet/ModelChara#R3621
Radius: 0
Model: 790
https://exd.camora.dev/sheet/ModelSkeleton#R790
Radius: 12.5
0.8 * 12.5 = 10

@github-actions

Copy link
Copy Markdown
Contributor

✅ Validation succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant