Skip to content

🌜 Scripting system (using Saltcode) #18

@youarereadingthis

Description

@youarereadingthis

What would you like to add?

@rndtrash was working on a visual scripting solution for the Vidya Editor that is mostly done. Just needed some UI implementation and helper methods for users.

If the per-game workshop stuff Garry mentioned is ever a reality then we can use that, otherwise we could let people write, save, import via clipboard/url the old fashioned way.

Framework

This needs to be done very carefully to prevent exploits/cheating using this library.

  • Create objects and manage transforms/parents.
  • Read but NOT create/modify any components/properties by default.
  • Manageable whitelist for components creation and property modification.
  • Attribute added to properties that lets you modify them.
  • Attribute added to components that lets you create them.
  • Component added to prefabs that configures if/how they are spawnable.

Any extra information?

Garry mentioning per-game UGC:
Facepunch/sbox-issues#4921 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    💡 FeatureThis is a feature request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions