OpenXRay / OpenXRay/xray-16

COP - Stalkers spawn at a close distance

Open
#2,020 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement Gameplay Help wanted Player Experience
Dominant language
C++
Stars
3.6k
Forks
536
Avg merge
6d 1h
Merged PRs (30d)
3

Description

Describe the bug
This could be a vanilla bug, the stalkers squad is spawning too close to player.
I suppose it could be fixed with some A-life adaptations?

To Reproduce
Steps to reproduce the behavior:

  1. Load attached saved game named "spawn" and wait around 23 seconds.
  2. squad spawns

Expected behavior
the spawning should be less noticeable, they should appear at bigger distance from player

Screenshots, videos
https://drive.google.com/file/d/1yBmkG1FkgVCPD2Lx9u8Vt-hfDup9Nede/view?usp=sharing

BugTrap error report
saved game

savedgame.zip

Desktop (please complete the following information):
OpenXRay Release Master Gold build 9816, Dec 23 2025 (Windows 64-bit, static)
GitHub Actions build 6158 (20470115048) from commit[57a82460278a4f42b4a64273b87abe174ac17731] branch[dev] (built by OpenXRay/xray-16)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce this on OpenXRay xray-16 using the attached “spawn” saved game and wait about 23 seconds for the squad to appear. Then trace the stalker-squad spawning path and compare the player-to-squad distance; done means the squad still spawns correctly but at a less noticeable, greater distance, with the behavior verified against the save.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.