notes: monster fidelity pass 8 (engine features: Army Fly seek, Bubbles geyser decode, pitfall player update, Cultist hide pick, Mother Ball free rays; tier b groups j1-j5)

This commit is contained in:
shweet committed 2026-10-26 00:01:43 -04:00
1 parent 79259ccf8f
commit 4883b7a06f
7 files changed
+619

No files matched your search

+97
View File
@@ -0,0 +1,97 @@
# Pass 8 engine work (2026-10-25)
isaac-classic branch rif/monster-fidelity-11. The pass-7 proposals (engine_i1..i7, engine_a1) built as generic engine
fields, plus the behaviour pass 7 left unported. The tier-b data re-check of the last 40 pass-2/3 records is in
pass8_j1..j5.md. Each record's reference comment cites what changed (monster-fidelity-11).
## army_fly: NpcAI::ENTITY_ARMYFLY 0054ad80 (868.0). Changed (engine: chain seek)
- Ways (GetAxisAlignedUnitVectorFromDir order): 0 (-1, 0), 1 (0, -1), 2 (1, 0), 3 (0, 1). First way: the direction of
pos - child (vector_to_direction), random without a follower. i2 = 10 at state 0.
- Each tick (controller -1): a wall cell (GetGridCollisionAtPos == 4: walls only, rocks are 3) 40 px ahead turns it:
right (i1 + 3) when (rand & 1 == 0 or the left (i1 + 1) is walled) and the right is not, else left. Push
v += rotate(way, sin((frame - spawnFrame) * pi / 10) * 20 deg) * 1.6 * speedMult (confused: 40 deg, * .6).
- Turn timer: i2 < 1 and Isaac within 600 (not confused): rand % 3 == 0 takes the best of i1 + 3, i1, i1 + 1 by
dot(Isaac - pos, way) among unwalled ways (start -1000, so all walled keeps i1); a new way sets i2 = 8 + rand % 15,
the same way leaves i2 due (retried next tick). Beyond 600 or confused: rand % 5 == 0 turns a side (as the wall
turn), i2 = 8 + rand % 15. Else i2 counts down 1 a tick.
- Field chain.seek {push, wobble, period, far, look, first, one_in, far_one_in, turn}: a new head branch in chain.cpp.
## deep_gaper (00560570) / bomb_grimace (004f8df0). Gates held_for and own_spawns_below
- held_for T: the gate's other terms (draws included, range and chance aside) held on each of the last T ticks it was
tested (state keyed by a per-gate id, reset on a phase change). Deep Gaper: second clause {others_below 1,
after_tick 2, held_for 90, min_range 60} for the StateFrame > 90 forced emerge.
- own_spawns_below N: fewer than N live actors spawned by its own attacks; pickups an actor spawns now count as its own
(Bomb Grimace's 5.41). Its Shoot: own_spawns_below 1 + held_for 30 (state 3's stateFrame 30 after the child is gone),
the opening bomb from an Idle attack releasing on frame 1 at (0, 40).
## brimstone_head (+ 203_0_1/2/3): NpcAI::ENTITY_STONEHEAD 00520c60. Laser warning
- Entity::SpawnFollowingEffect198(dir, 0x1a, .8, 4.0) at state 8: laser.warning {ticks 26, width 4}, a no-damage traced
beam (Technology art) along each beam until the from event. beam_apply returns after drawing it (no props hit).
## bubbles: NpcAI::ENTITY_BUBBLES 0055ad20, NpcHelper::bubbles_death_geyser_tick 0055a850
- Geyser decoded: per call twice (rand angle a; projectile 9.0 (4/3 on stages 27/28) at pos + (cos, sin) a * 5 rand,
velocity (cos, sin) a * 2.8 rand, spawner type 0x326, FallingAccel 2, scale 1.4 rand, FallingSpeed -15 - 60 rand,
height -23 - 15 rand), then twice more with height -23 - 1000 rand. 15 calls one tick apart.
- Port: death_spawn of a hidden helper record bubbles_geyser (806.90): an opening attack of 15 ticks with four ring
shots of 1 bursting every tick, then it dies. New shot field height [least, most] (added to the launch height).
- Hit shot: hits now carry their source (Game::hitSource_: the tear's place, the blast's centre; Isaac otherwise) into
state.hitFrom; turret.hurt fires only on the tick after a hit lands; shot at_hit aims at hitFrom; turret delay 0 allowed.
## blurb: NpcAI::ENTITY_BLURB 0055a010. death_volley unfired
- death_volley.unfired: no volley once the actor fired a shot of its own (state.isShotFired, set wherever a scripted
shot launches). boss_volleys.aimed: the boil()s aim at Isaac. Blurb: {1, 7 + random 3, aimed, .62, 2}.
## sub_horf / tainted_sub_horf: NpcAI::ENTITY_SUB_HORF 0055fb60
- Knock decoded: pendingDamage > 0 and a damage event queued: velocity = unit(pos - the last event's source position
(the entry 0x18 before _damageEvents' end)), a zero one a random unit, then raised to 8 when slower: exactly 8 along it.
The spin move now uses state.hitFrom (the tear) instead of Isaac.
## willo (005586b0, willo_orbit 005581b0), baby_begotten (004e8380), swarm_spider (005505c0)
- Gates near_place (within this of its orbit place, state.orbitPlace) and kin_attacking_below (other live actors of its
type playing an attack, context.kinAttacking). Orbit cap / lead: velocity += clamp((place - pos - lead pv) * speed,
cap) + lead pv.
- attacks[].approach {standoff, gain, lead, cap, until}: push min(gain * gap, cap) toward Isaac + vel * lead - axis *
standoff (axis: the attack's chargeAxis), before the until frame.
- attacks[].lunge_flip {one_in [near, far], far, within} and lunge_jitter (degrees) on the lunge heading as the attack
starts. Swarm Spider's WeightedOutcomePicker: (HopShort 2 or 5 within 100, Hop 3, HopLong 2 or 9 beyond 200, beyond
100 only) with Random() | 1 seeded xorshift (5, 9, 7); speeds 5 + rand / 8 + 2 rand / 10 + 3 rand, turns +-45 / 20 /
10 deg. Expressed with chance gates per band.
## grudge (004e6570), dukie (00541810)
- lane.wall_rest (laneDelay after any wall stop) and lane.cap_damage (state.contactDamage while the charge push is at
the ramp cap; contacts.cpp reads it before the record's).
- spawn_count_one_in, spawn_inherit (the actor's velocity added), spawn_cone.offset false (spawn_at not turned).
## pitfall / suction_pitfall: Entity_Player::update_pitfall 007b9b50
- _pitfallState 1 (FallIn playing) -> at its end 2 and TakeDamage(1, flags 0x80000, countdown 30); state 2:
_pitfallTimer++ and past 39 any of the four move actions, or past 119: JumpOut (state 3) where he stands, or (a grid
under him, GetGridCollisionAtPos > 0) at FindFreePickupSpawnPosition (else beside the entry door), _damageCooldown
120; JumpOut over -> controls back, collision class 4.
- Port: effect pit_fall {least 40, most 120, immunity 120}: a hidden PlayerJump (from = to = his place) not drawn,
firing nothing, ended by a move key past least or at most; immune after. Every pit then removes itself.
## cultist / blood_cultist: NpcAI::ENTITY_CULTIST 004ed840 (unarmed pick)
- With the room's NPC list (Room+0x125c, count +0x1264) non-empty: the entry nearest Isaac with type 10..999 (type 1
too in some mode), flag 0x20000000 clear and +0x188 set (itself included); spot = it + Resized(it - Isaac, 50) +
RandomVector * 40 rand, GetClampedPositionImpl 60. Only an empty list falls back to the turned offset round Isaac.
- Port: spot.around behind 50, scatter 40 (context.enemyNearest).
## the_pile: 005983f0 (boss, data line only). attacks[].ticks_per_distance
- Once the teleport target is drawn, the attack lasts ticks * max(1, d / ticks_per_distance): DirtShrink 6, 100.
## mother_ball / medium: ENTITY_MOTHER_ball_burst 00567d50 (boss, data lines only)
- Per child i: heading (-sin a, cos a), a = i * 45 (big) or 60 (medium) deg, so the first points straight down; a grid
traversal (DDA over 40-px cells from pos) of 160 / 120 px stops at collision 4 or 5; only a full ray spawns: a blood
splash 1000.2 at pos + 4 dir moving 3 + 3 rand, the ball (912.100 sub+1) at pos + 6 dir, velocity dir * 10, heading
dir. death_spawn free_ray (walls only along the heading) and even_angle.
## special_shopkeeper: shopkeeper_get_loot 006c1ac0 (variants 3/4)
- The data now holds pass 9's decode (it had stayed 33/33/34): Greed 96, a penny trinket 381 (of six), nickel 7874,
nothing 3937 out of 12288; Greed only outside boss rooms (effect when).
## Left (not built)
- Army Fly arc-length following and rejoin; Ring of Flies' walking centre; Polty's hold; Faceless anger; Bulb dart; Mr.
Red Maw tether; the Small Leech dry form; Globin split; Singe's ball kick; hit-count health for fire places; the
pass-8 group proposals (MF/engine_j1..j5.md: Necro's bone spot, Vis Fatty's rage-gated fart, The Thing's held
tongue, Imp charge climb, Black Knight walk, Stone Eye's relit laser, coal throws, Gush's creep network, Tar Boy's
creep gates, Blood Cultist's bone traps, Dank Globin collapse spawns, Brainless Knight hop walk, Holy Bony's lob).