Name Input Processing and the Battle System

Hi. So I'm a little stumped on this one. I have my first actor named already, but in the opening cut scene I have the name input processing pop up so the player can change Actor 001's name. That works fine for all subsequent dialogue and events where I use \N[1], but in battle it still has the default Actor001: name. For example, "Default was victorious!" instead of whatever the player might have named their character.

I looked in the scripts and I think it's to do with the vocab module and that variable on line 36 (and subsequently 26 and wherever it would pull from the data_system). My question is how do I get that changed? I'm still very new and shaky on scripting. Or I could be totally wrong and it's something else.

I realize I could probably solve this just by leaving Actor 001: completely blank but I'd like to have that Default name in there if possible.

Thanks!
I've tried to duplicate that error on a blank project, but it doesn't seem to be occurring. Are you using a script that modifies the message codes? Or better yet, are you storing the name on the right actor?
@JGreene I haven't used any new scripts yet, but I did alter lines 171-173 of BattleManager with # to stop the "enemy has emerged!" from popping up. In the actor database tab I have my default name set (Victor in this case), and Name Input Processing points to 001:Victor in the event where the player can change his name.

I'll open a blank project as well and give it a try to see if I can rule out the possibility that I accidentally broke something in the scripts. Thank you for checking!

Edit: Well it works as intended in the new project so it looks I broke something. :elswt2:Back to the debugging drawing board. I didn't even think to try a new project... At least I have something to compare it to.

Edit2: Yep. It's something in lines 171-173 that breaks it. I removed the # and it worked as it was supposed to. I think I can figure it out from here. Thanks!
I'm glad you figured it out! 😀

Just in case you were still wanting to remove the "Enemy emerges" message from your battle scene, you can do it like this:

Spoiler: Lines 171-173
$game_troop.enemy_names.each do
#|name|
#$game_message.add(sprintf(Vocab::Emerge, name))
I'm glad you figured it out! 😀

Just in case you were still wanting to remove the "Enemy emerges" message from your battle scene, you can do it like this:


$game_troop.enemy_names.each do
#|name|
#$game_message.add(sprintf(Vocab::Emerge, name))

This is perfect. I went through the opening cut scene, renamed the character and it worked perfectly. I guess hashing out all the lines messes with the input process somehow. I really gotta learn Ruby. Thank you again! 😀

Original thread: https://forums.rpgmakerweb.com/threads/name-input-processing-and-the-battle-system.79692/