Advertiser Content

Pokemon Essentials Movies

Started by nmorr May 20th, 2010 2:50 PM
  • 4938 views
  • 17 replies

nmorr

Takin a brake. -_-

Age 23
Male
Poke City
Seen July 8th, 2016
Posted May 26th, 2012
214 posts
10.6 Years
I know I should post this in the actual thread, but there are to much posts there. So here I go,

I use the script to play a movie,

$scene = Scene_Movie.new("Pokémon Battle Revolution - Vs. Pamizard")
and nothing happens. The event just ends, please help! I really need this.

EDIT: Extra info: It's an MPEG-4 Movie file.
This signature has been disabled.
Spoiler tags in Signatures are not allowed
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.

thepsynergist

A Gym Leader, Kyushu Region

Age 29
Male
California, USA
Seen 2 Weeks Ago
Posted May 29th, 2019
761 posts
10.7 Years
Can't you add a handler in the script to support mp4's if you include a .dll file in the game folder? I'm sure that would require a fair bit of scripting knowledge. Maybe someone can help you that's good with that sort of thing. Or to make it easier, just convert your mp4 to avi. There are several good free apps to do that. Google them and see what you find.




Pokemon Pyrite is now complete, check out the trailer/download link here: https://www.youtube.com/watch?v=X6g5pXPXyV4

nmorr

Takin a brake. -_-

Age 23
Male
Poke City
Seen July 8th, 2016
Posted May 26th, 2012
214 posts
10.6 Years
Okay, I'll try it....okay, I converted it and all that, but nothing is happening! I don't get it! I also imported an vid. from pokemon indigo league to see if it was just the file. But nope! that didn't work either!
This signature has been disabled.
Spoiler tags in Signatures are not allowed
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.

Cilerba

the hearts of lonely people

Age 23
Male
Massachusetts
Seen August 27th, 2018
Posted April 11th, 2016
1,169 posts
9.7 Years
Okay, I'll try it....okay, I converted it and all that, but nothing is happening! I don't get it! I also imported an vid. from pokemon indigo league to see if it was just the file. But nope! that didn't work either!

Did you remove the '$scene =' ?

nmorr

Takin a brake. -_-

Age 23
Male
Poke City
Seen July 8th, 2016
Posted May 26th, 2012
214 posts
10.6 Years
Yeah I removed it, but for some reason it still wouldn't work.
This signature has been disabled.
Spoiler tags in Signatures are not allowed
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.

nmorr

Takin a brake. -_-

Age 23
Male
Poke City
Seen July 8th, 2016
Posted May 26th, 2012
214 posts
10.6 Years
Did you make a new folder called Movies? (example: pokestarter/movies)
And my mistake, you do need $scene >_>
Yeah, I did. I copied and pasted the file name and stuff. There's no reason it shouldn't work.
This signature has been disabled.
Spoiler tags in Signatures are not allowed
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.

nmorr

Takin a brake. -_-

Age 23
Male
Poke City
Seen July 8th, 2016
Posted May 26th, 2012
214 posts
10.6 Years
Did you make sure that the movie is in the folder >_>

...-.-...yes, I did. As I said before, I put another vid in there.
This signature has been disabled.
Spoiler tags in Signatures are not allowed
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.

thepsynergist

A Gym Leader, Kyushu Region

Age 29
Male
California, USA
Seen 2 Weeks Ago
Posted May 29th, 2019
761 posts
10.7 Years
Use this syntax, with the name of the movie inplace of intro, obviously.

$scene = Scene_Movie.new("INTRO")

Also, you'll need the Scene_Movie script section in your script database.




Pokemon Pyrite is now complete, check out the trailer/download link here: https://www.youtube.com/watch?v=X6g5pXPXyV4

nmorr

Takin a brake. -_-

Age 23
Male
Poke City
Seen July 8th, 2016
Posted May 26th, 2012
214 posts
10.6 Years
Use this syntax, with the name of the movie inplace of intro, obviously.

$scene = Scene_Movie.new("INTRO")

Also, you'll need the Scene_Movie script section in your script database.
I already did that, as you should see at my first post and others.
This signature has been disabled.
Spoiler tags in Signatures are not allowed
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.

thepsynergist

A Gym Leader, Kyushu Region

Age 29
Male
California, USA
Seen 2 Weeks Ago
Posted May 29th, 2019
761 posts
10.7 Years
Try this script, its from an older version of Pokemon Essentials.

Spoiler:

###########################################################
class Scene_Movie
###########################################################
#Created by SoundSpawn
###########################################################
#Fixed by Popper
###########################################################
#Instruction
# 1) Movies must in in a new folder called Movies in your directory
# 2)If you call this script from and event (EG: Call Script: $scene = Scene_Movie.new("INTRO") )
# 3) Have fun playin movies with this script!!!
###########################################################
def initialize(movie)
@movie_name = RTP.getPath("Movies\\"+movie+".avi").gsub(/\//,"\\")
end

def main
@temp = Win32API.pbFindRgssWindow.to_s
movie = Win32API.new('winmm','mciSendString','%w(p,p,l,l)','V')
x=movie.call("open \""+@movie_name+"\" alias FILE style 1073741824 parent " + @temp.to_s,0,0,0)
@message = Win32API.new('user32','SendMessage','%w(l,l,l,l)','V')
@detector = Win32API.new('user32','GetSystemMetrics','%w(l)','L')
@width = @detector.call(0)
if @width == 640
#fullscreen
Graphics.update
sleep(0.1)
Graphics.update
sleep(0.1)
Graphics.update
sleep(0.1)
#fullscreen
end
status = " " * 255
x=movie.call("play FILE",0,0,0)
loop do
sleep(0.1)
@message.call(@temp.to_i,11,0,0)
Graphics.update
@message.call(@temp.to_i,11,1,0)
Input.update
movie.call("status FILE mode",status,255,0)
true_status = status.unpack("aaaa")
if true_status.to_s != "play"
break
end
if Input.trigger?(Input::B)
$scene = Scene_Map.new
break
end
end
$scene = Scene_Map.new
end

end




Pokemon Pyrite is now complete, check out the trailer/download link here: https://www.youtube.com/watch?v=X6g5pXPXyV4

thepsynergist

A Gym Leader, Kyushu Region

Age 29
Male
California, USA
Seen 2 Weeks Ago
Posted May 29th, 2019
761 posts
10.7 Years
Strange, it works for me, maybe its because I'm using an older version of Pokemon Essentials...Oh well, I can't figure out your problem, I hope someone else figures it out for you.




Pokemon Pyrite is now complete, check out the trailer/download link here: https://www.youtube.com/watch?v=X6g5pXPXyV4
Advertiser Content