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,716
Reaction score
15,840
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,716
Reaction score
15,840
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 Profile Posts

spent the entire day working on problems I was having in battle. enemy's tagging in and out was one of them.
Check out the Driftwood gamejam submissions, there's some pretty good projects in there.
Define purpose in your own words.
And assuming it doesn't contradict your definition: if someone takes your purpose away, can you get a new one?
At last, my fourth set of random sprites is finished! :kaojoy:
NebhyCL.jpg

Have fun recognizing characters!
The games industry runs on the altruism and passion of its victims.

Forum statistics

Threads
121,960
Messages
1,145,465
Members
160,232
Latest member
Yshz
Top