Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
135 stars 2 forks source link

Define media import templates at a world level #1556

Open BaxterOttoman opened 6 months ago

BaxterOttoman commented 6 months ago

Is your feature request related to a problem? Please describe.

Currently a user can create a media interface for several types of media and favorite those to use when importing media. I would like to be able to do the same sort of thing, but at a world level. This would give world builders the ability do define behavior for imported media, such as packing it as a cassette tape and encouraging users in the world to insert it in a player before it can be played.

Describe the solution you'd like

I would like to be able to use an object set up to be a custom media player to define an override for media types imported into the world by placing a reference to the template object in a component that is intended to listen for media being imported and take over, overriding the user's custom media player or the default media player.

Describe alternatives you've considered

Alternatives would be creating object templating systems that have asset receivers, having users insert their imported media in them, and taking an object from the templating system to use however.

Additional Context

No response

Requesters

Baxter

Banane9 commented 6 months ago

That sounds like a very nifty idea for immersion in strongly themed worlds :D

shiftyscales commented 6 months ago

If this were to be considered, #662 would probably be a prerequisite.

epicEaston197 commented 6 months ago

I would like to have my custom media player i don't want that to be overwritten it's annoying pasting your YouTube video just to have a completely different media player with unfamiliar controls appear and not have your own media player with your own code and your quality of life improvements I would probably just get annoyed and just spawn it out of my inventory manually because my video player has a URL input

I would accept this if it was a world toggle that you could turn on

Frooxius commented 6 months ago

It's something we could add. #662 is not a prerequisite here, we can add this independently.

It does override the user choice, but I feel like this is something that only specific worlds would use. If you wouldn't want your choice to be overridden, you'd have to request the host to disable that mechanism or go to different sessions.

epicEaston197 commented 6 months ago

I don't really get any purpose for this if your world has one small gimmick with media players I don't think it's worth it to override user choice like this

amplified1 commented 6 months ago

I can already think of dozens of cool and practical uses for this, and since stuff like avatars can already be overridden I think pretty much anything should be fair game, if someone wants to use Resonite as an engine to make a completely tailored world experience, I think they should be allowed to.

epicEaston197 commented 6 months ago

I'm worried about others forcing their preferred video player to others for no discernible reason because they feel like they have the "right" video player and everyone should be forced to use it

this probably won't happen but would still suck in the limited cases that it would happen

JackTheFoxOtter commented 6 months ago

I'm worried about others forcing their preferred video player to others for no discernible reason because they feel like they have the "right" video player and everyone should be forced to use it

this probably won't happen but would still suck in the limited cases that it would happen

I mean, if it's on a world / session level, it's kind of up to the world creator / host to decide this. Same with existing restrictions like custom avatars. I like this suggestion. Could give more control over the experience you want to create, I can see scenarios in which this would be pretty neat.