CS - The character from mission rescue Wolfs brother cant reload weapon
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 536
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 3
Description
Describe the bug
the mission Rescue Wolf's brother from captivity
- In the mission when you want to give him the weapon if the weapon is empty he wont equip it or shoot the mutants. When he dies you will find that he had ammo in his inventory. If you give him loaded shotgun he will use only the loaded ammo and unequip rifle when he is out of ammo, he does not reload even if you will find ammo in his inventory. The main bug is character inability to reload weapon.
To Reproduce
Steps to reproduce the behavior:
- load attached saved game - Go to Rescue Wolf's brother from captivity
- Unload shotgun
- select in dialog take this shotgun
- escort the character and observe, he wont equip empty weapon and he wont reload. He has ammo in his inventory.
Expected behavior
The Wolfs brother should take unloaded rifle and reload it.
If you handle him loaded rifle he should reload it when it goes empty because he has additional ammo on him.
Screenshots, videos
https://github.com/user-attachments/assets/3fc50fdd-3db5-4928-a5fb-ef925fb519ca
BugTrap error report
no crash report
OpenXRay Release Master Gold build 10012, Jul 7 2026 (Windows 64-bit, static)
GitHub Actions build 6385 (28850328479) from commit[29030f81b137f6ea5365b3d71f2b588490832f5b] branch[dev] (built by OpenXRay/xray-16)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the attached Rescue_Wolfs_brother.zip save and reproduce the empty-shotgun and no-reload cases in the Rescue Wolf's brother from captivity mission. Then trace the C++ gameplay logic for NPC weapon equipping, inventory ammunition, and reloading. Done means Wolf's brother equips an empty weapon and reloads it from ammunition in his inventory.
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
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100