violentpurge09 0 Report post Posted May 16, 2011 When an enemy transforms RPG maker VX adds a letter (B, for the first time, C for the second... ect ect.) i want/need for this not to happen... i can supply the custom scripts im using if necessary. thanks Violentpurge09 Share this post Link to post Share on other sites
kellessdee 48 Report post Posted May 16, 2011 RM VX adds letters to any multiple enemies...do you not want the letter to show ever? or just when they transform? either way: class Game_Troop #-------------------------------------------------------------------------- # * Setup # troop_id : troop ID #-------------------------------------------------------------------------- def setup(troop_id) clear @troop_id = troop_id @enemies = [] for member in troop.members next if $data_enemies[member.enemy_id] == nil enemy = Game_Enemy.new(@enemies.size, member.enemy_id) enemy.hidden = member.hidden enemy.immortal = member.immortal enemy.screen_x = member.x enemy.screen_y = member.y @enemies.push(enemy) end end end class Game_Interpreter #-------------------------------------------------------------------------- # * Enemy Appear #-------------------------------------------------------------------------- def command_335 enemy = $game_troop.members[@params[0]] if enemy != nil and enemy.hidden enemy.hidden = false end return true end #-------------------------------------------------------------------------- # * Enemy Transform #-------------------------------------------------------------------------- def command_336 enemy = $game_troop.members[@params[0]] if enemy != nil enemy.transform(@params[1]) end return true end end What I have done is simply modified the Game_Interpreter and Game_Troop classes to eliminate all "make_unique_names" method calls (which is the method that adds letters to the enemy names) Just put in materials section This should work, lemme know if there are any issues. Share this post Link to post Share on other sites
violentpurge09 0 Report post Posted May 17, 2011 RM VX adds letters to any multiple enemies...do you not want the letter to show ever? or just when they transform? either way: class Game_Troop #-------------------------------------------------------------------------- # * Setup # troop_id : troop ID #-------------------------------------------------------------------------- def setup(troop_id) clear @troop_id = troop_id @enemies = [] for member in troop.members next if $data_enemies[member.enemy_id] == nil enemy = Game_Enemy.new(@enemies.size, member.enemy_id) enemy.hidden = member.hidden enemy.immortal = member.immortal enemy.screen_x = member.x enemy.screen_y = member.y @enemies.push(enemy) end end end class Game_Interpreter #-------------------------------------------------------------------------- # * Enemy Appear #-------------------------------------------------------------------------- def command_335 enemy = $game_troop.members[@params[0]] if enemy != nil and enemy.hidden enemy.hidden = false end return true end #-------------------------------------------------------------------------- # * Enemy Transform #-------------------------------------------------------------------------- def command_336 enemy = $game_troop.members[@params[0]] if enemy != nil enemy.transform(@params[1]) end return true end end What I have done is simply modified the Game_Interpreter and Game_Troop classes to eliminate all "make_unique_names" method calls (which is the method that adds letters to the enemy names) Just put in materials section This should work, lemme know if there are any issues. Its still doing it. im using the battle edit scripts you did for me. would those be effecting it? Share this post Link to post Share on other sites
kellessdee 48 Report post Posted May 17, 2011 they shouldn't be interfering with each other...hmm tbh I never actually tested it; I will look into this though and let you know EDIT: DERP I think I *Might* know what is wrong- try this: replace the first line with this. (or just add " < Game_Unit" to the end of the line.) class Game_Troop < Game_Unit if that doesn't work try this: class Game_Troop < Game_Unit def make_unique_names return end end Share this post Link to post Share on other sites
violentpurge09 0 Report post Posted May 19, 2011 they shouldn't be interfering with each other...hmm tbh I never actually tested it; I will look into this though and let you know EDIT: DERP I think I *Might* know what is wrong- try this: replace the first line with this. (or just add " < Game_Unit" to the end of the line.) class Game_Troop < Game_Unit if that doesn't work try this: class Game_Troop < Game_Unit def make_unique_names return end end Thanks it works now :) Share this post Link to post Share on other sites