87 lines
7.1 KiB
Markdown
87 lines
7.1 KiB
Markdown
# 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.
|