Vehicle Step-Animations in rpg maker mv

Status
Not open for further replies.

CB11B

Warper
Member
Joined
Sep 6, 2016
Messages
1
Reaction score
0
First Language
English
Primarily Uses
So i'm trying to find a way to change the animation for the Vehicles, so like the player they don't use a  step animation until they move, i'm having a bit of trouble with this can someone help?


i have found a way to do the opposite with the player, but i'm yet to find a way to manipulate the Vehicles.


this is the only function that i have found that i can do anything with the animations, but its not quite what i'm trying to do, by changing this i can only make the Vehicle stop all animations.


Game_Vehicle.prototype.getOn = function() {
    this._driving = true;
    this.setWalkAnime(true);
    this.setStepAnime(true);
    $gameSystem.saveWalkingBgm();
    this.playBgm();


};


Can anyone help? thanks.
 

Marillmau5

Veteran
Veteran
Joined
May 8, 2014
Messages
90
Reaction score
9
First Language
English
sorry to bump this but i dont want to make a new post for the same question.


i made a common event to change the graphics to make it look like you got on a horse but i cant turn off stepping animation while on the horse/boat vehicle.


using the land vehicle script btw.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
Just disabling the this.setStepAnime(true) line should fix it.  Not sure how you changed it in order to make it stop ALL animations.


If you only want to disable the stepping animation for some vehicles but not all of them, just use a condition to determine whether it should be set to true or false.



If you can't figure it out, show us what you've done already.
 

Marillmau5

Veteran
Veteran
Joined
May 8, 2014
Messages
90
Reaction score
9
First Language
English
Side Info:


Im using a plugin that changes the boat to go on land.


I have a character image, a horse image and a character on horse image.


My set up:


So i have an event to check if player is on the boat.


if the player is on the boat the conditional branch changes the boat image to the player on the horse.


All that works but the step animation is on like if the horse is always walking in place, i just want the walk animation on so when i finally move the character the image moves.


Trying out the ops script it stops the boat graphic from walking or stepping for some reason, and i tried all alterations like including, excluding, setting to false and true, but it does let you move around but the animation is static.


So all in all i just want stepping animation off, forever on boats. Ive included a picture it doesnt really help but I just wanted to share, using time fantasy dlc.


Really appreciate you taking the time to help me out.


123.png
 
Last edited by a moderator:

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
[necro]mental_fallout[/necro]
Please start a new thread with your precise query.

[mod]Closing[/mod]
 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,466
Members
137,821
Latest member
Capterson
Top