commit e173aaaac6dab1dab994e76d513545d35edb44c3
parent 8b8df51c425472002458c0e3a7868664d2aac1bf
Author: anon <anon@example.com>
Date: Thu, 5 Nov 2026 18:56:03 +0000
Outfit faction training guides and Neutral guard
Diffstat:
4 files changed, 34 insertions(+), 9 deletions(-)
diff --git a/TODO.md b/TODO.md
@@ -70,8 +70,9 @@ research separately. More screenshots and test cases do not count as new gamepla
Trade Elite Guards and five starter vendors. Female/Atrox guards and all five
vendors pass two-observer/reconnect checks; the humanoid NPC spawn path fixes
a reproduced clothing-compositing crash. Garments are original assets, with
- provisional actor assignments. Early-route guides/guards, human enemies and
- representative creature appearance checks remain. See
+ provisional actor assignments. The five training guides and Neutral guard
+ now also wear original garments and pass front-view two-observer/reconnect
+ checks. Human enemies and representative creature appearance checks remain. See
[NPC appearance scope and evidence](docs/npc-appearances.md).
- [ ] **A4: Doors visibly open where players enter.** Reproduce Entertainment
diff --git a/docs/npc-appearances.md b/docs/npc-appearances.md
@@ -1,7 +1,8 @@
# Early-route NPC outfits
-The first A3 implementation equips the seven Omni Trade Elite Guards, both
-Food Providers and the three faction training-ground Secondhand Peddlers.
+The A3 implementation equips the seven Omni Trade Elite Guards, both Food
+Providers, three faction training-ground Secondhand Peddlers, five training
+guides and the Neutral training-ground guard.
The garments and body/head meshes come from the original 14.9.1 catalogs.
Assigning these particular outfits to those actors is provisional, rather than
recovered server outfit data.
@@ -11,6 +12,9 @@ recovered server outfit data.
| Trade Elite Guards: `710/district/0/fixed/8,9,10`, `710/district/1/fixed/0,2,6,7` | QL 200 Omni-Pol Elite: helmet 22250/18, body 22068/21, sleeves 21959/23 and /25, gloves 22200/24, pants 22335/27, boots 22146/30 |
| Trade Food Providers: `710/district/0/fixed/18,19` | QL 1 uniform: shirt 82912/21, sleeves 82919/23 and /25, pants 82911/27, boots 82913/30 |
| Secondhand Peddlers: `950/district/1/fixed/0`, `952/district/3/fixed/0`, `954/district/1/fixed/0` | QL 1 rustic clothing: shirt 82102/21, sleeves 82092/23 and /25, pants 82101/27, boots 82100/30 |
+| Omni guides: `950/district/2/fixed/0,1`; Neutral guide: `954/district/2/fixed/1` | QL 1 uniform, as above |
+| Clan guides: `952/district/0/fixed/0,1` | QL 1 rustic clothing, as above |
+| Neutral guard: `954/district/2/fixed/0` | QL 200 faction-independent Kevlar: body 22026/21, sleeves 21929/23 and /25, gloves 22178/24, pants 22301/27, boots 22116/30; original head remains visible |
`gamedata.NPCOutfits` supplies definition equipment on spawn, world reload and
respawn. It uses the shared item wear and armor consumers. Equipment has no
@@ -81,12 +85,21 @@ The Food Provider also passes the existing right-click/E, buy/sell, cancel,
reconnect and range-rejection scenario with the new humanoid NPC flags;
captures are under `local/npc-vendors/20261105-104244/`.
+The six training staff subsequently passed the same two-observer and reconnect
+scenario at their authored placements, using front-facing observation points.
+Captures are under `local/npc-appearances/20261105-105114/`; the run is retained
+in `local/npc-appearances/browser-staff.log`. Visual inspection confirms the
+male/female guide heads, white or rustic uniforms, and the Neutral Atrox guard's
+head and Kevlar armor. The guard's native ACs match the server's
+`2750, 2750, 2403, 1717, 550, 1717, 1717, 550` on both clients after reconnect.
+These assignments use existing garment consumers without further protocol changes.
+
The focused server checks cover outfit reload and packet order, NPC shops,
interest boundaries, population membership and respawn persistence. Shop
fixtures now construct valid NPC definitions. The population membership fixture
places actors in range and uses the authored 1,842-actor count for playfield
646; its previous range-dependent expectations also failed on the prior build.
-A3 remains open for the remaining early-route guards/guides, human enemies and
-representative creature appearances. These controlled appearance checks do not
+A3 remains open for early-route human enemies and representative creature
+appearances. These controlled appearance checks do not
establish earned progression, encounter balance or exact historical outfits.
diff --git a/server/browser_npc_outfits_test.go b/server/browser_npc_outfits_test.go
@@ -24,7 +24,9 @@ func TestBrowserNPCOutfits(t *testing.T) {
root := filepath.Dir(filepath.Dir(source))
output := filepath.Join(root, "local/npc-appearances", time.Now().Format("20060102-150405"))
for _, route := range []string{"710/district/0/fixed/8", "710/district/1/fixed/2", "710/district/0/fixed/18", "710/district/0/fixed/19",
- "950/district/1/fixed/0", "952/district/3/fixed/0", "954/district/1/fixed/0"} {
+ "950/district/1/fixed/0", "952/district/3/fixed/0", "954/district/1/fixed/0",
+ "950/district/2/fixed/0", "950/district/2/fixed/1", "952/district/0/fixed/0", "952/district/0/fixed/1",
+ "954/district/2/fixed/0", "954/district/2/fixed/1"} {
t.Run(route, func(t *testing.T) {
world := newTestServer(t)
var npc *character
@@ -42,8 +44,8 @@ func TestBrowserNPCOutfits(t *testing.T) {
player.playfield, player.position = npc.playfield, npc.position
player.position[0] += offset
player.position[1] += .75
- player.position[2] -= 3
- yaw := math.Atan2(float64(-offset), 3)
+ player.position[2] += 3
+ yaw := math.Atan2(float64(-offset), -3)
player.rotation = [4]float32{0, float32(math.Sin(yaw / 2)), 0, float32(math.Cos(yaw / 2))}
player.browserTokenHash = fmt.Sprintf("%x", sha256.Sum256([]byte(fmt.Sprintf("npc-outfit-%d", index))))
if err := world.saveUser_locked(player); err != nil {
diff --git a/server/gamedata/npc_outfits.go b/server/gamedata/npc_outfits.go
@@ -32,4 +32,13 @@ var NPCOutfits = map[string][]NPCOutfitItem{
"950/district/1/fixed/0": npcRusticOutfit,
"952/district/3/fixed/0": npcRusticOutfit,
"954/district/1/fixed/0": npcRusticOutfit,
+ "950/district/2/fixed/0": npcUniformOutfit,
+ "950/district/2/fixed/1": npcUniformOutfit,
+ "952/district/0/fixed/0": npcRusticOutfit,
+ "952/district/0/fixed/1": npcRusticOutfit,
+ "954/district/2/fixed/1": npcUniformOutfit,
+ // The Neutral guard wears faction-independent Kevlar and keeps its visible head.
+ "954/district/2/fixed/0": {
+ {22026, 21}, {21929, 23}, {22178, 24}, {21929, 25}, {22301, 27}, {22116, 30},
+ },
}