Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
> Berka's Video script II reloaded !
onidsouza
post Jan 28 2009, 09:53 AM
Post #21


image master of doom
Group Icon

Group: Revolutionary
Posts: 603
Type: None
RM Skill: Undisclosed




Ok i will stop doing doble posting happy.gif


__________________________
Gabba Gabba Hey! enjoy your life ^^
lol (by keet's brother)
some lol
more lol
even MORE lol
Serious Discussion
why all my lol's have Teh Parakeet involved?

me ^^

bacon

Spamming is always better with bacon
Go to the top of the page
 
+Quote Post
   
berka
post Feb 7 2009, 02:26 PM
Post #22


Level 8
Group Icon

Group: Revolutionary
Posts: 111
Type: Scripter
RM Skill: Advanced




new version:

window's hangup resolved and code cleaned !

regards,
berka


__________________________
Go to the top of the page
 
+Quote Post
   
onidsouza
post Feb 8 2009, 09:10 PM
Post #23


image master of doom
Group Icon

Group: Revolutionary
Posts: 603
Type: None
RM Skill: Undisclosed




QUOTE (berka @ Feb 7 2009, 08:26 PM) *
new version:

window's hangup resolved and code cleaned !

regards,
berka


Thanks! It's a lot better now!


__________________________
Gabba Gabba Hey! enjoy your life ^^
lol (by keet's brother)
some lol
more lol
even MORE lol
Serious Discussion
why all my lol's have Teh Parakeet involved?

me ^^

bacon

Spamming is always better with bacon
Go to the top of the page
 
+Quote Post
   
oioioi
post Apr 2 2009, 03:46 AM
Post #24


Level 1
Group Icon

Group: Member
Posts: 10
Type: None
RM Skill: Beginner




QUOTE (onidsouza @ Feb 8 2009, 09:10 PM) *
QUOTE (berka @ Feb 7 2009, 08:26 PM) *
new version:

window's hangup resolved and code cleaned !

regards,
berka


Thanks! It's a lot better now!



umm.....excoose me, where's the new one? I thought it'll fix the minimizing windows problem? unsure.gif
Go to the top of the page
 
+Quote Post
   
Traumatized
post Apr 21 2009, 05:08 PM
Post #25



Group Icon

Group: Member
Posts: 3
Type: None
RM Skill: Undisclosed




This script works for me but the problem is i got no sound (volume is set to 750, but i can hear game back ground music while the video is playing) and it plays the video in super fast speed as if it is fast forwarding...whats going on?

This post has been edited by Traumatized: Apr 21 2009, 05:10 PM
Go to the top of the page
 
+Quote Post
   
Tsutanai
post Apr 21 2009, 05:17 PM
Post #26


Cheshire is hugging me! =D
Group Icon

Group: Revolutionary
Posts: 592
Type: Artist
RM Skill: Undisclosed
Rev Points: 10




Is there a way to play this before the title screen??? Like an intro.


__________________________

The best thing ever

Badges

According to the site this is the rarest personality ^_^


4th place =D


All the old badges I could find (special thanks to Resource Dragon for giving me a lot more of them
and being awesome)


Paused
Go to the top of the page
 
+Quote Post
   
kunitaj
post Apr 22 2009, 01:31 PM
Post #27


Level 9
Group Icon

Group: Revolutionary
Posts: 137
Type: Event Designer
RM Skill: Advanced




this is so impressive it made me shriek.
But the mpgs did not play correctly.


__________________________
Mans prejudice will destroy man... but forget about that-look a kitty!


KITTY!
Go to the top of the page
 
+Quote Post
   
mortigneous
post Apr 22 2009, 05:56 PM
Post #28


Level 5
Group Icon

Group: Member
Posts: 64
Type: None
RM Skill: Intermediate




hmm... I was looking for one of these
everyone i saw had random amounts of problems
hopefully this one works well (started scrapping the idea of using movies lol)

*SNAG [with credit of course]*


__________________________
Hmm.... rm2k isn't compatible with vista? Looks like I'll go to rmvx... Scripting?
Oh sweet, I get to add new stuff! OH DEAR GOD! *head explodes*

Fun game.

CLICK
Go to the top of the page
 
+Quote Post
   
Traumatized
post Apr 22 2009, 08:19 PM
Post #29



Group Icon

Group: Member
Posts: 3
Type: None
RM Skill: Undisclosed




Can someone tell me why my video is not playing right? it got no sound and it is playing in fast forward speed.
I got the video in mp4 format and i convert it to avi then i use it to play but wont work...
may be my video converter is mess up...does anyone know any free program that lets me convert mp4 to avi?
Go to the top of the page
 
+Quote Post
   
Midnight Assassi...
post Apr 26 2009, 07:56 PM
Post #30



Group Icon

Group: Banned
Posts: 0
Type: None
RM Skill: Undisclosed




QUOTE (aznguy212 @ Jan 29 2009, 02:49 AM) *
oni please use edit your post and do not double post...it gets very annoying for some and its against the rules in almost every forum...


Where's your Moderator position, Aznguy? Oh, that's right - you have none. Please do not backseat moderate. We have Moderators and Administrators for that. However I do agree with you.

@Traumatised, I don't think you've heard of it, but there's this new thing called Google. Why don't you try it?

@Kunitaj, the video needs to be in an .avi format. .mpg/.mpeg will not work with an .avi player. It's common sense...

@Tsutanai, use Woratana's 'Skip Tite Screen' script and mod it so the character ends up on a blank map with an Autorun video call. After the video is done, put in the event command "Return To Title Screen". I have not tried it, but this should work with a bit of logic. I'll test it as soon as I've got the script down-pat.
If said method doesn't work, there's always the RGSS2 script requests forum.

@Oioioi, can you please use proper grammar/spelling and specify what you mean? Don't expect any help so quick with such a vague request.

@Berka, this is a great, simple alternative to Ariel's and Trebor's scripts. I just love it when I see a script of yours released and used! *flails* Continue the top-quality works, and I look forward to experimenting with this script.


__________________________
Banned for attempting to hack the site - The Admin Team
Go to the top of the page
 
+Quote Post
   
zeshiba
post Jun 4 2009, 07:49 PM
Post #31


Level 1
Group Icon

Group: Member
Posts: 12
Type: Developer
RM Skill: Intermediate




Hey berka how do I make this compatible in battles like summoning a beast.
I use common events.


__________________________

YEAH!
Go to the top of the page
 
+Quote Post
   
xerious
post Jun 9 2009, 10:12 AM
Post #32



Group Icon

Group: Member
Posts: 2
Type: None
RM Skill: Beginner




for the minimize problem i found a solution:

use this script

scaled window mode

set it up to the max resolution of your screen

then
Berka's Movie script II reloaded

!!don't start the game in fullscreen!!

laugh.gif

This post has been edited by xerious: Jun 9 2009, 10:13 AM
Go to the top of the page
 
+Quote Post
   
Bandito
post Jun 27 2009, 11:02 PM
Post #33


Level 3
Group Icon

Group: Member
Posts: 36
Type: None
RM Skill: Beginner




dude the problem with this is that not everybody has the same resolution as your monitor so if you for example make your resolution 1650 x 1200 like me then my sister won't be able to play the game because he computer can only go 1024 x 800.
Go to the top of the page
 
+Quote Post
   
aggiegwyn
post Jul 15 2009, 10:34 AM
Post #34


Level 1
Group Icon

Group: Member
Posts: 5
Type: None
RM Skill: Undisclosed




QUOTE (berka @ Jan 16 2009, 03:39 PM) *
Hi !

I've made a new movie's managment in rm.
It's more simple and add lots of settings:
volume managment, fullscreen mode, auto-detect file format...

puts this script above main and run the game first: a Videos directory will be created !
then add your videos files into.

and call the video with an event (call script) like this:

QUOTE
[film]
film = test.avi
aig = 999
bass = 0


the scripts:
[Show/Hide] rmvx&rmxp
CODE
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#                            -  Game_Film II - reloaded ^^
#  par berka
#                          www.rpgmakervx-fr.com                                          
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#  Rgss 1&2                  v 1.0
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#                          -Utilisation-
# �crivez dans un event, commande ins�rer un script:
#
# #minimum requis:
# [film]                # obligatoire !
# film = monfilm.avi    # ou mpg... nom du fichier � lire
#
# #configuration optionnelle, l'ordre n'est pas important
# mettre les 4 coordonn�es sinon aucune !
# x = 12                # position horizontale
# y = 1                  # position verticale
# w = 150                # redimensionnement du film: largeur
# h = 150                # redimensionnement du film: hauteur
#
# full = true            # active (ou pas) le plein �cran dans le mode fenetr�
# vol = 750              # entre 0 et 1000 volume sonore du film
# bass = 999            # entre 0 et 1000 volume des basses: tres faible nuance
# aig = 250              # entre 0 et 1000 volume des aigus: tres faible nuance
# #commandes:
# bouton B pour quitter, C pour interrompre/reprendre la lecture
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# pourquoi un nouveau script de video ?
# simplement pour ne plus avoir � r�pondre � toutes ces questions sur la video !
# ce script est le plus simple possible: j'ai test� toutes les erreurs possibles
# l'appel est personalisable
# le format de la video est auto-d�tect�
# ajout du plein �cran
# de la gestion du volume
# Un dossier Films est automatiquement cr�� dans votre projet.
# vous y d�posez les vid�os � lire !
# Il vaut mieux prendre de petites videos: parce que les d�mos de 200 Mo...
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

class Game_Film
  def initialize(hash)
    hash.has_key?(:film) ? film=hash[:film] : return
    hash.has_key?(:x) ? @x=hash[:x]+" " : @x="0"
    hash.has_key?(:y) ? @y=hash[:y]+" " : @y="0"
    hash.has_key?(:w) ? @w=hash[:w]+" " : @w=""
    hash.has_key?(:h) ? @h=hash[:h]+" " : @h=""
    hash.has_key?(:vol) ? @vol=hash[:vol]+" " : @vol="1000"
    hash.has_key?(:bass) ? @bass=hash[:bass]+" " : @bass="1000"
    hash.has_key?(:aig) ? @aig=hash[:aig]+" " : @aig="1000"
    hash.has_key?(:pos) ? @pos="at pos #{hash[:pos].to_i*1000} " : @pos="at pos 0 "
    @full=hash[:full] if hash.has_key?(:full)
    @full&&dim_ecran !=[640,480] ? @plee="fullscreen " : @plee=""
    @type=" "
    @type=" type mpegvideo" if File.extname(film)==(".mpg"||".mpeg")
    @type=" type avivideo" if File.extname(film)==".avi"
    @nom='./Films/'+film
    (p "fichier #{@nom} non trouv�";return) if !FileTest.exist?(@nom)
    @film=Win32API.new('winmm','mciSendString','ppll','v')
    lecture
  end
  def handle
    jeu="\0"*256
    ini=Win32API.new('kernel32','GetPrivateProfileStringA','pppplp', 'l')
    ini.call('Game','Title','',jeu,255,".\\Game.ini")
    return Win32API.new('user32','FindWindowEx','llpp','l').call(0,0,nil,jeu.delete!("\0"))
  end
  def lecture
    v,t,status,pause=version,Time.now," "*255,false
    @film.call("open #{@nom} alias FILE#{@type} style child parent "+handle.to_s,0,0,0)
    @film.call("put FILE window at #{@x}#{@y}#{@w}#{@h}",status,255,0)
    @film.call("setaudio File volume to #{@vol}",status,255,0)
    @film.call("setaudio File bass to #{@bass}",status,255,0)
    @film.call("setaudio File trebble to #{@bass}",status,255,0)
    @film.call("play FILE #{@plee} notify",status,255,handle)
    loop{sleep(0.1)
      Input.update
      @film.call("status FILE mode notify",status,255,0)
      break if status.unpack("aaaa")=="stop".split(//)||Input.trigger?(Input::B)
      if Input.trigger?(Input::C)
        if !pause;@film.call("pause FILE notify",status,255,handle);pause=true
        else;@film.call("play FILE #{@plee} notify",status,255,handle);pause=false
        end      
      end
      (t=maj(t))if v=='xp'}
    @film.call("close FILE notify",0,0,handle)
    $scene=Scene_Map.new
  end
  def dim_ecran
    lw=Win32API.new('user32','GetSystemMetrics','i','i')
    return lw.call(0),lw.call(1)
  end
  def maj(t)
    (Graphics.update;return Time.now)if t.sec<=Time.now.sec-9||t.min !=Time.now.min
    return t
  end
  def version;FileTest.exist?('./Data/scripts.rvdata') ? 'vx': 'xp';end
end
Dir.open("./Films") rescue Dir::mkdir("./Films",0777)
class Game_Interpreter;def eval(script);cmd_eval(script);end;end#rmvx
class Interpreter;def eval(script);cmd_eval(script);end;end#rmxp
def cmd_eval(script)
  if script.include?("[film]")
    hash={}
    script.gsub!("[film]"){}
    list=script.split("\n")
    list.each{|e|e.gsub!(" "){};f=e.split("=");hash[f[0].to_sym]=f[1] if !f[1].nil?}
    Game_Film.new(hash)
  else;return Kernel.eval(script)
  end
end


the demo

enjoy !

Caution:
this script is totally free of use, but I need an apparent credit in your game and:

Do not post these scripts anywhere without my permission !

where is the main?


__________________________
I'm Ash Ketchup,

PIKACHU'S MY MUSTARD!!!!!!!!!!!!!!!!
Go to the top of the page
 
+Quote Post
   
wallywest07
post Sep 9 2009, 02:08 PM
Post #35



Group Icon

Group: Member
Posts: 4
Type: Developer
RM Skill: Beginner




Okay this is what i've done,copy my movie into the films folder,rename the script but there's an error.
the error is :fichier./Films/modulasas.avi(my video) non trouve.

This post has been edited by wallywest07: Sep 9 2009, 02:30 PM
Go to the top of the page
 
+Quote Post
   
wallywest07
post Sep 9 2009, 02:28 PM
Post #36



Group Icon

Group: Member
Posts: 4
Type: Developer
RM Skill: Beginner




QUOTE (wallywest07 @ Sep 10 2009, 06:08 AM) *
Okay this is what i've done,copy my movie into the films folder,rename the script but there's an error.

Go to the top of the page
 
+Quote Post
   
dricc
post Sep 10 2009, 03:28 AM
Post #37


Level 8
Group Icon

Group: Revolutionary
Posts: 117
Type: None
RM Skill: Undisclosed




QUOTE (wallywest07 @ Sep 9 2009, 03:28 PM) *
QUOTE (wallywest07 @ Sep 10 2009, 06:08 AM) *
Okay this is what i've done,copy my movie into the films folder,rename the script but there's an error.




It means "file./Films/modulasas.avi(my video) not found. "
Check that your video is in the correct directory ...
Go to the top of the page
 
+Quote Post
   
PnP
post Sep 13 2009, 12:59 PM
Post #38


Level 3
Group Icon

Group: Member
Posts: 44
Type: Artist
RM Skill: Intermediate




This is a really nice script and I would absolutely love to use it. Unfortunately, when I use the ORBS battle system script, the video won't appear if it's not on full screen. Is there a way to make them more compatible with each other? If not, I can understand.

Edit: For some reason, it works fine now. But now Woratana's Character Text Box script stopped working with this script. Is there a way to fix that?

This post has been edited by PnP: Sep 13 2009, 01:59 PM
Go to the top of the page
 
+Quote Post
   
wallywest07
post Oct 1 2009, 11:12 PM
Post #39



Group Icon

Group: Member
Posts: 4
Type: Developer
RM Skill: Beginner




OK here's what I've done.Before my computer was formatted i can play the video.
Now after reformatting it only shows a blank black screen without the video.
i've installed klite codec pack 4.9 and nothing changes.

The Demo version video can be played.What should i do?
Go to the top of the page
 
+Quote Post
   
megamario
post Nov 15 2009, 01:58 PM
Post #40


Level 2
Group Icon

Group: Member
Posts: 27
Type: Mapper
RM Skill: Intermediate




I Tried it and it makes my game freeze for about 3 seconds. No Video Shows up! Did i do something wrong?

EDIT: Nevermind, I acidently Played a Audio File laugh.gif

This post has been edited by megamario: Nov 15 2009, 02:05 PM


__________________________
I love Waffles, I love Pancakes, hmmmm French Toast?

[Show/Hide] Open it?




[Show/Hide] My FF Caracters
FF9Yay!
FF10


[Show/Hide] Current Project
Game Title: FFIX - Legend Of The Chocobo Knight
Story:9%
Characters:12%
Scripts:21%
Maps:1.8%

Overall Percent: 2.5%


[Show/Hide] Open if you Dare!
You Just got Shoop Da Whooped
Go to the top of the page
 
+Quote Post
   

3 Pages V  < 1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 18th May 2013 - 07:51 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker