Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

World placed objects overhaul #1665

Open
Z1Meme opened this issue Nov 2, 2023 · 1 comment
Open

World placed objects overhaul #1665

Z1Meme opened this issue Nov 2, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request P2 priority 2

Comments

@Z1Meme
Copy link
Collaborator

Z1Meme commented Nov 2, 2023

  • All freeplace entities in the world should be easily destructable to prevent griefing (not too many melee or projectile hits)

  • Freeplace entities in the world should have heavier decay

  • Freeplace entities should have a "protectionParent" assigned if they are not directly parented to another base part, meaning that they'll disappear if that parent respawns, and they are protected from extra damage / decay unless a player has demo perms on the parent.

  • foundations / tampers / expansions need to check for lootableConstruction under placement area on placement

  • Hidden player / container security in shelters should apply to all entities in a shelter (would also block explosions outside from killing players inside) Freeplace entities inside shelters/shacks don't despawn for outside players #2000

  • All placable entities and characters should have a "securedShelter" variable that is the characterId of the shelter containing them, in order to check if they should / should not spawn for other players. Change "isHidden" back to a boolean and use that only for vanished characters / spectating.

@Z1Meme Z1Meme added enhancement New feature or request P2 priority 2 labels Nov 2, 2023
@Z1Meme Z1Meme self-assigned this Nov 2, 2023
Copy link

github-actions bot commented Jan 8, 2024

Stale issue message

@Z1Meme Z1Meme reopened this Jan 16, 2024
QuentinGruber added a commit that referenced this issue Mar 12, 2024
https://www.youtube.com/watch?v=gCDJL4-oxnw (2:48)

So in 2016, wood planks had an additional chance to spawn inside wooden crates on top of the selected item (so 2 items). Currently on H1EMU, wood planks are apart of the loot tables so that was updated to be removed and into it's own area to generate on top of the base item from the crate (currently 60% chance of wood plank if player breaks w/ crowbar and 20% - same chance as the loot spawn table)

Also in #1665 and in H1Z1 2016, crowbars did significant damage to "metal objects" and were the primary way to remove freeplaced entities in the world. Currently I set it to 8 melee hits on objects with parents and 4 melee hits on objects without parents (so world placed essentially). I also added a 2x decay multiplier to world freeplaced entities so they'll decay in 7 ticks so ~7 days.

I moved the logic for bee box retaliation to its own function to provide some clarity for OnMeleeHit inside of LootableConstructionEntity too.
@QuentinGruber QuentinGruber added this to the v0.36.0 milestone Mar 13, 2024
@QuentinGruber QuentinGruber self-assigned this Mar 13, 2024
@QuentinGruber QuentinGruber modified the milestones: v0.36.0, V0.37.0 May 16, 2024
@QuentinGruber QuentinGruber removed this from the V0.37.0 milestone May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2 priority 2
Projects
None yet
Development

No branches or pull requests

2 participants