Skip to content

[Feature Request] Allow instantiation of internal prefabs #29

@un-simp

Description

@un-simp

Feature: allowing the mapper to instantiate prefabs from the game with the InstantiatePrefab event

I have 2 ideas on how this could be implemented

  1. make all the prefabs in Beat Saber accessible with the event
    Example:
{
  "b": "5", 
  "t": "InstantiatePrefab",
  "d": {
    "asset": "BeatSaber/Logo.prefab" // this probably doesn't exist in game but whatever
}
} 
  1. implement "fake" prefabs in the AssetBundle

When you create an asset bundle, you could put in arbitrary data to link a prefab into an internal object in Beat Saber, these are then instantiated like a normal prefab in the event and Vivify notices the link and instantiates the internal object

This should help people who want to use parts of Beat Saber's environment itself while avoiding copyright issues by embedding Beat Saber assets into their bundle

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions