Mint Shock (talk | contribs) Some restructuring and adding an Abbreviation section |
Mint Shock (talk | contribs) Add namespace to Dynvars |
||
Line 19: | Line 19: | ||
!Purpose | !Purpose | ||
|- | |- | ||
|<code>Root</code> | |<code>Systems/Root</code> | ||
|{{Template:TypeColorCard|Slot}} | |{{Template:TypeColorCard|Slot}} | ||
|Required | |Required | ||
Line 39: | Line 39: | ||
!Purpose | !Purpose | ||
|- | |- | ||
|<code>ID</code> | |<code>System/ID</code> | ||
|{{Template:TypeColorCard|String}} | |{{Template:TypeColorCard|String}} | ||
|Required | |Required | ||
|Unique system identifier -> <code>Mint_Shock.ExampleSystem</code>Use a [[Component:DynamicField|DynamicField]]<String> with the target being the tag on the systems <code>root</code>. | |Unique system identifier -> <code>Mint_Shock.ExampleSystem</code>Use a [[Component:DynamicField|DynamicField]]<String> with the target being the tag on the systems <code>root</code>. | ||
|- | |- | ||
|<code>Version</code> | |<code>System/Version</code> | ||
|{{Template:TypeColorCard|uint3}} | |{{Template:TypeColorCard|uint3}} | ||
|Optional | |Optional | ||
|[https://semver.org/ Semantic Version] (major.minor.patch) | |[https://semver.org/ Semantic Version] (major.minor.patch) | ||
|- | |- | ||
|<code>Root</code> | |<code>System/Root</code> | ||
|{{Template:TypeColorCard|Slot}} | |{{Template:TypeColorCard|Slot}} | ||
|Required | |Required | ||
|Root slot of the system. | |Root slot of the system. | ||
|- | |- | ||
|<code>Name</code> | |<code>System/Name</code> | ||
|{{Template:TypeColorCard|String}} | |{{Template:TypeColorCard|String}} | ||
|Required | |Required | ||
Line 60: | Line 60: | ||
Use a [[Component:DynamicField|DynamicField]]<String> with the target being the name on the systems <code>root</code>. | Use a [[Component:DynamicField|DynamicField]]<String> with the target being the name on the systems <code>root</code>. | ||
|- | |- | ||
|<code>ShortDescription</code> | |<code>System/ShortDescription</code> | ||
|{{Template:TypeColorCard|String}} | |{{Template:TypeColorCard|String}} | ||
|Optional | |Optional | ||
|Human-Readable short description of the System | |Human-Readable short description of the System | ||
|- | |- | ||
|<code>Creator</code> | |<code>System/Creator</code> | ||
|{{Template:TypeColorCard|String}} | |{{Template:TypeColorCard|String}} | ||
|Optional | |Optional | ||
|Creator / Maintiner of the System | |Creator / Maintiner of the System | ||
|- | |- | ||
|<code>Requirements</code> | |<code>System/Requirements</code> | ||
|{{Template:TypeColorCard|Slot}} | |{{Template:TypeColorCard|Slot}} | ||
|Optional | |Optional | ||
|List of requirements of the system, such as dependencies or the manager version | |List of requirements of the system, such as dependencies or the manager version | ||
|- | |- | ||
|<code>HasSubsystem</code> | |<code>System/HasSubsystem</code> | ||
|{{Template:TypeColorCard|bool}} | |{{Template:TypeColorCard|bool}} | ||
|Optional | |Optional | ||
|If this system has subsystems | |If this system has subsystems | ||
|- | |- | ||
|<code>Icon</code> | |<code>System/Icon</code> | ||
|{{Template:TypeColorCard|Uri}} | |{{Template:TypeColorCard|Uri}} | ||
|Optional | |Optional |
Revision as of 08:37, 4 October 2025
This is a early draft of this proposal. Please don't use anything in here yet. Everything is still subject to change.
Standardization is required for collaboration and shared assets. This is a proposal made by Mint_Shock which standardizes a list of Dynamic Variables on the "System" namespace to make systems interoperable and portable and enables users to create systems which can easily be installed onto other objects like tools, avatars, and much more. All without using any developer tools.
Systems are anything that goes on top of an base object. This includes ProtoFlux logic and other assets such as slots, meshes, textures and much more.
This proposal builds on top of Moduprint/API as a established and proven to work standard.
All variables must be defined including their namespace to avoid them accidentally binding to the wrong namespace: System/VariableName
. The namespace must not rely on non-direct binding of variables.
"Systems" Slot
Contains all Systems as direct children. It has the Component:DynamicVariableSpace of "Systems" on itself and the following Dynamic variables:
This Slot will contain all Systems and Subsystems as children.
Name | Type | * | Purpose |
---|---|---|---|
Systems/Root
|
Slot
|
Required | Root slot of the all Systems. |
The "Systems" slot has the "Systems" tag and should have a identifiable name like Systems
or <color hero.cyan>Systems</color>
.
Structure of a System
A System is a Slot with the direct-binding Dynamic Variable Space "System" defined on itself.
Systems are ALWAYS installed under a "Systems" slot that is a direct child of the Objects / Avatars root.
Name | Type | * | Purpose |
---|---|---|---|
System/ID
|
String
|
Required | Unique system identifier -> Mint_Shock.ExampleSystem Use a DynamicField<String> with the target being the tag on the systems root .
|
System/Version
|
uint3
|
Optional | Semantic Version (major.minor.patch) |
System/Root
|
Slot
|
Required | Root slot of the system. |
System/Name
|
String
|
Required | Human-Readable name of the module.
Use a DynamicField<String> with the target being the name on the systems |
System/ShortDescription
|
String
|
Optional | Human-Readable short description of the System |
System/Creator
|
String
|
Optional | Creator / Maintiner of the System |
System/Requirements
|
Slot
|
Optional | List of requirements of the system, such as dependencies or the manager version |
System/HasSubsystem
|
bool
|
Optional | If this system has subsystems |
System/Icon
|
Uri
|
Optional | Icon of the system. (resdb link to the icon texture) |
The system ID is of the format Namespace.System
where Namespace
is anything uniquely identifying the creator such as the user or group name and System
is the identifier of the system. Only one system with the same ID can be installed on the same "Systems"-Slot at any point in time. The ID must only contain letters which are valid for a Dynamic Variable.
Subsystems
Are primarily used to Separate out underlying systems for ease or maintaining and organization. Subsystems are Always direct children of a System. The Systems -> Structure can be seen as a kind of "Folder" Structure. A System can have many Subsystems, those Subsystems can have more Sub-SubSystems and so on. Subsystems aren't special in any way compared to other Systems. A Subsystem has the same Requirements and can have the same Dynamic variables as Systems.
Setup
Create "Systems" slot as described above.
Other Standards may define a specific Namespace/Systems
Dynamic variable of type Slot
to point to the Systems slot. (See for example Avatar standard)
The simplest possible System consists of a single slot with all required [*] variables present.
ToDo: Requirements Dependencies and Methods?
Avatar Standard
The System standard is designed primarely as a extension of the Avatar standard. Both proposals are designed to work together seamlessly. Systems can access variables from the Avatar standard by reading variables from the Avatar
namespace.
Example: a flight thruster system might need to know the users hand position. Normally you would have to manually find the users hand slots using ProtoFlux. Avatar standard simplifies this by providing Dynamic variable Avatar/BodyNode.HandL
and Avatar/
BodyNode.HandR
of type Slot
Acronym / Shorthand (Optional)
For ease of identificaton use the SYS-S Prefix to mark Slots containing System Standard related functionality.
"SYS-S" stands for "SYStem Standard".
Examples:
- A direct child Slot of the system
Root
with the name of "SYS-S Variables" containing all the System Standard dynamic variables for that System.
Slot name | Purpose |
---|---|
SYS-S Variables
|
Contains all the System Standard dynamic variables for that System. |
SYS-S Functionality
|
Contains all the functionaliy for that System. |