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`).
|
||||
|
||||
Reference in new issue
Block a user