Screeps3D icon indicating copy to clipboard operation
Screeps3D copied to clipboard

Support tombstones

Open Robalian opened this issue 5 years ago • 12 comments

  • [x] Basic Model
    • [ ] render badge texture properly
  • [x] Apply Badge texture
  • [x] Allow Selection
  • [x] Render Selection View
    • [x] Creep Name
    • [ ] DeathTick
    • [ ] AgeTime (TTL/decay?)
    • [ ] Creep body
    • [x] Store
    • [x] Decay
  • [ ] Randomize Rotations

Future:

  • A "Graveyard" if there are multiple creeps dead on the same spot?

Robalian avatar Jun 18 '19 11:06 Robalian

Question is, should we render a "dead" creep instead of a tombstone? either way, currently there is no model for tombstones as far as I can see, it would be an "easy" model to make I guess, a tombstone, compared to somehow visualize the creep as dead, with crossed "eyes" or something, maybe we should just make a tombstone model :)

image

thmsndk avatar Jun 18 '19 16:06 thmsndk

image

thmsndk avatar Jun 18 '19 23:06 thmsndk

image

thmsndk avatar Jun 18 '19 23:06 thmsndk

image

thmsndk avatar Jun 18 '19 23:06 thmsndk

image

thmsndk avatar Jun 19 '19 11:06 thmsndk

@Robalian could we perhaps visualize the amount of energy/ resources on the actual tombstone ? like a little container next to it or something like that? i'm not sure if we know how "much" energy it could contain, so it would be hard to visualize how "empty" it is I guess?

thmsndk avatar Jun 22 '19 15:06 thmsndk

I was just making an experiment on dropped resources in simulation room. The results are: resource "stain" scales linearly from little dot to it's maximum size. The maximum size is approximately 60% of tile size for energy and 92% for minerals. The maximum size is reached at 1000 units of energy/1500 units of mineral and it caps there.

We could use these numbers not only for dropped resources, but for tombstones as well. Or we could treat it just like official client treats inactive storages/terminals, so if capacity is 0 it's rendered as full.

Edit: Said approximation was done using MS paint and snipping tool :D

Robalian avatar Jun 22 '19 16:06 Robalian

I kinda want it visually appealing, so you can see how much is there without having to select it, using the numbers you've found in case we do not have a total capacity might be a good idea :)

thmsndk avatar Jun 22 '19 18:06 thmsndk

What about making the tombstone of glass instead, with the players badge "engraved" on each side, and the tombstone being filled with energy based on how much is in it? 🤔 we would have to determine when the tombstone is "full" and "overflowing" I guess 🤔

Or have small "glass vases / containers" around it to visualize amount of energy. a container per 1k energy? or something that makes sense 🤷‍♀

thmsndk avatar Oct 23 '19 17:10 thmsndk

I like vases/containers idea

Robalian avatar Oct 23 '19 17:10 Robalian

i think i have idea how to make a "chest/vase/some object" next to tombstone, that would show amount of energy / other stuff. idea with multiple vases/containers have the issue with tombstones with huge amounts stored in them

Gadjung avatar Jul 27 '20 11:07 Gadjung

@Gadjung could we shatter pieces of the tombstone or make it look more and more worn based on the decaytime? I was also considering having the "corpse" of a shattered creep scattered around the tombstone with the correct "work parts" on the different elements of the shattered pieces :)

not sure if it would be too much, but we do have the body of the dead creep in a tombstone.

we could limit it to N amounts of tombstones, and scale the vases depending on content perhaps? e.g. if there is a ton of energy, each vase can contain energy / Y*N

Curious what your idea is :)

thmsndk avatar Jul 27 '20 12:07 thmsndk