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. 😔
Strange Error involving battles.
RPG Maker MV SupportThe 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.
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).
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).
I didn't know that. Thanks.
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.
Original thread: https://forums.rpgmakerweb.com/threads/strange-error-involving-battles.106266/