sonicfull96 Posted January 7, 2013 Share Posted January 7, 2013 (edited) ciao a tutti, sto cercando di fare un menu con il bestiario, cioe tra le voci equip, status e item dovrebbe uscire anche la voce bestiary (se e possibile in italiano). mi potete dare uno script che faccia questo?pero che faccia vedere singolarmente ogni mostro Edited January 7, 2013 by sonicfull96 Link to comment Share on other sites More sharing options...
0 Yoshi91 Posted January 7, 2013 Share Posted January 7, 2013 (edited) Vedi qui:LINKPer aggiungere il comando Bestiario al menù sostituisci Scene_Menu con questo: #======================================================================# ** Scene_Menu#------------------------------------------------------------------------------# This class performs menu screen processing.#============================================================================== class Scene_Menu#--------------------------------------------------------------------------# * Object Initialization# menu_index : command cursor's initial position#--------------------------------------------------------------------------def initialize(menu_index = 0)@menu_index = menu_indexend#--------------------------------------------------------------------------# * Main Processing#--------------------------------------------------------------------------def main# Make command windows1 = $data_system.words.items2 = $data_system.words.skills3 = $data_system.words.equips4 = "Status"s5 = "Save"s6 = "End Game"s7 = "Bestiario"@command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6, s7])@command_window.index = @menu_index# If number of party members is 0if $game_party.actors.size == 0# Disable items, skills, equipment, and status@command_window.disable_item(0)@command_window.disable_item(1)@command_window.disable_item(2)@command_window.disable_item(3)end# If save is forbiddenif $game_system.save_disabled# Disable save@command_window.disable_item(4)end# Make play time window@playtime_window = Window_PlayTime.new@playtime_window.x = 0@playtime_window.y = 224# Make steps window@steps_window = Window_Steps.new@steps_window.x = 0@steps_window.y = 320# Make gold window@gold_window = Window_Gold.new@gold_window.x = 0@gold_window.y = 416# Make status window@status_window = Window_MenuStatus.new@status_window.x = 160@status_window.y = 0# Execute transitionGraphics.transition# Main looploop do# Update game screenGraphics.update# Update input informationInput.update# Frame updateupdate# Abort loop if screen is changedif $scene != selfbreakendend# Prepare for transitionGraphics.freeze# Dispose of windows@command_window.dispose@playtime_window.dispose@steps_window.dispose@gold_window.dispose@status_window.disposeend#--------------------------------------------------------------------------# * Frame Update#--------------------------------------------------------------------------def update# Update windows@command_window.update@playtime_window.update@steps_window.update@gold_window.update@status_window.update# If command window is active: call update_commandif @command_window.activeupdate_commandreturnend# If status window is active: call update_statusif @status_window.activeupdate_statusreturnendend#--------------------------------------------------------------------------# * Frame Update (when command window is active)#--------------------------------------------------------------------------def update_command# If B button was pressedif Input.trigger?(Input::B)# Play cancel SE$game_system.se_play($data_system.cancel_se)# Switch to map screen$scene = Scene_Map.newreturnend# If C button was pressedif Input.trigger?(Input::C)# If command other than save or end game, and party members = 0if $game_party.actors.size == 0 and @command_window.index < 4# Play buzzer SE$game_system.se_play($data_system.buzzer_se)returnend# Branch by command window cursor positioncase @command_window.indexwhen 0 # item# Play decision SE$game_system.se_play($data_system.decision_se)# Switch to item screen$scene = Scene_Item.newwhen 1 # skill# Play decision SE$game_system.se_play($data_system.decision_se)# Make status window active@command_window.active = false@status_window.active = true@status_window.index = 0when 2 # equipment# Play decision SE$game_system.se_play($data_system.decision_se)# Make status window active@command_window.active = false@status_window.active = true@status_window.index = 0when 3 # status# Play decision SE$game_system.se_play($data_system.decision_se)# Make status window active@command_window.active = false@status_window.active = true@status_window.index = 0when 4 # save# If saving is forbiddenif $game_system.save_disabled# Play buzzer SE$game_system.se_play($data_system.buzzer_se)returnend# Play decision SE$game_system.se_play($data_system.decision_se)# Switch to save screen$scene = Scene_Save.newwhen 5 # end game# Play decision SE$game_system.se_play($data_system.decision_se)# Switch to end game screen$scene = Scene_End.newwhen 6 # Bestiatio# Play decision SE$game_system.se_play($data_system.decision_se)# Switch to save screen$scene = Scene_MonsterBook.newendreturnendend#--------------------------------------------------------------------------# * Frame Update (when status window is active)#--------------------------------------------------------------------------def update_status# If B button was pressedif Input.trigger?(Input::B)# Play cancel SE$game_system.se_play($data_system.cancel_se)# Make command window active@command_window.active = true@status_window.active = false@status_window.index = -1returnend# If C button was pressedif Input.trigger?(Input::C)# Branch by command window cursor positioncase @command_window.indexwhen 1 # skill# If this actor's action limit is 2 or moreif $game_party.actors[@status_window.index].restriction >= 2# Play buzzer SE$game_system.se_play($data_system.buzzer_se)returnend# Play decision SE$game_system.se_play($data_system.decision_se)# Switch to skill screen$scene = Scene_Skill.new(@status_window.index)when 2 # equipment# Play decision SE$game_system.se_play($data_system.decision_se)# Switch to equipment screen$scene = Scene_Equip.new(@status_window.index)when 3 # status# Play decision SE$game_system.se_play($data_system.decision_se)# Switch to status screen$scene = Scene_Status.new(@status_window.index)endreturnendendend Crediti: DaD,Onibaku Edited January 7, 2013 by Yoshi91 Gioco in costruzione: Yoshi Party #Link al topic# % completamento: 2% (Userò il VX Ace e non più il VX) La mia bottega, dove potreste chiedermi di tradurvi scripts per VX e VX-Ace in italiano o di programmarvi eventi in cambio di rens! BOTTEGA QUI Sei un grafico e vuoi essere reclutato per Yoshi Party? Vai qui! Scripts, Tutorial e Risorse postate qui da me per VX e VX Ace! Risorse postate qui da me per VX e per il VX Ace: [Varie] Materiali dalla Enterbrain per VX [Chara+Face] Personaggi vari fatti con il generatore di VX Ace [icon-Set] Mega-Iconset da 4 MB Scripts Vx e Vx-Ace tradotti in ITA (e anche no XD): Script postati e tradotti in italiano (e anche non tradotti XD) da me per VX: Musica di battaglia casuale Tradotto Mini Box Messaggio sopra gli eventi Tradotto Sistema Movimento Mappa Avanzato Tradotto Menù Game Over Tradotto Game.exe crash fix Non Tradotto Determinare se il giocatore è in battaglia Tradotto Riproduci SE quando accade un colpo critico Tradotto Script postati e tradotti in italiano (e anche non tradotti XD) da me per VX Ace: Menù ad anello Tradotto Chiama Script lunghi senza intoppi Tradotto Cambia Prezzo Tradotto Anti-Lag Events VE Tradotto Suono allo scorrere dei messaggi Tradotto Riproduci BGM alla schermata di caricamento file Tradotto Nomi Personalizzati per i Salvataggi Tradotto Tutorial: [VX Ace] Personalizzare il menù di default al massimo http://www.mariowiki.com/images/6/60/Yoshiii.gif *wahuu!* Link to comment Share on other sites More sharing options...
0 sonicfull96 Posted January 7, 2013 Author Share Posted January 7, 2013 grazie Link to comment Share on other sites More sharing options...
Question
sonicfull96
ciao a tutti, sto cercando di fare un menu con il bestiario, cioe tra le voci equip, status e item dovrebbe uscire anche la voce bestiary (se e possibile in italiano). mi potete dare uno script che faccia questo?
pero che faccia vedere singolarmente ogni mostro
Edited by sonicfull96Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now