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,811
Reaction score
5,364
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,376
Reaction score
617
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,811
Reaction score
5,364
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,376
Reaction score
617
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...
 

Latest Threads

Latest Posts

Latest Profile Posts


When you thought you'd be finished with the grid, and spend ~8-9 hours on an arrow. How is this more difficult to than player movement?

Still some bugs hiding in there, but it's nearly complete.

I'm having it strictly follow the path a user draws, because there will be booby trap and other similar mechanics where you want to avoid specific cells.
I feel like banging my head against a wall every time I want to find that post that shows all the plugin header codes. Then I think "next time I find it, I'm going to bookmark it". Then I think "wait a minute ... maybe I bookmarked it last time because it took me so long to find it". Check bookmarks, and there it is :)
... a few of my main characters standing around doing nothing lol. I mostly wanted to see them together on screen.

Forum statistics

Threads
107,824
Messages
1,032,448
Members
139,975
Latest member
Lucimountfort
Top