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

Design generic Entity class #4

Open
Ferulaindig opened this issue Sep 14, 2024 · 0 comments
Open

Design generic Entity class #4

Ferulaindig opened this issue Sep 14, 2024 · 0 comments
Assignees
Labels
Implementation Any work that is a suggested addition

Comments

@Ferulaindig
Copy link
Owner

Needs a generic entity class to be able to hold multiple different types of entities. Human/animals within a single Dict.

Although i'm not sure if this would be the best way to go about it. It might be more reasonable to house creature types that vary strongly from each other into different dicts for efficiency. Since eventually sending information to an AI to generate scenario and interaction responses will be humanoids more than animals interacting. At that point it might make more sense to procedurally create animals on the fly when a player interacts with that animal.

For example:
Upon entering a forest a player will most likely encounter some kind of animal, likely more than one. Instead of housing every single animal in the game world. Just house generic population data for a specific region. Then create instanced data of a players surroundings until the player would leave that area. Just adjust any generic information that may have changed based upon player interaction.
Building upon this would be the creation of named animals(or monsters, you get the idea). These would be specific creatures that hold significance in meaning. Say upon a quest there's a "Goblin" group that defeats a party of multiple players. One of them would be "Chosen" to become a named entity that would have higher stats and allow for future development of this creature.

well this is my current idea for it anyway.

@Ferulaindig Ferulaindig added the Implementation Any work that is a suggested addition label Sep 14, 2024
@Ferulaindig Ferulaindig self-assigned this Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Implementation Any work that is a suggested addition
Projects
None yet
Development

No branches or pull requests

1 participant