Per 2016, RMID pindah ke RMID Discord (Invite link dihapus untuk mencegah spambot -Theo @ 2019). Posting sudah tidak bisa dilakukan lagi.
Mohon maaf atas ketidaknyamanannya dan mohon kerjasamanya.
|
|
| [SOLVED] masukin video opening d RPG maker | |
| 2010-08-11, 12:16 | [SOLVED] masukin video opening d RPG maker |
---|
black_magiccc Newbie
Posts : 4 Thanked : 0 Engine : RMVX Skill : Beginner Type : Scripter
| agan-agan aq mo nnya donk.... cara masukin video di RPG gmn sih???aq dah utak utik tp tetep kgak bs.... klo da yang tau tlong dbantu yach.....thanks.... |
| | | 2010-08-11, 12:20 | Re: [SOLVED] masukin video opening d RPG maker |
---|
izn_lawliet Advance
Posts : 434 Thanked : 5 Engine : RMVX Skill : Beginner Type : Event Designer
| pake script tuh.. Coba googling dulu ato cari di rpgmakervx.net Arigatou~ :izn: |
| | | 2010-08-11, 12:26 | Re: [SOLVED] masukin video opening d RPG maker |
---|
eve Loli Mecha Mesum Musume
Posts : 1620 Thanked : 30 Engine : Other Skill : Beginner Type : Writer
Awards:
| pertanyaan anda sudah di jawab oleh decla jauh sebelum trit ini di buat..,., coba search newbie faq di suatu tempat di dalam forum ini.,.,., tapi lumayanlah buat nambah post count.,., thanx atas pertanyaannya |
| | | 2010-08-12, 06:38 | Re: [SOLVED] masukin video opening d RPG maker |
---|
Yaden Legendary
Posts : 2056 Thanked : 17 Engine : RMVX Skill : Very Beginner Type : Artist
| @TS: coba pake script ini kk: - 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 Taruh diantara Material dan Main.. Terus di Folder Project kamu buat Folder "Films" dan taro video kamu dengan nama "test" Credit to par berka (Mungkin?? ) Cuman nambah postcount, makasih.. (Tapi kalo ga bisa, saya ga tau yah.. utak-atik aja tu skrip ) SOLVED yah?? |
| | | 2010-08-12, 12:05 | Re: [SOLVED] masukin video opening d RPG maker |
---|
black_magiccc Newbie
Posts : 4 Thanked : 0 Engine : RMVX Skill : Beginner Type : Scripter
| thanks ya ats jwban2nya....aq coba utak utik dlu.... |
| | | | Re: [SOLVED] masukin video opening d RPG maker |
---|
Sponsored content
| | | | | [SOLVED] masukin video opening d RPG maker | |
|
Similar topics | |
|
Similar topics | |
| |
Halaman 1 dari 1 | |
| Permissions in this forum: | Anda tidak dapat menjawab topik
| |
| |
Latest 10 Topics | [Web Novel] Gloria Infidelis 2016-11-17, 21:27 by LightNightKnight
[Announcement] Forum baru untuk RMID 2016-08-25, 16:39 by TheoAllen
Where I'm Wrong ? 2016-07-24, 16:10 by ReydVires
flakeheartnet's Resources part III 2016-07-08, 14:30 by flakeheartnet
Keira's Art Warehouse 2016-06-28, 19:27 by KeiraBlaze
Theo Core Time System + Bingung 2016-06-27, 16:24 by Lockin
Error Script, Maybe ? 2016-06-27, 16:20 by Lockin
Nusaimoe @ RMID Lounge 2016-06-21, 05:02 by Jihad Bagas
Call Random Battle 2016-06-15, 17:04 by Lockin
Flakeheartnet Resources Part II [come back gift] 2016-06-07, 15:51 by flakeheartnet
|
Statistics
|
Members: [ 4947 ]
Topics: [ 8258 ]
Posts: [ 112606 ]
Newest member: [ https://rmid.forumotion.net/u4968 ]
|
|
|
|
|
|