Script to change window battle commands

Status
Not open for further replies.

Quanee

Veteran
Veteran
Joined
Sep 14, 2017
Messages
63
Reaction score
7
First Language
Polish
Primarily Uses
RMMV
Hi,

I'd like to change my window battle command window to show all of the commands at the same time, instead of seeing 4 at a time with an up/down arrow going through the rest of them. Below I'm attaching a link to steam forums I've found a bit useful (it's for width purposes though). But for the love of god, I can't figure out how to work it out based on that.

https://steamcommunity.com/app/363890/discussions/4/1290690669221836815/

Untitled-2.jpg

http://yanfly.moe/2015/10/10/yep-3-battle-engine-core/
https://atelierrgss.wordpress.com/download-page-mv-01/

MogHunter requires "battlehud" folder from /img imported, and just the MOG_BattleHud.js from the plugin folder.
 
Last edited:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
2,994
First Language
Tagalog
Primarily Uses
RMVXA
Find the part in the JS files where the number of lines for the Actor command window is set and change it to how many commands you want to be shown.. But ofc better do it via a new js file and alias the method instead of editing the default js file.
 

Quanee

Veteran
Veteran
Joined
Sep 14, 2017
Messages
63
Reaction score
7
First Language
Polish
Primarily Uses
RMMV
Find the part in the JS files where the number of lines for the Actor command window is set and change it to how many commands you want to be shown.. But ofc better do it via a new js file and alias the method instead of editing the default js file.
I think this is beyond me. I'm using MOGHunter's battle hud along with Yanfly battle engine core, both of them (+ basic plugin) are set at 5 max rows, yet it still won't change.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
2,994
First Language
Tagalog
Primarily Uses
RMVXA
Can you post a link to both plugins so that people can check them?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
2,994
First Language
Tagalog
Primarily Uses
RMVXA
I'll take a look at it more closely later.. but at first glance, on yanflys plugin there are two parameters for rows, one for command window, one for the other windows, for now make sure that the "Command Window Rows" are set to 5 or whatever you need.

Another possibility though is that the two plugins are conflicting but one of them should at least work for the rows.
 

Quanee

Veteran
Veteran
Joined
Sep 14, 2017
Messages
63
Reaction score
7
First Language
Polish
Primarily Uses
RMMV
I'll take a look at it more closely later.. but at first glance, on yanflys plugin there are two parameters for rows, one for command window, one for the other windows, for now make sure that the "Command Window Rows" are set to 5 or whatever you need.

Another possibility though is that the two plugins are conflicting but one of them should at least work for the rows.
Already tried that. When I disable Moghunter's plugin it works like a charm, I can put however many rows I'd like through that option w/o any issues. MOGs' batttlehud seems to be an issue here. I can't really drop the plugin though, it brings too much free customization to battle windows.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
2,994
First Language
Tagalog
Primarily Uses
RMVXA
You should probably ask Mog or Yanfly for a compatibility patch then, they would know how to best approach this.

TBH, its a good idea to stick to one scripter for related scripts/plugins coz these things arise every now and then especially when you use two different scripts that modify the same things.
 

Quanee

Veteran
Veteran
Joined
Sep 14, 2017
Messages
63
Reaction score
7
First Language
Polish
Primarily Uses
RMMV
You should probably ask Mog or Yanfly for a compatibility patch then, they would know how to best approach this.

TBH, its a good idea to stick to one scripter for related scripts/plugins coz these things arise every now and then especially when you use two different scripts that modify the same things.
I've had another test, and I don't think it's compatibility issue. With everything besides Moghunter disabled, I still can't force 5 rows to show up via editing .js file, it's mind-blowing, haha.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
2,994
First Language
Tagalog
Primarily Uses
RMVXA
That would mean that Mog's script has a setting for it that either you overlooked or is not working correctly. Sadly I cant check Mogs file right now coz Im on my phone and it needs to be downloaded
 

Quanee

Veteran
Veteran
Joined
Sep 14, 2017
Messages
63
Reaction score
7
First Language
Polish
Primarily Uses
RMMV
That would mean that Mog's script has a setting for it that either you overlooked or is not working correctly. Sadly I cant check Mogs file right now coz Im on my phone and it needs to be downloaded
You're huge help anyway, I've managed to at least locate the issue :D. If you could check it out sometime I'd be grateful, if not, totally understandable.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
2,994
First Language
Tagalog
Primarily Uses
RMVXA
That probably wont be until about 2 days from now.. Lets hope that either you finally find how to fix it, or somebody else does within that time :)
 

Quanee

Veteran
Veteran
Joined
Sep 14, 2017
Messages
63
Reaction score
7
First Language
Polish
Primarily Uses
RMMV
Sorted! Thanks again Adiktuzmiko.

In Moghunter's battlehud plugin find these lines:

// ACTOR COMMAND ---------------------------------------------------------------------
this._actorCommandWindow.x = Moghunter.bhud_com_x;
this._actorCommandWindow.y = Moghunter.bhud_com_y;
this._actorCommandWindow.vis = this._actorCommandWindow.visible;
this._actorCommandWindow.width = Moghunter.bhud_com_width;
this._actorCommandWindow.height = Moghunter.bhud_com_height;
if (String(Moghunter.bhud_com_layout) === "true") {this._actorCommandWindow.opacity = 0};

And delete all of them except the last one, works like a charm.
 

hiddenone

Lurker Extraordinaire
Global Mod
Joined
Feb 19, 2014
Messages
2,473
Reaction score
5,303
First Language
english
Primarily Uses
RMMZ

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts


finally, the B-tile is added to the forum and steam!
I hope my annual #DoItForHargon contest gets lots of entries this year (since a Playstation 5 is a pretty big prize lol) XD On further news - I'm back to game devving next week after hiatus cause of that tragedy of losing everything I own.
Rome Trastevere deserve a tileset. Mumble mumble...
Before the full time job, I can make 1 MZ plugin per day, even though it's still hard; With the full time job, making 1 such plugin per week becomes just as hard lol

Forum statistics

Threads
102,989
Messages
996,505
Members
134,463
Latest member
adafon
Top