Skip to content

Fix SCAV and SAL objective spawn position bugs - #554

Draft
GooberRF wants to merge 1 commit into
masterfrom
scav-sal-obj
Draft

GooberRF wants to merge 1 commit into
masterfrom
scav-sal-obj

Conversation

@GooberRF

@GooberRF GooberRF commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

What does this change?
Fix 1: Fixes a bug where SCAV when played on pre-v306 RFLs would fail to create the cartridge objective item if the level (as designed by its author) was already at or above the legacy item limit of 200.

Fix 2: Fixes a bug where SCAV and SAL objective items that should have been on top of a mesh or clutter object, or geometry with an alpha-blended texture, would on some occasions spawn below it rather than on top as expected.

Note that this is a serverside only fix; clients do not need an update to resolve.

Why?
These bugs affect the ability for gameplay-critical SCAV and SAL objectives to be picked up.

How was it tested?
Fix 1: Claude automated tests in known affected level DM-GreenHillZone.rfl; manual verification in same level.

Fix 2: Claude automated tests on known bad positions in DM-RFU5-Shadowgrounds.rfl and dmminingstationb32.rfl, as well as every other item position in those levels. Value of manual testing is limited because these levels each have a large amount of objects and getting SCAV to RNG roll the problem item position is tedious. This bug was only observed by players in SCAV, but by code review would have applied to SAL as well.

Checklist (see CONTRIBUTING.md)

  • Larger changes: discussed with the maintainers first
  • Tested in game or editor (including multiplayer, if affected)
  • Added a docs/CHANGELOG.md entry, if players, server hosts, or level designers will notice the change
  • Updated docs/reference/ for any console command, command line switch, or server config changes

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.

1 participant