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

Support Dynamic Spawning #713

Open
AntumDeluge opened this issue May 1, 2024 · 0 comments · May be fixed by #715
Open

Support Dynamic Spawning #713

AntumDeluge opened this issue May 1, 2024 · 0 comments · May be fixed by #715
Assignees
Labels
component: server Related to the server backend. type: feature request Desired features and ideas.

Comments

@AntumDeluge
Copy link
Member

AntumDeluge commented May 1, 2024

💡 Describe your idea

A fun feature that many RPGs employ is dynamic spawning. This means the location at which an enemy spawns on a map is not guaranteed. Currently, Stendhal only supports static spawning where we always know where an enemy will spawn. It would give the game a more organic feel were it possible to use dynamic spawning in some cases.

The following should be taken into account:

  • Static spawning should remain the primary method, whereas dynamic would likely be less common.
  • Dynamic spawning should only be used on maps where enemies cannot spawn where they might be enclosed with collision & unreachable by players.
  • Maps that are made up of enclosed or tight & winding areas should likely avoid using dynamic spawning.
  • Dynamic spawning should use the same spawn rate as static as defined in creatures XML.
  • Dynamic spawning should use a static limit to prevent overpopulation. Spawned instances of the same creature from static spawn points should not count toward the limit.

🔬 Motivation

To add variety & in some cases, prevent players from knowing exactly where a creature will spawn. It may help mitigate some cases with players camping for creatures.

📝 Alternatives

🔭 Additional information

@AntumDeluge AntumDeluge added type: feature request Desired features and ideas. component: server Related to the server backend. labels May 1, 2024
@AntumDeluge AntumDeluge self-assigned this May 1, 2024
AntumDeluge added a commit to AntumDeluge/arianne-stendhal that referenced this issue May 2, 2024
Position of spawn in zone is random instead of a static point

arianne#713
@AntumDeluge AntumDeluge linked a pull request May 2, 2024 that will close this issue
AntumDeluge added a commit to AntumDeluge/arianne-stendhal that referenced this issue May 14, 2024
Position of spawn in zone is random instead of a static point

arianne#713
AntumDeluge added a commit to AntumDeluge/arianne-stendhal that referenced this issue May 16, 2024
Position of spawn in zone is random instead of a static point

arianne#713
AntumDeluge added a commit to AntumDeluge/arianne-stendhal that referenced this issue Jun 22, 2024
Position of spawn in zone is random instead of a static point

arianne#713
AntumDeluge added a commit to AntumDeluge/arianne-stendhal that referenced this issue Jul 15, 2024
Position of spawn in zone is random instead of a static point

arianne#713
AntumDeluge added a commit to AntumDeluge/arianne-stendhal that referenced this issue Jul 24, 2024
Position of spawn in zone is random instead of a static point

arianne#713
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: server Related to the server backend. type: feature request Desired features and ideas.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant