Inscrit le: 05 Sep 2006, 00:00 Messages: 134 Points d'aide: 0/60
Créations :
Voir ses créations
|
Peut-êttre que ça ne fonctionne pas avec le script 2.5 de combat vue de coté je n'en sais rien sinon essay de voir avec 1,3 ou4 perso et si ça continue regarde dans le scriptpour la position des barres vers la lingne 238 a 300 ou alors *utilise cette fonction# sur t ligne qui ne marche pas pour que le script l'ignore normlement ça devrait te donner ça et aussi retire un end a la fin de la constante enfin copie le script si tu pens que c'est plus simple C'est trop simple!! LOL- Code: Tout sélectionner
#-------------------------------------------------------------------------- # ? Jauge OD #-------------------------------------------------------------------------- def draw_actor_od_jauge(actor, x, y, width) # Jauge if $game_temp.in_battle && self.is_a?(Window_BattleStatus) @gs_od[actor.index] = actor.overdrive if @gs_od[actor.index] == nil dx = actor.screen_x + 52 - @od_g_width dy = y + ($game_temp.in_battle ? KGC::OD_jauge_OFF_Y_BATTLE : KGC::OD_jauge_OFF_Y) dx -= 16 if $imported["HPSPAlter"] && !KGC::HPSP_DRAW_NAME_LUMP gw = @gs_od[actor.index] * @od_g_width / KGC::OD_jauge_MAX maximum = @gs_od[actor.index] == KGC::OD_jauge_MAX else @jauge_x = 0 dx = x + width - @od_g_width - 13 dy = y + ($game_temp.in_battle ? KGC::OD_jauge_OFF_Y_BATTLE : KGC::OD_jauge_OFF_Y) gw = actor.overdrive * @od_g_width / KGC::OD_jauge_MAX maximum = actor.overdrive == KGC::OD_jauge_MAX end # Schéma # if KGC::OD_jauge_SLANT self.contents.fill_rect(dx, dy, @od_g_width + 7, 6, Color.new(0, 0, 0, 0)) # Graduation gy = @od_g_height + 1 for i in 0...(@od_g_height + 2) self.contents.blt(dx + i, dy + gy - i, @od_jauge, Rect.new(0, gy - i, @od_g_width + 2, 1)) end # Effet de Substance gy -= 1 gy2 = @od_g_height * (maximum ? 3 : 2) + 1 for i in 0...@od_g_height self.contents.blt(dx + i + 2, dy + gy - i, @od_jauge, Rect.new(@jauge_x, gy2 - i, gw, 1)) end # Normal else self.contents.fill_rect(dx, dy, @od_g_width + 2, @od_g_height + 2, Color.new(0, 0, 0, 0)) self.contents.blt(dx, dy, @od_jauge, Rect.new(0, 0, @od_g_width + 2, @od_g_height + 2)) gy2 = @od_g_height * (maximum ? 2 : 1) + 2 self.contents.blt(dx + 1, dy + 1, @od_jauge, Rect.new(@jauge_x, gy2, gw, @od_g_height)) end end
C'est de la ligne 269 a 310
|
|