notes: pass 7 monster fidelity (engine leftovers, groups i1-i7, push-order audit a1)

This commit is contained in:
shweet committed 2026-10-25 21:38:17 -04:00
1 parent 00dacd9193
commit 7ea12c236e
10 files changed
+1138

No files matched your search

+112
View File
@@ -0,0 +1,112 @@
# Group i1 notes (pass 7, 2026-10-25)
Tier-b records first read in pass 2 (pass2_misc1.md), re-read for isaac-classic branch rif/monster-fidelity-10.
Speed convention as pass6_engine.md: the scripted engine brakes (the playing attack's or the behaviour's retention)
before the move and the attack's pushes run, so an engine push is Rep's net push (x / f times f, or x * f for a push
without / f), and a velocity the AI sets is moved times its friction (engine: charge_speed = set value * f).
Engine proposals: MF/engine_i1.md.
## nerve_ending: NpcAI::ENTITY_NERVE_ENDING 00537e20 (231.0). Skipped (matches)
- State 0 sets TargetPosition to its spawn spot; every tick velocity = target - pos, friction *.5; variant 0 just
plays Idle (the SwingLeft/Right whip with its 80x20 tear rect is variant 1). Move anchor matches.
## small_leech: NpcAI::ENTITY_SMALL_LEECH 0055b740 (810.0). Changed
- Wet (Room+0x7240 > 0): V1.X += .016 * speedMult a tick, capped .35; velocity += V1.X * unit(Isaac) (no / friction);
friction *.96; off the room edge (x 10 in, top 20, bottom 4) velocity *= -.6; |v| capped 10 / f.
Rep v' = .96 (v + .35) = .96 v + .336 (terminal 8.4): hover speed **.35 -> .336**, retention .96 kept.
- Dry: friction *.7; per tick ~rand & 1 -> v += unit(target) * (2 + 2 rand) / f, Hop<dir> clip (state 7), *.7 after
Land. Subtype 1 pushes * .75. Parent orbit branch (V1.Y radius = parent size + 20 + 40 rand, V2 angle step 4-5 deg)
is small_leech_orbit's.
- Not expressible: the .016 ramp (speed_ramp is chase/path only), the edge bounce, the dry form (no room water state).
## needle: NpcAI::ENTITY_NEEDLE 0054eb80 (881.0). Changed
- State 0: invisible, no collision, StateFrame -30 - rand%60. State 3 friction *.95; StateFrame counts up to 0; then
each tick a spot: room centre + RandomVector * (60 + 250 rand), GetClampedPosition 20, FindFreePickupSpawnPosition,
taken when rand & 1 == 0 and 14400 < d^2 < 57600 to the nearest player (120-240). Then DigOut there (sound 2,
visible, collision 4), anchored (velocity = target - pos).
- DigOut done: velocity = 8 * unit(CalcTargetPosition), V2 = that unit, V1 = (vz -5, height 2), state 6, sound 0x1d0,
ProjectileDelay 4. State 6: friction *.6, v += 3.2 / f * V2 (net 3.2, terminal 8); vz += .4, height += vz; touchable
only while height <= -6 (ticks 3-23); dirt effect 1000.146 each time it crosses -6; lands when height > 8 (tick 26):
invisible, StateFrame -20 - rand%40. A grid hit turns V2 to the velocity's way. A hit (I1 out): I1 = 10, vz -= 3,
V2 *= .8; touching a bomb (type 4, aiCallPhase 3): I1 = 30, vz -= 4, V2 = .4 length.
- Changed: lunge **5.333 -> 3.2** (pass 2 took x / f), impulse **4.8** (tick 1 at 8: 0 + 4.8 + 3.2, then .6 * 8 + 3.2),
ticks **26** + ticks_held (the leap outlasts the 24-frame Idle; held so the impulse does not repeat).
- Not expressible: the room-centre spot with a 120-240 band (teleport mode near kept; proposal 1), the hurt kick and
bomb bump, the airborne touch window.
## pasty: NpcAI::ENTITY_NEEDLE 0054eb80 (881.1). Changed
- As Needle (flag 0x10000 at init). The volley: ProjectileDelay 4 from the leap's start, run out on the 5th leap tick
-> FireProjectiles mode 7 (diagonal four) at 7, default params. Not on DigOut's Shoot event.
- Changed: diagonal volley moved from DigOut's release to the leap attack (shots[] on frame 5); lunge 3.2, impulse 4.8,
ticks 26 held.
## whipper: NpcAI::ENTITY_WHIPPER 004e5170 (834.0). Changed
- Friction *.8. State 4: I1 = way of its velocity (0 left, 1 up, 2 right, 3 down), ProjectileDelay = 10 on a change.
Walk MoveRandomlyAxisAligned(1.25). Charge test (no charge yet): dot(axis unit of I1, unit to Isaac) > .9 and
CheckLine -> TargetPosition = axis, laugh overlay. Charging: v += axis * 1.75 / f; ProjectileCooldown counts ticks
below speed .5, the charge ends past 20 (Flagellant 60), on a grid hit, or with flags 0x1000a00; mass 80.
- Whip (ProjectileDelay out, else it counts down): QueryRadius 90 (180 Snapper) over entities passing
NpcHelper::whipper_is_target 004e50d0 (players, bombs, familiar variants 62/67/201/228/238/206/237/211; charmed:
vulnerable enemies), dot(facing, way) > .6 (.92) -> state 8 Attack<Dir>, v += facing * 5 / f, ProjectileDelay 10;
state 8 friction *.9 (.6) on top of .8; Sound event 0x1ee. The Hitbox null capsule breaks grids and hits entities.
- Changed: impulse **6.25 -> 5** (net), lane charge prediction_duration **8 -> 1** (no lead) and lane_retention
**.9 -> 1** (no lane snap in Rep).
- Not expressible: the facing cone .9 for the charge (the corridor band of 20 px stays) and the 20-slow-tick end
(proposal 2).
## snapper: NpcAI::ENTITY_WHIPPER 004e5170 (834.1). Changed
- As Whipper: range 180, cone .92, attack friction .48. Same three changes.
## deep_gaper: NpcAI::ENTITY_DEEP_GAPER 00560570 (811.0). Changed
- State 0: subtype 0 morphs on RandomInt(3) == 0 to subtype 1 + RandomInt(6) (heads). Hidden (state 3, invisible,
invincible, no collision, champion colour held in I1) only when spawned on the room's first frame; otherwise it walks.
- Arms when friendly, or (no live enemy and Room+0x11ec clear delay < 9), or a room-desc flag bit 1. Armed: on
IsFrame(4) a rand & 7 == 0 roll, or StateFrame > 90, and IsPlayerInRadius(60) false -> state 8 Ambush1/Ambush2 by
InitSeed & 1, visible, colour back; collision class 4 on the Splash event (effect 1000.132, sounds).
- State 4: FindGridPath(.6, 900) with no friction change (path .6 / retention 1 match); sound on rand%3 with a path.
Death of subtype 6: ThrowLeech from a free spot 80 out.
- Changed: gate + min_range **60**; Ambush1 untouchable to Splash.
- Not expressible: the 90-tick forced emerge (proposal 7), Ambush2, the 1 in 18 leech, the mid-room spawn walking.
## blurb: NpcAI::ENTITY_BLURB 0055a010 (813.0). Changed
- State 4: HeadFull, FindGridPath(.3, 900). Attack when health share <= .5, or hostile and dist < 100 (no sight test).
State 8: HeadAttack overlay, FindGridPath(.1) (it walks on), StateFrame 4 -> 0 fires. State 16: Head, .72.
- Shot: FireBossProjectiles 006ccdd0 (7 + rand%3, Isaac capped to 100 px, trajectory 3): per shot dir * 7 + random
angle * 3.5 rand, fall accel .32 + .1 * 3 = .62, fall speed 5 - 30 * .8 rand - 3, scale .9 / 1.3 + .05 rand; plus a
1000.11 (1000.12 in stages 27/28) poof 20 up.
- Dead in state 4 or before the shot -> the same burst. Death with health > -25 and rand & 1: Morph(11, rand%3 == 0).
- Changed: range clause loses sight; attack chase **.1**; volley fall_acceleration **.62**, fall_base **2**.
- Not expressible: the unfired burst on death (proposal 3), the Pacer third (proposal 6).
## blister: NpcAI::ENTITY_BLISTER 005430d0 (303.0). Changed
- State 0: StateFrame rand%30. State 4: Idle, friction *.6, StateFrame counts down; below 0: vector = clamp(dominant-
axis delta to its child (live dark ball) or else Isaac, +-40) * .2; rand%10 == 0 and no child -> Attack, else (vector
nonzero) Hop. State 6 Hop: velocity SET to (1 - frame / 26) * vector, friction *.9, Land sound 0x45; end -> state 4,
StateFrame rand%30. State 8 Attack: friction *.7; Shoot -> SpawnEx 404.1 with a length-4 velocity, the ball's
spawner and the blister's child linked, sound 0x19e pitch .9 + .2 rand.
- Death: off a grid and not a champion regen -> Boil 30.2 (Sack) at half its max health, control handed over.
- Changed: Hop lunge .9 (Jump..Land) -> charge_speed **7.2** (8 * .9 moved per tick, Isaac's main axis, from frame 1)
+ charge_decay share **.074** (geometric for the linear 1 - f/26: ~97 px either way); spawn_cap **own**.
- Not expressible: hopping at its live child (proposal 8), the shorter hop with Isaac within 40 on the axis, the
ball's 4-speed throw, the sack's half health.
## mushroom: NpcAI::ENTITY_MUSHROOM 00542be0 (300.0). Changed
- State 0: StateFrame (rand%5 + 1) * 30. State 3: Hide once (I1 = 0), then Blocking, StateFrame counting down; all
damage *.25 in state 3. Then state 8 | (rand & 1): Reveal, Shoot -> sound 0x48, FireProjectiles mode 6 (state 8) or 7
(state 9) at 7. State 16: Revealed (rand%3 + 1) * 30, sound 0x26, Hide, back to state 3 with (rand%5 + 1) * 30.
Friction *.8, pinned to its spawn spot.
- Changed: first_cooldown [30, 121] -> opening **[2, 1]** (the starting Hide; its cooldown 30 + 30 * rand(5) is the
step-exact first wait). Revealed 30 + 30 * rand(3) and the Hide cooldown already matched.
- Not expressible: the opening Hide's 6 frames are unguarded here (Rep is in state 3).
## hard_host: Host routine 005111b0 (27.3; ICF-named Entity::TeleportToRandomPosition). Skipped (matches)
- Guarded types: 0x35b, or variant != 1 and subtype != 99. Friction *.7 (0x35b *.9 with its drift). Idle: StateFrame
< 1, IsFrame(7, index): ProjectileCooldown < 1 and d^2 < 57600 and CheckLine (mode 0 for variant 3, else 3; colour 8
skips it) -> cooldown 7, Shoot; else cooldown - 1. StateFrame counts down every 7 ticks.
- Closed (state 3, or before Open / after Close): hit damage zeroed (flags 0x8000 pass, 0x408080 not counted); state 3:
StateFrame += (int)(dmg + .5) / 2, capped 10; V2.X -= dmg * .05; over 20 summed -> Bombed.
- Variant 3 Close: sound 0x34, effect 1000.72 subtype 2 at 20 toward Isaac rotated at him, particles, ShakeScreen 12,
players within 120 get 3 * unit pushed (force 9). Shoot (other variants): mode 5 (variant 1) or 2 at 7, VelocityMulti
1.07, FallingAccel -.05.
- Record matches (firemode 7 on period 7, range 240, sight, guarded open 11-55, delay_cap 10, bolts + gas push).
Left: the halved delay (pass 2's delay_scale), Bombed.