Jump to content
Rpg²S Forum
  • 0

Testo mai che non si lascia scrivere...


Xemnas
 Share

Question

Buona sera a tutti... è da tempo che non metto piede sul forum... (causa raffreddore...)

Cmq volevo chiedervi come posso fare a....

ad esempio:

Il comando salva giusto? se codesto comando è disabilitato lo scerive in maniera trasparente (fino quì ttbn)

Ora arriva la parte brutta...

Sei invece che, scrivere l'opzione in neretto gli cambiasse prorpio il testo...?!???

Spiego meglio io vorrei che tramite (per esempio) la disabilitazioneione del comando salva invece di apparire trasparente ci sia scritto al suo posto (per esempio)...Carica!!!

Io ci ho provato ma mi da' un errore...

Aiutatemi vi prego!!!!

    if $game_system.save_disabled    
     @command_window.contents.draw_text(4, "ee")
   end

Cliccate sullo spoiler per vedere la mia firma...^_^:

 

 

 

 

http://i84.servimg.com/u/f84/14/44/79/04/graffi11.gif

Venite a trovarmi nel mio nuovo Sito:

The Word of the New Game

 

Ecco la Mia firma fatta da me!!!:

http://img11.imageshack.us/img11/1676/firmaol.png

 

Ecco il Banner del mio sito!

http://searchfile.altervista.org/Immagini/Bannepng.png

 

http://img692.imageshack.us/img692/1655/pywrightsyte.gif

Basnners by Me^_^

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Beh, ci sono due parti da modificare.

 

questa è la prima:

  #--------------------------------------------------------------------------  # * Create Command Window  #--------------------------------------------------------------------------  def create_command_window	s1 = Vocab::item	s2 = Vocab::skill	s3 = Vocab::equip	s4 = Vocab::status 	#QUI E DOVE DEVI GUARDARE	if $game_system.save_disabled			 # If save is forbidden	  s5 = 'Seizure Time!'	else	  s5 = Vocab::save	end	#ORA NON PIU LOL 	s6 = Vocab::game_end	@command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6])	@command_window.index = @menu_index	if $game_party.members.size == 0		  # If number of party members is 0	  @command_window.draw_item(0, false)	 # Disable item	  @command_window.draw_item(1, false)	 # Disable skill	  @command_window.draw_item(2, false)	 # Disable equipment	  @command_window.draw_item(3, false)	 # Disable status	end  end

 

e questa è la seconda:

  #--------------------------------------------------------------------------  # * Update Command Selection  #--------------------------------------------------------------------------  def update_command_selection	if Input.trigger?(Input::B)	  Sound.play_cancel	  $scene = Scene_Map.new	elsif Input.trigger?(Input::C)	  if $game_party.members.size == 0 and @command_window.index < 4		Sound.play_buzzer		return	  #elsif $game_system.save_disabled and @command_window.index == 4	  #  Sound.play_buzzer	  #  return	  end	  Sound.play_decision	  case @command_window.index	  when 0	  # Item		$scene = Scene_Item.new	  when 1,2,3  # Skill, equipment, status		start_actor_selection	  when 4	  # Save 		#QUI DEVI GUARDARE		if $game_system.save_disabled		  p 'SEIZURE TIME!!! XD'		else		  $scene = Scene_File.new(true, false, false)		end		#ORA NON PIU' 	  when 5	  # End Game		$scene = Scene_End.new	  end	end  end

 

in pratica si mette una condizione se.

 

Scusa se spiego come una me*dina xD

Edited by Morshudiego

Succodipera: Il blog di Morshudiego su RPG Maker (Leggetelo, lì ci sono più aggiornamenti che sulla firma!)

<AGGIORNAMENTI> (Ultima modifica: Oct 30 2014)
Myth of First Star - Facendo il punto della situazione
Project Sudoku - Il multitasking non è il mio forte. XD (Spero comunque di risolvere il bug per rilasciare la 0.3 :P)
Tutorial Menu Eventi - Uscita parte 2 (però è malformattata, non so se riuscirò ad editare tutto in un giorno. Abbiate pasiensa :P)

<PROGETTI>
Myth of First Star - Project Sudoku (*trollface*)

<SCRIPTS>
Zelda Map Scrolling - Switch Post Caricamento - Messaggi Istantanei - Picture Manager - Minimalist Menu

<TUTORIAL>
Uso corretto acqua RTP - Creare un menu ad eventi

Link to comment
Share on other sites

  • 0

Thank you very much^_^XD

Grazie mille ne avevo disperato bisogno XD....e... scusa ti posso fare un'altra domanda??

Come posso proprio eliminare una voce per esempio se la switc 1 è on salva non si deve VEDERE cioè come se l'avessi toòto dallo scene menu ma se metto che la switch 1 è off lo si può rivedere.... è possibile??

Cliccate sullo spoiler per vedere la mia firma...^_^:

 

 

 

 

http://i84.servimg.com/u/f84/14/44/79/04/graffi11.gif

Venite a trovarmi nel mio nuovo Sito:

The Word of the New Game

 

Ecco la Mia firma fatta da me!!!:

http://img11.imageshack.us/img11/1676/firmaol.png

 

Ecco il Banner del mio sito!

http://searchfile.altervista.org/Immagini/Bannepng.png

 

http://img692.imageshack.us/img692/1655/pywrightsyte.gif

Basnners by Me^_^

 

 

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...