notes: pass 7 monster fidelity (engine leftovers, groups i1-i7, push-order audit a1)
This commit is contained in:
1 parent
00dacd9193
commit
7ea12c236e
10 files changed
+1138
No files matched your search
@@ -0,0 +1,120 @@
|
||||
# Group i3 notes (pass 7, 2026-10-25)
|
||||
|
||||
Tier-b records first read in pass 2 (pass2_misc2.md), re-read for isaac-classic branch monster-fidelity-10. Speed
|
||||
convention as pass4_00.md / pass6_engine.md: friction (+0x36c) is reset to the entities2 value (1 here) every tick,
|
||||
so an AI's `friction *= f` is the record's retention, and an AddVelocity-style `v += x / f` push is the net push x.
|
||||
FireBossProjectiles (006ccdd0) with a zero target fires at a random heading at 7; with a target dir * 7 + random *
|
||||
3.5; fall accel .32 + .1 traj, fall speed 5 - rand * 24 - traj, scale (.9 or 1.3 + rand * .05) * params Scale.
|
||||
|
||||
## soul_sucker: NpcAI::ENTITY_FLY 00506bd0 (61.2). Skipped (matches)
|
||||
- Steering is not every tick (pass 2 said so): the push runs only when Entity::GetIntervalTicks with interval 2
|
||||
(constant 0x00baa630) is non-zero, i.e. every 2nd tick: toward CalcTargetPosition (re-picked on IsFrame(3)),
|
||||
unit(dx, dy * .5) * min((d - 15) * .08, 1.2) via the friction-dividing AddVelocity 004314b0 (friction is 1 then).
|
||||
- Drift V1 = (RandomVector * .6 + V1) * .4 on frameCount % 4 == 1. Only on frameCount % 3 == 2 (asm 00508d92: JNZ
|
||||
past the whole block): edge nudges .06 (x 80..540, y 230..420), v += 2 * V1 * speedMult / f, then friction *= .6.
|
||||
On the other two ticks friction stays 1: no damping at all.
|
||||
- isaac-classic's flying_chaser does exactly this (STEERING_PERIOD 2, DAMPING_PERIOD 3 phase 2): nothing to change.
|
||||
- Death (61.2): Game::Spawn(1000.110 Enemy Brimstone Swirl) at height offset -15, plus four
|
||||
NpcHelper::spawn_tracer_effect198 0060b9d0 warnings (generic tracer 1000.198, colour .8, scale 4, timeout 24) along
|
||||
+x, +y, -x, -y. The swirl's own lasers are in Entity_Effect::Update (does not decompile; not read).
|
||||
|
||||
## bubbles: NpcAI::ENTITY_BUBBLES 0055ad20 (806.0). Changed (partial)
|
||||
- Walk: FindGridPath(.3, 900, 1), no friction change (path .3 / 1 matches); AnimWalkFrame WalkHori/WalkVert.
|
||||
- Attack gate: stateFrame counts up in state 4 to 100 and is reset to 0 at the attack start and on the return to
|
||||
state 4, so 100 idle ticks before the first attack and after each one; then Isaac within 200 (40000) and
|
||||
rand % 120 == 0 -> AttackHori (|vx| > |vy|) or AttackVert, sound 0xa7. State 8: friction *= .4.
|
||||
- Shoot (frame 21 of 33): Game::ButterBeanFart(pos, 120, npc, 1, 0) and I1 = 12. Every tick while I1 > 0 (the Shoot
|
||||
tick first): sound 0xb9 and FireBossProjectiles(1, zero, traj 3, Scale .6; variant 4/3 on stages 27/28).
|
||||
- Changed: ring of 12 at 3 on Shoot -> shots[] boss_volley count 1, spread 0 (random heading at 7), burst ticks 12,
|
||||
scale .6, volley fall_base 2 / fall_acceleration .62; cooldown 100 and first_cooldown [100, 1].
|
||||
- Not expressible: (a) the hit shot: in every state, on a tick with a damage event queued (Entity +0x8
|
||||
_damageEvents) and I2 < 1, FireBossProjectiles(1, a point 40..120 px toward the last event's source, traj 1,
|
||||
Scale .6), I2 = 20 + rand % 20; (b) the death geyser: Entity_Effect::CreateTimer(NpcHelper::bubbles_death_geyser_tick
|
||||
0055a850, delay 1, 15 times): each call 2 + 2 projectiles at rand * 2.8, FallingAccel 2, FallingSpeed
|
||||
-15 - rand * 60, scale rand * 1.4, height -23 - rand * 15 (first pair) / -23 - rand * 1000 (second pair), so 60
|
||||
shots raining round the corpse. Also on death: effect 1000.132 and four 1000.2 gib splashes flung upward at 7.
|
||||
|
||||
## bishop: NpcAI::ENTITY_BISHOP 004e7ea0 (805.0). Skipped (matches)
|
||||
- Init: target = its cell centre, WakeUp. Every tick velocity = (target - pos) / friction (anchored), grid path 900.
|
||||
- State 3: WakeUp then Idle; on a tick with pendingDamage > 0, rand % 3 != 0 -> Shoot (state 8), also mid-WakeUp.
|
||||
- Shoot event: FireProjectiles mode 6 (cardinal) at 12 (no VelocityMulti), tinted, sound 0x106; clip end -> state 3.
|
||||
- The record's hurt + hurt_tick + when chance .6667, cardinal 12 and anchor already say this.
|
||||
|
||||
## polty: NpcAI::ENTITY_POLTY 0055d230 (816.0). Changed (partial)
|
||||
- Init (room start only, no spawner): if an urn/pot grid (type 6 or 0x1a, state 1) is next to it, else anywhere in
|
||||
the room (NpcHelper::polty_is_pot_cell 0055d180, NpcHelper::polty_target_set 0055d070 sets I2 = that index), it
|
||||
moves onto it: state 0x10, invisible, no collision, stateFrame 30 + rand % 30. Otherwise straight to state 3.
|
||||
- State 0x10: while that grid can still be lifted (NpcHelper::polty_is_target_liftable 0055d0b0) it counts down
|
||||
with no distance test, then PotAppear (38) -> state 8 PickupFirst (PickupThrow at 11: Room::PickupGridEntity(I2),
|
||||
the lifted grid becomes its held entity). Variant 1 (Kineti) waits in state 2 instead (SpecialAppear).
|
||||
- Holding (state 4, PickupIdle; I2 = -1): accel min(d, .7) toward the point 100 px short of Isaac on its line,
|
||||
friction .95; per tick rand & 3 == 0 and |Isaac - (pos + 4 v)| <= 150 -> Throw (state 10). Throw's PickupThrow
|
||||
(frame 6): velocity = own v + 10 * unit(Isaac + 4 * his v + 4 * own v - pos) (own v * .2 for a held pickup).
|
||||
- Empty-handed (state 3, Idle): on IsFrame it scores every liftable cell, distance / (neighbour collisions / 12 + 1),
|
||||
times .2 pots (6, 0x1a), .4 poop (5) and 0xc, .7 tnt (0xe), 3 rocks (4, 0x16); flies at the best (.7 a tick,
|
||||
within 40 px 1.4 with friction .7, else .95), Pickup (state 9) once slower than 1 within 8 px. Six empty searches
|
||||
(or a tinted rock / super-special grabbed: held 1000 subtype 4/0x16) -> I2 = -2: no grid collision, accel .7 away
|
||||
from Isaac, killed once outside the room. Death: the held rock thrown as a rock projectile at .7 v.
|
||||
- Changed: hidden-phase gate range 100 -> phase_ticks [30, 30]; PotAppear -> new PickupFirst attack -> PickupIdle ->
|
||||
Throw (PotAppear used to return to idle). Throw 10 + aim_lead 4 kept.
|
||||
- Not expressible: real grid lifting and the rock search (pass 3's lift_grid), the 100-short hover and the 1/4 throw
|
||||
roll while holding (PickupIdle seek .7, repeat 4 kept), the flight off-room, the death drop.
|
||||
|
||||
## grudge: NpcAI::ENTITY_GRUDGE 004e6570 (877.0). Changed
|
||||
- Init: No-Spikes, invincible (flags 0x40010001), collision damage 0, pinned to its cell (velocity = cell - pos,
|
||||
friction .8 outside the charge), grid path 900. Killed at once when the room was already cleared on entry.
|
||||
- State 3: after 5 ticks Wake; its Sound event (frame 4) sound 0xcd, collision damage 1. Then state 4, stateFrame 4.
|
||||
- State 4: room clear (flag) with no live enemies -> Sleep, state 0x10. Else, once stateFrame < 1, every tick, any
|
||||
live player with min(|dx|, |dy|) <= 24 < max(|dx|, |dy|) and Room::CheckLine(mode 1, 999) -> state 8, V1 = that
|
||||
axis, V2.x = 0. No range, no lead.
|
||||
- State 8: V2.x = min(V2.x + speedMult, 4); friction *= .8; v += V1 * V2.x / f (net .8 v + 1, 2, 3, 4); the cross axis
|
||||
velocity = cell centre - pos; collision damage 2 once V2.x >= 4; creep splats while V2.y > 0; dust 1000.59 every 2
|
||||
ticks. A grid at size + 2 ahead: ShakeScreen 6, sound 0x1e7, state 4, re-anchored, stateFrame 15 (a 15-tick rest).
|
||||
Enemies in front (QueryRadius) are pushed along and crushed (the record's enemy_contact_damage).
|
||||
- In states 4 and 8 the Look clip is held on the 8-way frame (atan2 to Isaac / 45 + 8.5) & 7.
|
||||
- Changed: lane period 3 -> 1; charge acceleration 4 -> 1 with the existing lane ramp {step 1, cap 4}.
|
||||
- Not expressible: the 15-tick wall rest (lane slam_delay only follows a wall_attack), contact damage 2 at full
|
||||
speed, the 8-way Look frame.
|
||||
|
||||
## cloggy: NpcAI::ENTITY_CLOTTY 0050d370 (872.0). Changed
|
||||
- friction *= .9 at the top of every tick; walk = PathFinder::MoveRandomly (.5 * speedMult / f, the f already .9):
|
||||
net push .5 (hop .556 -> .5, as Dinga). Every arrival -> Attack (no roll, no counter for 0x368).
|
||||
- Shoot (frame 11): blood explosion at (0, -20), sound 0xa6, FireProjectiles mode 9 (8, 4): a ring of 4 at 8,
|
||||
Variant 3, CurvingStrength .012, FallingAccelModifier -.02; I1 == 0: BulletFlags CURVE_RIGHT (1 << 19), CircleAngle
|
||||
-.9425; else CURVE_LEFT (1 << 18), +.9425; I1 = 1 - I1.
|
||||
- Entity_Projectile::Update 00658ea2 (asm): with either curve flag, v += perp(v) * |v| * CurvingStrength * speedMult
|
||||
(perp = (-vy, vx), negated for CURVE_LEFT), then resized to the old |v|: turn atan(8 * .012) = .0957 rad a tick,
|
||||
clockwise on screen for CURVE_RIGHT.
|
||||
- Changed: curve .03 -> .0957, angle 36 (the cardinal four turned -54 = +36 mod 90), fall_acceleration -.02.
|
||||
- Not expressible: the start angle flips with the curve (-36 on the CURVE_LEFT volleys); the record keeps 36.
|
||||
|
||||
## vis_versa: NpcAI::ENTITY_VIS 0052c720 (836.0). Changed
|
||||
- friction *= .8 at the end of every tick in every state; state 4 MoveRandomlyAxisAligned(.7) (roam .7 / .8 match).
|
||||
- IsFrame(3, index): |dx| < 20 or |dy| < 20 to Isaac, distance < 400, Camera::IsPosVisible -> state 9 (Attack01*),
|
||||
V1 = Vector::ToCardinal(toward Isaac), a following tracer (SpawnFollowingEffect198, timeout 0x1c).
|
||||
- State 9 (0x344): once stateFrame > 5 with no target set, TargetPosition = Isaac. Shoot (frame 30): ShootAngle(1)
|
||||
from pos + V1 * 6, timeout 32 (LaserEnd 62), depth 3000 (-10 aimed up); its end point follows TargetPosition,
|
||||
which moves 2 px a tick toward Isaac (scaled by dot + 1 when he is behind the beam). Tinted unless stage 0x20.
|
||||
- Changed: attack retention .5 -> .8 (no extra brake while attacking). Alignment 20, range 400, period 3, laser
|
||||
Shoot -> LaserEnd and homing already match. Not expressible: the on-camera test.
|
||||
|
||||
## dukie: NpcAI::ENTITY_DUKIE 00541810 (288.0). Changed (partial)
|
||||
- Init: velocity = random unit, ProjectileCooldown 60. friction *= .9, then v += (+-.3, +-.3) * speedMult / f by the
|
||||
velocity's signs: net .3 a tick per axis (bounce .333 -> .3).
|
||||
- State 4: cooldown < 1 and rand % 10 == 0 and GetAliveEnemyCount <= 7 -> Cough (state 8).
|
||||
- Cough's Shoot (frame 3): sound 0x13e, a Dart Fly (0x100) at pos + (0, 40), velocity RandomVector * 3.5 + Dukie's
|
||||
own; a second on rand % 3 == 0. Clip end: cooldown 90 + rand % 30. The cooldown counts down in every state.
|
||||
- Changed: speed .3; spawn_speed 3.5 with spawn_cone 360 (a random heading at 3.5).
|
||||
- Not expressible: the second fly's 1 in 3 (spawn_count_random 2 = 1 in 2 kept), the (0, 40) point (spawn_cone turns
|
||||
spawn_at too), the added own velocity.
|
||||
|
||||
## splurt: NpcAI::ENTITY_SQUIRT 00535280 (871.0). Changed
|
||||
- friction *= .95 every tick; state 3 Idle *.7 more (.665); rand % 5 == 0 and IsFrame(5, index) -> state 8.
|
||||
- State 8 Attack01 (Slide at 36 of 40): v += unit(Isaac - pos) * 20 / f, sound 0x39; clip end: V1.x = 0, state 6.
|
||||
- States 6 and 4 (Slide, type 0x367): V1.x += speedMult a tick; while V1.x < 10, v += unit(v) * .5 / f (a push along
|
||||
its own motion); friction *= .85 more once V1.x > 8 (state 6) or > 40 (state 4); V1.x >= 10 and speed < 3 ends
|
||||
it: state 6 -> state 9 Attack02 (Slide at 8 of 12, the same 20 lunge) -> state 4; state 4 -> idle.
|
||||
- Death: two Drips (0x366) 10 px out at a random angle, thrown at (4 + 2 rand) * speedMult / f, state 4.
|
||||
- Changed: first Slide = ticks 8 at .95, then .8075 with end_below 3; second Slide = ticks 40 at .95, then .8075 with
|
||||
end_below 3 (was .85 throughout, repeat 10 with speed 3); death_spawn speeds [[4, 6, 1]].
|
||||
- Not expressible: the .5 push along its motion for the first 10 slide ticks.
|
||||
Reference in new issue
Block a user