Jan Satcitananda, on 25 October 2025 - 08:38 AM, said:
The answer is the vanilla GAME.CON. The thing is that all actors are immune to the shrinker by default. The entire shrinking process is managed directly via CON. Enemies that are
not immune to shrinker have a
ifwasweapon SHRINKSPARK
clause in their hit check code (see
state checkoctahitstate
for an example), and a special action (ai) for the shrunk state that tells them to shrink (by calling
state genericshrunkcode
) and then grow back when SHRUNKCOUNT is reached, and return to their normal action once SHRUNKDONECOUNT is reached.
If your enemy code does not contain all of that, the shrinker will be treated as a regular weapon (dealing zero damage).
Sadly, that didn't work, shrinker projectile still does nothing to the enemy. It doesn't even bleed or make any sounds.
Interestingly, when I increased SHRINKER_WEAPON_STRENGTH from it's original value 10 to 1000, projectile started doing serious knockback, but still no damage and no effect.
Reaper_Man, on 25 October 2025 - 09:48 AM, said:
Also - What are the tile IDs of the enemies? Are they setup as useractors, or are they overriding existing actors (as was very common at the time)? Assuming Jan's answer doesn't solve the issue for you, you potentially could be running into some hardcoded behaviors.
One of the enemys ID is 341, which is a hardcoded thing, so it could potentially be the source of the problem.
However, there are also two other enemies that are immune to shrinker in the TC, and their IDs are 2620 and 2080, so, maybe not.