UltimaForum

Skrypty [VXAce] - Nick obok nazwy gracza (w menu)

Loki - Czw 28 Cze, 2012 11:58
Temat postu: Nick obok nazwy gracza (w menu)
Krótki opis:
Dodaje napis ,,nick'' obok nazwy gracza w menu

Autor:
Adrien.

Kompatybilność:
RPG Maker VX Ace

Skrypt:
Spoiler:

Kod:
#==============================================================================                                                                                                                                           
#==============================================================================
#   Show_NickName
#
#
#   Author: Adrien. (Adam Balan)
#   Version: 1.0
#
# This script will show the nick name of the character in the status window.
#==============================================================================                                                                                                                                           
#==============================================================================


#==============================================================================
# Window_Base
#------------------------------------------------------------------------------
#  We add nick name to the simple status
#==============================================================================
class Window_Base

  #--------------------------------------------------------------------------
  # Alias: Adrien_ShowNickName_draw_actor_simple_status -> Adds Nick Name.
  #--------------------------------------------------------------------------
  alias adrien_shownickname_draw_actor_simple_status draw_actor_simple_status
  def draw_actor_simple_status(actor, x, y, *args)
        adrien_shownickname_draw_actor_simple_status(actor, x, y, *args)
        change_color(system_color) # Draw "Nick:" in the system colour
        draw_text(x, y+50, 50, line_height, "Nick:")
        draw_actor_nickname(actor, x+45, y+50)
  end

end


Screeny:
Spoiler:




Powered by phpBB modified by Przemo © 2003 phpBB Group