Skip to content

Feature: Keys#102

Merged
alcachofass merged 1 commit into
alcachofass:mainfrom
br33zy59:feature-keys
Jul 22, 2026
Merged

Feature: Keys#102
alcachofass merged 1 commit into
alcachofass:mainfrom
br33zy59:feature-keys

Conversation

@br33zy59

Copy link
Copy Markdown
Collaborator

Implemented Key entities and corresponding door/button behaviors. Aligned with Quake Live implementation, so converted maps that retain the relevant entity information should be supported.

New entity handling for:

  • item_key_silver
  • item_key_gold
  • item_key_master

Handling for spawnflags. Flags 16 and 32 set on button/door entities will make that entity activate only if the player is holding the silver or gold key respectively. Holding the master key will activate either one. A button/door with both flags set will require the player to possess both keys (or the master).

The key model is from IOQuakeLive (https://github.com/skybersec/ioquakelive, GPL-2.0 license).

Successfully tested with the Q3 conversion of the Quake Live map Eldar (ql_eldar.pk3).

Implemented Key entities and corresponding door/button behaviours. Aligned with Quake Live implementation, so converted maps that contain the requisite entity information should be supported.

New entity handling for:
- item_key_silver
- item_key_gold
- item_key_master

Handling for spawnflags. Flags 16 and 32 set on button/door entities will make that entity activate only if the player is holding the silver or gold key respectively. Holding the master key will activate either one. A button/door with both flags set will require the player to possess both keys (or the master).

The key model is from IOQuakeLive (https://github.com/skybersec/ioquakelive, GPL-2.0 license).
@alcachofass
alcachofass merged commit 9c18d3b into alcachofass:main Jul 22, 2026
1 check passed
@br33zy59
br33zy59 deleted the feature-keys branch July 22, 2026 18:32
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