Page 1 of 1

Infinite research and entity health

Posted: Mon Aug 17, 2020 4:57 am
by vedrit
Hi all, in my mod - Alien Walls - players can complete research to increase the health of the mods walls. As it is, I only have a few levels of research and a script that auto-generates entities for the related research levels. But I've gotten a few requests to implement infinite research, and I have no issue against it, except that I don't know how I could practically implement it. I can't have an infinite number of entities, obviously.
I've thought about separating the base wall health and the regenerative part, similar to how the Turret Shield does things, but I don't really understand how that mod does it.
So, once again I am asking for your support :P

Re: Infinite research and entity health

Posted: Mon Aug 17, 2020 11:34 am
by DaveMcW
Pick a reasonable number of upgrades, say 30. Then use exponential cost scaling so it is almost impossible to reach the last upgrade.

The exact details for what happens when someone does reach 30 are up to you. You can either use 30 non-infinite techs, or have an infinite tech that does nothing.

Re: Infinite research and entity health

Posted: Tue Aug 18, 2020 10:26 am
by vedrit
I could, but... that seems to me to be a bit of a cop-out.