Selecting movie files through plugin

KravenarGames

Veteran
Veteran
Joined
Feb 19, 2017
Messages
128
Reaction score
15
First Language
English
Primarily Uses
N/A
What is wrong in this code?

* @param Movies
* @desc Select a movie
* @Default
* @require 1
* @dir movies/test/
* @type file[]

It brings me to a random image folder images selection instead of listing movies files.
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
1,716
Reaction score
1,165
First Language
EN
Primarily Uses
RMMV
Confirmed! Regardless of whether the movies/test folder exists, the Plugin Manager tries to select files from img/animations. Using @dir movies demonstrates that the movies folder itself is not recognised in this context (it shows a list of img subfolders). I checked the release announcement on the new parameter features and it seems to be intentional? :kaoswt2:
This directive will create the editor for specifying an image resource or an audio resource.

As an alternative you could use @type text[] and ask users to type in the filename manually, though that's obviously not as convenient... :kaoslp:
 

Solar_Flare

Veteran
Veteran
Joined
Jun 6, 2020
Messages
499
Reaction score
217
First Language
English
Primarily Uses
RMMV
Unfortunately movies aren't supported by the plugin manager. I did some testing, and it looks like the entire movies folder is copied over even if you select "exclude unused assets" and the movies aren't referenced anywhere, so the whole @require mechanism is probably not needed and you can just use @type text. It's a bit less convenient to have to type in the filename, true, but it doesn't look like there's another option.
 

KravenarGames

Veteran
Veteran
Joined
Feb 19, 2017
Messages
128
Reaction score
15
First Language
English
Primarily Uses
N/A
Unfortunately movies aren't supported by the plugin manager. I did some testing, and it looks like the entire movies folder is copied over even if you select "exclude unused assets" and the movies aren't referenced anywhere, so the whole @require mechanism is probably not needed and you can just use @type text. It's a bit less convenient to have to type in the filename, true, but it doesn't look like there's another option.
Nope, it exports only the main movies folder, but not the subfolder if I check the "exclude unused assets" ... any workaround? and using @type:text seems to not do the trick. :(
 

Solar_Flare

Veteran
Veteran
Joined
Jun 6, 2020
Messages
499
Reaction score
217
First Language
English
Primarily Uses
RMMV
This is entirely hypothetical and probably won't work, but maybe it's worth a try...

Code:
@requiredAssets movies/test
Try both with and without a trailing /
 

KravenarGames

Veteran
Veteran
Joined
Feb 19, 2017
Messages
128
Reaction score
15
First Language
English
Primarily Uses
N/A
This is entirely hypothetical and probably won't work, but maybe it's worth a try...

Code:
@requiredAssets movies/test
Try both with and without a trailing /
Puttin em on a random line?
 

Solar_Flare

Veteran
Veteran
Joined
Jun 6, 2020
Messages
499
Reaction score
217
First Language
English
Primarily Uses
RMMV
It needs to go in your help comment, the same place you put @param declarations.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

One 3-day jam and a Game Awards... this month is moving... \o/
Maker-ing has been being the best thing that happened to me this year so far. it is so good to rescue some old skills fo creativity and the people I have met are really incredible. I love my coffelanders and tocudos buddies. Maybe one day I will reach other countries folks too. S2
Well... My game plays better at 1920x1080, so I guess that's the new resolution. Still runs at 60FPS. :LZSexcite: Also... I really want a boss to be able to build new maps around the player... Mostly because it's visually spectacular! I'm er... not quite sure yet how I can do that without making MV explode.... But I'll find a way, anything in service to the "sparkles"! :kaopride:
How to change your netbooks screen resolution

Forum statistics

Threads
100,795
Messages
979,604
Members
132,437
Latest member
Vollar45
Top