How can I Play movie after choosing a skill in battle in RPG MAKER MV

GTFoxN6Y

Villager
Member
Joined
Dec 3, 2020
Messages
21
Reaction score
2
First Language
English
Primarily Uses
RMMV
I am haft way finished with GT Battle Station Xross Generations demo, but I need the game to make it more awesome by adding a super combo movie while in battle mode. I tried this code:

# -------------------------------------------------
# Script Name : Play Movie before skill
# Scripter : efeberk
# Date : 29.07.2013 07:28
# Version : RPG Maker VX Ace(RGSS3)
# ------------------------------------------------
#
# How to:
#
# Just add a little text to skill notetag
#
# <movie: x>
#
# x = movie name
#

class RPG::Skill < RPG::UsableItem

def movie
@note.scan(/<(?:MOVIE|movie):\s(\w+)>/i)
return $1.to_s
end

end

class Game_Battler < Game_BattlerBase

def use_item(item)
if item.is_a?(RPG::Skill)
Graphics.play_movie('Movies/' + item.movie) unless item.movie.empty?
pay_skill_cost(item)
end
consume_item(item) if item.is_a?(RPG::Item)
item.effects.each {|effect| item_global_effect_apply(effect) }
end
end
but that doesn't work. So how can I play the movie on the battle just like RMVX Ace?
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,788
Reaction score
5,340
First Language
English
Primarily Uses
RMVXA
Moved to Plugin Requests.

It sounds like you are asking for a conversion of this script from VX Ace to MV. Before someone (hopefully) takes the time to help you convert it, can you test the script in VX Ace and make sure it actually does (in Ace) what you're hoping to accomplish in MV?
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,368
Reaction score
605
First Language
indonesian
I am haft way finished with GT Battle Station Xross Generations demo, but I need the game to make it more awesome by adding a super combo movie while in battle mode. I tried this code:



but that doesn't work. So how can I play the movie on the battle just like RMVX Ace?
That is ruby script for ACE... you might need to ask someone to convert it to Javascript

alternatively... Victor battle motion plugin can play movie if i remember correctly... you might want to try that too...
Check the video on that page at 1:28
 

GTFoxN6Y

Villager
Member
Joined
Dec 3, 2020
Messages
21
Reaction score
2
First Language
English
Primarily Uses
RMMV
Moved to Plugin Requests.

It sounds like you are asking for a conversion of this script from VX Ace to MV. Before someone (hopefully) takes the time to help you convert it, can you test the script in VX Ace and make sure it actually does (in Ace) what you're hoping to accomplish in MV?
The internet said it works on MX Ace but can it still work on MV?
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,788
Reaction score
5,340
First Language
English
Primarily Uses
RMVXA
The internet said it works on MX Ace but can it still work on MV?
Unfortunately since VX Ace is written in Ruby (same as VX and XP) and MV is written in JavaScript (same as MZ), MV won't know what to make of the Ace script when you feed it in. That's why'd you need to have someone convert it to an MV-compatible plugin (a separate JS file similar to a script) for you. Occasionally, a kind member here will see a request like that and make it happen for you.
 

GTFoxN6Y

Villager
Member
Joined
Dec 3, 2020
Messages
21
Reaction score
2
First Language
English
Primarily Uses
RMMV
Unfortunately since VX Ace is written in Ruby (same as VX and XP) and MV is written in JavaScript (same as MZ), MV won't know what to make of the Ace script when you feed it in. That's why'd you need to have someone convert it to an MV-compatible plugin (a separate JS file similar to a script) for you. Occasionally, a kind member here will see a request like that and make it happen for you.
How?
 

GTFoxN6Y

Villager
Member
Joined
Dec 3, 2020
Messages
21
Reaction score
2
First Language
English
Primarily Uses
RMMV
Unfortunately since VX Ace is written in Ruby (same as VX and XP) and MV is written in JavaScript (same as MZ), MV won't know what to make of the Ace script when you feed it in. That's why'd you need to have someone convert it to an MV-compatible plugin (a separate JS file similar to a script) for you. Occasionally, a kind member here will see a request like that and make it happen for you.
That is ruby script for ACE... you might need to ask someone to convert it to Javascript

alternatively... Victor battle motion plugin can play movie if i remember correctly... you might want to try that too...
Check the video on that page at 1:28
IT don't work. I tried it and the error said: CANNOT READ PROPERLY "PUSH" OF UNDEFINED.
How can I fix it?
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,368
Reaction score
605
First Language
indonesian
i think that plugin have plugin dependencies...
you also need to install Victor Engine – Basic Module
place the basic module above the battle motions plugin.
hope this help...
 

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

Latest Threads

Latest Posts

Latest Profile Posts

YAY!!! My third help Guide STEAM integration in MV (High performance) has been posted!

Both the polls for the 3rd Original Character Contest ended with 5th place ties! So let's break those ties. Vote now for your favorite of the ones tied!


werewolf and his friends added!!

YAY! I just posted my third Guide! Setting up STEAM Integration in RPG Maker MV WITH updated NW.js (huge performance update)
rux
MUCLSES!!! :epicface: :epicface:

Forum statistics

Threads
107,512
Messages
1,030,159
Members
139,635
Latest member
Kankuro
Top