Jump to content

Proposal: Natural erosion of buildings and ships


abian
 Share

Recommended Posts

I propose that buildings and ships can very slowly deteriorate naturally due to lack of attention at a rate of 1 HP every s seconds, but only after about w seconds after being built or repaired. For example, s=4 and w=120. This erosion should not be relevant in short games.

Spoiler

Implementation tip: There would be no need to introduce any new attributes in the entities' data structures or apply any other modifications to them if a probabilistic strategy is adopted whereby, if the building/ship has all its HPs, the building/ship is only eroded at each given time or iteration with a low probability that decreases linearly with w. Once the building/ship no longer has all its HPs, erosion is forced with probability 1 at a rate of 1 HP every s seconds (or, again, erosion happens with a certain higher probability that decreases linearly with s). This will hopefully be an inexpensive implementation.

 

Link to comment
Share on other sites

18 minutes ago, abian said:

I propose that buildings and ships can very slowly deteriorate naturally due to lack of attention at a rate of 1 HP every s seconds, but only after about w seconds after being built or repaired. For example, s=4 and w=120. This erosion should not be relevant in short games.

  Hide contents

Implementation tip: There would be no need to introduce any new attributes in the entities' data structures or apply any other modifications to them if a probabilistic strategy is adopted whereby, if the building/ship has all its HPs, the building/ship is only eroded at each given time or iteration with a low probability that decreases linearly with w. Once the building/ship no longer has all its HPs, erosion is forced with probability 1 at a rate of 1 HP every s seconds (or, again, erosion happens with a certain higher probability that decreases linearly with s). This will hopefully be an inexpensive implementation.

 

It's already possible to introduce a negative health trickle, however the initial grace period concept is not something that is implemented. It would be interesting for ships, etc. to have realistic things like this if we were opting for a handful of ships, but more recent changes to Naval Combat have tried to push things toward larger numbers of ships with more dynamic combat, making upkeep probably a pain in the patookis. 

Link to comment
Share on other sites

16 minutes ago, wowgetoffyourcellphone said:

It's already possible to introduce a negative health trickle, however the initial grace period concept is not something that is implemented. It would be interesting for ships, etc. to have realistic things like this if we were opting for a handful of ships, but more recent changes to Naval Combat have tried to push things toward larger numbers of ships with more dynamic combat, making upkeep probably a pain in the patookis. 

Good to know! The grace period should be easy to implement if probabilistic (there's no need to keep track and wait exactly w seconds for every entity, it may be sufficient that the average wait is w seconds), which would also be a more realistic effect. I also agree that, with the changes you mention, and even though this erosion would be really slow, repairing many ships would be a pain. What about buildings?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...