AllYourBlocks / ChunkWars

Chunk Wars is a team-based attack-defend minigame for Minecraft. You play in an arena of different Chunks, all carefully handcrafted to replicate different Minecraft biomes and structures as closely as possible. Along with your team you will face everything that vanilla Minecraft can throw at you. Your goal is to be the last team standing.
https://www.planetminecraft.com/project/chunk-wars-1487425
GNU General Public License v3.0
1 stars 0 forks source link

Consider adding a ‘Bed Status’ Option #25

Open AllYourBlocks opened 3 years ago

AllYourBlocks commented 3 years ago

This deviates from the as-vanilla-as-possible concept, but could feel like vanilla as it would read out in game chat.

It could create some interesting situations in game where e.g. Yellow Bed is broken stealthily by Blue, but with Yellow Players on the Chunk in close proximity to respond.

Would need to be per-bed, so it triggers only when a Yellow Player breaks Blue's Bed, or when a Blue Player breaks Yellow's Bed (and so on for 4-team, where it only triggers if Yellow, Red, or Green, break Blue's Bed, or if Yellow, Red, or Blue, break Green's bed, etc)

AllYourBlocks commented 2 years ago

Could also play a sound

AllYourBlocks commented 2 years ago

Idea accepted and should be added as a toggle-able option in game.

Have added to the Options Panel already.

slipcor commented 2 years ago

We need to look into how to properly do this. I hope there is a "prerequisite" (I forgot the datapack-advancement-requirement name) for "custom score set", so that we can actually check whether the option is activated.

If it is, it will be pretty easy to implement :) breaking beds. duh. Well technically it shouuld ignore players breaking their own bed? Or... not? :D It has to be color specific maybe :( what are your thoughts? @AllYourBlocks

AllYourBlocks commented 2 years ago

It should ignore teams' breaking their own beds. (maybe not, following discussion on this)

We need to think about and discuss whether it triggers only on the first bed break, or on every bed break (and which of these is possible to show as an achievement/advancement(?!) assuming that is the chosen display method) and whether there are any technical limitations.

slipcor commented 2 years ago

If I can restrict the color by checking the player's team score, we can also restrict it by other arbitrary scores we can change at any time. I think a good solution would be resetting the "other team player's advancement" in every tick that the bed of one team exists, because in a 4 team situation, there has to be a way to give this advancement for all three other colors basically at the same time if one team has all their people out to kill beds. Should be rare as all hell but can happen :)

It would not be the end of the world to only have one notification per team breaking though, because one bed break announcement serves as an alert to basically everyone to assume they are broken? But then again, I can go around the base and should not expect to kill more than one bed (or the same bed AGAIN) silently......

Also another thing to consider, for that same indentifying reason is, should the advancement be given to the breaker or one of the remaining team members of the team which bed has been broken? There would be the visual indicator there then which bed has been broken.

Also we could manually give the team whose bed has been broken a title/subtitle indicator message :D

Edit after thinking about this a bit more:

We can only reset it for the player who broke it when it is replaced, otherwise it will keep triggering :( I will have to think of a system that makes logical sense and remembers the player who broke which bed. If one player breaks several beds, we cannot undo the advancement and give it again because it will trigger right away when the bed remains broken :(

Another edit: There have to be 4 different versions of the same advancement, one for each color. and only one of each color can be given at a time because the bed can only be broken (last) by one player :D

AllYourBlocks commented 1 year ago

Adding this would also take away from the surprise element of not having your own bed, and discovering this during the game. Great for observers, less good for players?!

AllYourBlocks commented 1 year ago

Have discussed intended behaviour for the renamed 'Bed Status' option. Have added to Options Panel.

Possible chat output to read;

[Player] has broken [Colour] Team's Bed [Player] has replaced [Colour] Team's Bed

or

[Colour] Team's Bed has been broken by [Player] [Colour] Team's Bed has been replaced by [Player]

AllYourBlocks commented 1 year ago

References #71

AllYourBlocks commented 1 year ago

Tested and works in 2-team mode, needs to be tested in 4-team.