OpenXcom Forum

Modding => Help => Topic started by: robin on March 16, 2025, 10:38:47 pm

Title: Not all enemy units spawn
Post by: robin on March 16, 2025, 10:38:47 pm
I understood that OXC spawned enemy units regardless of the available spawn nodes in the map. The units that didn't find a free spawn node, would be spawned in free tiles next to the occupied spawn nodes. Perhaps I'm misremembering, but I'm quite sure civilians work in that way, because they often are clustered together in some maps.

But anyway, I find that not all enemy units are spawned. I purposefully limited the spawn nodes to exploit the aforementioned behavior and try to spawn enemies in little groups.  Therefore the lack of spawn nodes might be the cause of the issue, if the spawn mechanic works in a different way than the one described.

Is it just a matter of adding more spawn nodes or could there be something else?

Attached savegame. Let the craft land in the Temple. The battlescape is missing all the higher ranking units (even though the map has dedicated spawn nodes for them).

Mod: [REMOVED]

Thanks
Title: Re: Not all enemy units spawn
Post by: Meridian on March 16, 2025, 10:47:58 pm
I understood that OXC spawned enemy units regardless of the available spawn nodes in the map.

no

The units that didn't find a free spawn node, would be spawned in free tiles next to the occupied spawn nodes.

In OXC only if Demigod option is turned on.

In OXCE, either the Demigod option, or the new forceSpawn option: https://openxcom.org/forum/index.php?topic=12504.msg170247#msg170247
Title: Re: Not all enemy units spawn
Post by: robin on March 16, 2025, 11:11:31 pm
Many thanks for the very swift reply!
I'll increase a bit the spawn nodes and activate forceSpawn.