space-wizards / space-station-14

A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
https://spacestation14.io
MIT License
2.57k stars 3.18k forks source link

need map entity prototypes #30999

Open deltanedas opened 1 month ago

deltanedas commented 1 month ago

Description

instead of the map entity being proto: "" and copy paste the same special components onto every map yml or you break the map subtly or not subtly, there should be a BaseMap entity prototype with Gravity Broadphrase etc then have something like

- proto: BaseMap
  entities:
  - uid: 1
    components:
    - type: MetaData
      name: Saltern

make maps a tiny bit smaller and a lot more bug resistant, and lets you update the map entity without having to edit every map file

IgorAnt028 commented 1 month ago

How to add a new prototype to YML?

lzk228 commented 1 month ago

How to add a new prototype to YML?

ask for help in discord or read docs, this issue's comments is not a good place to discuss such things

IProduceWidgets commented 2 weeks ago

I was going to say we probably need like a map save ui doohicky or something first, but actually saving a map that's ready for live play already has like 2-3 steps of VV / .yml monkeywrenching.