Okay, so I'm having an issue when using this script by Tsukihime.
The enemies are added without a problem, but their sprites are not loaded. I thought it might have something to do with their positioning--like, they may have been shoved off-screen--but I don't think so. The reason being that, additionally, when these "new" enemies are attacked, the sound effects associated with those attack's animations do not play. This suggests something along the lines of effects refreshing for the "new" enemies.
Problem with Enemy Reinforcement Script by Tsukihime
● ARCHIVED · READ-ONLY
-
-
What other scripts are you using, especially in the case of any battlescript you're using...
-
Um...
Formula Effects by Tsukihime
Yanfly's Engine Ace - Skill Cost Requirements
Dynamic Features by Shaz
I think the real problem is related to the bootleg configuration I devised for the battler sprites in order to display and position the actor sprite as well as the enemies. That might be interfering with their "natural" display, refreshing, etc. -
most probably, yes - can you say what changes you did to display actor spritres if you didn't use one of the battlescript that do that for you?
-
Yeah. I rewrote the use_sprites? method in actors to true. And in the Spriteset_Battle class, I made it so that it uploaded an actor bitmap from the Cache and positioned it to the right of the screen. Finally, I modified the method for updating the bitmap in the Sprite_Battler class by changing from which folders it retrieves the images and modified the update origin method because it would send my sprites off-screen.
-
no description please - anyone helping you needs the exact code
-
Alright. Here are the likely offenders:
Code:class Sprite_Battler... def update_origin if bitmap self.ox = bitmap.width / 2 self.oy = bitmap.height / 2 endendCode:class Spriteset_Battle...def create_actors @actor_sprites = $game_party.members.reverse.collect do |actor| Sprite_Battler.new(@viewport1, actor, actor.actor_id) end position_actors end def position_actors $game_party.members.each_with_index {|actor, i| if $game_troop.id != 26 actor.screen_x = Graphics.width - 100 - 150 * i actor.screen_y = 300 - @actor_sprites[i].height * (2 /3) else actor.screen_x = Graphics.width / 2 actor.screen_y = 300 - @actor_sprites[i].height * (2 /3) end } end