CommanderSpice / Phoenix-Annihilation

Real-time strategy game using the spring engine, balanced by the community
https://springrts.com/phpbb/viewforum.php?f=93
0 stars 1 forks source link

Make reclaiming nanoframes return resources over time (#19) #7

Open CommanderSpice opened 7 years ago

silentwings commented 7 years ago

This one is fairly difficult. The trouble is that the natural way to do it uses the gadget:AllowUnitBuildStep callin, but this callin is called so frequently that simply its presence is a 3-4% perf hit in big games.

So, probably the way to do it is in the same style as the passive nanos gadget, but this isn't easy coding.