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:
1 parent
79259ccf8f
commit
4883b7a06f
7 files changed
+619
No files matched your search
@@ -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).
|
||||
@@ -0,0 +1,109 @@
|
||||
# Group j1 notes (pass 8, 2026-10-25)
|
||||
|
||||
Tier-b records first read in pass 2/3 (pass2_misc3.md, pass3_b.md, pass3_c.md), re-read for isaac-classic branch
|
||||
monster-fidelity-11. Speed convention as pass4_00.md / pass6_engine.md / pass7_i3.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 push
|
||||
`v += x / f` is the net push x. Engine proposals: isaac-classic scratch MF/engine_j1.md.
|
||||
|
||||
## carrion_princess: NpcAI::ENTITY_MAGGOT 0052db50 (23.3). Skipped (matches)
|
||||
- Walk MoveRandomlyAxisAligned(.6) under f *.85 (vy also *.9647 via the 0x3f76f6f6 factor, not expressed): roam .6 / .85.
|
||||
- Charge on IsFrame(4): Isaac (+ vel * rand * 16, clamped 20) minus its cell centre, turned 45 deg, within 20 on an
|
||||
axis, CheckLine; AddVelocity(v1) with v1 = 1.3 * the diagonal under *.8 (lunge 1.3 / .8); ends 6 ticks stuck
|
||||
(moveCountdown > 5), on a grid hit, or with flags 0x1000a00. Poses Attack Down/Up by v1.y, flipX by v1.x.
|
||||
- No damage filtering for variant 3 anywhere in the routine: no invulnerable head in Rep.
|
||||
- Not expressed: the cross-axis lerp (timescale .7) onto its diagonal lane while charging.
|
||||
|
||||
## super_pooter: NpcAI::ENTITY_FLY 00506bd0 (14.1). Changed
|
||||
- Types 13/14 clear their chase target every tick (unless spawned by 0x66), so the steering block never runs; instead
|
||||
each tick rand%5 == 0 adds .7 * unit(Isaac - pos) * speedMult straight to velocity (mean .14).
|
||||
- Fly drift: V1 = (RandomVector * .6 + V1) * .4 on frameCount % 4 == 1. Only on frameCount % 3 == 2 (asm 00508da5
|
||||
`CMP EDX,2; JNZ 00508ebc` skips the edge nudges, the push AND the brake): edge nudges .06 (x 80..540, y 230..420),
|
||||
v += 2 V1 / f, friction *= .6. On the other two ticks no damping: per-tick retention .6^(1/3) = .843.
|
||||
(pass6_h3 read the .6 as every tick for tainted_pooter.)
|
||||
- While ProjectileCooldown > 0: friction *.8 and V1 *= .7 every tick.
|
||||
- Attack: cooldown < 1 and IsTargetInAttackRange(200, 0, 7) -> Attack, cooldown 0x23 = 35 (14.2: 63) from its start;
|
||||
Shoot (frame 6): FireProjectiles mode 1 at 7 (hard 10), default params.
|
||||
- Simulated (200k ticks, Isaac far along +x): mean pull speed .775, lateral velocity rms .39, lateral 30-tick wander
|
||||
8.2 px. Ours hover s / r: mean s / (1 - r); white scatter a: wander 6.6 at .3, 8.9 at .4.
|
||||
- Changed: hover .12 / .9 (terminal 1.2) -> .12 / .84 + hover_scatter .35; cooldown 35 -> 21 (35 less the 14-frame
|
||||
clip); attack retention .67 (.8 * .843).
|
||||
- Not expressible: the .8 brake for the 21 cooldown ticks after the clip, the correlated drift.
|
||||
|
||||
## blubber: NpcAI::ENTITY_GUSHER 0050af90 (210.0). Changed
|
||||
- State 0: ProjectileCooldown = 20 + rand%20. Fires when the cooldown is < 1, not feared/charmed (0x1000a00), and its
|
||||
velocity is non-zero: cooldown = 30 + rand%30, FireBossProjectiles(3 + rand%3, g_vectorZero (random headings at 7),
|
||||
traj 10, HeightModifier -15, FallingSpeedModifier 5, PositionOffset (0, 5)), sound 0xb2. Counted down otherwise.
|
||||
- f *= .75 then MoveRandomly (EvadeTarget, extra *.8, when feared). GetIntervalTicks(10): MakeSplat(.4 + .4 rand).
|
||||
Every 50 ticks (offset index % 50) rand&1: sound 3. Death: health > -25 and rand&1 == 0 -> Morph 211.0 at full.
|
||||
- Changed: turret cooldown 45 -> 30 + cooldown_random 30, first [20, 20]; shot spread 0: the boss_volley was aimed
|
||||
at Isaac (the engine aims a boss_volley whenever spread > 0, default .2), Rep's target is zero (random).
|
||||
- Not expressible: HeightModifier -15 (engine_j1 #5), the velocity > 0 gate.
|
||||
|
||||
## half_sack: NpcAI::ENTITY_GUSHER 0050af90 (211.0). Skipped (matches)
|
||||
- Hop .5 / .75; red creep 1000.22 scaled .2 + .3 rand on GetIntervalTicks(10) (creep period 10, scale .35 mean; no
|
||||
scale_random field). No shots. Gurgle sound as Blubber (not ported).
|
||||
|
||||
## cod_worm: NpcAI::ENTITY_COD_WORM 00531350 (221.0). Changed
|
||||
- State 0: target = its spot, invincible that tick. Every tick velocity = spot - pos, f *.7.
|
||||
- State 3 Pulse: stateFrame counts down while > 0 (only here). Digs out (state 6, stateFrame 80 + rand%40, DigOut) when
|
||||
NOT (Isaac within 150 (22500) and Room::CheckLine(mode 3) clear) and stateFrame <= 0; flag 0x200 forces it.
|
||||
- State 6: DigOut, then PulseOut looping; stateFrame counts down, < 1 -> DigIn (state 7) -> Pulse.
|
||||
- Shell: damage events (except flag 0x8000) are zeroed in states 3, 8, 7 and in state 6 while the non-looping clip
|
||||
plays (animData +0x34 = _loop, AnimationState::IsLoopingAnimation 004073b0): only PulseOut can be hurt. A shelled
|
||||
hit in state 3/8 -> state 8 Attack and stateFrame = min(stateFrame + 2 * damage, 30). Flag 0x10 (no target) off
|
||||
only in state 6.
|
||||
- Shoot: FireBossProjectiles(5 + rand&3, Isaac, traj rand * 10, default params), sound 0xb2.
|
||||
- Changed: DigOut open [12, 32] -> [0, -1], DigIn open [1, 11] -> [0, -1]; a second DigOut attack with unseen true (no
|
||||
range) beside the range_min 150 one; Attack rest {ticks 30, attacks [1, 4]} for the hit delay (2 x tear damage per
|
||||
hit, reaching the 30 cap under steady fire).
|
||||
- Not expressible: the delay per damage (a lone hit waits 7, not 30), hits in DigIn counting as hurt, the per-volley
|
||||
trajectory (mean traj 5: fall_base 0, accel .82, kept).
|
||||
|
||||
## necro: NpcAI::ENTITY_NECRO 005052a0 (828.0). Changed
|
||||
- f *.7. State 3 Shake; ProjectileDelay counts down; < 1: up to 10 spots, heading unit(necro - Isaac) turned
|
||||
rand * 270 - 135 deg, distance 60 + 120 rand; in the room (GetClampedPositionImpl for shapes 9-12), a blocked cell ->
|
||||
FindFreePickupSpawnPosition(spot, 10); not within 150 of Isaac (IsPlayerInRadius) and CheckLine(spot, Isaac, 3).
|
||||
Found: target = spot, state 8 Attack. None: retried next tick. The Necro itself needs no line of sight.
|
||||
- Summon (frame 8): SpawnEx projectile 9.1 at the spot, held (+0x43c flag 0x100), FallingSpeed-ish +0x410 = -6,
|
||||
child = it; effect 1000.133 there, sound 0xa2 at .5. Shoot (frame 21): child velocity = Resized(Isaac - bone, 10),
|
||||
hold flag cleared, blood explosion 5, sound 0xf9. Clip end: state 3, ProjectileDelay rand%30.
|
||||
- Changed: shot on Summon with drop (free room spot, still) + hover {ticks 13, speed 10} (sets off at Isaac at 10 on
|
||||
the Shoot frame); attack sight removed. Kept: cooldown_random [30, 1] once, first [0, 30], speed 10.
|
||||
- Not expressible: the spot rule (engine_j1 #1). The random room spot can be near Isaac.
|
||||
|
||||
## dust: NpcAI::ENTITY_DUST 00503af0 (882.0). Changed
|
||||
- AI phase 1 (every tick, not state 16, not flag 0x20000000): v1.x = alpha = clamp(1 - (d_nearest - 80) / 120),
|
||||
all layers' alpha; collision class 4 while alpha > .02, else 0. State 16: alpha 1.
|
||||
- State 0: v1.y = max * .66, splat colour grey, alpha 0, Appear, state 2. State 2: f *.6 until Appear ends.
|
||||
- State 3: f *.8; FindGridPath(CalcTargetPosition, (.6 + .4 clamp(d / 80)) * max(1.35 alpha, .35)); walk poses
|
||||
WalkHori (flip) / WalkDown / WalkUp. Health < v1.y: v1.y -= .33 max until <= health, state 16, collision 0, Poof,
|
||||
velocity 0, i1 = 90. GetIntervalTicks(6) with alpha > 0: MakeSplat(.5) in the grey splat colour.
|
||||
- State 16: f *.6; Poof event: sound 0x50 (.7, pitch 1.5). After the clip, i1 counts down; each tick the best of 4
|
||||
Room::GetRandomPosition -> FindFreePickupSpawnPosition spots by squared distance to the nearest player; taken when
|
||||
over 40000 (200 px) or i1 < 1: moved there, Appear, state 2.
|
||||
- Changed: spawn_clip Appear; hp_below 14.7 / 7.4 -> 14.52 / 7.26 (.66 / .33 of 22); Poof untouchable true (was
|
||||
Poof..Gone), retention .6, start_retention 0; Appear untouchable removed, retention .6; teleport mode far (130+)
|
||||
-> default (200+).
|
||||
- Not expressible: the distance speed (engine_j1 #2; path .7 kept), the grey splats (splatter has no colour).
|
||||
|
||||
## vis_fatty: NpcAI::ENTITY_VIS_FATTY 004ea3d0 (886.0). Changed
|
||||
- Phase 1: v1.y = max(0, v1.y + pendingDamage - .02); the cord layer flips toward the child.
|
||||
- Every tick rand%10 == 0: MakeSplat(.2 + .5 rand).
|
||||
- State 0: subtype 0 spawns 886.1 at (rand * 40 - 20, +20), parent/child; WalkVert, cord chain of 6 links.
|
||||
- State 4: AnimWalkFrame WalkHori/WalkVert; FindGridPath(.3, 900, 1), no friction change. Fart when ChildNPC is in
|
||||
state 8 with ProjectileCooldown > 26 (0x1a) and (rand%7 == 0 or v1.y > 7): v1.y = 0, state 8, sound 0xa7,
|
||||
AttackHori/Vert. Feared: EvadeTarget, f *.8 (*.8 more while evading). Direct path: rand%3 sound 0x74.
|
||||
- State 8: f *.8; Shoot (21): Game::ButterBeanFart(pos, 120, npc, 0, 0), fart effect 1000.34, red creep 1000.22 scale
|
||||
2 (timeout 150), v1.x = 1.5 (cord out, eased .03 a tick), child raging with cooldown > 0 gets +15. Clip end: state 4.
|
||||
- Child gone in state 4: state 16, ProjectileDelay 0, sound 0x138, RageStart; dir = (-+.707, -+.707) away from Isaac;
|
||||
tracer 1000.198 toward him (30 ticks, colour .8, scale 4); heals 25% of max (capped).
|
||||
- State 16: RageStart plays under f *.8; then RageDown/RageUp loop: grid collision 3, friction = .95, mass x6,
|
||||
AddVelocity(.55 dir); one Brimstone ShootAngle(1, pos, atan2(dir) + 180, timeout 10, offset (0, -31)) kept alive
|
||||
(timeout set to 10 every tick, angle re-set when dir changes); IsFrame(2): effect 1000.111 behind it; grid hit flips
|
||||
dir per axis (normal past .2) and keeps the speed.
|
||||
- Changed: move chase -> path (.3 / 1); splatter one_in 10, .2 + .5; fart range 90 / period 7 / one_in 4 -> range
|
||||
240 / period 1 / one_in 5 / cooldown 105 (stands in for the demon's own rage roll, Isaac within 240 of the Fatty,
|
||||
1 in 5, and its ~117-tick cycle at an .82 chance its window farts); freed bounce .3 -> .39 per axis (.55 * .707),
|
||||
RageStart retention .8.
|
||||
- Not expressible: the partner-gated fart (engine_j1 #3), the trailing beam (engine_j1 #4: one aimed beam during
|
||||
RageStart kept), the heal, the cord physics.
|
||||
@@ -0,0 +1,90 @@
|
||||
# Group j2 notes (pass 8, 2026-10-25)
|
||||
|
||||
1/2 Heart (both halves), The Thing, Blaster, Crazy Long Legs, Imp, Danny and Big Bony, read for isaac-classic branch
|
||||
rif/monster-fidelity-11. Speed convention as pass6_engine.md (MoveRandomly: hop speed .5 / f_call * f_tick;
|
||||
AddVelocity x / f: net x). Engine proposals: MF/engine_j2.md in the fork scratchpad.
|
||||
|
||||
## 1_2_heart / 1_2_heart_92_1_1: NpcAI::ENTITY_HEART 0051f2f0 (92.1.0 / 92.1.1). Changed
|
||||
- Paired, Isaac far: PathFinder::MoveRandomly(1) (007e6300: 40 px hops to free points, .5 * speedMult / f at f 1),
|
||||
then f *= .9 and the common *.8 -> move hop .36 / .72 (was drift .694, the heading model, not Rep's hops).
|
||||
- Shot at the partner every 12 ticks (GetIntervalTicks 12): 7, Scale .6, FallingAccelModifier -.09, flag 0x200
|
||||
-> volley_clock shot fall_acceleration -.09 (was .01; the field is the modifier added to the shared .1).
|
||||
- Attack: IsFrame(3, 0), Isaac within 100 (10000 squared); HeartAttack f *.7, Shoot: FireProjectiles mode 7 (variant 1)
|
||||
at 12. Matches.
|
||||
- Lone (partner gone): FindGridPath(Isaac, 1, 900) under .8 (matches path 1 / .8); attack on IsFrame(3) with
|
||||
ProjectileCooldown < 1, set to 10 as it starts and counted down only while idle -> lone attack cooldown 10 (pass 3
|
||||
read it as re-attacking at once).
|
||||
- Not expressed: the flank seek (every 14 ticks; Isaac within 170, halves under 60 apart, no line between them or on
|
||||
the wrong side -> 3 checks of seeking a scored cell 30-480 out on its subtype's side, FindGridPath 1.079 plus a
|
||||
1.5 / f push): engine_j2 #1. The record is flying; Rep's 92 has ground collision (CheckLine mode 1, no
|
||||
gridCollision attribute): left as it was.
|
||||
|
||||
## the_thing: NpcAI::ENTITY_WALL_CREEP 0053c0d0 (304.0). Changed
|
||||
- The wall walk (velocity set to v1 * 1 toward Isaac's coordinate beyond 10) runs every tick, attacking too:
|
||||
every attack now moving true (retention 0, the move sets the velocity).
|
||||
- i2 0 and |perpendicular| < 25 -> Attack (sound 0xd), no roll, no cooldown; Attack ends -> i2 2: AttackLoopIdle
|
||||
(still) / AttackLoopWalk (moving); |perp| >= 25 -> PutAway, i2 3; PutAway ends -> i2 0.
|
||||
- Creep: while i2 2 and ProjectileCooldown < 1: cd 120, v2 = pos, sound 0x13d; each tick while cd > 106 (side walls;
|
||||
110 top/bottom) and even: red creep 1000.22 at v2 + out * ((120 - cd) / 2) * 40 + across * (rand - .5) * 20.
|
||||
7 puddles 0..240 on side walls, 5 on 0..160 on top/bottom, one every 2 ticks from the tick the tongue is out.
|
||||
- Data: creep moved from Attack's Shoot (7 random puddles at once) to the first AttackLoopIdle: frames 2..14, period 2,
|
||||
stepped, along [240, 0], jitter 10 (one tick late). The chain is Attack -> AttackLoopIdle (creep) -> AttackLoopIdle
|
||||
repeat 1 -> PutAway.
|
||||
- Bug: attack 0's cooldown 51 was ignored (a chain's end takes its last attack's cooldown). Now PutAway cooldown 16
|
||||
(104-tick chain + 16 = the 120-tick creep spacing).
|
||||
- Not expressed: the tongue held while aligned, its damage line (every 2 ticks: within 25 of its line in
|
||||
QueryRadius 60/70/80, Isaac contact damage, enemies 5), the shorter top/bottom line: engine_j2 #2.
|
||||
|
||||
## crazy_long_legs: NpcAI::ENTITY_BABY_LONG_LEGS 00531ab0 (207.0). Changed
|
||||
- FindGridPath .65 then friction = .8, AnimWalkFrame threshold .1 (matches).
|
||||
- Attack only while PathFinder hasDirectPath and rand%50 -> sight true added. Attack f *.5 (matches).
|
||||
- Shoot (sound 0xb2): FireProjectiles mode 8 (variant 1: 7) at 8 + 2 rand (one draw per volley), FallingAccelModifier
|
||||
.5, FallingSpeedModifier -10, HeightModifier 10 -> shots [{eight, 9, fall_velocity -13, fall_acceleration .5,
|
||||
offset [0, 10]}]: the lob was missing. small_crazy_long_legs (not this group) has the same unported lob.
|
||||
|
||||
## imp: NpcAI::ENTITY_BABY 0052ae30 (259 branch). Changed
|
||||
- Friction *.7; v += .33 unit(target) / f only while ProjectileCooldown < 1 (hover .33 / .7 matches).
|
||||
- Attack: ProjectileDelay < 1, rand%20, IsHostileTo only (no line) -> sight removed. ProjectileCooldown 20 + rand%30;
|
||||
each tick cd -= 1 and on cd%10 == 0 a shot at Isaac + vel * 5, speed 10 (mode 0); at cd < 1 back to idle with
|
||||
ProjectileDelay 30. ticks 20 + [30, 1], burst every 10 from frame 9, cooldown 30 keep the count of shots (2..5).
|
||||
- Teleport meter V1.x (idle state only): hit -> 20; +1 a tick with Isaac within 20 of its row or column and nearer
|
||||
than 400; + rand * .1 a tick. Above 20: two tries a tick for a target (random angle, 60 + 250 rand out; variant 0:
|
||||
more than 20 off Isaac's row and column and over 200 from him; a free cell with path value < 500). Above 40 with a
|
||||
target: Vanish, collision class 0; after 25 ticks Vanish2 at the target, V1.x 0; back to idle when it ends.
|
||||
- Data: teleport {poses [Move], tries 2, keep, charge {400, 1, .1, seek 20, start 40, hurt 20}}, Vanish charged
|
||||
(was hurt + alignment 20 + range 400), Vanish and Vanish2 untouchable.
|
||||
- Tear dodge (AI branch, not the controlled 1.6 one pass 3 read): tears within 100 heading at it push it off their line
|
||||
by (2 + 2 rand)(1 - d^2/10000) min(1, D_isaac^2/10000), averaged, added without / f, then f .7 -> tear_dodge
|
||||
{100, 2.1}.
|
||||
- Not expressed: the engine's charge also climbs past seek_above unaligned (engine_j2 #3); Rep dodges and grows the
|
||||
meter only out of its attack.
|
||||
|
||||
## danny: NpcAI::ENTITY_DANNY 004fbd10 (820.0). Changed
|
||||
- Init StateFrame rand%10 + 10 -> first_cooldown [10, 10]. FindGridPath(target, .6), no brake (matches).
|
||||
- StateFrame 150 from the attack start, counted down while walking (twice as fast while V1.x > 6; V1.x += damage taken,
|
||||
-.11 a tick). Then rand%60 (or rand%20 when V1.x > 6), Isaac within 200 or 200-400 with rand%10, and at most 8
|
||||
spiders 85.0 + rock spiders 818 in the room -> range 200, one_in 60, cooldown 150, when type_count spider +
|
||||
rock_spider below 9.
|
||||
- Attack f *.7 with no start brake -> start_retention 0 removed.
|
||||
- Shoot (sound 0x6c, pitch 1.1): n = max(0, 2 - live rock spiders of its group); n ThrowRockSpider at pos + u * 4,
|
||||
velocity u turned +-15 deg * (1 + 3 rand), height -15; FireBossProjectiles(6 - n, Isaac, traj 1, Variant 9 rock):
|
||||
aim 7 with 3.5 jitter, fd .42, dm 4 - rand * 24; seven rock gibs (1000.35).
|
||||
- The record's count 4 was used for the spawns too (4 spiders a throw under the cap). Now count 2 spawns behind
|
||||
spawn_when rock_spider below 2 (cone 30, speed 1 + random 3, 4 out), the volley as 4 boss_volley shots plus 2 gated
|
||||
unless_spawned (6 when it throws none), volley {fall_acceleration .42, fall_base 4}.
|
||||
- Not expressed: the V1.x haste, the 200-400 roll, exactly 2 - alive spiders (one alive: Rep 1 + 5, ours 2 + 4).
|
||||
|
||||
## blaster: NpcAI::ENTITY_BLASTER 004fcc20 (821.0). Changed
|
||||
- aiCallPhase 1: damage events without flags 0x1000004 lose 75% (baseHP 20; the record's hp 80 + damage_override 160
|
||||
stand in).
|
||||
- Walk: f *= .7, then PathFinder::MoveRandomly -> hop .5 / .7 (was drift .714 / .7).
|
||||
- Attack: rand%70, not frozen/charmed, fewer than 4 Fly Bombs (819.0) (matches). Shoot (sound 0x1e2): Fly Bomb
|
||||
(health .1, fuse 60) at pos + u * 5 at 10, u toward Isaac + his velocity * dist * .1 with x clamped to its facing
|
||||
side (matches but the lead).
|
||||
- Recoil: StateFrame 5: v -= 4u a tick under f .9 for 5 ticks, else f .7 -> lunge -3.6 from Shoot to frame 21,
|
||||
retention .9, lunge_brake .7778 (.7 outside).
|
||||
|
||||
## big_bony: NpcAI::ENTITY_BIG_BONY 005041d0 (830.0). Skipped (matches)
|
||||
- FindGridPath(.3, 900), ProjectileCooldown 120 set at the attack, counted while walking; (d < 120 and rand%15) or
|
||||
rand%120; AttackHori when walking WalkHori else AttackVert; f *.6; Shoot spawns 830.10 at 8 toward Isaac.
|
||||
- Rep spawns the bone at its own position; spawn_toward 20 kept (the 50-mass bone would shove it).
|
||||
@@ -0,0 +1,86 @@
|
||||
# Group j3 notes (pass 8, 2026-10-25)
|
||||
|
||||
Gush, Tar Boy, Bone Knight, Blood Cultist, Gas Dwarf, Dank Globin, Mask II, Migraine, re-read for isaac-classic branch
|
||||
rif/monster-fidelity-11. Speed convention as pass6_engine.md. Proposals in the isaac-classic scratch engine_j3.md.
|
||||
|
||||
## gush: NpcAI::ENTITY_GUSH 00547330 (309.0). Changed (partly)
|
||||
- Pinned (velocity = target - pos), friction .8; grid path 900 under it.
|
||||
- Init: black creep 1000.26 scale 2 on itself, timeout 30, held at 30 every tick while it lives.
|
||||
- Network: every 1 + rand%10 ticks, under 256 puddles, ten tries at r^2 * (200 + 100k) (k the try, random angle): free
|
||||
cell, own puddle within 75, no puddle within 40 -> a puddle with timeout 45 that grows 0 -> 1.5 over 15 ticks
|
||||
(splash 1000.7 at the end), then held. The first good try wins.
|
||||
- Changed: retention .7 -> .8, creep scale 1.5 -> 2. Not expressible: the spreading network (engine_j3 #1).
|
||||
|
||||
## tar_boy: NpcAI::ENTITY_TARBOY 005442a0 (307.0). Changed
|
||||
- Friction *.8, pinned. i1 starts 20 + rand%40. Ready each tick (i1 0): rand & 7 != 0 -> teleport: target Isaac when
|
||||
farther than 120, else on rand & 15 == 0 a random room point (else none); the free creep cell (1000.26, timeout > 20,
|
||||
path < 400, > sqrt 120 from itself) nearest it -> Teleport (state 4), else nothing this tick.
|
||||
- Else: 60 < d < 280, rand % 5 != 0, aim cell (Isaac + vel * .1 d) free and NpcHelper::tarboy_is_creep_near 005441e0
|
||||
(creep within 26 of the aim) -> Attack2, the mouth (307.0.1) spawned the same tick; else Attack: on Shoot
|
||||
FireBossProjectiles(6, the aim, 10, GOO, scale .7), i1 = 15 + rand%40 after both.
|
||||
- Teleport: collision off on its Shoot (10), moves to the cell at the clip's end (18), TeleportEnd; collision back on
|
||||
its Shoot (4); i1 = 20 + rand%40.
|
||||
- Changed: attacks reordered [Teleport, Attack2, Attack, TeleportEnd]; Teleport `when` not_one_in 8 (on_creep kept),
|
||||
release 18, untouchable from Shoot; TeleportEnd untouchable to Shoot; Attack2 not_one_in 5 replaces one_in 10, release
|
||||
frame 1 instead of spawn_on Shoot (the mouth was 13 frames late).
|
||||
- Not expressible: the gates read creep anywhere / near his lead, ours Isaac standing on creep (engine_j3 #2); Attack
|
||||
after a failed Attack2 roll keeps one_in 8; the per-distance aim lead.
|
||||
|
||||
## bone_knight: NpcAI::ENTITY_KNIGHT 005135d0 (283.0). Changed
|
||||
- Walk MoveRandomlyAxisAligned(.75) under .8; charge test IsFrame(3, index) at Isaac + vel * rand * 16, cell within 20
|
||||
on an axis, < 200, CheckLine; dir * 1.65 AddVelocity under .8, cross axis lerped .1; ends once Isaac is behind
|
||||
(dot(Isaac - (pos - 40 dir), v) < 0) or on a grid hit. All matched.
|
||||
- Creep: 1000.22 scale .5 timeout 20 on IsFrame(7, index) in every state. Changed: scale .6 -> .5, serial true.
|
||||
Not expressible: the 20-tick life.
|
||||
|
||||
## blood_cultist: NpcAI::ENTITY_CULTIST 004ed840 (885.1). Changed (speed)
|
||||
- Same steer as Cultist: heading eased (3 + 20 rand) deg a tick, push .7 + 1.7 rand, friction .75; arrival 24.
|
||||
- Picks: cooled -> Isaac + 15 vel clamped 60 in, armed; else offset turned +-120, 50 + 40 rand, armed on rand & 7 == 0.
|
||||
An unarmed pick (i1 0) is redrawn on the very next tick: it only ever walks to armed picks. Armed with cooldown left:
|
||||
1/10 a tick dropped; held over 60 ticks dropped.
|
||||
- Armed arrival: on camera, |dy| < 30, rand%3 == 0 -> Attack; else within 100 -> Respawn.
|
||||
- Attack: friction .7; Shoot: V1.x 1 (recoil vx += -+5 V1.x, V1.x -= .1), V2.x 20: each tick red creep 1000.22 (timeout
|
||||
30, scale .9 + .07 stateFrame) at pos + facing * V2.x, FireBossProjectiles(1, pos + 100 facing, 5) moved to the point
|
||||
less 12 rand along facing, V2.x += 40 until out of the room. Then cooldown 60 + rand%60. Matched by march/recoil.
|
||||
- Respawn: waves of up to ten Bone Traps 885.10 on frames 23, 31, 39, 47 at 50-90 from Isaac along his heading +-80 deg
|
||||
(40 clear of him). The trap: 90-tick life, grabs and pulls a hostile within its size (sound 500). Cooldown each tick
|
||||
also loses 5 x pending damage.
|
||||
- Changed: speed 1.55 -> 1.1 (spot paths at the navigator's min(2, d / 10) push under .7 * .75: 4.2 x 1.1 = Rep's
|
||||
terminal .75 * 1.55 / .25 = 4.65, as cultist). Not expressible: Respawn and the traps (no bone_trap record,
|
||||
engine_j3 #3), the per-tick unarmed redraw, the damage-cut cooldown.
|
||||
|
||||
## gas_dwarf: NpcAI::ENTITY_FARTIGAN 00561a20 (874.0). Changed
|
||||
- State 4: FindGridPath(1.2), friction .9; IsFrame(5, 0) and Isaac within 40 -> self kill, BombExplosionEffects(40).
|
||||
- i1 is never set: each tick with a direct path (pathfinder +hasDirectPath) and rand & 15 == 0 -> state 8 at once:
|
||||
sound 0x9e, smoke cloud 1000.141 subtype 1 (Colostomia's explosive gas, colostomia_pick_target queries 141.1; effect
|
||||
update 005d6910 has no damage call) at (facing, 0) turned rand * 60 - 30 deg * (10 + 10 rand), timeout 180, scale 1.
|
||||
State 8: HeadAttack overlay, FindGridPath(1.0), friction .9, back to 4 at its end.
|
||||
- Death not by itself: FireProjectiles mode 0 at vel * .3 capped 4, EXPLODE, FallingSpeed -5, FallingAccel .3. Matched.
|
||||
- Changed: gas release Shoot (frame 9) -> 1 with its sound, sight true, chase {speed 1}, player_damage .5 removed,
|
||||
is_blast_detonate true, scale .6 -> 1.
|
||||
|
||||
## dank_globin: NpcAI::ENTITY_GLOBIN 0050e4d0 (24.2). Changed (partly)
|
||||
- FindGridPath(.75) under .97; splat 1/10 at .2 + .5 rand; groan with a direct path on rand%3.
|
||||
- A death in state 4: health 10, ReGen (friction .7); with fewer than 7 alive enemies a spider 85.0 on it. Every death
|
||||
(collapse and final) leaves black creep 1000.26 scale 2 timeout 210.
|
||||
- Changed: death_creep {scale 2, black, slowing} (the final puddle). Not expressible: the collapse's spider and
|
||||
puddle (engine_j3 #4).
|
||||
|
||||
## mask_ii: dispatcher case 006c2d98 (init) + NpcAI::ENTITY_MASK_OF_INFAMY 00461fc0 (93.1). Changed
|
||||
- Init inline: the nearest childless Heart (92, same variant) is its parent, that heart's parent its EntityRef (none
|
||||
found: it spawns them). In 00461fc0, variant 1: EntityRef gone -> state 9; parent gone -> the EntityRef half becomes
|
||||
parent and state 9; both gone -> killed.
|
||||
- Walk: MoveRandomlyAxisAligned(.85, 1.5 in state 9), friction x .85, y .78; state 9 poses AngryMask{Left,Up,Right,Down}.
|
||||
- Charge: IsFrame(4, index) at Isaac + vel * rand * 16, within 20 on an axis and 200, line sampled every 10 px at four
|
||||
+-5 points (soft cells take .3 of a budget of 1, solid ones all of it); dir * 2 under .82, cross axis lerped .1, ends
|
||||
on a grid hit. Facing V1 = (V1 + vel) * .35, + dir * 3 while charging.
|
||||
- Changed: lane walk corridor -> roam (short_paths dropped), prediction_duration 8 -> 16 (the field is the rand * N
|
||||
bound, as the knights'), phase when fewer than two 1/2 Hearts live: speed 1.5, AngryMask poses (idle AngryMaskDown).
|
||||
- Not expressible: the half count is room-wide, not its own pair.
|
||||
|
||||
## migraine: NpcAI::ENTITY_SPIDER 00529da0 (869.0). Changed
|
||||
- Walk/attack/jump as pass3_a (push 4.5 under .6, idle * .8 more). Death: Entity_Effect::CreateTimer(
|
||||
NpcHelper::migraine_timer_spawn 00528ec0, interval 4, 3 times): each fires a troll bomb 4.3 at a random angle at
|
||||
6 + 4 rand (fuse 66 - 7k) with a blood splat 1000.2 and one or two small effects.
|
||||
- Changed: death_spawn {3 troll_bomb, speeds [[6, 10, 1]], radius 0} (Hornfel decoy's form). Not expressible: the
|
||||
4-tick stagger and fuses; idle friction .48 (ours .6).
|
||||
@@ -0,0 +1,92 @@
|
||||
# Group j4 notes (pass 8, 2026-10-25)
|
||||
|
||||
Black Knight, Loose Knight, Dragon Fly X, Coal Boy, Stone Eye, Planetoid, Grilled Clotty and Fly Trap, read for
|
||||
isaac-classic branch rif/monster-fidelity-11. Speed convention as pass4_00.md / pass6_engine.md (the scripted brake runs
|
||||
before the move, so a push divided by friction maps to the Rep constant). Engine proposals: MF/engine_j4.md.
|
||||
|
||||
## Fire waves (shared): Entity_Effect::Update case 005d9154 (1000.148), Entity_Projectile::Update 00653070
|
||||
- Jump table 0x606f8c is indexed by variant - 1 (0x6071d8 -> 005d9154 for 148; 0x6071bc -> 005d6910 for 141).
|
||||
- 1000.148: on even ages (age = frameCount - spawn frame, 006a9c10) its point (+0x334, first its position) steps 30
|
||||
(0x00baa8d0) along the rotation, is clamped into the room, and when the grid collision there is <= 1 a 1000.147 fire
|
||||
jet is placed with scale 1 - .03 age (0x00baa0a0, 0x00baa454); removed after a jet under .2 (0x00baa198) or on a
|
||||
solid cell. So the first jet is 30 out, one every 2 ticks, the last at scale .16.
|
||||
- Engine bolts wave: period 3 (born on frame 1, next on frame 3 = 2 ticks), spacing 30, shrink .03, least .2 match;
|
||||
the first bolt sat on the origin: bolts `offset 30` puts it where Rep does.
|
||||
- Projectile flags high dword 8 (1 << 35 FIRE_WAVE) spawn four waves at i * 90; 0x10 (1 << 36 FIRE_WAVE_X) at
|
||||
i * 90 + 45, both on the projectile's death branch, sound 0x1e3.
|
||||
|
||||
## black_knight: NpcAI::ENTITY_KNIGHT 005135d0 (41.4). Changed
|
||||
- Slam: |gridCollisionVelocity| > 8 (asm 00513b08 calls sqrtf, compare 0x00baa7e8) and normal . unit > .9.
|
||||
fidelity_leftovers read it as speed^2 > 8: **wall_speed 2.83 -> 8**. The charge (.7 + .07 a tick to 4, under .8)
|
||||
passes 8 after about 15 ticks, so short charges now end without a slam, as in Rep.
|
||||
- Slam jets: three 1000.148 waves from its cell centre at atan2(charge) + 180 + (-90, 0, 90): **bolts offset 30**.
|
||||
- Walk (state 4, variant 4): MoveRandomlyAxisAligned(.66), then projectileDelay++ and FindGridPath(Isaac, .66) with
|
||||
the velocity snapped by Vector::ToCardinal (keeping its length); friction *.8. The state-7 branch (GetIntervalTicks(20),
|
||||
1 in 10) is dead: state 4's exit test sets state 4. Dazed (projectileDelay < 0, 45 ticks): no move, friction *.88.
|
||||
- Damage events from 1000.147 jets (subtype != 1) are nulled for 41.4 (its own jets do not hurt it).
|
||||
- Not expressible: the extra random-run push and the cardinal snap on the path walk, the dazed .88, the jets'
|
||||
cell-centre origin.
|
||||
|
||||
## loose_knight: NpcAI::ENTITY_KNIGHT 005135d0 (41.2). Changed (death)
|
||||
- Walk MoveRandomlyAxisAligned(.6) under .8, charge unit axis under .8, prediction 16 / alignment 20 / range 200 /
|
||||
CheckLine / IsFrame(3): match.
|
||||
- Death (_dead, variant 2): Pon 0x348.0 at pos + RandomVector * 10, velocity 0, parent/child linked (champion colour
|
||||
copied), then Entity_NPC::Morph(npc, 41, 3, subtype) and _dead = 0: the knight becomes the Brainless Knight in place.
|
||||
- death_split: random_axis and speed 2 removed -> **layout [[0,0,0],[1,0,0]], offset 10, speed 0**.
|
||||
- Not expressible: Pon's direction (ours across the line to Isaac), the brainless keeping the knight's velocity.
|
||||
|
||||
## dragon_fly_x: NpcAI::ENTITY_BOOMFLY 0050f280 (25.3.1). Changed
|
||||
- Flight as every Boom Fly (bouncing .45 / .9). Death: FireProjectiles mode 0, vel 0, Scale 2, FallingSpeed 0,
|
||||
FallingAccel 1, flag 1 << 36 (subtype != 0): diagonal waves (matches `diagonal`).
|
||||
- The shot starts at Height -23 (00653070 init) and falls s = .9 s + .1 + 1: -21.9, -19.8, -16.8, -13.1, -8.5, -3.4;
|
||||
past -5 sets the dead flag on its 6th update, the waves come on the 7th: **delay 7, offset 30**.
|
||||
- dragon_fly (25.3.0, not this group) has the same delay and offset to make.
|
||||
|
||||
## coal_boy: NpcAI::ENTITY_DANNY 004fbd10 (820.1). Changed
|
||||
- Init: stateFrame rand%10 + 10 -> **first_cooldown [10, 10]**.
|
||||
- Walk FindGridPath(CalcTargetPosition, .6), no friction change: path .6 / 1 matches. Attack friction *.7 matches.
|
||||
- stateFrame = 150 at the attack start, counted down only in state 4 (so 150 after it ends: cooldown 150 matches).
|
||||
V1.X gains pending damage, loses .11 a tick; above 6 the countdown runs double and a second rand%20 roll is added.
|
||||
- Roll: rand%60 == 0, then Isaac < 200 attacks; 200-400 a further rand%10 -> **second attack copy: range 400,
|
||||
one_in 600, when min_range 200**. The cap for variant 1 counts 33.2 entities (> 8 blocks), effectively never.
|
||||
- Shoot: n = QueryNPCsGroup(index) count; 4 throws, the first max(0, 1 - n) ThrowRockSpider (004f9920) variant 2 =
|
||||
818.2 coal spider (group linked), the rest variant 3 = 33.11 coal; each from pos + 4u, velocity u * (1 + 9 rand), u
|
||||
the aim turned (rand - .5) * 30 deg, height -15 (state 16 throw). Six 1000.66 embers.
|
||||
- **spawn_cap own true** (its group, not the room), **spawn_speed 4 -> 5.5** (the throw's mean).
|
||||
- Not expressible: 4 coals when its spider lives (ours 3), the cone throw, the hurt haste.
|
||||
|
||||
## stone_eye: NpcAI::ENTITY_STONE_EYE 00505d00 (201). Partial (data matches, engine proposal)
|
||||
- As pass 7. Laser timeout read now: Entity_Laser::update_laser 00973c60 decrements Timeout (+0x458) each update; at 0 a
|
||||
thin laser sets its dead flag (thick ones fade). So the beam (timeout 2) lives 2 ticks and is relit on a 1 in 3 tick
|
||||
while none: it flickers, lit about half the time. Ours shines throughout.
|
||||
|
||||
## planetoid: NpcAI::ENTITY_SWARMER 00518e20 (229.1). Changed (movement)
|
||||
- friction *.77, later *.9 (.2 while a controller holds fire): .693; push +-.45 * 1.8 = **.81** per axis by the
|
||||
velocity's sign, divided by friction (net .81). **move bounce .3 / .9 -> .81 / .693** (Tumor's .45 / .693 shape).
|
||||
- Attacks as pass 7 (matches).
|
||||
|
||||
## grilled_clotty: NpcAI::ENTITY_CLOTTY 0050d370 (15.3). Changed (walk)
|
||||
- PathFinder::MoveRandomly 007e6300: target pos + 40 * random unit, kept when its grid collision is 0 (no box clamp);
|
||||
push .5 * speedMult / f after the AI's friction *.9 (net .5); the target ends (and the arrival attack starts) under
|
||||
3 px, on a grid hit, or below speed^2 .1 on a 1 in 10.
|
||||
- **acceleration .9 -> .5, stalled_speed .2 -> .316, unclamped_one_in 2 -> 1**. target_radius 40, arrival 3, stalled
|
||||
1 in 10 matched.
|
||||
- Attack: V1.X 15 (walking resets it), -= speedMult a tick; leaves when the 11-frame clip ends or (rand%30 != 0 and V1.X
|
||||
<= 0). The clip always ends first, so the exit roll never matters. Fire damage (flag 2) nulled.
|
||||
- Not expressible: hard mode's speed 8, the grid-hit arrival.
|
||||
|
||||
## fly_trap: NpcAI::ENTITY_FLY_TRAP 00560ca0 (873.0). Changed
|
||||
- Flies = QueryNPCsSpawnerType(873) whose parent is it. State 0: three 18.0 at 20 px, 120 deg apart from a random angle,
|
||||
parented, no clip.
|
||||
- States 4 and 8: FindGridPath(CalcTargetPosition, .25): **move chase -> path**, Attack01s **moving**. State 9: no
|
||||
move, friction *.8 (attack retention .8 matches).
|
||||
- i1 > 0 blocks all attacks. flies > 2 and rand%40 -> Attack02; else (flies < 3 and rand%20) or (flies < 6 and rand%80)
|
||||
-> Attack01 (order and odds match). Attack01 Shoot (frame 6): one 18.0 at pos + 2u, velocity 10u, u random; sound
|
||||
and a 1000.59 cloud.
|
||||
- Attack02 Shoot (frame 9 of 24): i1 = 80, counted down every tick (about 65 left at the clip's end): **cooldown 80 ->
|
||||
65**. Every own fly AddVelocity 10 away from it; Game::ButterBeanFart(pos, 120, npc, effect).
|
||||
- Game::ButterBeanFart 00704360: QueryRadius(radius); Isaac (when the source is not friendly), vulnerable enemies,
|
||||
pickups 4/5: f = 2 * min(7, radius + size - d), * 1 at mass <= 20, * .5 above; v = dir * f + v * .5. **gas push 10
|
||||
-> 14** (as Planetoid). Spawn caps **own** (its spawns).
|
||||
- Not expressible: the fart gate counts the room's fly_trap_flies, the 10 extra push on its flies, the new fly's random
|
||||
10 throw, the opening clip (Rep spawns at once).
|
||||
@@ -0,0 +1,86 @@
|
||||
# Group j5 notes (pass 8, 2026-10-25)
|
||||
|
||||
Brainless Knight, Bombgagger, Holy Bony, Flagellant, Level 2 Gusher, Cross Stone Shooter (always on), Tainted
|
||||
Faceless, Leper Flesh, read for isaac-classic branch rif/monster-fidelity-11. Speed convention as pass4_00.md /
|
||||
pass6_engine.md. Engine proposals: isaac-classic scratch MF/engine_j5.md.
|
||||
|
||||
Fall base, checked in Entity_NPC::FireProjectiles 006cb2e0: unless ProjectileParams +0x98 is set (the ctor 0043ef30
|
||||
clears it), modes 0-5 set the projectile's FallingSpeed -3 and FallingAccel .1 before adding the params' modifiers;
|
||||
modes 6-9 (cardinal, diagonal, eight, ring) skip that, keeping Entity_Projectile::Init's fall (+-.1 random, accel 0).
|
||||
Entity_Projectile::Update: f = .9 f + .1 + accel, height += f, from -23; lands below -5.
|
||||
|
||||
## brainless_knight: NpcAI::ENTITY_KNIGHT 005135d0 (41.3). Partial (engine proposal)
|
||||
- Init: links the nearest unlinked Pon (0x348) as child; flags 0x11, invincible; dies when its child is dead.
|
||||
- Walking (targetPosition zero): PathFinder::MoveRandomly(1) (a free point 40 px off at a random angle, .5 / f), then
|
||||
MoveRandomlyAxisAligned(.75), which reuses the same _movementTarget (.75 / f toward it). Friction *.88 after both.
|
||||
So it walks 40-pixel hops in any direction at 1.25 raw a tick, not axis runs.
|
||||
- Charge: IsFrame(3), Isaac + vel * rand * 16 clamped 20, within 20 of its cell centre on an axis, < 200, CheckLine.
|
||||
AddVelocity(axis) under *.88, the cross axis lerped .1 a tick to its cell centre; ends on a grid hit or fear/confusion.
|
||||
- Data unchanged: lane retention .88, charge acceleration 1 / retention .88 / lane_retention .9, period 3, 16 / 20 / 200
|
||||
already match. Not expressible: lane.walk hop (proposal #1: walk hop at 1.25).
|
||||
|
||||
## bombgagger: NpcAI::ENTITY_BOMBGAGGER 00503300 (844.0). Changed
|
||||
- State 4: no child bomb: MoveRandomly(0); with one: EvadeTarget(bomb, 1); then friction *.8. Drift .5 -> **hop .4**.
|
||||
- EvadeTarget's travel FindGridPath(1.079) under .8: .56 v + 1.73, terminal 3.9 -> evade_bomb .5 -> **.79**
|
||||
(terminal 3.95 under .8).
|
||||
- Attack only with no live bomb: cooldown < 1, rand % 5 == 0: d >= 300 or feared -> cooldown 3; no CheckLine(mode 2)
|
||||
-> 7; else cooldown 75, AttackStart (Sound1 / Sound2 0x13e, 0x13a), then Attack<Dir> by vector_to_direction; Shoot
|
||||
(frame 18 of 44): giga bomb 4.17 at pos + axis * 10 with velocity axis * 10, six smoke puffs 1000.99.
|
||||
- State 8 friction *.7 for both clips: **AttackStart retention .7** (it had none).
|
||||
- The 75 counts down only in state 4 with no bomb. Giga bomb fuse 0x57 = 87 (Entity_Bomb::Init 006a2050, variant 17).
|
||||
The engine applies the ending attack's cooldown (attack 0's 75 never applied; the chain ended with 0) and counts it
|
||||
while the bomb lives: cooldown on the Attack<Dir> **136** (87 - 26 + 75), **bomb_fuse 87**.
|
||||
- Not expressed: the 3 / 7 retry cooldowns, the death drop (dead with the Bomb null visible: AttackStart 30 .. Attack*
|
||||
18 drops a giga bomb), the smoke.
|
||||
|
||||
## holy_bony: NpcAI::ENTITY_SKINNY 00538b70 (227.1). Changed
|
||||
- Matches: MoveRandomlyAxisAligned(1.25), friction *.8 a tick (*.3 more in state 8: .24), IsFrame(3), lead rand * 16
|
||||
(not expressible), 20 / 200 / CheckLine mode 3, WalkLeft/Right/Up/Down and AttackLeft/Right/Up/Down, bone at 10.
|
||||
- The bone: Variant 1, flags 1 << 45, FallingAccel 1, FallingSpeed (.8 + .4 rand) * (18 - (n - y) * 11) / y with
|
||||
n = d / 10, y = max(.01, (1 - .9^n) * 9.491221) (d clamped 20..240 only when controlled). With the mode-0 base it
|
||||
lands about 2 ticks past Isaac (d 100: 11-13 ticks). Ported for d = 100: **fall_velocity [-7.66, -6.11],
|
||||
fall_acceleration 1.1** (it flew about 300 px before).
|
||||
- Flag 1 << 45 (Entity_Projectile::Update 00653070): holy bone sprite, a sparkle 1000.111 every 2 ticks, and on death in
|
||||
the room a 1000.15 poof plus a fireplace 33.12 with (.6 + .2 rand) of its health (or, friendly / flag 1 << 31, an
|
||||
effect 1000.10 for 150 ticks), sound 0x1d7. The short fire bolt stays as the stand-in.
|
||||
- entities2: mass 30 (record had Bony's 14): **mass 30**.
|
||||
- Not expressible: the per-distance lob (proposal #2), the fireplace.
|
||||
|
||||
## flagellant: NpcAI::ENTITY_WHIPPER 004e5170 (834.2). Skipped (matches)
|
||||
- Friction *.8 first; MoveRandomlyAxisAligned(1.25); charge when dot(axis of I1, unit to Isaac) > .9 and CheckLine:
|
||||
FindGridPath(1.9) then ToCardinal * |v|, WalkAttack Hori/Up/Down by velocity, Sound 0x1ee; ticks under .5 past 60, a
|
||||
grid hit or fear ends it; mass 80 / 100 meanwhile. Hitbox null: damage = collision damage, push 15 / f, sound 0x1ef.
|
||||
Splat 1 in 8. All as the record.
|
||||
|
||||
## level_2_gusher: NpcAI::ENTITY_GAPER_L2 004e2b40 (850.2). Changed
|
||||
- Friction *.8, V1.X += (rand - .5) * 2, approach_angle .1 toward its velocity, + (cos, sin) * 1.2 undivided, reflected
|
||||
on a grid hit: heading 1.2 / .8 matches. ProjectileCooldown > 0 counts down; else rand & 3 == 0 and <= 15 Small
|
||||
Maggots -> spawn_small_maggot(pos, -16, (2 + 2 rand) * RandomVector, -8) and a fart cue; then cooldown 15 (a roll
|
||||
every 16 ticks: period 16, one_in 4, cap below 16 match).
|
||||
- No clip: the Blood overlay just loops and it keeps walking. The record's Blood attack had no release, and the engine
|
||||
spawns on the release frame, so it never spawned: **release 1, moving true**.
|
||||
- Not expressed: the -16 / -8 throw arc, the cue, splats 1 in 10.
|
||||
|
||||
## cross_stone_shooter_always_on: NpcAI::ENTITY_CONSTANT_STONE_SHOOTER 00506320 (202.11.0). Skipped (matches)
|
||||
- Init cooldown 0x16 = 22, never reset; ShootAndRotate1 / 2 (subtype toggles at the clip end), FireProjectiles((10, 0),
|
||||
6 + subtype): cardinal / diagonal at 10 with default params (modes 6 / 7 skip the -3 / .1 base: the engine default
|
||||
matches). Variant 11 closes (CloseEyes1/2, state 16) only on RoomDescriptor flag 2 (pressure plates); variant 10 also
|
||||
when no enemies are alive. Record matches (cleared disarmed); the idle pose following the subtype is not ported.
|
||||
|
||||
## tainted_faceless: NpcAI::ENTITY_FACELESS 004faad0 (827.1). Changed
|
||||
- StateFrame 0 until hurt (health < max) or a player within 80, then 1 for good (a one-way phase in the engine).
|
||||
- Unaggroed: MoveRandomly(0) then friction *.8: drift .625 -> **hop .4**. Aggroed: FindGridPath(.6, 900) with no
|
||||
brake: path .6 / 1 matches.
|
||||
- States 3 and 8 both move (the Attack is a head overlay): **moving true** on both attacks (it stood still firing).
|
||||
- Attack chance when not in state 8: sqrt(V1.X) * .08 + .008 (V1.X = damage taken, -.11 a tick, -7 a shot), 1 for an
|
||||
aggroed 827.1: one_in 125 / every tick match. Ring: FireProjectiles mode 9, (8, 6), CircleAngle 0 (shots at
|
||||
k * 60 deg, k = 1..6), Scale 1.3, FallingAccel -.06 (mode 9: no base): **angle 0** (was random).
|
||||
- entities2: mass 18: **mass 5 -> 18**.
|
||||
- Not expressed: the damage meter, sound 0xb2.
|
||||
|
||||
## leper_flesh: NpcHelper::leper_flesh_ai 00548720 (310.1). Changed
|
||||
- Init: Idle1..Idle6 by its seed (xorshift % 6), random flipX, **_isKillOnTouch = 1**.
|
||||
- State 4: friction *.95, velocity += (2 * (cos a, sin a) + unit to target) * .15 undivided: hover .15 + scatter .3 /
|
||||
.95 match. Splat every 10, an effect 1000.111 every 6.
|
||||
- Death: FireProjectiles mode 0 at 10 at Isaac + his velocity * .1 * d: death_volley aim matches.
|
||||
- Added **touch_death true** and **idle_looks Idle1..6**. Not expressed: the flip, the death shot's -3 / .1 base fall.
|
||||
Reference in new issue
Block a user