Strange Error involving battles.

Status
Not open for further replies.

Nekohime1989

Nekohime
Veteran
Joined
May 31, 2014
Messages
498
Reaction score
226
First Language
English
Primarily Uses
RMMZ
So im trying to run a battle with a event. The troop has the SF_Cyberspace battlebacks, but it keeps trying to load img/battlebacks/grassland which is throwing an error since I removed it. (I'm not using it after all) Yet the battle test for troops works fine. :kaosigh:

upload_2019-3-2_1-48-41.png

upload_2019-3-2_1-50-40.png

upload_2019-3-2_2-5-4.png
 

hiddenone

Lurker Extraordinaire
Global Mod
Joined
Feb 19, 2014
Messages
2,497
Reaction score
5,334
First Language
english
Primarily Uses
RMMZ
The backgrounds are not tied to troops but to maps, so if the map isn't set to have the cyber battleback then it won't appear (the battleback choice in the database doesn't affect the game). I'm not sure why it's trying to call a different one that not set though, that may have to do with a plugin you're using.
 

Silva

Scoobityboo
Veteran
Joined
Nov 5, 2018
Messages
399
Reaction score
221
First Language
English
Primarily Uses
RMMV
This is actually nothing to do with a plugin you're using. The default battleback is set in the rpg_sprites.js to 'Grassland'. You have a few options to get round this.

Pick a default battleback and change the name to grassland - this way when there's no battleback set on a map the game pulls this. This is the easiest method.

You can just set a default battle back on every map, this is the most time consuming method.

Change the value in the rpg_sprites.js file to the name of a different battleback. I could see this being prone to error (I personally don't understand everything that's going on in there).

Write or find a plugin that overrides the defaultBattleBack functions. Again, I can see this being prone to errors if you have to write it yourself, but someone else might already have a working plugin out there (might still have errors though).
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,842
Reaction score
5,225
First Language
Dutch
Primarily Uses
RMXP

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 Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top