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,459
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,459
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 Profile Posts

SF_People3_1 added!
index.php

Micro rant. The worst part of working from home when you live with your family is seeing how inconsiderate they are. "Hey, you're sitting in front of your computer, that means you're not doing anything! I want to put the TV at 200 decibels!"

If I was working in the office would you still talking me like that?
It's definitely discouraging when streamers give a try-to-say-it-nicely (i.e. bad) review of your game demo. It's like jumping into a cold pool. Bad initally, but it gets better with time. And you are now more alert and see better.
Some screenshots of the pub and lodging with the beginnings of clutter taking shape
TTp8uCw.png

jtC202e.png

bSXgyVl.png

eRx9PUF.png
Backgrounds are not my strong suit... :kaodes:
DazI8jt.jpg

Just realized I forgot doing the clouds... woops

Forum statistics

Threads
118,507
Messages
1,116,487
Members
155,507
Latest member
2dweeb6ae
Top