Pass 9 monster fidelity notes: fall-base audit, release/friction audits, 58 uncited records, open proposals
This commit is contained in:
1 parent
a2908ab675
commit
5d770fcd37
7 files changed
+610
No files matched your search
@@ -0,0 +1,145 @@
|
||||
# Pass 9 overview and open engine proposals (2026-10-26)
|
||||
|
||||
isaac-classic branch rif/monster-fidelity-12. Wound down early (project restructure): only data work landed.
|
||||
Data passes: pass9_fall.md (audit a: FireProjectiles 006cb2e0 launch fall, modes 0-5 -3 / .1, modes 2/4/5 also
|
||||
velocity * 1.2 + .4 shooter velocity and fall -1: Flash's ffmo boost, so shots_still is wrong for them),
|
||||
pass9_spawnfric.md (audits b and c: release frames, frame-gated friction; only NpcAI::ENTITY_FLY 00506bd0 among
|
||||
monsters), pass9_u1.md and pass9_u2.md (58 previously uncited records, each now citing its routine).
|
||||
|
||||
## Not built (still open)
|
||||
Every proposal of pass 8 stays open: MF/engine_j1..j5 (Necro's bone spot, Dust's speed_near above 1, Vis Fatty's
|
||||
partner-gated fart and behind laser, Blubber's shot height, 1/2 Heart flank move, The Thing's held tongue, Imp's
|
||||
aligned-only charge climb, Black Knight's cardinal walk and slam retention, Stone Eye's relit laser, coal throws, own
|
||||
spawn gates, Gush's creep spread, Tar Boy's creep gates, Blood Cultist's bone traps, Dank Globin's recovery spawns,
|
||||
Brainless Knight's hop walk, Holy Bony's lob to Isaac's distance, Bombgagger's miss cooldowns and death bomb) and
|
||||
pass8_engine.md's Left list (Bomb Grimace's ten death bombs, Willo's frozen slot, Baby Begotten's same-side exclusion,
|
||||
Pitfall FallIn/JumpOut clips for Isaac, The Pile's re-pick near Isaac, Army Fly arc spacing and rejoin, ...).
|
||||
Pass 9's own proposals follow (copied from the isaac-classic scratch files, which are temporary).
|
||||
Records waiting on them with known data fixes (audit a): imp mode 0 at 10 needs fall -3 / .1; 1_2_heart(+_92_1_1)
|
||||
volley_clock shot -3 / .01; willo fall_velocity 4 -> 1, accel .1.
|
||||
|
||||
## Proposals: fall
|
||||
|
||||
Rep (Entity_NPC::FireProjectiles 006cb2e0, asm 006cc9e9..006ccaf5): unless ProjectileParams +0x98 is set, modes 0-5
|
||||
set FallingSpeed -3 / FallingAccel .1; modes 2, 4 and 5 then also do FallingSpeed -= 1 and
|
||||
velocity = velocity * 1.2 + npc velocity * .4 (constants 00baa4b0 1.2, 00baa280 .4, 00baa454 1) -- exactly Flash's
|
||||
ffmo() boost (boost_speed_scale 1.2, boost_shooter_velocity .4, boost_rise 1). Only then the params' modifiers,
|
||||
Scale and VelocityMulti. Modes 6-9 keep Entity_Projectile::Init's fall. Entity_Projectile::Update 00653070: f = .9 f +
|
||||
.1 + FallingAccel (the engine's fallRetention .9 / fallAcceleration .1 + extraFallAcceleration: matches).
|
||||
The data now carries -3 / .1 (+ modifiers) explicitly; nothing generic was needed for the base itself.
|
||||
|
||||
### 1. shots[]/boost (modes 2, 4, 5 under behaviour shots_still)
|
||||
- `shot.isStill || rules.isShotsStill` cannot be undone per shot. Proposed `shots[]/boost: true` (or `still: false`
|
||||
as an override): run enemy_projectile_boost for that shot even under shots_still (is_scripted_shot_launched's
|
||||
`boosted` lambda, scripted_enemy.cpp ~455). Exact incl. the .4 carry of the shooter's velocity.
|
||||
- Records now approximated with speed x1.2 and fall_velocity -1 (exact for a still shooter): mobile_host (mode 2),
|
||||
flesh_mobile_host (5), floast (2), blind_creep (2), wrinkly_baby (2), mole (2), tainted_mole (2),
|
||||
tainted_soy_creep (4, both attacks), blue_boil attacks[1] (2), black_goat attacks[3].shots[1] (4).
|
||||
With the field: set boost true, divide speed by 1.2, fall_velocity + 1 on each.
|
||||
|
||||
### 2. Non-scripted shot paths are always ffmo-boosted on Rebirth records
|
||||
- Game::enemy_projectile_rules (boss_completion.cpp 402) returns the boosted Flash rules for every non-eternal
|
||||
shooter, so death_volley (four_way_volley_launch / circular_volley_launch), burst_walker, flying_enemy and
|
||||
aimed_shooter shots on Rebirth records fly x1.2 with .4 carry and rise -1, while Rep's death volleys are modes 6-9
|
||||
(no base, no boost). Proposed: an entity-level `shots_still` (or reuse behavior.shots_still / a Rebirth projectile
|
||||
layer) making enemy_projectile_rules hand back an unboosted copy (not unboostedProjectiles_ itself: that one also
|
||||
sets isEternalShooter).
|
||||
- Affected Rebirth monster records: death_volley on drowned_charger, drowned_boom_fly, full_fly, flesh_deaths_head,
|
||||
bloodfly, bone_fly, ink, butt_slicker, mr_mine, sick_boom_fly, bouncer, cohort, tainted_sucker,
|
||||
siren_helper_projectile (their shot_speed would need re-checking against Rep: some may have been pre-divided);
|
||||
burst_walker grilled_clotty; aimed_shooter psychic_horf (shot_speed 5.833 is pre-divided: back to 7, fall -3).
|
||||
|
||||
### 3. death_volley aim fall (leper_flesh)
|
||||
- The aim/drift death volley takes fall_velocity / fall_acceleration only from `drift` (entity_catalog.cpp ~171);
|
||||
`aim` has none, so leper_flesh's death shot (NpcHelper::leper_flesh_ai 00548720: FireProjectiles mode 0 at 10)
|
||||
starts at 0 / 0 instead of -3 / .1. Proposed `death_volley.aim.fall_velocity` / `fall_acceleration` (two loader
|
||||
lines); data then {speed 10, lead_per_distance .1, fall_velocity -3, fall_acceleration .1}.
|
||||
|
||||
### Parent's records (not edited)
|
||||
- necro: Summon is the held bone (direct SpawnEx, its own fall): leave to the necro spot feature.
|
||||
- imp: NpcAI::ENTITY_BABY 0052ae30 shot is mode 0 at 10 default -> needs fall_velocity -3, fall_acceleration .1.
|
||||
- holy_bony: already -3-based (pass 8 lob).
|
||||
- 1_2_heart / 1_2_heart_92_1_1 volley_clock.shot: mode 0 at 7, FAmod -.09 -> fall_velocity -3, fall_acceleration .01
|
||||
(now -.09 with no fall_velocity); the diagonal attack is mode 7 (no base: fine).
|
||||
- willo: mode 0 with FallingSpeedModifier +4 -> fall_velocity 1 (now 4), fall_acceleration .1 (now none).
|
||||
|
||||
## Proposals: spawnfric
|
||||
|
||||
### No new field needed for the audits
|
||||
- (b) Every Rebirth monster spawn attack has a release, spawn_on or spawn_period, every shot attack a release or per-shot
|
||||
on/clock/burst (scripted: release absent = frame 0 = never). Directional poses all carry their release event on the
|
||||
main clip's frame. Only Portal's timing was off (data fix).
|
||||
- (c) The only Rep NPC routine with a frame-count-gated brake is NpcAI::ENTITY_FLY 00506bd0 (frameCount % 3 == 2:
|
||||
v += 2 V1 / f, f *= .6). Its flying_chaser users already model it exactly (DAMPING_PERIOD / DAMPING_PHASE). The two
|
||||
scripted hover users (super_pooter, tainted_pooter) use the per-tick equivalent .84 + hover_scatter.
|
||||
|
||||
### Optional: behavior/retention_every {period, phase}
|
||||
- Exact form for the hover pooters: retention (and the hover push) applied only on ticks where tick % period == phase,
|
||||
no damping on the others. Would replace super_pooter / tainted_pooter's simulated .12 / .84 / scatter .35 with
|
||||
Rep's literal 3 / 2 and .6. Extends brake_apply (scripted_enemy.cpp) with one tick test. Low value: the pass-8
|
||||
simulation already matches mean pull and lateral wander.
|
||||
- Gurdy Jr (boss, NpcAI::ENTITY_GURDY_JR 0051d300): state 8 friction *.97 only on GetIntervalTicks(5) ticks, *.8
|
||||
otherwise in other states: boss agent's record.
|
||||
|
||||
## Proposals: u1
|
||||
|
||||
### 1. move "evade": Rep's PathFinder::EvadeTarget 007e4940 (every fleeing Rebirth walker)
|
||||
Records: drowned_hive, holy_mulligan, tainted_mulligan (ENTITY_HIVE 0050c370), baby_long_legs, small_baby_long_legs
|
||||
(00531ab0), and likely every other `move flee` record whose routine calls EvadeTarget (grep the decompile callers:
|
||||
`./find.sh callers 0x7e4940`). Our flee is a constant push straight away from Isaac at any distance
|
||||
(scripted_enemy.cpp `case ScriptedMove::Flee`: velocity -= delta / distance * speed); the records' speeds (.35 / .5 /
|
||||
.6) are guesses. Rep (decode in DECOMP/notes/entities/pass9_u1.md):
|
||||
- Every 14 ticks: threatened = Isaac within 250 with a clear line (CheckLine 1) or within 170 without: countdown 3;
|
||||
else the countdown counts down.
|
||||
- Calm (countdown < 1): MoveRandomly(1) (the existing `hop` mover: .5 / f toward a free point 40 px off) and friction
|
||||
*.9 more.
|
||||
- Threatened: v += 1.5 * unit(pos - Isaac) / f (one axis halved when the two are within .25), then a target cell from
|
||||
up to 7 tries (30 + 450 rand out, y halved, from 30 px ahead; free, out of Isaac's sight, farther from him than
|
||||
r / 3 + d + 100), FindGridPath(target, 1.079); the target is dropped every 10 ticks once Isaac sees it, it is within
|
||||
200 of him or within 20 of him on an axis.
|
||||
- Proposed: `move "evade"` with `evade_move {near 250, blind 170, period 14, hold 3, push 1.5, speed 1.079, calm
|
||||
"hop"}` (all defaults Rep's, so records only say move evade); also exposes context `isThreatened` for gates
|
||||
(`when[]/threatened: true|false`), which Baby Long Legs' lay roll needs (1 in N/2 extra while calm) and the Hive's
|
||||
cough clock (counted down only while threatened). Extends ScriptedMove (scripted_enemy.cpp movement switch, beside
|
||||
Flee and Hop), reusing the spot/cover target search for the cell pick.
|
||||
- Rough terminal speeds: threatened ~4.6-4.9 px a tick under the .8 / .76 brakes (FindGridPath's own *.7 included); ours
|
||||
1.46 (hive .35 / .76), 2.5-3 (long legs). Calm: a hop wander, where ours still flees.
|
||||
|
||||
### 2. Small ones
|
||||
- `attacks[]/spawn_speed` by facing (holy_mulligan 22.2: the 38.1 leaves at (+-8, 0) by flipX, horizontal only).
|
||||
- `death_effects[]/gas` ring / drift (sick_boom_fly: eight clouds flung at k * 45 +- 8 deg, 13 + 6 rand): the gas
|
||||
ring_count / drift exist only on attack gas (enemy_ai.cpp actions.gas), not on the death effect path.
|
||||
- creep lifetime (scarred_guts 1000.22 timeout 20; pass 4's `creep/timeout` proposal, still open).
|
||||
|
||||
### 3. transformation/spawn and knock (leper chain, NpcAI::ENTITY_LEPER 00547b60)
|
||||
- Each stage change (and the final death, before the 1 in 2 Gusher turn) sheds a 310.1 Leper Flesh: at pos + 20 u
|
||||
moving (5 + 5 rand) u turned rand 90 - 45 deg, u = unit(pos - Isaac), and knocks the Leper v += 10 u. On death: 20 out
|
||||
at a random angle moving 2 + 2 rand, whether or not it turns.
|
||||
- Proposed `transformation/spawn {type, offset 20, speed [5, 10], turn 45, away true}` and `transformation/knock 10`
|
||||
(enemy_transform.cpp is_enemy_transformed, which today spawns nothing), so leper..leper_stage_3 shed their flesh and
|
||||
leper_stage_4's flesh comes on the gusher turn too.
|
||||
|
||||
## Proposals: u2
|
||||
|
||||
### 1. FireProjectiles modes 2/4/5 keep Flash's ffmo boost (audit, all records)
|
||||
- Entity_NPC::FireProjectiles 006cb2e0: unless ProjectileParams +0x98 is set, modes 2, 4 and 5 shots get FallingSpeed
|
||||
-3 - 1 = -4 and velocity = velocity * 1.2 + shooter velocity * .4, before the params loop (Height / FallingSpeed /
|
||||
FallingAccel modifiers, Scale, VelocityMulti). That is exactly the engine's ffmo boost (x1.2, +.4 shooter velocity,
|
||||
rise -1), so a mode 2/4/5 shot ported with shots_still at the bare speed flies 20% slow and without the host share.
|
||||
- Data fix (no engine): such shots should drop `still` (shots[]/still false / no shots_still) with fall_velocity -3 (the
|
||||
boost adds the -1), or keep still at speed * 1.2 and fall -4 (what floast got). An engine alternative:
|
||||
`shots[]/boosted: true` (ffmo on that shot even under shots_still).
|
||||
- Every record whose decompile says FireProjectiles mode 2 (three-shot spread), 4 or 5 needs this check (Floast fixed).
|
||||
|
||||
### 2. gutted_fatty_eye (831.10): art first
|
||||
- Needs gfx/831.010_Gutted Fatty Eye.anm2 converted (tools/rebirth_art.py). Then a record: hover .6 / retention .85,
|
||||
initially_invulnerable, flying, death_link gutted_fatty; spawned by gutted_fatty `hp_spawn {share 1/3}` at its
|
||||
RightEye / LeftEye nulls moving (+3 / -3, 5). Not expressible: the target switch to its fatty when Isaac is 240+ away,
|
||||
the sine wobble sin((age / 60 + rand) * 2pi) * 40 (1 - clamp((d - 200) / 800)) deg, the mutual repulsion.
|
||||
|
||||
### 3. Smaller (all already proposed in earlier passes, still open)
|
||||
- gyro: `move steer {turn 10, period [10, 40], at_isaac_one_in 3, rest [0, 30]}` (heading eased toward a target angle).
|
||||
- bouncer: `attacks[]/age_ticks {base 180, random 120, hurt_scale 30/3.5}` (pass 4).
|
||||
- dump: a phase gate that cancels the death and refills health (pass 3), `spawn_away_from_hit` for the head.
|
||||
- pustule: death_creep / death_spawn per attack-chain stage (`death_spawn/attack_at_least`).
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
# Fall audit notes (pass 9, 2026-10-26)
|
||||
|
||||
isaac-classic branch rif/monster-fidelity-12, fork "fall": every Rebirth monster shot (non-boss) checked against
|
||||
Repentance's launch fall. Engine proposals: isaac-classic scratch MF/engine_fall.md.
|
||||
|
||||
## Entity_NPC::FireProjectiles 006cb2e0 (fall base and the mode 2/4/5 boost)
|
||||
- Modes: 0 one; 1 two at (.961, +-.276) * Spread; 2 centre + (.961, +-.276) * .9; 3 centre + (.914, +-.407); 4
|
||||
(.99, +-.139) + (.914, +-.407) * .9 (four, no centre); 5 centre + (.978, +-.208) + (.914, +-.407); 6 cardinal (vel.x,
|
||||
vel.y count), 7 diagonal, 8 eight, 9 ring (vel.x speed, vel.y count, from CircleAngle).
|
||||
- After spawning (asm 006cc9e9..006ccaf5): unless params +0x98 (set by none of the ctors; Tainted Pooter sets it),
|
||||
modes 0-5: FallingSpeed = -3, FallingAccel = .1 (both overwritten); modes 2, 4, 5 then FallingSpeed -= 1 and
|
||||
velocity = velocity * 1.2 (00baa4b0) + npc velocity * .4 (00baa280): Flash's ffmo() boost exactly. Then for all
|
||||
modes: Height += HeightModifier, FallingSpeed += FallingSpeedModifier, FallingAccel += FallingAccelModifier, Scale,
|
||||
velocity *= VelocityMulti, flags, colour, homing / curving / acceleration, change flags; height below -50 without
|
||||
flag 0x20000 clears +0x188.
|
||||
- Modes 6-9 keep Entity_Projectile::Init's fall (FallingSpeed jitter only, accel 0) plus the modifiers.
|
||||
- Entity_Projectile::Update 00653070: f = .9 f + .1 + FallingAccel (timescaled), height += f.
|
||||
- So "no fall fields" in a mode 0-5 record (the engine's Init-like +-.1 / 0) is 3 px/tick too low a lob and .1 short
|
||||
on gravity: shots land about twice as far. The pass-7 note "FallingAccelModifier maps to fall_acceleration" holds
|
||||
only for modes 6-9; for 0-5 the record's fall_acceleration is .1 + FallingAccelModifier, fall_velocity -3 + FSmod.
|
||||
- Correction to pass7_engine.md "Every ported Rebirth monster: shots_still": modes 2, 4 and 5 DO boost (x1.2,
|
||||
+ .4 shooter velocity, rise -1). Only 0, 1, 3, 6-9 and FireBossProjectiles are unboosted.
|
||||
|
||||
## Entity_NPC::FireBossProjectiles 006ccdd0
|
||||
- Per shot: velocity 7 * unit(target - pos) + (cos, sin)(rand 2pi) * 3.5 rand (target zero: a random 7 heading),
|
||||
FallingAccel .32 + .1 traj, FallingSpeed 5 - 24 rand - traj, scale (.9 + .4 (rand & 1) + .05 rand) * Scale (* .8
|
||||
for flag 1 << 54), then the modifiers. All 25 boss_volley shots on Rebirth monster records already follow it
|
||||
(fall_base 5 - traj + FSmod, fall_acceleration .32 + .1 traj + FAmod). Skipped (matches).
|
||||
|
||||
## Changed (mode 0 / 1 / 3, default params: fall_velocity -3, fall_acceleration .1 added)
|
||||
round_worm, tainted_round_worm, tainted_round_worm_butt (NpcAI::ENTITY_ROUND_WORM 0053e4a0, mode 0 at 10); cyclopia,
|
||||
blue_conjoined_fatty (NpcAI::ENTITY_GAPER 00508f40, mode 0 at 7); fistuloid (00545f70); cyst (NpcAI::ENTITY_GUTS
|
||||
005153b0); bony, black_bony (NpcAI::ENTITY_SKINNY 00538b70, Variant 1); bone_fly (NpcAI::ENTITY_BOOMFLY 0050f280);
|
||||
goat (NpcAI::ENTITY_GOAT 004f2c20: Shoot mode 1, Shoot2 mode 3); black_goat Shoot (mode 3); maze_roamer,
|
||||
maze_roamer_890_0_1 (004f1ec0, Variant 0x10); clickety_clack aimed bone (004efb90); level_2_willo (005593c0); fat_bat
|
||||
(00540510); lil_haunt_260_10 (00481410); ragling, rag_mans_ragling (NpcAI::ENTITY_HOPPER 00526470, two shots at 7);
|
||||
fanatic (NpcAI::ENTITY_EXORCIST -> NpcAI::ENTITY_FACELESS 004faad0, fore and back at 7); wall_creep (0053c0d0);
|
||||
sub_horf (0055fb60, VelocityMulti .7); conjoined_spitty (NpcAI::ENTITY_MAGGOT 0052db50, 243: two at 8; its corridor
|
||||
shooting carried Flash spitty's height -14 / accel -.08 -> -23 / .1 / -3).
|
||||
|
||||
## Changed (modifiers re-based)
|
||||
- tainted_sub_horf: FAmod -.1 -> fall_acceleration 0 (was -.1), -3. shady (005522d0): FAmod -.08 -> .02, -3.
|
||||
- constant_stone_shooter (00506320) and triple_grimace (NpcAI::ENTITY_STONEHEAD 00520c60, mode 3): FAmod -.101 ->
|
||||
-.001, -3 (Height 13 kept). Vomit grimace (42.1, no Rebirth record): FS -30.5 / FA .92 set outright, VM .55.
|
||||
- soy_creep (240.1): FAmod -.12 -> -.02 (fall [-4, -2] already based). splasher (NpcAI::ENTITY_GUSHER 0050af90): FS -5
|
||||
FA .3 -> -8 / .4. tainted_spitty (31.1): FAmod .005(10 - i) - .08 -> .07 .. .025, -3, height +10 added.
|
||||
- planetoid (NpcAI::ENTITY_SWARMER 00518e20, 229.1): mode 0 then FallingSpeed 0 / FallingAccel -.095 written outright
|
||||
-> fall_velocity 0 (exact).
|
||||
- psychic_horf (NpcAI::ENTITY_HORF 00513080): mode 0 default -> -3 / .1 (monster-fidelity-10 took 0 / 0): homing
|
||||
fall_velocity_offset 3 -> 0, fall_acceleration .1.
|
||||
- tainted_pooter (NpcAI::ENTITY_FLY 00506bd0, 14.2): mode 4 with +0x98 set: no base, no boost; FS +1, FA -.15 ->
|
||||
fall_velocity [.9, 1.1], fall_acceleration -.15.
|
||||
- polty, kineti (NpcHelper::Polty_SpawnRockProjectile 006d9550): direct SpawnEx 9.8, height -30, FallingSpeed -5,
|
||||
FallingAccel .8 (asm 006d9668..006d967c) -> -5 / .8, height -7.
|
||||
|
||||
## Changed (modes 2 / 4 / 5: boost approximated as speed x1.2 and fall -1; the .4 carry is engine proposal #1)
|
||||
mobile_host (005321d0, mode 2) and flesh_mobile_host (mode 5): 7 -> 8.4, -3 / .05 -> -4 / .1 (default params);
|
||||
floast (NpcAI::ENTITY_HOST 005111b0: mode 2, FAmod -.05, VM 1.2): 10.08, -4 / .05 (another fork set the same);
|
||||
blind_creep (242, mode 2 at 8): 9.6, -4 / .1; wrinkly_baby (0054fa80, Spread .6) and mole (004fdf80, Spread .4):
|
||||
9.6, accel .1 added; tainted_mole: 9.6, -4 / .1; tainted_soy_creep (mode 4 Spread 2, FAmod -.12): 9.6, [-5, -3],
|
||||
-.02; blue_boil (004be6f0) mode 2 volley 7.5 -> 9; black_goat Shoot2 (mode 4): count 4 spread .2793 -> fan
|
||||
(.99, +-.139), (.8226, +-.3663), 12, -4 / .1.
|
||||
|
||||
## Other fix
|
||||
- clickety_clack: its burst is FireProjectiles mode 8 at 10 (the fixed eight), not a random-angle ring: ring -> eight.
|
||||
- adult_leech (NpcAI::ENTITY_ADULT_LEECH 004d9000): the emerge ring of 10 at 8 is mode 9 with FAmod -.02: attacks[3] fall_acceleration -.02 added.
|
||||
|
||||
## Skipped (matches)
|
||||
- Rings / cardinal / diagonal / eight (modes 6-9, no base): fat_sack, gurgling, pale_fatty, tumor, psy_tumor,
|
||||
homunculus, begotten, mega_clotty, faceless, tainted_faceless (FAmod -.06), poofer, peeping_fatty, adult_leech
|
||||
attacks[1] (FA .08), tainted_hopper (FAmod -.07), cross stone shooters, dinga, quakey, hardy, bishop, night_crawler,
|
||||
pasty, mushroom, cloggy, dead_meat, 1_2_heart diagonal.
|
||||
- Direct Game::Spawn shots (Init fall): revenant, quad_revenant (NpcAI::ENTITY_REVENANT 004ecc10, FallingSpeed * .4).
|
||||
- Already based: super_pooter, angelic_baby_small (mode 0, FAmod -.05: -3 / .05), holy_bony, willo's sign (parent).
|
||||
- FireBossProjectiles shots (crackle, bloaty, cohort, wizoob, the boss_volley list).
|
||||
- Not projectiles: fire_worm (fire 33.x).
|
||||
|
||||
## Not done (parent's records / engine)
|
||||
- imp (0052ae30 mode 0 at 10 default): needs -3 / .1. 1_2_heart(s) volley_clock (mode 0, Scale .6, FAmod -.09):
|
||||
-3 / .01. willo (mode 0, FSmod +4): fall_velocity 1 (now 4), accel .1.
|
||||
|
||||
- death_volley aim (leper_flesh: mode 0 -> -3 / .1) has no fall fields; death volleys, burst_walker, aimed_shooter
|
||||
shots on Rebirth records are always boosted (engine_fall.md #2).
|
||||
@@ -0,0 +1,47 @@
|
||||
# Spawnfric notes (pass 9, 2026-10-26)
|
||||
|
||||
Audits (b) spawn/shot attacks without a working release and (c) frame-count-gated friction, over every Rebirth monster
|
||||
record of isaac-classic (branch rif/monster-fidelity-12). Engine notes: isaac-classic scratch mf12/engine_spawnfric.md.
|
||||
|
||||
## Audit b: release frames
|
||||
- Engine (scripted_enemy.cpp scripted_frame_apply / is_release_branched): an attack's spawn fires on its release frame
|
||||
unless it has spawn_on events or spawn_period; shots without their own `on` fire only on the release. A missing
|
||||
release loads as frame 0, which never comes (clip frames count from 1). hp_spawn attacks spawn without one.
|
||||
- Scripted over all 1549 Rebirth attacks (bosses skipped): no spawn or shot attack lacks a release now (Level 2 Gusher
|
||||
was the last, fixed in pass 8); no integer release past its clip's end; every directional_poses attack has its
|
||||
release / shot / spawn event on the same frame in all its clips.
|
||||
- Spawn tick against the decompile for the 49 non-boss spawn attacks: those read in passes 5-8 cite the event they
|
||||
spawn on and match; the uncited ones (drowned_hive, baby_long_legs, small_baby_long_legs, black_maw, holy_mulligan,
|
||||
tainted_mulligan, mama_fly, gutted_fatty, pustule, level_2_horf, grilled_gyro, dump) are the pass-9 uncited groups'.
|
||||
|
||||
## portal: NpcAI::ENTITY_PORTAL 00543720 (306.0). Changed
|
||||
- State 3, I2 < 1: own live spawns (SpawnerEntity == it) below 3 (4 for variant 1) -> state 8, I2 = 90 + rand%60;
|
||||
else I2 = 60 + rand%30. I2 counts down every tick in every state (00544123).
|
||||
- State 8, variant 0: spawns at once on the next update (no clip event), shockwave, sound 0x1c, I1--, back to state 3.
|
||||
The record played the 58-frame Idle and spawned on its Spawn event (frame 30): ~30 ticks late, ~58 longer cycle.
|
||||
- Now release 1, ticks 1, the emerge sound on frame 1; cooldown 90 + [60, 1] once and capped [60, 30] kept.
|
||||
|
||||
## lil_portal_306_1: NpcAI::ENTITY_PORTAL 00543720 (306.1). Changed
|
||||
- Decision as above (cap 4): I2 = 60 + rand%30, SpawnOverlay (15 frames) + sound 0xa2; the spawn on the overlay's
|
||||
Shoot (frame 14), velocity (0, 4) turned rand * 40 - 20 deg; state 3 once the overlay stops. I2 runs during the clip,
|
||||
ours only after: cooldown 60 -> 45, capped_cooldown [60, 30] -> [45, 30].
|
||||
- Not expressed: capped, Rep plays no overlay (ours plays the clip with nothing spawned).
|
||||
|
||||
## Audit c: frame-gated friction
|
||||
- Searched the dump for friction writes inside blocks (or goto spans) gated by frameCount % / &, IsFrame or
|
||||
GetIntervalTicks. Real hits: NpcAI::ENTITY_FLY 00506bd0 (frameCount % 3 == 2: edge nudges .06, v += 2 V1 / f,
|
||||
f *= .6; asm 00508da5) and NpcAI::ENTITY_GURDY_JR 0051d300 (boss: state 8 f *= .97 on GetIntervalTicks(5)).
|
||||
False positives: FindGridPath probes saving and restoring friction under IsFrame(5) (Gutted Fatty 004e0dd0, Gyro
|
||||
004ff620, Bloaty 00563da0) or GetIntervalTicks(2) (Level 2 Charger 004e38c0); attack-check gotos (Knight 005135d0,
|
||||
Death's Head 00532cf0).
|
||||
- ENTITY_FLY serves 13, 14, 18, 61 (but 61.4 Mama Fly and 61.5/6 Bulb/Bloodfly branch off first), 80, 214, 249, 819.
|
||||
Every one of them gets the third-tick brake. Targeted types (18, 61, 80, 214, 249, 819) steer on GetIntervalTicks(2)
|
||||
ticks; 13/14 have their target cleared and take rand%5 pulls of .7.
|
||||
- Rebirth records: flying_chaser users (soul_sucker, ink, tainted_sucker, level_2_fly, full_fly, fly_bomb) model the
|
||||
phase exactly (damping period 3 phase 2, steer period 2): match. ink's earlier "steers every tick" left item is
|
||||
wrong (it steers every 2nd tick like the rest). super_pooter fixed in pass 8.
|
||||
|
||||
## tainted_pooter: NpcAI::ENTITY_FLY 00506bd0 (14.2). Changed
|
||||
- Same pooter flight as super_pooter: retention .6 (read as every tick) -> .84 (.6^(1/3)), hover .14 -> .12,
|
||||
hover_scatter .25 -> .35 (super_pooter's simulated values), attack retention .48 -> .67 (.8 * .843). Cooldown 49
|
||||
(63 from start, 14-frame clip) kept.
|
||||
@@ -0,0 +1,168 @@
|
||||
# Group u1 notes (pass 9, 2026-10-26)
|
||||
|
||||
Rebirth monster records whose reference comment cited no routine (most were read in pass 4 before the speed / friction
|
||||
convention and the recent fields), re-checked for isaac-classic branch rif/monster-fidelity-12. Speed convention as
|
||||
pass4_00.md / pass6_engine.md. Engine proposals: isaac-classic scratch mf12/engine_u1.md.
|
||||
|
||||
## flaming_gaper: NpcAI::ENTITY_GAPER 00508f40 (10.2). Skipped (matches)
|
||||
- FindGridPath(.5478), friction untouched, Head overlay. Dead with health > -25 and rand & 1 == 0: Morph 11.0 (the 1 in
|
||||
3 Pacer roll skipped for variant 2), health refilled, ProjectileCooldown 20 + rand%20.
|
||||
|
||||
## blue_gaper: NpcAI::ENTITY_HUSH_GAPER 004bee40 (297.0). Skipped (matches)
|
||||
- FindGridPath(.6, 900); friction *.8 only while feared (EvadeTarget). Damage from its own type ignored (not expressed).
|
||||
|
||||
## drowned_hive / holy_mulligan: NpcAI::ENTITY_HIVE 0050c370 (22.1 / 22.2). Changed (death count)
|
||||
- State 4 EvadeTarget; friction *.8 (*.95 more for 22.1: .76). HeadAttack overlay as state 8 (22.1 no friction there).
|
||||
- Clock v1.x: 75 after a cough; 7 with no line (CheckLine 2), 3 beyond 300 or feared; counted down only while evading;
|
||||
+ 20..69 whenever the alive enemy count >= 4 + rand%5.
|
||||
- Shoot: 22.1 spawns 23.1 at its place, health halved; 22.2 spawns 38.1 at x +- 8, velocity (+-8, 0) by its flipX.
|
||||
- Not expressed: 22.2's horizontal by-facing launch (ours aims the 8 at Isaac).
|
||||
- Death (health > -20): n = ceil(4 / (1 + .2 * alive)); 22.1 / 22.2 take min(n, 1 + rand & 1), 22.3 always 1 batch.
|
||||
So 1 or 2 children evenly (1 past 15 live enemies): death_spawn count 2 / crowd_scale .5 -> **count 1, count_random 1,
|
||||
crowd_scale 0** for drowned_hive and holy_mulligan.
|
||||
|
||||
## dank_charger: NpcAI::ENTITY_MAGGOT 0052db50 (23.2). Changed
|
||||
- Walk MoveRandomlyAxisAligned(.6), friction *.85 (vertical *.9647 more). Charge check IsFrame(4): within 20 on an
|
||||
axis, d^2 < 40000, CheckLine. Charge: friction 1, v = .2 v + .8 V1 (timescale .2), V1 = 18.2 dir times (1 - .06
|
||||
clamp((sf - 10) / 70)) a tick, V1 negated on a grid hit, the cross axis lerped .1 a tick to its cell centre; ends at
|
||||
sf >= 46 with |V1| < 2 -> Recover (state 16). Matches charge_speed 18.2 / charge_decay {10, 70, .06, 2}.
|
||||
- Creep: in the charge loop on every tick but IsFrame(3) (2 of 3), 1000.26 scale .8 black (splat 1 in 10). Was a
|
||||
walk-wide behaviour creep {period 3, min_speed 4}; now the charge attack's creep {tick_period 1} (exact window, 1.5x
|
||||
the density; 2-of-3 has no field).
|
||||
- Not expressed: the cross-axis lerp onto the cell centre.
|
||||
|
||||
## sick_boom_fly / drowned_boom_fly: NpcAI::ENTITY_BOOMFLY 0050f280 (25.5 / 25.2). Changed / Skipped (matches)
|
||||
- Every tick friction *.9; the *.8 at 0050fd7x is only reached from states 8 / 9 (Bone Fly attack, Explode): state 4
|
||||
skips it. Push +-.45 per axis (.4 for 25.2, .25 under Skatole) / f. pass4_01's .9 * .8 = .72 for 25.5 was a misread:
|
||||
retention .72 -> **.9**.
|
||||
- 25.5 trail: whenever updateTime / 10 changes, a smoke cloud 1000.141 scale .7, velocity (cos, sin) a * 2 rand. Now gas
|
||||
drift {speed .01, speed_random 2, turn 180, retention .8, step .01, max .9} (the smoke cloud's own damping, as the Gas
|
||||
Dwarf's).
|
||||
- 25.5 death (unless spawned by 0x38e Ultra Pestilence): explosion 40; FireProjectiles mode 9 count 6 at **10** (was
|
||||
8), green tint; eight clouds at k * 45 + rand 16 - 8 deg, speed 13 + 6 rand, timeout 300 (150 from 0x38e). The eight
|
||||
flung clouds stay one radius-70 cloud (death gas has no ring / drift).
|
||||
- 25.2 death: explosion 40, mode 6 cross at 8 (10 in hard), rand%3 == 0 and its cell free -> 23.1 with health halved:
|
||||
matches (hard speed not expressed).
|
||||
|
||||
## scarred_para_bite: NpcAI::ENTITY_PARA_BITE 005240a0 (58.1). Changed
|
||||
- State 4: FindGridPath(Isaac, .8, mode 0) with no friction of its own (the *.7 at the end runs only in the dig states
|
||||
6 / 16): move chase -> **path .8, retention 1**.
|
||||
- Variant 1 shot: ProjectileCooldown < 1 and a non-zero velocity -> FireProjectiles mode 0 from pos + velocity at
|
||||
unit(velocity) * 7, HeightModifier 5, FallingSpeed -5, FallingAccel .3; cooldown 40 + rand%20 (init 5 + rand%20).
|
||||
Now turret cooldown 40 / cooldown_random 20 / first [5, 20], shot along_motion + velocity_lead 1, height 5,
|
||||
fall_velocity -8 (was -2), fall_acceleration .4 (was .3).
|
||||
- Dig: rand%30 == 0 with no direct path; DigIn target: Room::GetRandomPosition(20), 130 < d(nearest player) < 1000,
|
||||
grid path < 500. Collision off from DigIn frame 8 to DigOut frame 3. Splat 1 in 10 while walking.
|
||||
|
||||
## scarred_guts: NpcAI::ENTITY_GUTS 005153b0 (40.1). Changed
|
||||
- Push 3.3 (3 base, 2.45 for 40.2) * aiFloat / f under friction *.6 along its wall: border 3.3 / .6 matches.
|
||||
- Trail period 2 for 40.1 (5 base, 4 / 1 for 40.2) on (frameCount + index): 40.1 spawns red creep 1000.22 (timeout
|
||||
20, scale .1 growing, +0x478 .75) and returns before MakeSplat: no splats for 40.1. The record's splatter {period 2}
|
||||
was removed. The 20-tick creep lifetime is still not expressible.
|
||||
|
||||
## black_globins_head: NpcAI::ENTITY_BRAIN 00512110 (279.0). Skipped (matches)
|
||||
- State 4: FindGridPath(CalcTargetPosition, .5, 900), no friction of its own (the *.8 is the Brain's charge state).
|
||||
- Splat .2 + .39 rand on each 3-tick boundary of updateTime. Red creep 1000.22 scale 1.23 on GetIntervalTicks(12,
|
||||
index % 12) under 5 alive enemies (24 / index % 24 otherwise), and also at the +6 / +12 offset while speed^2 > 9.
|
||||
|
||||
## baby_long_legs / small_baby_long_legs: NpcAI::ENTITY_BABY_LONG_LEGS 00531ab0 (206.0 / 206.1). Changed
|
||||
- State 4: friction set .8; EvadeTarget(Isaac) (controlled: FindGridPath .65). N = 100 (206.1: 200). With fewer than 6
|
||||
alive enemies: (evade countdown < 1 and Random(N / 2) == 0) or Random(N) == 0 -> Lay Egg (state 8, friction *.5).
|
||||
- Was one_in 100 (206.0) / 67 (206.1). Now two rolls: one_in N always plus one_in N / 2 gated min_range 250 (the evade
|
||||
countdown is "not threatened": see EvadeTarget below).
|
||||
- Lay: 206.0 a spider 85.0 at MusicManager::RandomVector, rand%20 == 0 a second at the opposite velocity (not
|
||||
expressed); 206.1 a sack 30.2 at rest plus creep 1000.25.
|
||||
|
||||
## PathFinder::EvadeTarget 007e4940 (decoded; every fleer in this group uses it)
|
||||
- Friendly (charmed) and not ignoring status: FindGridPath(Isaac, 1.079, 0) instead.
|
||||
- Every 14 ticks (frameCount + index): threatened when Isaac is nearer than 250 (CheckLine mode 1 clear) or 170 (not):
|
||||
countdown = 3 (and a spent countdown clears the target); else the countdown drops by the update-time step.
|
||||
- Every 30 ticks: the visited-cell set is cleared. +0x(PathFinder+1).x is a "desperation" value capped 20.
|
||||
- Countdown < 1 (calm): desperation *= .9, MoveRandomly(1) (a free point 40 px off at a random angle, .5 / f) and
|
||||
friction *.9. Return.
|
||||
- Threatened, with no target or desperation > 20: u = unit(pos - Isaac) (one axis halved at random when |ux| ~ |uy|
|
||||
within .25); v += 1.5 u / f; then 7 - .3 desperation tries: r = 30 + 450 rand, a random angle, point = pos + 30 u +
|
||||
(cos, sin) * (r, .5 r); its cell, not visited, free (collision 0), CheckLine from it to itself clear: if Isaac has
|
||||
no line to it (or desperation >= 20) and |point - Isaac| >= r / 3 + d + 100 + desperation - k10 the point becomes the
|
||||
target (desperation halved below 20); a seen point adds .35 desperation, a too-near one +10 to the bar.
|
||||
- With a target: every 10 ticks it is dropped when Isaac can see it (desperation < 20) or it is nearer than 200 or
|
||||
within 20 of Isaac on an axis. Then FindGridPath(target, 1.079, 0).
|
||||
|
||||
## blue_boil: NpcAI::ENTITY_HUSH_BOIL 004be6f0 (298.0). Changed
|
||||
- Friction *.8; regrowth v1.y -= 1/13 a tick. State 3: rand%50 == 0, then d < 420 or rand%6 == 0 -> Shoot (state 8;
|
||||
variant 2 also needs Random(room count) == 0 under 8), else Shake (9). Matches the choice.
|
||||
- Shoot: aim = Isaac + RandomVector * 40 rand, velocity 7.5; Scale 1.6, FallingAccelModifier -.12 (fall_acceleration
|
||||
-.02), HomingStrength 1.1 without the homing flag; FireProjectiles mode (rand & 1) * 2.
|
||||
- Changed: mode 0 now fall_velocity -3 (the modes 0-5 base); mode 2 as fan [[1, 0], [.8649, +-.2484]] (side shots .9 x
|
||||
at 16 deg; was count 3 / spread .5592 at full speed) with aim_jitter 40 (only the single shot had it).
|
||||
|
||||
## cross_stone_shooter_202_10_1 / cross_stone_shooter_always_on_202_11_1: 00506320 (202.10.1 / 202.11.1). Matches / Changed
|
||||
- As pass7_i5 / pass8_j5's subtype 0 reads, starting on mode 7 (diagonal). 202.11.1's record had drifted (a when
|
||||
after_tick 22 / period 1 / next 0 loop, no close): rebuilt as 202.11.0 with the diagonal first and CloseEyes2 on the
|
||||
disarm (pressure plates).
|
||||
|
||||
## fistuloid: NpcAI::ENTITY_FISTULOID 00545f70 (308.0). Partial (life matches)
|
||||
- Friction set .9 each tick; push .7 (not divided by f) along unit(Isaac - pos) turned sin(((frame - spawn) / 60 + phase)
|
||||
* 2pi) * 40 deg. Attack: i1 < 1, d^2 < 10000, rand%5 == 0 -> Attack; on Shoot (frame 9) mode 0 at 10 default params;
|
||||
from Shoot on v -= 1.2 dir a tick (x .9: lunge -1.08); i1 = 30 after the clip. All as the record.
|
||||
- Death: Eject (state 5: invulnerable, health .1, held at its spot with friction *.5), on Shoot (frame 19) a 39.22 at
|
||||
12 x the cardinal nearest Isaac's direction. Not ported: the record's 39.22 is Flash's chubber_tongue alias.
|
||||
- With a 0x19d parent (Blastocyst-like spawner) it orbits 90 px (y * .84) at -.055 rad a tick; room spawns never have one.
|
||||
|
||||
## black_maw: NpcAI::ENTITY_BLACK_MAW 0053b2f0 (225.0). Skipped (matches)
|
||||
- State 4: friction *.8, push unit(CalcTargetPosition(10) - pos) / f (the held, IsFrame(rand%30 + 15) heading is only
|
||||
for confusion). Charge: |dy| < 20 and updateTime > 45; 25 a tick out to 200 past an edge, back at 18 to its spot.
|
||||
- Summon: rand%120 == 0 with fewer than 8 alive enemies, a leech at pos + RandomVector * 20, i1 = 90.
|
||||
- Death: BombDamage(40, 60) plus explosion effect 1000.1.
|
||||
|
||||
## conjoined_spitty: NpcAI::ENTITY_MAGGOT 0052db50 (243.0). Changed
|
||||
- As pass4_00 (roam .72 under *.85, rand%35 shot state). Shot params were the defaults: HeightModifier 14,
|
||||
FallingSpeed -.1, FallingAccel -.101 on mode 0 -> shooting height **-9**, fall_velocity **-3.1**, fall_acceleration
|
||||
**-.001**.
|
||||
|
||||
## psy_tumor: NpcAI::ENTITY_SWARMER 00518e20 (253.0). Skipped (matches)
|
||||
- *.77 *.9 with +-.45 / f per axis; rand%100 == 0 (under 10 alive enemies) or each 10% of max health lost ->
|
||||
FireProjectiles mode 9 count 6 at 10, homing flag. Record: bounce .45 / .693, one_in 100 + hp_steps 10.
|
||||
|
||||
## tube_worm / roundy: NpcAI::ENTITY_ROUND_WORM 0053e4a0 (244.1 / 276.0). Changed
|
||||
- 244.1 (and 244.3): DigOut's PreShoot sends it back under when its spot is off camera. Shoot: i1 = 10 (244.3: 1), one
|
||||
shot a tick while i1 > 0: aim = GetClampedPositionImpl(Isaac + vel * .2 * d, 4) + RandomVector * rand * 30 (244.3:
|
||||
80); velocity (aim - pos) * .025; mode 0, HeightModifier 25 rand, FallingSpeed 8 rand - 56, FallingAccel 1.5, Scale
|
||||
.5 + rand (244.3: 1.6, EXPLODE, green). A blood splash when i1 % 6 == 0.
|
||||
- Now boss_volley aim_share .025 (lands at the aim in ~42 ticks; was aim_speed 9 + 2 spread), aim_jitter 30, aim_lead 40
|
||||
(= .2 d at 200 px), fall_velocity [-59, -51], fall_acceleration 1.6, scale [.5, 1.5], height [0, 25].
|
||||
- 276 Shoot: FireBossProjectiles(1, Isaac's position, traj 10): the lead point (Isaac + 10 vel, laser-clamped) is
|
||||
computed for every variant but this branch aims at Isaac himself. Then flag 2 EXPLODE, accel -.3, fall .7 fs - 13,
|
||||
height -20, vel *.55, scale 1.6, green. aim_lead 10 removed, fall_velocity [-33.3, -16.5], landing explosion.
|
||||
- Not expressed: a per-distance shot lead (`shots[]/lead_per_distance` would be exact for 244.1).
|
||||
|
||||
## full_fly: NpcAI::ENTITY_FLY 00506bd0 (249.0). Skipped (matches)
|
||||
- As pass6_engine's read. Death: mode 9 count 6 at 8, default params. Not expressed: 0xd6 / 0xf9 / 0x333 on a grid hit
|
||||
with rand%3 == 0 take V2 = -normal * (2 + 1.5 rand), added each tick (AddVelocity) and *.9 until |V2| <= 1.
|
||||
|
||||
## corn_mine: NpcAI::ENTITY_CORN_MINE 0048ee30 (295.0). Changed
|
||||
- As pass4_03 (age_at_least now expresses the 181-tick fuse). Death: Game::Fart(pos, radius 85, scale 1),
|
||||
Game::BombDamage(pos, damage 40, radius npc size), FireProjectiles mode 8 at 10, Variant 5. Gas radius 60 -> **85**.
|
||||
|
||||
## tainted_mulligan: NpcAI::ENTITY_HIVE 0050c370 (22.3). Skipped (matches pass4_03)
|
||||
- Clock 210 (7 / 3 retries) counted down only while threatened (EvadeTarget's countdown); six linked Ring Flies; death
|
||||
one counted batch of 13. The calm pause has no gate yet (engine_u1 #1's `threatened`).
|
||||
|
||||
## leper / leper_stage_2 / _3 / _4: NpcAI::ENTITY_LEPER 00547b60 (310.0 subtypes 0..3). Partial
|
||||
- 310.1 goes to NpcHelper::leper_flesh_ai. i1 <= 0 (subtype < 3): EvadeTarget, friction *.8; a negative i1 counts up to
|
||||
0; at 0 with the evade countdown spent (calm) rand%10 == 0 sets i1 90. i1 > 0 (or subtype 3): FindGridPath(.5; .7
|
||||
subtype 2; .9 subtype 3), friction *.9; i1 counts down, at 0 i1 = -30 - rand%60. Damage takes ceil(2 * dmg) off a
|
||||
positive i1 (min 1).
|
||||
- IsFrame(10): subtype 3 lays red creep 1000.22 scale .2 + .3 rand, timeout 30; subtypes > 0 splat .4 + .4 rand.
|
||||
- Stage change on damage: while health - pending <= (3 - s) / (4 - s) * max, subtype s + 1: BloodExplode, v += 10 *
|
||||
unit(pos - Isaac), a 310.1 at pos + 20 unit moving (5 + 5 rand) * unit turned rand 90 - 45 deg, a blood splash 1000.2
|
||||
at .3 of it; Morph to the new subtype, state 16 Transition overlay (friction *.8).
|
||||
- Death: a 310.1 at a random angle 20 out moving 2 + 2 rand; health > -25 and rand & 1 == 0: Morph 11.0 (scarred skin).
|
||||
- Changed: leper_stage_4 death_spawn leper_flesh {radius 20, speeds [2, 4]}; it fires only when it truly dies (on the
|
||||
gusher turn our transformation skips it). Not expressed: the flesh + knock on each stage change (proposal
|
||||
engine_u1 #3), the calm-only resume roll, stages 2-4's splats.
|
||||
|
||||
## poop: NpcAI::ENTITY_POOP 00571280 (245.0). Changed
|
||||
- Variant 0: no AI beyond its look: State(clamp(int(6 - health), 1, 5)) after damage (Appear at spawn). Other variants
|
||||
(14 gas puffs on GetIntervalTicks 15 / 2, 16 the holy aura 70 + size feeding hallowedGroundCountdown, 11 ...) are
|
||||
separate records. Added step_poses {steps 1, lag 1} so State2..5 show below .8 / .6 / .4 / .2 of health.
|
||||
@@ -0,0 +1,123 @@
|
||||
# Group u2 notes (pass 9, 2026-10-26)
|
||||
|
||||
Uncited Rebirth monster records (no routine cited in their reference comment yet), re-read for isaac-classic branch
|
||||
rif/monster-fidelity-12. Most were read in pass 3 / 4 (pass4_00..03.md); this pass rechecks those reads against the
|
||||
decompile with the fields added since. Speed convention as pass4_00.md / pass6_engine.md. Engine proposals: isaac-classic
|
||||
scratch MF/engine_u2.md.
|
||||
|
||||
## gyro / grilled_gyro: NpcAI::ENTITY_GYRO 004ff620 (824.0 / 824.1). Changed
|
||||
- Idle (state 4): f *= .8, v += 1.2 heading (net .96); the heading (V1.x) eases 10 deg a tick toward V1.y, re-drawn when
|
||||
the StateFrame countdown ends: rand%3 == 0 with a clear line toward Isaac, else random; StateFrame = 10 + rand%40.
|
||||
Variant 0 only: after each run StateFrame = -(rand%30), counted up with no push (a rest of up to 29 ticks). A grid hit
|
||||
reflects the target heading on rand&3 == 0. Splat 1 in 6.
|
||||
- Dash test (i2 >= 0, not feared/charmed): CheckLine, dot(heading unit, raw Isaac offset) > .7, rand%14 == 0. Dash
|
||||
(state 8): velocity zeroed, sound 0x12d, i2 = 60 (variant 1: 80); f *= .96, v += .9 heading (variant 1: 1); heading
|
||||
eases 5 deg a tick toward Isaac. Grid hit: reflect; head-on (dot(normal, heading) >= .4) velocity reflected x1.4 and
|
||||
variant 0's i2 capped at 10, else x1.8. Ends at i2 < 1 or fear/charm: i2 = -30 - rand%30 (cooldown).
|
||||
- Variant 1 (grilled): IsFrame(4) and rand&3 == 0 -> a fire 33.10 at its spot, health * (.4 + .2 rand).
|
||||
- Hurt: ProjectileCooldown 10 on damage; f *= .6 while it is above 7 (a 3-tick brake).
|
||||
- Changed: gyro's dash repeat limit 14 (56 ticks) -> **ticks 60**. grilled_gyro's fire-jet bolts effect -> **spawn
|
||||
moveable_fireplace, spawn_period 4, spawn_chance .25, spawn_at [0, 0], spawn_health .5** (fires left on the floor).
|
||||
- Not expressible: the eased any-angle heading with its target redraws (gyro wander / grilled turns stand in; pass 4's
|
||||
`steer` proposal), variant 0's rests, the head-on i2 cap, the hurt brake.
|
||||
|
||||
## mama_fly: 004ddf00 (61.4, via NpcAI::ENTITY_FLY). Skipped (matches)
|
||||
- Idle: FindGridPath(.6) to its target, friction *.8; within 10 px: Attack (f *.7); Shoot spawns a Pustule 861 on itself.
|
||||
- Target: only with fewer than 10 Pustules alive; best of 10 free cells at 80 + 120 rand round itself (any angle), the
|
||||
farthest from Isaac, skipping cells with a state-5 entity within 24; re-picked when none or (i2 > 90 and rand%10 == 0).
|
||||
- Death: 3 Small Maggots at 80 rand off (FindFreeTilePosition), a blood effect. Data (spot 80..200, 10 tries, arrive 10,
|
||||
repick 90 / 1 in 10, cap 10 of 861) matches; death_spawn radius 10 is a little tight (not changed).
|
||||
|
||||
## bouncer / bouncer_inflated: NpcAI::ENTITY_BOUNCER 00501f30 (822.0). Partial / Changed
|
||||
- State 3: EvadeTarget(CalcTargetPosition), friction *.8; V1.x = 6 + 4 rand (seconds) at init, -1/30 a tick, -damage /
|
||||
3.5 per hit. Inflate: room age > 30, evadeMovementCountdown > 0 (fleeing), V1.x <= 0, rand%20 == 0: HeadInflate
|
||||
overlay (f *.6); its Inflate event: sound 0x1e4, size x1.5, state 16.
|
||||
- State 16: FindGridPath(.9) toward Isaac, no brake of its own (the HeadInflate clip keeps f *.6).
|
||||
- Death: inflated: fart sound, shake, ButterBeanFart(120), a gib timer, FireBossProjectiles(12, none) and 22 shots at
|
||||
pos + 5 dir, velocity dir * 15 rand, height -22 - 8 rand, fall 0, accel -.06 - .03 rand, Acceleration .9, scale .6 +
|
||||
1.2 rand (lingering puffs). Uninflated (not by its own flag): FireProjectiles mode 7 at 10 (matches).
|
||||
- Changed: bouncer_inflated chase .45/.8 -> **path .9, retention 1**, radius 13 -> **19.5**.
|
||||
- Not expressible: the per-hit timer drain (hp_below 10 stands in), the fleeing gate, the inflated death puffs.
|
||||
|
||||
## gutted_fatty: NpcAI::ENTITY_GUTTED_FATTY 004e0dd0 (831.0). Changed (eyes still missing)
|
||||
- Movement and attack as pass4_02.md (drift .72 / .6 stands in for the heading eased 10 deg a tick, redrawn every 45 +
|
||||
rand%120; spawn 831.20 at 10 along 45 + rand%90 deg; cooldown 90 + rand%180, hurt_cooldown 12; first 60 + rand%150).
|
||||
- Eyes (aiCallPhase 1 = on damage): ProjectileDelay starts 2; while health <= delay * max / 3 it drops by 1 and spawns
|
||||
831.10 at the RightEye (delay 1) / LeftEye null x offset, velocity (+3 / -3, 5), parent = it; layers 1 and 2 cropped
|
||||
to delay * 48 (the eye sockets empty).
|
||||
- Gutted Fatty Eye 831.10: invincible, flags 1 / 8, grid class 3; Walk; dies once its parent is gone; target Isaac
|
||||
(CalcTargetPosition), or its parent when Isaac is over 240 away; heading unit(target - pos) turned sin((age / 60 +
|
||||
seed rand) * 2pi) * 40 (1 - clamp((d - 200) / 800)) degrees; plus the mean of the repulsions from other eyes
|
||||
(unit / (10 + .1 d) * 10), renormalised; v += .6 heading, friction .85. Splat 1 in 4.
|
||||
- Death (not friendly/no-reward): blood poof, 1000.132, four blood explosions, then a 15-tick timer calling
|
||||
NpcHelper::gutted_fatty_burst_projectiles 004e0930: the same 2 + 2 shots as Bubbles' geyser (0055a850), spawner 0x33f.
|
||||
- Changed: death_volley boss_volleys -> **death_spawn bubbles_geyser** (pass 8's helper record, identical numbers).
|
||||
- Not built: gutted_fatty_eye (no converted art for 831.010). It would be hp_spawn {share 1/3} spawning it, a hover
|
||||
record with initially_invulnerable, death_link to gutted_fatty, speed .6 / retention .85.
|
||||
|
||||
## level_2_gaper: NpcAI::ENTITY_GAPER_L2 004e2b40 (850.0). Changed
|
||||
- FindGridPath(.6) (aiFloat) toward Isaac, EvadeTarget + *.8 when feared/charmed; groan 0xa5 1 in 3 with a direct path.
|
||||
- Death (variant 0): Morph(850, 2) at full health with the Blood overlay (rendered first), V1.x = the angle away from
|
||||
Isaac, and Spawn(850, 1) at pos + (0, -10) (champion colour copied).
|
||||
- Changed: it died without splitting -> **death_spawn counted [level_2_gusher, level_2_horf]**, radius 10, no overkill
|
||||
limit. The gusher is a fresh actor (not a morph), so its heading starts random.
|
||||
|
||||
## level_2_horf: NpcAI::ENTITY_GAPER_L2 004e2b40 (850.1). Changed
|
||||
- ProjectileCooldown 15 + rand%30 at spawn (pass 4: not expressible) -> **first_cooldown [15, 30]**. The rest as pass 4.
|
||||
|
||||
## level_2_willo: NpcAI::ENTITY_WILLO_L2 005593c0 (838.0). Skipped (matches)
|
||||
- Attack in state 3: rand%9 == 0, cooldown < 1, Isaac within 240 (57600). Attack: Warn (frame 8) sound 0x1d7, Shoot
|
||||
(frame 26) sound 0x99 and FireProjectiles mode 0 at 10 toward Isaac + his velocity, Variant 4, flag 0x2000, a tint; no
|
||||
fall modifiers (pass 4's FallingAccel .05 is not in this build). Cooldown 45 at the clip end. Friction *.9.
|
||||
- The orbit (radius host size + 20, tangential clamp(6 - v.t, 0, 3), radial clamp((d - r) * .05, +-2) * .5, apart
|
||||
from same-host willos within 120) stays the ring stand-in.
|
||||
|
||||
## cyst: NpcAI::ENTITY_GUTS 005153b0 (862.0). Skipped (matches)
|
||||
- ProjectileDelay counts to 30, then FireProjectiles mode 0 at 10 at Isaac (no gates), sound 0xb2, Shoot overlay, an
|
||||
effect 1000.11 at height -14, delay 0: every 31 ticks (turret period 1, cooldown 31).
|
||||
|
||||
## dusty_deaths_head: NpcAI::ENTITY_DUSTY_DEATHS_HEAD 00504a40 (887.0). Skipped (matches)
|
||||
- Pass 4's numbers; the respawn at age 150 is now data (wave respawn_after 150).
|
||||
|
||||
## pustule: NpcAI::ENTITY_PUSTULE 004dea40 (861.0). Partial (no change)
|
||||
- Death by stage i1 (0..6): creep 1000.22 scale (table 00b60640) 0, 0, .2, .3, .3, .3, 1 (x a factor), and (table
|
||||
00b60670) one Small Maggot 853 at i1 4 and 5 (only while fewer than 32 live; at 80 rand off, FindFreeTilePosition when
|
||||
blocked); a poof from i1 > 3; the 61.6 fly at i1 6. Not expressible: the stage-dependent death creep and maggot.
|
||||
|
||||
## mullighoul (817.1), small_maggot (853.0): pass 4 reads stand (cited, no change).
|
||||
|
||||
## floast: host AI 005111b0 (859.0, type 0x35b). Changed
|
||||
- **FireProjectiles 006cb2e0, modes 2, 4 and 5** (cross-record finding): unless the params' +0x98 flag is set, after the
|
||||
fall base (-3, accel .1) those shots get fall -1 more (-4) and velocity = velocity * 1.2 + the shooter's velocity *
|
||||
.4, and only then the params loop (Height/FallingSpeed/FallingAccel modifiers, Scale, VelocityMulti). So Flash's ffmo
|
||||
boost (x1.2, + .4 shooter velocity, rise -1) IS Rep's behaviour for modes 2/4/5: a ported mode 2/4/5 shot with
|
||||
shots_still at the bare FireProjectiles speed is 20% slow (pass7_i6.md's "FireProjectiles adds none" holds for
|
||||
modes 0, 1, 3 and 6-9 only).
|
||||
- Floast: mode 2 at 7, FallingAccelModifier -.05, VelocityMulti 1.2 (hosts 1.07): 7 * 1.2 * 1.2 = 10.08 (+ .48 of
|
||||
its velocity), fall -4, accel .05. Changed: speed 8.4 -> **10.08**, fall_velocity 0 -> **-4**, fall_acceleration -.05
|
||||
-> **.05** (still kept; the .48 host share is left out). Movement (.55 / .9), IsFrame 7, 240, cooldown 49 match.
|
||||
|
||||
## maze_roamer: NpcAI::ENTITY_MAZE_ROAMER 004f1ec0 (890.0). Changed
|
||||
- MoveRandomlyAxisAligned(1.25) runs before friction *.8 (004f1ec0 lines: call, then f *.8): v' = .8 v + 1, the same
|
||||
reading monster-fidelity-5 gave Butt Slicker (2 -> 1.6). roam 1.25 -> **1.0**. Attack / solo numbers as pass 4.
|
||||
|
||||
## butt_slicker: NpcAI::ENTITY_BUTT_SLICKER 0054d250 (878.0). Skipped (movement matches)
|
||||
- Alone: MoveRandomlyAxisAligned(2) then f *.8 (roam 1.6), or FindGridPath(2) toward a slicker found by a 120 query on
|
||||
IsFrame(3) (velocity snapped cardinal beyond 20). Linked: FindGridPath(.9) or .65 / .9 a tick with a clear line,
|
||||
friction .9. Chains / grouped death as pass 4 (not expressible).
|
||||
|
||||
## gyro-family checks that matched (cited): spikeball 004dc490, elleech 004e38c0, morningstar 004f7e60 (subtype 0
|
||||
morphs to subtype 1 or 2 at random; Wake sets i1 10, V1.x .7), mockulus 004f76f0, clickety_clack 004efb90,
|
||||
poofer 004f64e0 (mode 9 ring), twitchy 004db6a0 (HeadTwitch overlay 1 in 70 every tick).
|
||||
|
||||
## goat (004f2c20), dump / dump_head (00562f00): pass 3 / 4 reads stand (cited, no change)
|
||||
- Goat's squad roles, Dump's death-triggered refill and the head thrown away from the hitter stay unexpressed.
|
||||
|
||||
## vessel (858.0): no Repentance AI
|
||||
- Dispatches to NpcHelper::default_case_lua_callback 00860ac0 (default block 006c41af): cut content, unverifiable.
|
||||
|
||||
## couch / tv: NpcAI::ENTITY_GENERIC_PROP 00551d30 (960.3 / 960.4). Skipped (matches)
|
||||
- State 0 -> 3: targetPosition = its spot, flags 0x44250011 / +0x2008, invincible (a white tint in dimension 2).
|
||||
- Stage 13.1 (alternate Home): variants 3/4 switch to Idle2 in some states. TV (variant 4), age > 4: a player crossing
|
||||
its x +-10 within 120 rows below, or within 80 of pos + (0, 60), spawns Dogma 950 at pos + (-8, 40) once (i1 = 1),
|
||||
freezes the players and shuts the doors (Dogma's intro; not this record's job).
|
||||
Reference in new issue
Block a user