ThatMaestroGuy

You are lovely~
Regular
Joined
Jan 14, 2014
Messages
945
Reaction score
294
First Language
English
Primarily Uses
RMMV
Ugghh...I feel like I'm flooding this section with questions (even though this is only my second one). Sorry! D:

I'm trying to change the battle back during a battle for dramatic effect. The thing is, I cannot use any scripts to do so. It's not that I don't want to use scripts, but the challenge set before me is preventing me from using any...period. So I'm trying to do such with commands and such.

I figured that I'd be able to change the battle back using the "Change Battle Back" command, but it doesn't seem to be letting me do it while I'm already in a battle. I changed the settings on the map and on the Troop tab in the database, but both seem to do nothing when that command is put in during a battle. I might have thought that I was doing something wrong with the battle events, but the rest of them prior to this command and after all seem to be working just fine...help!

Again, a major thanks in advance for the help...if this is possible to do without scripting. If it's IMPOSSIBLE to do, well...I suppose that can't be helped, right? =P But thanks for your time, anyway!
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Regular
Joined
May 15, 2012
Messages
14,693
Reaction score
3,034
First Language
Tagalog
Primarily Uses
RMVXA
Well, you can use script event lines right???


now if even that is prohibited, then I don't think there's a way
 

ThatMaestroGuy

You are lovely~
Regular
Joined
Jan 14, 2014
Messages
945
Reaction score
294
First Language
English
Primarily Uses
RMMV
Ah, Engr. Shana, you've come to my rescue yet again! Thanks for the information! I suppose I'll just leave it with one particular battle back for now, then. XD
 

Archeia

Level 99 Demi-fiend
Staff member
Developer
Joined
Mar 1, 2012
Messages
15,709
Reaction score
16,505
First Language
Filipino
Primarily Uses
RMMZ
There is a way. In troops tab:

Change Battleback to your desired graphic.

Script Call: SceneManager.scene.refresh_battleback

This will only work if you play in-game from Map -> Battle and not in test play.
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Regular
Joined
May 15, 2012
Messages
14,693
Reaction score
3,034
First Language
Tagalog
Primarily Uses
RMVXA
I think he thinks he cannot use even a script call or something for the contest... well, at least I asked him on my post and based on his reply, I think he thinks that
 

Archeia

Level 99 Demi-fiend
Staff member
Developer
Joined
Mar 1, 2012
Messages
15,709
Reaction score
16,505
First Language
Filipino
Primarily Uses
RMMZ
No you can't use scripts but you can definitely use script calls from DEFAULT functions.

That's like banning $game_variables which doesn't make sense.
 
Last edited by a moderator:

ThatMaestroGuy

You are lovely~
Regular
Joined
Jan 14, 2014
Messages
945
Reaction score
294
First Language
English
Primarily Uses
RMMV
Really, Archeia? That's awesome!

Only problem now is that I've no idea what you mean by your command of "Script Call: SceneManager.scene.refresh_battleback." I'm quite a newb when it comes to scripting much of anything, and I don't understand it...but I'm willing to learn! Can you please explain what it is you mean by that? Or what it is I have to do, exactly? Sorry, again, for the questions/overall newbie-ness! D:
 

SinのAria

The Chaotic One
Regular
Joined
Feb 11, 2014
Messages
159
Reaction score
99
First Language
C++
Primarily Uses
N/A
There is a way. In troops tab:

Change Battleback to your desired graphic.

Script Call: SceneManager.scene.refresh_battleback

This will only work if you play in-game from Map -> Battle and not in test play.
When I tried this, it ended up crashing the game because of an error.  I'm assuming we are both working on the boss battle contest.

Script 'Game_Interpreter' line 1411: NoMethodError occurred.
undefined method 'refresh_battleback' for

#<Scene_Battle:0x92d91d8>
 
Last edited by a moderator:

ThatMaestroGuy

You are lovely~
Regular
Joined
Jan 14, 2014
Messages
945
Reaction score
294
First Language
English
Primarily Uses
RMMV
Indeed. Likewise. Blargh...after this entry is done, I SERIOUSLY need to start learning more about scripting and using more than just events to solve all of my problems. =\
 

SinのAria

The Chaotic One
Regular
Joined
Feb 11, 2014
Messages
159
Reaction score
99
First Language
C++
Primarily Uses
N/A
Indeed. Likewise. Blargh...after this entry is done, I SERIOUSLY need to start learning more about scripting and using more than just events to solve all of my problems. =\
The problem is that we aren't allowed to make our own scripts or this would be so much easier.
 

ShinGamix

DS Style 4Ever!
Regular
Joined
Mar 18, 2012
Messages
3,968
Reaction score
530
First Language
April Fools
Primarily Uses
RMVXA
So for someone who doesn't know how to do it from reading this whole topic 

How would I change battle back mid-battle because I hadn't thought of that as of yet.

(Script, Script call, or otherways is fine by me.)
 

Tsukihime

Regular
Regular
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,924
First Language
English
There is a way. In troops tab:


Change Battleback to your desired graphic.


Script Call: SceneManager.scene.refresh_battleback


This will only work if you play in-game from Map -> Battle and not in test play.
I don't remember seeing any method like "refresh_battleback" anywhere


Or was this added in 1.02?
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Regular
Joined
May 15, 2012
Messages
14,693
Reaction score
3,034
First Language
Tagalog
Primarily Uses
RMVXA
@Tsukihime - I think ur right, because he said he was getting errors. :)


I think this is how to do it:


1)Use the event commands for changing battlebacks


2)Remove the old battlebacks from Spriteset_Battle


3)Re-call the create_battleback1 and create_battleback2 methods of Spriteset_Battle
 
Last edited by a moderator:

ThatMaestroGuy

You are lovely~
Regular
Joined
Jan 14, 2014
Messages
945
Reaction score
294
First Language
English
Primarily Uses
RMMV
So...use the event command to change the battleback to what I want in the Battle Event window...open up the script editor, find where all of the battlebacks are listed, delete them all, and then...I don't know. As newbish as it sounds, I've never used the "Common Events" feature of VX Ace, nor do I understand how to use the "Call Common Events" command. I apologize for my newbishness in advance. :<
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Regular
Joined
May 15, 2012
Messages
14,693
Reaction score
3,034
First Language
Tagalog
Primarily Uses
RMVXA
no I don't mean opening up the scripts and delete, how can you even do that in-game?


Though I'm not sure if the battleback sprites are accessible without a small edit to the scripts
 

Latest Threads

Latest Profile Posts

Come and join me in 5 minutes for RPG Friday, where I might be continuing with OMORI! (or I might not...) https://twitch.tv/trihanstreams
If I receive a lot of feedback on my new Phil Alone - Game Dev Book DLC page here in this forum, I will give some free keys to the DLC!
Me: So close to finishing what I'm working with.
Baby: Yeah....Imma need your time, all of it.'
Me: B...but..
Baby: ALL....OF....IT.
You can use tweening for attack animations to work with patterns. I knew scale, blending, etc. worked...but I somehow mislooked patterns which saves a lot of time.

Forum statistics

Threads
134,721
Messages
1,250,073
Members
177,478
Latest member
K4XR3L
Top