Ghidra 12.2 project and full dump of isaac-ng.exe v1.9.7.17, query scripts, notes indexed by entity, anm2/rooms reimplementations, and db/ (names + fields) that build.sh re-applies. Fixes awk numeric address comparison in find.sh/decompile.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
144 lines
12 KiB
Markdown
144 lines
12 KiB
Markdown
# Group d notes (monster fidelity pass 3)
|
|
|
|
All rolls are per tick unless stated. "Feature:" is a proposed generic engine field.
|
|
|
|
## blood_cultist (NpcAI::ENTITY_CULTIST 004ed840, 885.1)
|
|
- Idle (state 3) friction *0.75 -> retention 0.8 -> 0.75. Attack (state 8) friction *0.7 -> attack retention 0.6 -> 0.7.
|
|
- Cooldown: start 30 + rand%30; after each attack/respawn 60 + rand%60 -> cooldown 60, cooldown_random [60,1], once.
|
|
- Attack trigger: reaching its target point (within 24 px) with intent i1 == 1, Isaac on screen, |dy| < 30, and
|
|
rand%3 == 0 -> line row within 20 -> 30, one_in 3 added. Otherwise, with Isaac closer than 100, it plays Respawn.
|
|
- Shoot: one-sided, toward Isaac's side only (field_148 = Isaac left). From the Shoot event, every tick a point marches
|
|
out from x+20 in 40 px steps until it leaves the room. Each point gets red creep (1000.22, scale 0.9 + 0.07 *
|
|
stateFrame), a splash, and FireBossProjectiles(1, pos + 100 * facing, traj 5) moved back 12 * rand along facing.
|
|
The record had four fixed shots both ways and two-sided creep. Changed: creep two_sided false, along [460, 0]
|
|
(20 + 40 * 11), scale 0.9. Shots are one boss_volley a tick for 12 ticks (aim_speed 7, aimed_spread 3.5,
|
|
fall_base 5 - 5 = 0, fall_acceleration .32 + .5 = .82).
|
|
- Not expressed:
|
|
- Feature `shots[]/march {start, step, until_wall}`: the n-th burst tick's shot (and a creep puddle) launches at
|
|
actor + facing * (start + n * step) instead of the actor, and the burst stops when that point leaves the room.
|
|
- Recoil: from Shoot, velocity += -5 * facing * v (v starts at 1 and drops .1 a tick). Feature
|
|
`attacks[]/recoil {speed, decay}`.
|
|
- Movement: it is not a wander. It flits to target points 50-90 px from Isaac, on its own side of him (angle within
|
|
+-120 deg of its offset from him), with a push of 0.7 + 1.7 * rand a tick under friction .75. Each new point has a
|
|
1 in 8 attack intent; with the cooldown spent it targets Isaac + 15 * his velocity instead. Feature: move
|
|
`orbit_hop {near, far, arc, push, push_random}`.
|
|
- Respawn (state 13): on its Shoot event it waits 5 ticks, then spawns 885.10 (the summon marker) at a free spot
|
|
40-90 px from Isaac (at least 40 from any player, 10 tries) and is removed. That is a teleport through a marker.
|
|
The existing teleport with mode near/far might cover it.
|
|
|
|
## level_2_charger (NpcAI::ENTITY_CHARGER_L2 004e38c0, 855.0)
|
|
- Walk: PathFinder::MoveRandomlyAxisAligned(0.65), friction *0.85 (vy also *0.9647). Changed corridor 0.5/0.8 to
|
|
roam 0.65/0.85.
|
|
- Charge test runs every tick: Isaac + rand * 16 * his velocity (clamped) must be ahead of one of the 4 axes (dot > 0),
|
|
within 20 px across it, with a clear line. There is no range test. Changed: period 4 -> 1, range 200 removed.
|
|
- Charge: v1 = axis * 1.3, velocity += v1 / f, then f *= .8 -> lunge 1.1 -> 1.3, retention .8. It ends after 6
|
|
ticks moving < sqrt 2 px a tick (or stuck on grid) -> repeat speed 2 -> 1.41.
|
|
- Not expressed: homing. v2 starts at 2 and drops .033 a tick. While v2 > 0 and the target is ahead, v1 turns toward
|
|
(Isaac + 16 * his velocity) by min(v2, 1) * .1 of a unit and is renormalised to |v1|. seek 0.25 is kept as a stand-in.
|
|
Feature `attacks[]/steer {gain, gain_decay, lead}`: rotates the lunge direction toward the lead point by
|
|
min(1, gain - t * gain_decay) * 0.1 a tick.
|
|
The lunge should also be axis-aligned (the chargeAxis), not aimed at Isaac. Feature `attacks[]/lunge_axis: true`.
|
|
|
|
## coal_boy (NpcAI::ENTITY_DANNY 004fbd10, 820.1)
|
|
- Walk FindGridPath(0.6, 0, 1), no damping -> path 0.6 / retention 1 (was chase .4/.8).
|
|
- Attack: stateFrame 150 from the attack's start. Then rand%60 (rand%20 when hurt-hasted) with dist < 200; at 200-400
|
|
a further 1/10. Coal Boy has no enemy cap. -> range 200, period 1, one_in 60 (was 250 / 7 / 8). Cooldown kept at
|
|
150 (stateFrame counts from the attack start, so that is ~12 ticks too long, as Danny's).
|
|
- Attack friction *0.7 -> retention 0.7 (was .5; start_retention 0 removed, nothing zeroes velocity).
|
|
- Shoot (variant 1 fires NO projectiles): 4 ThrowRockSpider calls, each in a +-15 deg cone around the aim at speed
|
|
1 + 9 * rand. The first max(0, 1 - linked group count) are variant 2 (coal_spider, linked); the rest are entity
|
|
33.11 (coal). Six ember particles too. Changed: the boss_volley rock shot is removed and three spider shots of
|
|
type coal are added; spawn coal_spider (cap below 1) is kept.
|
|
- Not expressed: spider shots land around the thrower, not along a cone throw. Feature `spider/cone {degrees,
|
|
speed, speed_random}` (velocity = aim turned crand(degrees / 2), times speed + rand * speed_random, ballistic
|
|
landing). Also "count minus linked spawns" (Danny's proposed count_less_spawned) would give exactly 4 throws.
|
|
|
|
## constant_stone_shooter_202_0_3 (NpcAI::ENTITY_CONSTANT_STONE_SHOOTER 00506320, subtype 3 = down)
|
|
- v1 = (0, 1). The shot is FireProjectiles mode 0 at v1 * 7 with VelocityMulti 1.07 -> 7.49, direction [0, 7.49].
|
|
It launches from the Bullet null / .65, which is (0, 0) in ShootDown, so offset [0, 0] stays.
|
|
- projectileCooldown starts at 20 and is never reset, so it fires back to back -> first_cooldown [20, 0], as the
|
|
base record has.
|
|
- Room clear plays CloseEyes (ClosedEyes only after it finishes) -> cleared pose ClosedEyes -> CloseEyes, as the base.
|
|
- ProjectileParams also set HeightModifier 13 and FallingAccel -0.101 for all four. The base record doesn't express
|
|
that either; the lead could add fall_acceleration -0.101 to all four if that field maps.
|
|
|
|
## quakey (NpcAI::ENTITY_QUAKEY 004fd540, 823.0)
|
|
- Walk FindGridPath(0.3, 900, 1), no damping -> path 0.3 / retention 1 (was chase .35/.8).
|
|
- Roll with the cooldown spent: (dist < 120 and rand%15 == 0) or rand%120 == 0. Cooldown 120 is set at the attack
|
|
start; Jump is 35 frames -> cooldown 85. Expressed as two attacks: range 120 / one_in 15 and any range /
|
|
one_in 120 (was range 300, period 7, one_in 6).
|
|
- On the Jump event: velocity += unit(Isaac - pos) * 12, aimed at the start. This is an impulse, not a leap: leap 12
|
|
-> impulse 12. Friction is .6 before Jump and from Shoot on, .9 in between -> retention .9, lunge_end Shoot,
|
|
lunge_brake .667 (.9 * .667 = .6); start_retention removed.
|
|
- Shoot: FireProjectiles mode 8 speed 10 -> eight shots speed 8 -> 10. ShakeScreen 14, shockwave.
|
|
- Not expressed:
|
|
- Players within 150 are knocked back 3 px/tick (AddVelocity, 9). Feature `attacks[]/knockback {radius, speed}`.
|
|
- Entity_Effect::CreateTimer(12) aimed at Isaac, which looks like Quakey's crack line toward him. Its parameters
|
|
weren't decoded. The existing `effects: [{effect: bolts, directions: player, ...}]` rock wave could approximate it.
|
|
Not added because the delay and spacing are unknown.
|
|
|
|
## kineti (NpcAI::ENTITY_POLTY 0055d230, 816.1)
|
|
- Every 10 ticks it searches the room for a grid rock it can pick up (weighted by distance and type). With a target,
|
|
rand%10 == 0 while on screen -> TeleStart. No range test. Changed: period 7 -> 1, one_in 6 -> 10, range removed.
|
|
The cooldown of 45 is kept as a stand-in for "needs a liftable rock".
|
|
- Throw on PickupThrow: dir to Isaac + 4 * his velocity + 4 * its own velocity, speed 10 -> speed 9 -> 10, aim_lead 4.
|
|
PickupIdle seek .3 -> .7 (holding accel .7, as Polty in pass 2).
|
|
- Not expressed (as Polty): it lifts a real room rock or poop (TeleLoop pulls it in) and throws that grid entity.
|
|
Feature `attacks[]/lift_grid {kinds, search_period}`: the attack rolls only while a liftable grid cell exists; the
|
|
cell is emptied and the thrown shot is that rock.
|
|
|
|
## roundy (NpcAI::ENTITY_ROUND_WORM 0053e4a0, 276.0)
|
|
- It never idles. DigOut (61) -> DigIn (17) -> underground. While underground, each tick a 1 in 2 roll picks
|
|
room centre + random * (60 + 250 * rand), clamped to a free spot, that is 100-1000 px from the nearest player.
|
|
Then DigOut there. Changed: DigIn period 4 / one_in 10 -> period 1, no roll.
|
|
- Shoot (one shot, not eight): FireBossProjectiles(1, Isaac + his velocity * 10 (clamped by a laser trace), traj 10).
|
|
Then velocity *= .55, height *.7 - 13, fall accel -.3, height -20, scale 1.6, flag 2. Changed: eight shots speed 8
|
|
-> one boss_volley: aim_lead 10, aim_speed 7 * .55 = 3.85, aimed_spread 1.925, scale 1.6. fall_base and
|
|
fall_acceleration are my best reading of the projectile fields (0x414 fall speed (5 - 10) * .7 - 13 = -16.5,
|
|
0x418 accel .32 + 1 - .3 = 1.02). The lead should verify those offsets before trusting the lob height.
|
|
- It also drops creep (1000.61) under itself while hidden. Not expressed.
|
|
|
|
## big_corn (NpcAI::ENTITY_DIP 00534860, 217.3)
|
|
- Idle: friction *.8 -> retention .92 -> .8. rand%10 == 0 -> Move: velocity += random unit * (5 + 5 * rand), then
|
|
that tick's .8. While moving, friction .95 until speed < 1, then idle.
|
|
- Changed the attack: period 1, one_in 10, impulse 4.21 + lunge_spread 4.21 (4..8 after the first .8, divided by the
|
|
.95 the engine applies), lunge_random, retention .95, end_below 1. Removed lunge .5.
|
|
- Death: FireProjectiles at Isaac + his velocity * .1 * dist, speed 10, variant 5 -> death shot speed 8 -> 10. lead 5
|
|
is kept. Feature `death_effects[]/lead_per_distance` for the .1 * distance lead.
|
|
|
|
## twitchy (NpcAI::ENTITY_TWITCHY 004db6a0, 851.0)
|
|
- Walk FindGridPath(0.6) -> path .6 / retention 1 (was chase .35/.8).
|
|
- Roll: cooldown < 1 and rand%30 == 0; then dist < 260 or rand%10 == 0 -> Jump with i1 = rand%3 + 1 jumps.
|
|
Expressed as two rolled attacks: range 260 / one_in 30 and one_in 300.
|
|
- Jump: between Jump (frame 7) and v >= 1, v += .03 a tick and position += (target - pos) * v. Friction is .6
|
|
otherwise. On Land it decrements i1 and re-jumps at a new target. The end leaves cooldown 5.
|
|
-> close_in {after 6, step .03}, retention .6, cooldown 5. 1-3 jumps come from a chain: next [-1, 2, 2] then
|
|
[-1, 3]. Each stops on Land, which gives 1/3 each. Replaced the lunge 1.6 / repeat model.
|
|
- Not expressed:
|
|
- When the chain ends on an intermediate jump (picked -1), the clip is cut at Land instead of playing to its end.
|
|
Feature: `stop_unless_next: true` (stop applies only when a next attack follows).
|
|
- Dodge: in walk with i2 <= 0, a tear, laser or bomb within 40 px (predicted 4 ticks) triggers a single jump to a
|
|
free spot 60-160 px perpendicular to it, +-20 deg, then i2 = 2. Feature `attacks[]/dodge {radius, lead, near, far}`.
|
|
- FUN_004db3c0's target was not decoded (it likely leads Isaac). Lead 0 is assumed.
|
|
- HeadTwitch / HeadTwitch2 overlay plays at random 1 in 70.
|
|
|
|
## floast (NpcAI host 005111b0, labelled Entity::TeleportToRandomPosition; 859.0 = type 0x35b)
|
|
- Movement: friction *.9, push +-.55 on each axis (bounce). Engine speed .45 kept: .55 * .9 = .495 if the engine
|
|
brakes first. Left for the lead: boom_fly uses the same .45.
|
|
- Shot every IsFrame(7) when its counter < 1: dist < 240 (57600) and a clear line -> range 160 -> 240. The counter is
|
|
set to 7 and decremented once per 7-tick check -> cooldown 49 added.
|
|
- Shoot: FireProjectiles mode 2 at 7 with VelocityMulti 1.2 for Floast (1.07 is the other hosts') -> speed 7.49 ->
|
|
8.4.
|
|
|
|
## drowned_charger (NpcAI::ENTITY_MAGGOT 0052db50, 23.1; corridor_walker kept)
|
|
- Walk speed for 23.1 is .54 (MoveRandomlyAxisAligned(local_244)), friction .85, vertical also *.9647 -> acceleration
|
|
.6 -> .54, retention [.85, .7] -> [.85, .82].
|
|
- Charge vector 1.3 * dir, then * .9 for variant 1 -> charge acceleration 1.3 -> 1.17.
|
|
- Death: FireProjectiles mode 7 (diagonal four) at speed 8, or 10 when FUN_006d8240() >= 1 (likely hard mode).
|
|
death_volley circular_count 4 is kept; check that it starts diagonal.
|
|
- Not done: converting it to scripted roam like dank_charger (pass 2) would be more faithful (it is a Repentance
|
|
roamer, not a corridor walker).
|
|
|
|
## Skipped
|
|
None fully skipped. constant_stone_shooter_202_0_3 and drowned_charger got only number fixes.
|