Skip to content

Tech-K fixes for projectiles and storage#5680

Open
seedship wants to merge 2 commits intoZeroK-RTS:masterfrom
seedship:master
Open

Tech-K fixes for projectiles and storage#5680
seedship wants to merge 2 commits intoZeroK-RTS:masterfrom
seedship:master

Conversation

@seedship
Copy link

@seedship seedship commented Mar 21, 2026

Removing infinitely doubling projectiles and instead changing damage values so game doesn't insta crash at higher tech levels. Storage scales the same as energy production now, tested and verified it works

…values so game doesn't insta crash at higher tech levels. Also trying to add storage
@seedship
Copy link
Author

Fixes #5431

@GoogleFrog
Copy link
Contributor

The storage fix should be a new feature for unit_attributes. Also it should be backwards compatible so as to not crash when the callout is missing.

Extra projectiles have a bit of spread to make the projectile look bigger and shed more light. Crashing when a Glaive shoots a million projectiles is.... not exactly unintended. But if you want a playable game rather than a Statement, I'd be happy to compromise on making damage scale up after some number of projectile doublings.

@seedship
Copy link
Author

seedship commented Mar 21, 2026

Hmm, I'll add a check to make sure the callout exists, although I added it more than a year ago, so I'm wondering where the breakdown of engine functions we can assume exist and engine functions we don't know exist lies? What is the philosophy? Will update unit attributes.

I'm wondering if it makes sense to increase projectiles.

  • Units with lasers it is functionally the same as giving it more damage, but makes the game double render, thus using more resources?
  • How would it affect unit balance? Quaint's rule is not to make all units feel the same, so if a fragile skirmishers can shoot like 8 projectiles, doesn't that start to make them riot units?
  • What about snipers? Their role is to shoot a single high damage projectile. If it becomes a shotgun, could it miss smaller medium tanky targets? And furthermore it will also become kinda a riot unit

In terms of making the projectiles look more powerful, if there is not already, perhaps we could add an engine callback to set individual projectile brightness? I think the approach of making the projectiles shine brighter or be physically bigger makes more sense than simply adding more and spreading them out, not to mention saves performance

@seedship seedship changed the title Tech-K fixes for projectiles and storage... need help with stoage Tech-K fixes for projectiles and storage Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants