How can I disable the "guard pose" while using the guard command?

Mparagames

Amateur developer trying to be awesome
Member
Joined
Jan 8, 2018
Messages
16
Reaction score
4
First Language
Portuguese(BRA)
Primarily Uses
RMMV
Question is, I want the guard command to stay on my game; but I want for the character to stay in its regular
animation while guarding insteadof doing the "guard pose". How can I do that?


Sorry if I posted this in the wrong place.
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,125
Reaction score
10,639
First Language
Czech
Primarily Uses
RMMV
The easiest way to do it would be to open the sv battler and overwriting a guard pose with a normal pose.
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
555
Reaction score
230
First Language
english
Primarily Uses
RMMV
in Guard State, remove special flag guard and add sp-parameter p.dmg 50% n m.dmg 50%
 

Mparagames

Amateur developer trying to be awesome
Member
Joined
Jan 8, 2018
Messages
16
Reaction score
4
First Language
Portuguese(BRA)
Primarily Uses
RMMV
in Guard State, remove special flag guard and add sp-parameter p.dmg 50% n m.dmg 50%
It doesn't work, since the pose is activated even if I remove the "add state Guard" effect from the Guard command.

The easiest way to do it would be to open the sv battler and overwriting a guard pose with a normal pose.
I know this is a possiblity, but I still want to use that Guard pose for other means. Is there away to disable the gurd pose for the guard command without needing to change graphics then?
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,125
Reaction score
10,639
First Language
Czech
Primarily Uses
RMMV
Code:
Game_Actor.prototype.performAction = function(action) {
    Game_Battler.prototype.performAction.call(this, action);
    if (action.isAttack()) {
        this.performAttack();
    } else if (action.isGuard()) {
        this.requestMotion('guard');
    } else if (action.isMagicSkill()) {
        this.requestMotion('spell');
    } else if (action.isSkill()) {
        this.requestMotion('skill');
    } else if (action.isItem()) {
        this.requestMotion('item');
    }
};
Inside rpg_objects.js there is this code. Deleting a certain else if case could help.
 

Mparagames

Amateur developer trying to be awesome
Member
Joined
Jan 8, 2018
Messages
16
Reaction score
4
First Language
Portuguese(BRA)
Primarily Uses
RMMV
Deleting a certain else if case could help.
Great, now the characters do not show the guarding pose while using the guarding command. However, the
pose still ramains at the the skill selection screen, where the character poses right after choosing "guard", while
I'm still selecting the actions of other actors. The pose goes off as soon as the posing actor starts to actually guard.

How can I fix that? I want no guard pose at all when choosing "guard", not even at the skill selection screen.
 
Last edited:

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

Latest Threads

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,230
Members
137,607
Latest member
Maddo
Top