Skip to content

[SERVER] Add zone-based zombie spawning#146

Merged
MotoLegacy merged 24 commits into
nzp-team:mainfrom
sbeeds:sbeed_zones
Nov 26, 2025
Merged

[SERVER] Add zone-based zombie spawning#146
MotoLegacy merged 24 commits into
nzp-team:mainfrom
sbeeds:sbeed_zones

Conversation

@sbeeds
Copy link
Copy Markdown
Contributor

@sbeeds sbeeds commented Nov 25, 2025

Description of Changes


Adds in zone-based zombie and hellhound spawning supported by the nsz file format. This allows mappers to setup "zones" inside of their map, determining which spawns they want inside of that zone, as well as custom fog values per zone . Whenever a player is inside of a zone, all zombie and dog spawns in that zone and zones marked adjacent will become active. Any spawns outside of this space will not be active as long as a zone file is provided.

Visual Sample


2025-11-25.00-40-34.mp4

Checklist


  • I have thoroughly tested my changes to the best of my ability
  • I confirm I have not contributed anything that would impact Nazi Zombies: Portable's licensing and usage
  • This Pull Request fixes a critical issue that should be reviewed and merged as soon as possible

Comment thread source/server/ai/zoning_core.qc Outdated
Comment thread source/server/ai/zoning_core.qc Outdated
Comment thread source/server/ai/zoning_core.qc Outdated
Comment thread source/server/ai/zoning_core.qc
Comment thread source/server/ai/zoning_core.qc Outdated
Comment thread source/server/ai/zoning_core.qc
Comment thread source/server/ai/zoning_core.qc Outdated
Comment thread source/server/defs/custom.qc Outdated
Comment thread source/server/defs/custom.qc Outdated
Comment thread source/server/rounds.qc Outdated
@sbeeds sbeeds requested a review from MotoLegacy November 26, 2025 02:05
Copy link
Copy Markdown
Member

@MotoLegacy MotoLegacy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more adjustment then it LGTM, thanks!

Comment thread source/server/ai/zoning_core.qc Outdated
@sbeeds sbeeds requested a review from MotoLegacy November 26, 2025 02:53
@MotoLegacy MotoLegacy merged commit b1d7fec into nzp-team:main Nov 26, 2025
2 checks passed
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.

2 participants