SWAMPFOOT9000

Veteran
Veteran
Joined
Jun 1, 2014
Messages
52
Reaction score
9
First Language
English
Primarily Uses
N/A
I can remember how in VXace, there was a script by Victor called "Actor Battlers." This script would allow you to display static battler images for the actors in battle. You could also change the alignment so that they would display near the bottom of the screen horizontally. (Similar to RPGmaker XP's default.) When I first saw the BattlerGraphicSetup plugin, and saw that it supported static battlers, I was sort of expecting that this would be possible. However, I was wrong, and the actors can only be aligned at the side of the screen  :stare: . Am I missing something? Is there some other script that already exists that I can use to accomplish this effect?  
 

Victor Sant

Veteran
Veteran
Joined
Mar 17, 2012
Messages
1,694
Reaction score
1,471
First Language
Portuguese
Primarily Uses
You just need to change the postion of the battlers by editing a single line of code.


Search for this on the rpg_sprites.js


this.setHome(600 + index * 32, 280 + index * 48 + y * 24 - 24);


position x = 600 + index * 32


position y = 280 + index * 48 + y * 24 - 24


unless another plugin is messing with the position, in that case, check the plugin that is doing that.
 

SWAMPFOOT9000

Veteran
Veteran
Joined
Jun 1, 2014
Messages
52
Reaction score
9
First Language
English
Primarily Uses
N/A
You just need to change the postion of the battlers by editing a single line of code.


Search for this on the rpg_sprites.js


this.setHome(600 + index * 32, 280 + index * 48 + y * 24 - 24);


position x = 600 + index * 32


position y = 280 + index * 48 + y * 24 - 24


unless another plugin is messing with the position, in that case, check the plugin that is doing that.

It keeps telling me that y is undefined. Is there something I'm supposed to put in place of y that you sort of expected me to know? Or am I doing something else wrong?
 

Victor Sant

Veteran
Veteran
Joined
Mar 17, 2012
Messages
1,694
Reaction score
1,471
First Language
Portuguese
Primarily Uses
it's not for you to copy this, is for you to edit as you need. This is the line i've edited for my own use.
 

SWAMPFOOT9000

Veteran
Veteran
Joined
Jun 1, 2014
Messages
52
Reaction score
9
First Language
English
Primarily Uses
N/A
it's not for you to copy this, is for you to edit as you need. This is the line i've edited for my own use.

Oh, I see  :) . In that case I'll probably be able to figure it out, thanks!
 

Latest Threads

Latest Posts

Latest Profile Posts

On the "things im remaking" department even i kept getting confused by my status grenades similarity so i decided to redo both of them, now the icons and being thrown animations are very distinctive from each other :kaopride:
1679511126658.gif
1679511135459.gif
I genuinely like the default MZ actor sprites, and the character creator. I think I will draw new headshots for them, but part of me doesn't want to replace the default sprites. But should I? I want to eventually release my game.
Someday, I hope they make a game where 95% of the animation budget went to turning valves and opening door animations, leaving every other animation looking like a CDI zelda cutscene.
programming at 12 years old: "I love how it works!"
programming at 18: "I love that it works."
programming at 25: "I love why it works."
programming at 30: "I love when it works."
programming at 50: "How did this work?"

Forum statistics

Threads
129,766
Messages
1,204,948
Members
170,858
Latest member
MaryMarryMe
Top