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

mod: scale conquest DestructableComponent hp by playercount #315

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Muparadzi
Copy link
Collaborator

@Muparadzi Muparadzi commented Mar 16, 2024

Searches for entities with tag: crpg_scale_with_playercount, checks for a DestructableComponent and scales their maxHP by the player count.

awaiting some feedback from @rf-l

@Yeldur
Copy link
Collaborator

Yeldur commented Mar 27, 2024

Horris mentioned to me that the DestructableComponent likely also includes Merlons on Castle Walls as well, which could result in breaking parts of the castle that would usually be destroyable in a single shot on high population (such as Merlons). Would there be a way to discriminate whether individual components are affected by this change?

@Muparadzi
Copy link
Collaborator Author

Horris mentioned to me that the DestructableComponent likely also includes Merlons on Castle Walls as well, which could result in breaking parts of the castle that would usually be destroyable in a single shot on high population (such as Merlons). Would there be a way to discriminate whether individual components are affected by this change?

The change relies on a tag being added to an entity, so the mapper is able to decide which components are scaled with pop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants