From e9b0aa9cc71bf0e905a4061bd4fcfb566c250980 Mon Sep 17 00:00:00 2001 From: shweet Date: Sat, 24 Oct 2026 16:20:44 -0400 Subject: [PATCH] db/fields: NPC controller movement, aim target effect, charge bar sprite Co-Authored-By: Claude Opus 5.5 --- db/fields.tsv | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/db/fields.tsv b/db/fields.tsv index 54fc4e3..3777e1a 100644 --- a/db/fields.tsv +++ b/db/fields.tsv @@ -1,2 +1,5 @@ -# class offset type name (same format as zhl_fields.tsv; these win over it at the same offset) +# class offset type name [evidence] (zhl_fields.tsv format plus a note; these win over zhl and lua fields at the same offset) # Add struct fields you have confirmed from the code, e.g.: Entity_NPC 0xb94 int _myCounter +Entity_NPC 0xf20 Vector _controllerMovement movement written by Entity_NPC::UpdateControllerMovement (006d9050); 21 AIs reset it each frame +Entity_NPC 0xf28 void* _aimTargetEffect effect 1000.30 an NPC under player control aims at (Entity_NPC::GetAimTargetPosition 006d8d30) +Entity_NPC 0xdec ANM2 _chargeBarSprite gfx/chargebar.anm2 loaded by Entity_NPC::UpdateChargeBar (006d8e40)