Files
isaac-port/notes/entities/pass6_h5.md
T

148 lines
13 KiB
Markdown

# Group h5 notes (pass 6, 2026-10-25)
Spawned helpers and minions (no room cells), read for isaac-classic branch rif/monster-fidelity-9. Speed convention as
pass4_00.md: a Rep push a under friction f maps to engine speed a, retention f (the engine brakes, then adds).
## rag_mans_head: NpcAI::ENTITY_RAG_MAN 00493200 (405.1). Changed
- Rag Man throws it at (+-10, 0) (pass5_g7). Init: state 4, I1 = 60 + (int)(rand * 45), a colour.
- State 4: s = 10 - 8 clamp((age - (I1 - 75)) / 60, 0, 1); T = s * unit(v + .15 s (unit v + unit to Isaac)); v += (T - v)
* .2; friction *.8: net speed ~.44 s, turning ~.03 s a tick toward Isaac. Roll clip by velocity, playback 2 clamp(|v| / 10).
- Past I1 - 15: state 3 (coast at .8); past I1: removed, spawning a Ragling 246.1 with its velocity (parent kept, boss
colour copied; health = max * (.5 + .5 head share), red max * .66) or, subtype 2 (black), 1-2 Spiders 85.0 standing.
Killed early without a parent the Ragling is removed; else a poof 1000.15 and the Ragling killed (remains).
- Hits forward to the parent (vtable +0x20) unless the spawner is Rag Mega (409).
- Port: attack seek .19 at retention .93 (steady 2.7, Rep's mean, ~.1 rad a tick turn); loop count 6 + random(7) (58-106
ticks, was a fixed 5); black's spiders leap 0-1 (stand where it ends). Not expressible: the eased 10 -> 2 speed, the
share-based Ragling health.
## nightwatch: no AI (842.0). Changed
- The NPC dispatcher's case for 842 is its default block 006c41af: it only calls 00860ac0 (named NpcAI::TYPE_37 by the
table, now NpcHelper::default_case_lua_callback), which runs a Lua callback when one is registered. No game script
names it. entities2: 25 + 5/stage health, contact 1, gridCollision floor, tag ghost.
- Port: the invented lane patrol and Trigger shot removed: still, WalkDown, Appear. The Trigger<Dir> clips (Shoot frame 6)
are unused by the exe.
## fetal_demon: NpcAI::ENTITY_VIS_FATTY 004ea3d0 (886.1). Changed
- Friction *.8 a tick. State 0: Walk01, ProjectileCooldown 15.
- State 4 (tied): v += .8 toward Isaac. The Fatty's update (UpdateCordChain) pulls it: past L = 75 (v1.x + 1) by
(d - L) * .1 a tick (velocity), .3 past 105 (v1.x + 1) while it rages; the Fatty's fart sets v1.x 1.5 (cord x2.5), easing
.03 a tick, and adds 15 to a raging child's cooldown. Rest ~83 out, ~114 raging.
- Rage when the cooldown is out, not feared/charmed: (Isaac within 240 of the Fatty and rand%5 == 0) or (the Fatty's
damage counter v1.y > 7, within 400, rand%3 == 0). State 8, Rage looping; aim = unit(Isaac + vel * dist * .2 - pos);
cooldown 30 + rand%15; each tick v += 2.6 aim; under 20 left the aim turns toward Fatty->Isaac (normalised + .5 unit).
Shoot event: sound 0x92 only. Cooldown out: RageEnd, state 4, cooldown 60 + rand%30.
- Freed (no parent): Rage clip once, state 7, heals 25% of max; Walk02; v *= 1/.85 then += .5 unit to Isaac (net
retention .941, terminal ~8.5); mass 8.
- Port: hover .3 -> .8 (retention .8), leash 120 -> 100; Rage = ticks 30 + random 15 of lunge 2.6 from its start (was
lunge 1.5 from Shoot), period 1 one_in 5 range 240, first cooldown 15, then RageEnd and cooldown 56 + random 30; gated on
its partner (no rage once freed); freed retention .8 -> .941. Not expressible: the soft cord, the range measured from
the Fatty, the hurt-Fatty 1 in 3, the aim lead and late turn, the heal.
## fanatic: NpcAI::ENTITY_FACELESS 004faad0 (832.1, via ENTITY_EXORCIST 004ec240). Changed
- ENTITY_EXORCIST calls ENTITY_FACELESS for variant 1 and returns (asm 004ec273/004ec278).
- State 16 (placed by The Heretic): body layer hidden, Summon<subtype> then SummonLoop<subtype>; StateFrame counts down,
then state 5 Transition (Shoot: blood effects, 3-7 gibs), then state 3 awake (StateFrame 1).
- Awake, type 832: IsFrame(30) stores Isaac's velocity in V2 (unused here). With CheckLine clear: point = Isaac +
(cos, sin)(r1 * 360 + 2 r2 age deg) * min(dist / 2, 64) (r1, r2 from a per-entity seeded RNG, constant), friction *.8,
AddVelocity(.8 * unit(point - pos)). No line: FindGridPath(.6, 900, 1).
- Attack (state != 8, uncontrolled, not spawned by 906): rand <= (.008 + .08 sqrt(anger)) * .33; anger (v1.x) += damage,
-.11 a tick, -7 a shot. Attack overlay; Shoot: two shots at 7, at Isaac and straight away, BulletFlags |= 0x2800 =
ORBIT_CW | NO_WALL_COLLIDE, TargetPosition = its position, GridCollision 0; sound 0xb2; effect 1000.11.
- Death with health > -25: 1 in 2 Morph(11, variant rand%3 == 0) at full health (Gusher, Pacer 1 in 3).
- Port: awake path .5 -> .6; both shots clockwise, wall_free, speed 7 (were 6, one each way); 1 in 60 in 250 with cooldown
40 -> 1 in 379 anywhere; transformation gusher 1 in 2 overkill 25. Not expressible: anger, the orbit-offset approach,
the Pacer, waiting on The Heretic (after_tick 150 kept).
## mother_ball (912.100), mother_ball_medium (.1), mother_ball_small (.2): NpcAI::ENTITY_MOTHER_ball 00566810. Changed
- Every size: invincible, collision class 4. Each tick friction *.85 and v += TargetPosition (its heading). Wall hit:
heading reflected on the normal, |heading.y| kept >= .3, length kept; velocity = the grid-collision speed along it.
- Big (0): scale .8 growing .04 a tick to 1, posOffset -35. Mother's state 19 Shoot throws it at 16 toward Isaac with
heading length 2 (net 13.3), parent Mother, target Isaac. While mass > config mass (until its first bounce): falling it
bends heading + 3 unit(Isaac) when that unit's y > .2, rising toward Mother when unit y < -.2 (length kept). Top-wall hit
(normal y > 0, |x| < .8): shake 8, sound 0x1c, ring mode 9 (8, 6) scale 2 falling accel -.08, then (6, 6) scale 1.5;
other walls shake 4, sound 0x1e. Touching a vulnerable enemy deals it 40; Isaac is pushed 10 and hurt. Rising past
Mother within 100 with mass >= config + 6, ENTITY_MOTHER bursts it (ENTITY_MOTHER_ball_burst 00567d50).
- Burst: big -> up to 8 Mediums 45 deg apart (where a 160 ray is free) at 10, heading 1; Medium -> up to 6 Smalls 60
deg apart (120 ray) at 10, heading 1; Small -> a Small Maggot 853 (spawn_small_maggot, height -8 - 4 rand) and 30 damage.
- Medium: timer 3000; any grid hit (or timer) kills + bursts it. Small: timer 30, friction also * (1 - .3 clamp(age / 60)).
- Port: big bounce .6/.95 -> 1.414 per axis /.85; medium .5/.85 -> .707/.85, wall_death, invulnerable, death_spawn 6
smalls; small .6/.85 -> .707/.85, wall_death, regen -.3334 lethal (30 ticks), death_spawn a small_maggot. Not
expressible: arbitrary headings, the throw homing, the top-wall rings, the outward launch, the return pop.
## siren_helper: NpcAI::ENTITY_SIREN_HELPER 00591cc0 (966.0). Skipped (matches)
- Init: flag 1, collision damage 1, body layer hidden, linked to its familiar (+0xeec), sized from it. Each tick: copies
the familiar's position, velocity, friction and grid class; entity collision 2 (player objects only) while the
familiar collides; removed without Siren or familiar; tints the familiar once, flashes it when hurt.
## sirens_skull: NpcAI::ENTITY_SIREN 00591460 variant 1 (904.1). Skipped (matches)
- Appear with collision 0; its Sound event: sound 499, collision 4. Held still. Damage ignored unless the hit's flags
carry 0x1000004 (a blast): then dead. Death: 7 rock particles at 5, Forgotten Lullaby only when the 0x198 unlock
succeeds, GridEntity_Rock::SpawnDrops. Not expressed: untouchable before Sound, the rock drops.
## hornfel_decoy: Entity_NPC::Hornfel_UpdateAI 004b92e0 variant 1 (906.1). Changed
- Flags 0x140011, invincible, state 16 DecoyIdle. Each non-blast hit: 1 (2 on rand%3 == 0); above 10 damage 2 (3).
- Dead: explosion 1000.1, crater 1000.18, BombDamage(110, radius 75, flags 0x1004), six troll bombs 4.3 at 5-20 in random
directions (+0x188 = 1).
- Port: hurt_cap 1.34. Not expressible: the flung troll bombs, the 110/75 blast.
## blood_puppy_802_0 / _802_1: NpcAI::ENTITY_BLOOD_PUPPY 00552d30 (802.0/1). Changed
- Removed without its familiar parent; hits scaled by source flags (many to 1% or 10%).
- Walk (state 3): FindGridPath at (1.2 - .15 variant) * .83, friction .9 (.88 more under a non-looping clip). At a
player target: keeps 80 away while controls are off or its delay (15) runs, else heads at him; enemy targets get a
1 in 15 random offset up to 18.
- Attack: cooldown out, a 1 in 4 a tick, target within its size + 18 of the row/column (enemies with a .1 * dist
lead), CheckLine -> state 8 AttackStart<dir> (Quick vs enemies); then Attack<dir>: v += v1 * axis, v1 5 easing .1 a tick
to 3, friction .85; ends once stuck 6 ticks under 2 px a tick; level 3 vs an enemy 80 behind it: 1 in 8 AttackStop.
Cooldown 30. Level-ups (state 13 Spawn clip) drop a heart 5.10.
- Port: path .996/.872 at .9; period 1 one_in 4, alignment 28, no range; start retention .79; dash lunge 4 at .85
repeating while faster than 2, on_wall end; level 3 no longer hands to AttackStop.
## big_bone: NpcAI::ENTITY_BIG_BONY 005041d0 variant 10 (830.10). Changed
- Init aiFloat 8, i1 8, isKillOnTouch. Velocity reset to length 8 every tick (random heading if still): straight at its
throw speed, bouncing off grids (class 6); each grid hit sound, i1--, dead at 0. Hits 1 (2 on 1 in 3), blasts 4;
dead at health <= 1.
- Port: bounce_heading .15 at retention .85 (keeps Big Bony's 8), touch_death, hurt_cap 1.34, health 4, regen -.0133
lethal for the 8 bounces.
## bloodfly: NpcAI::ENTITY_BULB 0054bca0 (61.6, via ENTITY_FLY 00506bd0). Changed
- Variant 6 forces the Bulb's charged mode (Dash clip). Idle: friction .85, every interval tick v -= V1, V1 = random
unit * (1..6), v += V1; timer 10 + rand%60 runs 2 a tick.
- Dash: point min(.4 d, 20 + 30 rand) short of Isaac turned +-75 deg (alternating) about him, clamped; or within 80 on a
1 in 2 straight through him past his lead (Isaac + vel * d * .025, doubled). v += 8 V1, then 8 V1 a tick under .85,
capped 20, V1 reflected off walls, 3 (4) ticks or until past the point, then v -= 8 V1; timer 5 + rand%20 (30 + rand%50).
- Death: FireProjectiles mode 6 (cardinal four) at 10.
- Port: lane runner replaced by hover 0 + scatter 2 at .85 (Dash idle) and a 4-tick Dash (lunge 8 for 3 ticks, half
kept after) every 3-12 ticks after a first 5-34; death shots 8 -> 10. Not expressible: the side swoop, the overshoot,
the cap, the cancelling jitter.
## angelic_baby_small: NpcAI::ENTITY_BABY 0052ae30 (38.1.1). Changed
- Friction *.7; while ProjectileCooldown < 1: v += .33 to Isaac (hover .33/.7 matches).
- Attack: cooldown out and IsTargetInAttackRange(0, 7): cooldown 35, Attack; Shoot: sound 0x2c, FallingAccel -.05,
VelocityMulti 1.07, speed 8 (10 hard), FireProjectiles mode 2 for 38.1 but mode 0 (one shot) for subtype 1.
- Teleport counter v1.x: +20 a hit, +1 a tick aligned within 20 and 400 away, + rand*.1; above 20 seeks a spot 60-310
away and 50-120 from Isaac (2 tries a tick); above 40: Vanish, 25 ticks later Vanish2 there.
- Port: a single aimed shot at 8.56 (was the big one's three at 7.49).
## festering_guts: NpcAI::ENTITY_GUTTED_FATTY 004e0dd0 variant 20 (831.20). Changed
- Init cooldown 60 + rand%150. Thrown (state 6): Spin, gravity .7 on its height, red creep .4-.7 every interval tick; on
landing Land, sound 0x102, creep 1.4, collision on.
- Walk (state 4, Idle): MoveRandomlyAxisAligned(.75), velocity *(.85, .8), friction *.7. Cooldown out: 1 in 15 a tick
Spawn (state 13, friction .6 * .7): Shoot sound 0x109 and a Charger 23.0 at pos + (0, 10); its cooldown 60 + rand%150
and every same-side Festering Guts' at least that. No cap.
- Port: corridor .75/.8 (Spin walk, creep every 15) -> roam .75/.58, Idle, no creep; period 10 with a 2-charger cap ->
period 1 one_in 15, cooldown 60 + random 150, first [60, 150], retention .42, spawn at (0, 10).
## moms_guts: NpcAI::ENTITY_MOMS_HEART 004d48b0 variant 10 (78.10). Skipped (matches)
- No collision (flags 0x40011), y held at 255, killed without its heart, plays the heart's stage clip (Heartbeat1-3,
HeartSummon, HeartRetracted by +0xbc0).
## dogma_angel_baby: NpcAI::ENTITY_DOGMA_angel_baby 004b0200 (950.10). Changed
- Appear; health 500 drained 3.5 a tick to max (30); hits from type 950 x10; entity collision 2 (never touches Isaac);
grid none.
- Idle: friction .9; v += (.3-.7) unit toward Isaac + (100-180) * (cos, sin)(+-(2.5-5) deg * age), all by seed.
- Under 100 health, unless its Dogma angel spawner is in state 9: 1 in 20 a tick DashStart (friction .675); then
Dash<dir> toward Isaac + 120 past him, push .2 growing 1 a tick to 10; past it: effect 1000.144, DamageRadius 50,
sound 0x1dd, shake 14, Remove.
- Port: hover .5/.9; 1 in 20 after a first 134; dash 12 ticks of lunge 6 at .675 ending in a self_only death explosion;
no touch damage; grid_collision false. Not expressible: the orbit, the shield, the overshoot point, the growing push.