Jump to content
Rpg²S Forum

Come modificare il menu a piacimento


Recommended Posts

Ho constatato che non esiste un tutorial su come modificare il menu di gioco.

Bene mettiamo il caso di usare lo script Ability Point System Vx nel quale si deve inserire nello Script "Scene_Menu" o comunque nello script del vostro Menu questa stringa :

"scene = Scene_LearningSkill.new(@status_window.index)"

Ma certo che non lo si può immettere dovunque lo si vuole!

Infatti c'è un procedimento:

1°fase:

Modificare questa parte:

 

 

s1 = Vocab::item
s2 = Vocab::skill
s3 = Vocab::equip
s4 = Vocab::status
s5 = Vocab::save
s6 = Vocab::game_end

 

Con questo:

 

 

s1 = Vocab::item
s2 = Vocab::skill
s3 = Vocab::equip
s4 = Vocab::status
s5 = Vocab::save
s6 = Vocab::game_end
s7 = "Apprendi"

 

 

2° fase:

Modificare questa parte:

 

@command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6])

 

 

Con questa:

 

@command_window = Window_Command.new(160, [s1, s2, s7, s3, s4, s5, s6])

 

 

 

3° fase:

Poi modificare:

 

 

case @command_window.index
     when 0      # Item
       $scene = Scene_Item.new
     when 1,2,3  # Skill, equipment, status
       start_actor_selection
     when 4   # Save
       $scene = Scene_File.new(true, false, false)
     when 5  # End Game
       $scene = Scene_End.new
     end

 

 

 

Con questa :

 

 

case @command_window.index
     when 0      # Item
       $scene = Scene_Item.new
     when 1,2,3,4,5,6  # Skill, equipment, status
       start_actor_selection
     when 7     # Save
       $scene = Scene_File.new(true, false, false)
     when 8    # End Game
       $scene = Scene_End.new
     end

 

 

 

4° Ultima fase:

 

Modificare questa parte:

 

 

when 1
$scene = Scene_Skill.new(@status_window.index)
when 2
$scene = Scene_Equip.new(@status_window.index)
when 3
$scene = Scene_Status.new(@status_window.index)

 

 

Con questa:

 

 

when 1
$scene = Scene_Skill.new(@status_window.index)
when 2
$scene = Scene_LearningSkill.new(@status_window.index)
when 3
$scene = Scene_Equip.new(@status_window.index)
when 4
$scene = Scene_Status.new(@status_window.index)

 

 

 

 

Se non avete capito bene vi faccio il sunto:

 

1.dalla riga 214 c'è una serie d'istruzioni in cui è scritto "s1 =QualcosaEcc.".

Per sapere cosa scrivere basta vedere a quanto ammonta l'ultimo "s" + 1

perciò se è s6 sarà s7 (dato che 6+1 = 7 XP).

 

2.Nella riga 223 avrete l'istruzione:

@command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6])

e modificarla immettendo tutte le "s"che si sono aggiunte.

 

3.Dalla riga 251 c'è una serie di istruzioni when che sono

when 0 # Item

$scene = Scene_Item.new

when 1,2,3 # Skill, equipment, status

start_actor_selection

when 4 # Save

$scene = Scene_File.new(true, false, false)

when 5 # End Game

 

nel secondo "when" mettete tante cifre ,in ordine, quante sono le "s" aggiunte.

nel terzo "when" dovete mettere l'ultima cifra + 1 :

 

ESEMPIO:

when 0 
 $scene = Scene_Item.new
when 1,2,3,4
start_actor_selection
when [color="red"]5[/color]
$scene = Scene_File.new(true, false, false)
when [color="green"]6[/color]
$scene = Scene_End.new

 

 

nel quarto si deve aggiungere +2 all'ultima cifra

http://img248.imageshack.us/img248/5513/signaturen.jpg

[L'ho fatta da solo!XD]

________________________________________________________________________________

 

Cercasi grafico e muscista per VX

________________________________________________________________________________

 

Ri-programmazione gioco : Leggende

 

La riprogrammazione del gioco parte del gioco alla storia!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...