aaronjmcd2

Veteran
Veteran
Joined
Aug 19, 2015
Messages
36
Reaction score
0
First Language
English
Primarily Uses
I'm trying to create a battle in which the function that alphabetizes the enemies (i.e., Bat, Bat A, Bat B, Bat C, etc...) is turned off, so all the bats would just be called "Bat."  I would prefer this to be the case for just this one evented battle.  But I'm willing to completely turn it off if needed. Thanks for your help!    
 

Dachimotsu

Veteran
Veteran
Joined
Oct 26, 2015
Messages
61
Reaction score
13
First Language
English
If it's just one battle, make duplicates of the enemy and use the same exact name. It only adds letters to multiple enemies with the same id.

I think. I haven't tested it, but you can give it a shot.
 
Last edited by a moderator:

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,647
Reaction score
15,736
First Language
English
Primarily Uses
RMMV
Comment out line 5235 of rpg_objects.js:

Code:
this.makeUniqueNames();
Or if you want it as a plugin that you can just add to the game (which means you don't need to remember to make the change every time there's an update to the default scripts, and it's easy to add to new projects), save the following into a new .js file (any name) in your js/plugins folder and add it to your game via the plugin manager:
Code:
Game_Troop.prototype.makeUniqueNames = function() {};
 
Last edited by a moderator:

aaronjmcd2

Veteran
Veteran
Joined
Aug 19, 2015
Messages
36
Reaction score
0
First Language
English
Primarily Uses
Comment out line 5235 of rpg_objects.js:

this.makeUniqueNames();Or if you want it as a plugin that you can just add to the game (which means you don't need to remember to make the change every time there's an update to the default scripts, and it's easy to add to new projects), save the following into a new .js file (any name) in your js/plugins folder and add it to your game via the plugin manager:
Code:
Game_Troop.prototype.makeUniqueNames = function() {};
I just inserted the plugin, and it works great! Thanks!  It should be noted for anybody who tries to use this plugin that the plugin does not work in the Battle Tester.  I had to test it during actual game play.  Thanks again!
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,647
Reaction score
15,736
First Language
English
Primarily Uses
RMMV
Did you save it first before trying the battle test? Normally when you play test, it asks you to save first, and at that point all the plugin settings you've changed are saved, and available for reading when the game launches. If you add the plugin but don't save, then it's only in memory that it knows about the plugin, and not the files on your computer, and those are what's used when you do a battle test. Saving will update them with the latest of what's in memory.


Having said that, when you do a battle test, not everything is loaded, and battles are called in a different way. So it is possible that even with saving prior to battle test, it still may not take effect. That would mean that NO plugins are effective for battle test, and I kind of find it hard to believe.


So, after saving, try the battle test again and see if it behaves differently.
 

aaronjmcd2

Veteran
Veteran
Joined
Aug 19, 2015
Messages
36
Reaction score
0
First Language
English
Primarily Uses
Did you save it first before trying the battle test? Normally when you play test, it asks you to save first, and at that point all the plugin settings you've changed are saved, and available for reading when the game launches. If you add the plugin but don't save, then it's only in memory that it knows about the plugin, and not the files on your computer, and those are what's used when you do a battle test. Saving will update them with the latest of what's in memory.

Having said that, when you do a battle test, not everything is loaded, and battles are called in a different way. So it is possible that even with saving prior to battle test, it still may not take effect. That would mean that NO plugins are effective for battle test, and I kind of find it hard to believe.

So, after saving, try the battle test again and see if it behaves differently.
Oh, you were absolutely right, it worked after save.  Still a total noob.  Thanks again!
 

Latest Threads

Latest Posts

Latest Profile Posts

Psychronics Games is doing a livestream about my game in a bit... And I will do a video about his game after that.
Watch their stream with us on youtube!
I have been enjoying a game on my iPhone, called Wonderbox. It is just a little game where you create adventures, share them, whilst also being able to play others. It's a bit zelda-esque. I have started some youtube for those, gonna start with RPG maker things soon as well. So if you wish to see, do check it out :)
SF_People3_3 added!
index.php

ScreenShot_1_3_2022_1_32_12.png
I feel QSprite for MV is underrated. I basically am able to use my chibi sideview battlers I drew on the maps and have all the motions available. this'll help a lot with cutscenes.
I've figured out how to reasonably tall-ify chibi sprites on my editor. I like that making tall sprites gives me control on expressing how tall characters seem on the field relative to each other as well as better differentiate adult sprites from child sprites.

Forum statistics

Threads
118,568
Messages
1,116,995
Members
155,612
Latest member
kanthida
Top