Search the Community
Showing results for tags 'FF 9'.
-
AP SYSTEM (I & II) + EQUIPMENT SKILL Descrizione Con la combinazione di questi due script (molto semplici da utilizzare) si può replicare il sistema di apprendimento delle abilità di Final Fantasy IX. In sostanza ad ogni oggetto di equipaggiamento si possono associare una o più abilità, ed il pg che indosserà questo equip le apprenderà momentaneamente. Infatti se l'oggetto verrà disequipaggiato la tecnica verrà disimparata. Tramite i punti AP che si ottengono sconffiggendo nemici, si potranno imparare definitivamente le tecniche colmando la quantità richiesta di punti AP. L'equipment skill può essere utilizzato anche da solo. Autore Formar0153 Allegati N/A Istruzioni per l'uso Le istruzioni sono all'interno dello script. Non è necessario utilizzare AP System, se desiderate che le tecniche venghino disimparate disequipaggiando l'oggetto. Usare o l'AP I o l'AP II. Io consiglio il secondo. Incollare gli script sotto materials e prima di main. AP SYSTEM sopra ad EQUIPMENT SKILL. AP SYSTEM 1 AP SYSTEM 2 Idem come sopra ma al posto di utilizzare un elemento per l'AP, basterà inserire : <ap x> (dove x è il valore di Ap che si ottengono)nelle note del nemico.AP SYSTEM II http://cobbtocs.co.uk/wp/wp-content/uploads/2012/01/SS0003.png EQUIPMENT SKILL http://cobbtocs.co.uk/wp/wp-content/uploads/2012/01/SS0002.png Script AP SYSTEM I (Ap con elemento) AP SYSTEM II (Ap con notetags) EQUIPMENT SKILL Bugs e Conflitti Noti Conflitto con Yanfly Victory Aftermath. Risolto dallo stesso Formar0153 Lo script di Yanfly va posto prima dell'AP. Inserire questo codice al posto dell'AP SYSTEM. =begin AP System Script II by Fomar0153 Version 1.0 ---------------------- Notes ---------------------- No requirements Implements an ap system for you to use when creating skill systems that utilise AP. ---------------------- Instructions ---------------------- Notetag <ap x> e.g. <ap 4> <ap 100> ---------------------- Known bugs ---------------------- None =end module Vocab ObtainAp = "+%sAP" end class Game_Actor < Game_Battler #-------------------------------------------------------------------------- # ? New Method gain_ap #-------------------------------------------------------------------------- def gain_ap(ap) # your code goes here end end module BattleManager #-------------------------------------------------------------------------- # ? Rewrote self.display_exp #-------------------------------------------------------------------------- def self.display_exp SceneManager.scene.show_victory_display_exp actor = $game_party.random_target @victory_actor = actor set_victory_text(@victory_actor, :win) end def self.gain_exp $game_party.all_members.each do |actor| temp_actor = Marshal.load(Marshal.dump(actor)) actor.gain_exp($game_troop.exp_total) actor.gain_ap($game_troop.ap_total) next if actor.level == temp_actor.level SceneManager.scene.show_victory_level_up(actor, temp_actor) set_victory_text(actor, :level) wait_for_message end end end class Window_VictoryEXP_Back < Window_Selectable alias ap_draw_jp_gain draw_jp_gain def draw_jp_gain(actor, rect) ap_draw_jp_gain(actor, rect) dw = rect.width - (rect.width - [rect.width, 96].min) / 2 dy = rect.y + line_height * 4 + 96 dy += line_height if $imported["YEA-JPManager"] text = sprintf(Vocab::ObtainAp, $game_troop.ap_total) contents.font.size = YEA::VICTORY_AFTERMATH::FONTSIZE_EXP change_color(power_up_color) draw_text(rect.x, dy, dw, line_height, text, 2) end end class Game_Troop < Game_Unit #-------------------------------------------------------------------------- # ? New Method ap_total #-------------------------------------------------------------------------- def ap_total dead_members.inject(0) {|r, enemy| r += enemy.ap } end end class Game_Enemy < Game_Battler #-------------------------------------------------------------------------- # ? New Method ap_total #-------------------------------------------------------------------------- def ap if enemy.note =~ /<ap (.*)>/i return $1.to_i else return 0 end end end Potrebbe darvi errore con dw = rect.width – (rect.width – [rect.width, 96].min) / 2 dicendo ti togliere e poi dopo di rimettere il meno. Idem con questo: ObtainAp = “+%sAP” dicendo di togliere e ti rimettere le virgolette. Dopo aver fatto questo non dovrebbe più dare problemi. http://img27.imageshack.us/img27/2918/5n1p.png Altri dettagli Ringraziamenti a Clyde, Formar0153, Yanfly e il coniglietto rosso. ;D
- 3 replies
-
- Final Fantasy IX
- FF 9
-
(and 5 more)
Tagged with:
