Monster fidelity pass 7: Stone Eye laser, Planetoid orbit/Blow, BACKSPLIT, Gusher, Flagellant, Bombgagger, Brownie spin, Exorcist notes; projectile fields
This commit is contained in:
1 parent
60942dc32c
commit
54b99630fc
3 files changed
+82
No files matched your search
@@ -3,3 +3,8 @@
|
||||
Entity_NPC 0xf20 Vector _controllerMovement movement written by Entity_NPC::UpdateControllerMovement (006d9050); 21 AIs reset it each frame
|
||||
Entity_NPC 0xf28 void* _aimTargetEffect effect 1000.30 an NPC under player control aims at (Entity_NPC::GetAimTargetPosition 006d8d30)
|
||||
Entity_NPC 0xdec ANM2 _chargeBarSprite gfx/chargebar.anm2 loaded by Entity_NPC::UpdateChargeBar (006d8e40)
|
||||
Entity_Projectile 0x410 float _height Planetoid Blow resets it to -23; BACKSPLIT children copy it (Entity_Projectile::Update 00654686)
|
||||
Entity_Projectile 0x414 float _fallingSpeed Planetoid shot/Blow set 0 (ENTITY_SWARMER 00518e20)
|
||||
Entity_Projectile 0x418 float _fallingAccel setter 00444c90; Planetoid -.095/-.085, BACKSPLIT children -.04
|
||||
Entity_Projectile 0x42c float _acceleration setter 004aad70; ACCELERATE multiplies velocity by it a tick (00659a62)
|
||||
Entity_Projectile 0x430 float _orbitDistance orbit target distance R in the ORBIT_CW/CCW steering (Planetoid 80, Blow 0)
|
||||
|
@@ -728,3 +728,4 @@
|
||||
004cf350 std::set::clear tree erase+reset
|
||||
004aab30 std::vector::assign_0x38 0x38-elem vector assign; Delirium/Kill
|
||||
00414870 std::string::append_n append n chars (memset)
|
||||
0x00684cb0 Math::timescale_factor a / (a + t - a * t), a when t == 1: ACCELERATE's per-tick factor with the timescale (Entity_Projectile::Update 00659a72); was nullsub_684cb0
|
||||
|
Can't render this file because it contains an unexpected character in line 18 and column 80.
|
@@ -84,3 +84,79 @@ unless marked otherwise.
|
||||
|
||||
## Not done
|
||||
- shady: the side-shedding flag lives in Entity_Projectile::Update (00653070), which decompiles without call arguments.
|
||||
|
||||
# Monster fidelity pass 7 (2026-10-24, isaac-classic branch rif/monster-fidelity-7)
|
||||
|
||||
## stone_eye 00505d00 (asm 00506030..005062b2)
|
||||
- V1.X += 2 deg a tick (wrapped to 360). Rotate frame = int(36 * (a + 15) / 360) (SetFrameFloat; 0x00baa854 15, 0x00baab30 360).
|
||||
- Laser re-aimed every tick: AngleDegrees = atan2(sin a, .5 cos a) * 57.3 + 90 (x87 _CIatan2(ST1 = sin, ST0 = .5 cos)).
|
||||
- Spawn (no laser, rand % 3 == 0): ShootAngle(variant 2, pos + (cos t * 20, sin t * 14), angle, timeout 2,
|
||||
PositionOffset (0, -20), npc) with t = (30 * ((frame + 1) / 3) + 180) deg - 90 deg; laser+0x518 (DisableInitSound) = 1.
|
||||
ShootAngle (0096f310) sets ParentOffset (0x410) = spawn pos - parent pos, so the ring point is fixed per laser.
|
||||
- Not read: what timeout 2 does in Entity_Laser::Update (the decrement is not in Update itself).
|
||||
|
||||
## hush_fly 004bf310: init health += 400 + rand % 200; every tick while hp > max: hp = max(max, hp - 4).
|
||||
|
||||
## planetoid (ENTITY_SWARMER 00518e20, type 0xe5)
|
||||
- local_184 = (1 - hp/max) * .1, + .1 on rand % 10 == 0 while the tracked-shot list (0xc00) holds < 3.
|
||||
- Attack when V1.X < local_184 * 100 and ProjectileCooldown == 0. Blow if held >= 3 and (rand % 3 == 0 or held >= 6
|
||||
or local_184 > .05), else Shoot.
|
||||
- Shoot: (rand & 1) + 1 shots from a random angle, speed 8, params flags 0x3000 (CCW | NO_WALL_COLLIDE) or 0x2800 (CW)
|
||||
by InitSeed & 1, flags high dword 0x1000000 (follow parent); per shot: +0x430 = 80 (orbit target distance),
|
||||
+0x414 FallingSpeed 0, +0x418 FallingAccel -.095, spawner = npc; pushed on the npc's tracked list.
|
||||
- Blow: V2.X = 60; Game::ButterBeanFart(pos, 120, npc, 1, 0); each live tracked projectile: +0x430 = 0,
|
||||
+0x410 Height -23, +0x414 0, +0x418 -.085, velocity resized to exactly 10 (local_14c is 0 there), flags &= ~0x1000000.
|
||||
- Entity_Projectile::Update orbit (flags & 0x1800): d = pos - centre (parent pos when the follow bit and a parent are
|
||||
set, else its own centre), t = perp(d) (negated for CCW), k = R <= 0 ? .5 : clamp(1 - |d| / R, -1, 1) * .5,
|
||||
v = normalize(t + d * k) * |v|; with a parent the parent's velocity is added (args missing in the decompile).
|
||||
- ButterBeanFart (00704360): pushes Isaac and vulnerable enemies (not projectiles unless the source is Isaac or a
|
||||
familiar): f = 2 * min(7, radius + size - d), times .5 / .2 / .015 by mass bands; v = dir * f + v * .5.
|
||||
|
||||
## grilled_clotty (ENTITY_CLOTTY 0050d370): walking resets V1.X = 30 (45 type 282, 15 for 15.3) each tick;
|
||||
MoveRandomly's arrival attacks (state 8) unless 15.3 with I2 > 2 (then I2 = 0, no attack); I2++ per attack. State 8:
|
||||
V1.X -= speed mult a tick; leaves when the anim is done or (rand % 30 != 0 and V1.X <= 0).
|
||||
|
||||
## level_2_gusher (ENTITY_GAPER_L2 004e2b40, variant 2), asm 004e30f0..
|
||||
- V1.X += (rand - .5) * 2; V1.X = approach_angle(V1.X, atan2(vel) deg, .1) (XMM0 cur, XMM1 target, XMM2 step);
|
||||
vel += (cos, sin)(V1.X) * 1.2 * speed mult; on grid collision the heading is reflected off the collision normal
|
||||
(+0x19c/+0x1a0) and V1.X = its atan2. ProjectileCooldown 15 then a roll: one roll every 16 ticks.
|
||||
|
||||
## leper_flesh 00548720: vel += (2 * (cos a, sin a) + unit to target) * .15 * speed mult, a = rand * 6.28.
|
||||
|
||||
## flagellant (ENTITY_WHIPPER 004e5170, 834.2)
|
||||
- Walk: MoveRandomlyAxisAligned(1.25) (not FindGridPath). I1 = way of its velocity (0 left, 1 up, 2 right, 3 down).
|
||||
- Charge start: dot(axis unit of its way, unit to Isaac) > .9 and Room::CheckLine -> V1 = axis, cooldown 0, laugh.
|
||||
- Charging: counter (ProjectileCooldown) ++ while speed < .5 else 0; 834.2: FindGridPath(target, 1.9) then
|
||||
velocity = ToCardinal(velocity) * |velocity|; 834.0/1: velocity += axis * 1.75 / friction. Ends when the counter
|
||||
passes 60 (20 others), on grid collision or fear/confusion (flags 0x1000a00). Mass (0x37c) 80 while charging.
|
||||
- 834.2 never enters state 8 (the Attack* swing is the others'); its whip is WalkAttack* + Sound 0x1ee.
|
||||
|
||||
## shady BACKSPLIT (Entity_Projectile::Update 00653070, asm 00654569.., 00657df8..)
|
||||
- Shady's shot: Scale 2, FallingAccelModifier -.08, BulletFlags high dword 0x800000 (bit 55, BACKSPLIT), colour set.
|
||||
- Every GetIntervalTicks(8) (006ac760): two shots (type 9.0) at velocity rotated 90 deg * .15 * (-1, +1), spawner
|
||||
copied (+0x34/+0x38), colour copied, Height copied (+0x410), AddProjectileFlags(0x8000000 = ACCELERATE),
|
||||
FallingAccel (+0x418) -.04, Acceleration (+0x42c) 1.12.
|
||||
- ACCELERATE (flags & 0x8000000 at +0x438): velocity *= 00684cb0(Acceleration, timescale) (a / (a + t - a t), = a at
|
||||
t = 1); capped only for spawner types 0x197 and 0x378.
|
||||
- Where it ends: sound 30, effect 1000.2, then 5 shots at -normalize(velocity) rotated i * 24 deg (i = -2..2) * 10.
|
||||
|
||||
## reap_creep (asm 0057bc8c..)
|
||||
- The idle/beam push: if accel > 0 and phase (I1 byte 1) != 1 and |Isaac.y - pos.y| < 32 (0x00baa8e0), accel = 1.0.
|
||||
|
||||
## bombgagger (ENTITY_BOMBGAGGER 00503300)
|
||||
- State 4: its bomb (+0x3c0) alive -> PathFinder::EvadeTarget(bomb pos, 1), no attack; else MoveRandomly. Friction .8.
|
||||
- Attack: cooldown < 1 and rand % 5 == 0: dist >= 300 or feared -> cooldown 3; no CheckLine(mode 2) -> 7; else 75,
|
||||
AttackStart (friction .7), then Attack<Dir> by vector_to_direction; Shoot: giga bomb 4.17 at pos + axis * 10 with
|
||||
velocity axis * 10, six smoke effects 1000.99. Dead with its "Bomb" null visible: drops a giga bomb.
|
||||
|
||||
## brownie spin shots (asm 0048d480..)
|
||||
- Angle a = (i2 / 12) * -360 deg; velocity = 10 * (-sin a, cos a); launch at pos + (sin(2 pi i2 / 12) * size, 0)
|
||||
(so along x the shot's own heading times size); HeightModifier -35, FallingSpeedModifier 4, Scale 1.1, variant 5,
|
||||
boss colour applied. The 10% pick: iVar9 = (int)(80 - 50 * clamp(s)); halved as int (iVar9 / 2) after a spin pick.
|
||||
- Laugh 420 at: SpinStart picks (idle threshold and exit picks), Spinning start (idle IsFrame pick), Dashing start.
|
||||
|
||||
## Not Repentance AI
|
||||
- strifer (839): its dispatcher case is the default block (no AI); the port stays an Antibirth-style guess.
|
||||
- exorcist (832.0): seeks corpses within 80 (room list at +0x1218, every interval 1 in 3), FindGridPath(.85) to one and
|
||||
revives it as Lil Haunts 260.10 (state 9); otherwise keeps 80 from its own Lil Haunt or EvadeTarget(Isaac); every
|
||||
60..119 ticks (I1) 1 in 10 Revive (state 8) raises one Lil Haunt beside it. Not ported (no corpse list in the engine).
|
||||
Reference in new issue
Block a user