sbox-scenestaging icon indicating copy to clipboard operation
sbox-scenestaging copied to clipboard

[Feature] Sub scene system proposal

Open bub-bl opened this issue 1 year ago • 3 comments

Objective

Implement a "sub-scene" system, inspired by the prefab system of s&box. This system may also include a "bucket" concept to manage player visibility between different buckets.

Bucket:

  • Integration of a "bucket" system for each "sub-scene."
  • Assignment of a specific "bucket" to each player upon entering a "sub-scene."
  • Each "sub-scene" must have its own "buckets."

Bucket Description:

A bucket is a kind of instance that separates players within the same server. Multiple buckets can be created in a server, and each player can join a different bucket at any time. Players in bucket A cannot see or interact with players in bucket B, and vice versa.

Sub-scene:

  • Implementation of a "sub-scene" system to divide the environment into distinct subsets.
  • Each "sub-scene" must be autonomous and independent of others.
  • Each "sub-scene" can have its own bucket.

Details

I need to create this system for my gamemode. If you find the idea interesting, I could submit a pull request once the system is completed.

bub-bl avatar Dec 04 '23 17:12 bub-bl