beyond-all-reason / beyond-all-reason/RecoilEngine
Add `spTurnReplayIntoNormalGame()` to turn replay into a normal game
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 683
- Forks
- 293
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 40
Description
After watching a replay to some interesting point you may want to take over (via /cheat and /team N or /godmode), for example to see how things could have turned out differently. But the replay keeps giving commands afterwards and may produce desync warnings when you interfere. The request is to add a command Lua function that stops the replay from giving commands and from the match being considered a replay. It seems like it would have been pretty useful so maybe this exists and I'm just unaware?
See also beyond-all-reason/Beyond-All-Reason#2501
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 by locating the replay-handling and Lua-binding entry points for spTurnReplayIntoNormalGame(); the issue names no files or tests. The change is complete when taking over a replay stops further replay commands and the match is no longer treated as a replay, without desync warnings when using /cheat, /team, or /godmode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, lua
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100