Skip to content

馃寽 Scripting system (using Saltcode)#18

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.

We can use the per-game workshop stuff Garry mentioned or 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-public#5168 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions