result_units from spawner prototype, or evolution spawn func

sparr
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

result_units from spawner prototype, or evolution spawn func

Post by sparr »

I want to emulate the evolution-based spawning pattern of a biter-spawner. The easiest solution for me would be if the API exposed a function for the spawner prototype that did the selection for me, in the same fashion that real spawns use. Alternatively, just exposing result_units and making me do the math myself would still be useful.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: result_units from spawner prototype, or evolution spawn func

Post by bobingabout »

What are you trying to do that would need this?
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
sparr
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: result_units from spawner prototype, or evolution spawn func

Post by sparr »

"hatch" dropped artifacts [back] into biters

viewtopic.php?f=93&t=26524

My "dumb" solution is to just limit it to low-hp enemies, but that's no good late-game. What I want to do is pick something from the current evolution spawn table. (I already wrote code to balance out the various types of enemies linked to a particular color artifact, but threw it out when I couldn't find the evolution info)
sparr
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: result_units from spawner prototype, or evolution spawn func

Post by sparr »

This is a duplicate of viewtopic.php?f=28&t=16008

Also, this has supposedly been implemented for an upcoming release.
Post Reply

Return to “Implemented mod requests”