notes: shared enemies 1 (gaper, spider, attack fly) and the index for the shared_* notes
This commit is contained in:
1 parent
33261c9284
commit
640afe889e
2 files changed
+137
No files matched your search
@@ -0,0 +1,36 @@
|
||||
# Shared enemies 1 (Phase C, 2026-10-26)
|
||||
|
||||
isaac-classic branch rif/shared-enemies. Monsters Flash and Repentance+ share keep Flash's AI under the Enemies option
|
||||
Eternal Edition; under Enemies = Repentance+ a gated override in resources/data/repentance_plus/entities.json gives them
|
||||
the routine below. Flash's art and animation names are kept (both art styles play them).
|
||||
|
||||
## gaper / frowning_gaper: NpcAI::ENTITY_GAPER 00508f40 (10.1 / 10.0). Changed
|
||||
- Rep's names are the other way round from Flash's look: 10.0 Frowning Gaper starts calm, 10.1 Gaper.
|
||||
- Walk: FindGridPath(CalcTargetPosition, aiFloat, 900, 1), friction untouched: aiFloat .498 for variant 1 (also type
|
||||
0x11c Cyclopia), .5478 variant 2 (Flaming Gaper), else .6, raised to .72 once the Head overlay's frame is past 0.
|
||||
Variant 0 plays the Head overlay (its anger) the first tick FindGridPath reports a direct path, and never stops
|
||||
being angry. Feared / confused (flags 0x1000800): EvadeTarget, friction *.8.
|
||||
- Groan: hostile with a direct path, rand % 3 == 0: PlaySound(0xa5, 1, delay 40): Flash's pathfind groan exactly
|
||||
(1 in 3, cooldown 40).
|
||||
- Death (health above -25, rand & 1 == 0): Morph 11.0, or 11.1 (Pacer) on rand % 3 == 0 for variants other than 2,
|
||||
health refilled, ProjectileCooldown 20 + rand % 20.
|
||||
- Override: ground_chaser `path` (no calm .83 / angry 1.1 / howl 1.2 scales: FindGridPath's push is its argument),
|
||||
acceleration .498 (Flash variant 1 = Rep 10.1), alternate_acceleration .6 (Flash variant 2 = Rep 10.0), new field
|
||||
`anger {variants [2], acceleration .72}` (calm until it first sees Isaac, then aggressive at .72);
|
||||
transformation alternate pacer 1 in 3. Left: the gusher's 20 + rand%20 first-shot cooldown (gusher's own record),
|
||||
fear's EvadeTarget.
|
||||
|
||||
## spider: NpcAI::ENTITY_SPIDER 00529da0 (85.0). Changed
|
||||
- Same branch as Level 2 Spider (pass3_a.md) without the Jump (types 0xd7 / 0xfa / 0x365 only): idle 13 ticks, target
|
||||
Isaac + his velocity * 10 when nearer than 100 + 100 rand with CheckLine, else a wander 70 + 40 rand (clamped, a
|
||||
blocked line retried 1 in 20); push 6 / f then friction *.6; drop the target within 14 or below speed 3 past the
|
||||
wander wait 15. State 6 (thrown, e.g. a Big Spider's death pair): velocity V1, fall + .7, lands at height > -fall.
|
||||
- Health 6.5 always (entities2.xml baseHP 6.5, no stage HP): Flash's late-spawn .65 cut does not apply.
|
||||
- Override: prediction_duration 5 -> 10, short_wander_scale .2 -> 1 (no shortened wander), late_spawn_health .65 -> 1.
|
||||
|
||||
## attack_fly: NpcAI::ENTITY_FLY 00506bd0 (18.0). Changed
|
||||
- Every 2nd tick (GetIntervalTicks(2)) toward its target: stop distance 25 (types 0x12/0x50/0xd6/0xf9/0x333),
|
||||
push min((d - 25) * .08, 1.2) / f along (dx, dy * .5); V1 drift redrawn on frame % 4 == 1 as (RandomVector * .6 +
|
||||
V1) * .4 (V1 not decayed by .7 for type 0x12); the third-tick brake as level_2_fly (pass9_spawnfric.md). Skatole
|
||||
morphs it into a Fly.
|
||||
- Override: drift_retention .8 -> .4 (the rest of flying_chaser already matches, as for level_2_fly).
|
||||
Reference in new issue
Block a user