VX 스크립트

Instructions:


First paste the script above the Main, then edit the lines 26 to 31quais the keys that will access each Scene, or leave as is defined in the script.
And let in on line 40 true or false to return to the menu, that is, when you access a scene where she may return to the menu or not, if you leave it to false, it will also modify the menu, that is, when you enter in a scene by Menu (items, skills ...) when you prescionar ESC will immediately return to the map, not the menu.
To access the Scene and just hit the shortcut key on map.

• You can define the keys for shortcuts
• You can set it to enter into a Scene through the shortcut, by pressing ESC will return to the menu or the map.
• SCENE THAT YOU CAN Access through SHORTCUTS:
• Save Screen
• Screen Load Game
• Display items
• Display Skills
• Screen Equipment
• Display Status
About the script:


This script allows you to access the menu items, without having to enter the menu, it ocerre through shortcuts.
여기서 부터------------
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#===============================================================================
#                       S C E N E    S H O RT C U T S  
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#    By : RAFIDELIS
#    Email: Rafa_fidelis@hotmail.com Rafa_fidelis@yahoo.com.br
#-------------------------------------------------------------------------------
#    THANKS: First to Marcelo Cavaco, the handouts
# Destrinchando the RGSS Scripts and the Knowing RGSS They are me
# Helping a lot in my journey to the Dark scriptere also Chocobar, LB,
# RTH and PHCDO, msm Thanks people!
# The whole gang Maker of Brazil (of course without you I would not have reason to
# Trying to do scripts)
# And the forums of RpgMaker of Brazil, emphasis on www.ReinoRpg.com.    
#===============================================================================
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

module Rafis
#===============================================================================
|
#               C O N F I G U R A T I O N S   S T A R T
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Set lower WHAT # key will be call LIABLE FOR EACH SCENE
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
# See END of script keys you can use
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
TECLA_ATALHO_ITEM = Input::F5                       # F5 in Keyboard
TECLA_ATALHO_HABILIDADES = Input::F6                # F6 in Keyboard
TECLA_ATALHO_EQUIPAMENTOS = Input::F7               # in Keyboard
TECLA_ATALHO_STATUS = Input::F8                     # F8 in Keyboard
TECLA_ATALHO_SAVE = Input::L                        # Q in Keyboard
TECLA_ATALHO_LOAD = Input::R                        # W in Keyboard
end
#===============================================================================
|
#                  MENU RETURN?
# = True When you access a shortcut, press ESC to return to the menu,
# This change will also be activated when you enter the menu of the game.
# = False When you access a shortcut, press ESC to return to Map
#================================================= ==============================|

RETORNAR_AO_MENU = false

#===============================================================================
#                                              START OF SCRIPT
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class Scene_Map
  alias rafidelis_atalhos_update update
  def update
    rafidelis_atalhos_update  
    rafis_atalho_item if Input.trigger?(Rafis::TECLA_ATALHO_ITEM)
    rafis_atalho_habilidades if Input.trigger?(Rafis::TECLA_ATALHO_HABILIDADES)
    rafis_atalho_equipamentos if Input.trigger?(Rafis::TECLA_ATALHO_EQUIPAMENTOS)
    rafis_atalho_status if Input.trigger?(Rafis::TECLA_ATALHO_STATUS)
    rafis_atalho_save if Input.trigger?(Rafis::TECLA_ATALHO_SAVE)
    rafis_atalho_load if Input.trigger?(Rafis::TECLA_ATALHO_LOAD)
  end
end
#===============================================================================
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  def rafis_atalho_item
    Sound.play_decision    
    $scene = Scene_Item.new  
    if Input.trigger?(Input::B)
      retornar
    end
  end
#===============================================================================
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
class Scene_Item
  alias retornar return_scene
  def return_scene
    retornar
    if RETORNAR_AO_MENU == true
      $scene = Scene_Menu.new(0)
    else
      $scene = Scene_Map.new
    end
  end
end

#===============================================================================
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  def rafis_atalho_habilidades
    Sound.play_decision
    $scene = Scene_Skill.new
    if Input.trigger?(Input::B)
      retornar_1
    end
  end
#===============================================================================
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

class Scene_Skill
    alias retornar_1 return_scene
    def return_scene
      retornar_1
      if RETORNAR_AO_MENU == true
      $scene = Scene_Menu.new(1)
    else
      $scene = Scene_Map.new      
    end
  end
end
#===============================================================================
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  def rafis_atalho_equipamentos
    Sound.play_decision
    $scene = Scene_Equip.new
    if Input.trigger?(Input::B)
      retornar_2
    end
  end
#===============================================================================
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  class Scene_Equip
    alias retornar_2 return_scene
    def return_scene
      retornar_2
      if RETORNAR_AO_MENU == true
      $scene = Scene_Menu.new(2)
    else
      $scene = Scene_Map.new
    end    
  end
end

#===============================================================================
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  def rafis_atalho_status
    Sound.play_decision
    $scene = Scene_Status.new
    if Input.trigger?(Input::B)
      retornar_3
    end
  end
#===============================================================================
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  class Scene_Status
    alias retornar_3 return_scene
    def return_scene
      retornar_3
      if RETORNAR_AO_MENU == true
      $scene = Scene_Menu.new(3)
    else
      $scene = Scene_Map.new    
    end
  end
end

#===============================================================================
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  def rafis_atalho_save
    Sound.play_decision
    $scene = Scene_File.new(true,false,false)
    if Input.trigger?(Input::B)
      retornar_4
    end
  end  
    
#===============================================================================
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  def rafis_atalho_load
    Sound.play_decision
    $scene = Scene_File.new(false,false,false)
    if Input.trigger?(Input::B)
      retornar_4
    end
  end
  
  class Scene_File
    alias retornar_4 return_scene
    def return_scene
      retornar_4
      if RETORNAR_AO_MENU == true
        $scene = Scene_Menu.new(4)
      else
        $scene = Scene_Map.new
        end
      end
    end
#===============================================================================
#                         F I M   D O  S C R I P T
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

=begin
#===============================================================================
#               LIST OF KEYS  
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
First I would like to thank the RTH and PHCDO it got this list in a
lessons from them ^ ^

# Keys:
     # Key DOWN
     Input:: DOWN # => Down arrow on the keyboard
    
     # Key UP
     Input: UP # => Up arrow on the keyboard
    
     # Key RIGHT
     Input:: RIGHT # => arrow to the right of the keyboard
    
     # Key LEFT
     Input:: # = LEFT> arrow to the left of the keyboard
    
     The key #
     Input:: A # => Z key on the keyboard
    
     # Key B
     Input:: B # => X key on the keyboard
    
     C # key
     Input:: C # => C key on the keyboard
    
     # Key X
     Input: X # => The key of the keyboard
    
     # Key Y
     Input: Y # => S key on the keyboard
    
     # Key Z
     Input:: # Z => D key on the keyboard
    
     # Key L
     Input: L = #> Q button on the keyboard
    
     # Key R
     Input: R # => W key on the keyboard
    
     # Key SHIFT
     Input:: SHIFT # => Shift key on the keyboard
    
     # CTRL key
     Input: CTRL # => Ctrl key on the keyboard
    
     # Key ALT
     Input: ALT # => Alt key on the keyboard
    
     # F5 key
     Input:: # F5 => F5 key on the keyboard
    
     # Key F6
     Input: F6 # => F6 key on the keyboard
    
     # F7 key
     Input:: # F7 => F7 key on the keyboard
    
     # F8 key
     Input:: # F8 => F8 key on the keyboard
    
     # Key F9
     Input:: # F9 => F9 key on the keyboard
end =
Comment '3'
  • ?
    양파썰기 2008.11.13 10:29
    저기요 사용법은 어디있나요 ;;;
  • ?
    앙앙줏매 2009.02.03 12:06
    막올리지마세요
  • ?
    독사 2009.10.11 21:54
    단축키네요 ㅎ; 왜 온라인 겜보면 i누르면 인벤토리 뜨고 그런거 비슷한거임.

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 3 습작 2012.12.24 5398
157 그래픽 그림자 없에는 스크립트(그런것 같음) 1 Man... 2008.10.27 1641
156 KID's Luck Systems(무슨 뜻?) 4 Man... 2008.10.27 1378
155 엄청 좋음(DEMO)클릭 하이퍼링크 걸려있음(누가 변혁좀 해 줬으면...) 4 Man... 2008.10.27 1745
154 날씨 스크립트ㅎㅎ 9 Man... 2008.10.27 2360
153 무슨 스크립트인지 모름 7 Man... 2008.10.26 1453
152 장비 Equipment Set Bonus 6 Man... 2008.10.25 1849
151 장비 Expansion_Suite V2.1! 6 Man... 2008.10.25 1593
150 중복이지만...제가 올린 단체 액알 스크립트에서 오류가 너무 많이 나서...개인 액알로 다시 올려드리는 겁니다. 15 21stcentury 2008.10.12 3429
149 장비 스킬습득장비 [죄송] 19 file RPGbooster 2008.10.11 4049
148 아이템 아이템 분류 19 file RPGbooster 2008.10.11 3309
147 스킬분류 16 file RPGbooster 2008.10.11 2833
146 ATB v1.0 배틀 시스템 + RPG Tankentai SBS v2.8 16 supergt 2008.10.11 4681
145 상점 상점의 자세한 표시 32 file RPGbooster 2008.10.11 4008
144 맵/타일 Final Fantasy IV 모든 완성된맵 47 RPGbooster 2008.10.11 5086
143 아이템 적과 만나지않는 아이템 12 file RPGbooster 2008.10.11 2718
142 폰 시스템 29 RPGbooster 2008.10.11 3454
141 퀘스트 퀘스트 스크립트 39 file RPGbooster 2008.10.11 6139
140 아이템 편리한 디자인의 아이템메뉴 30 file RPGbooster 2008.10.11 5098
139 아이템 돈 아이템 장비를저장 11 file RPGbooster 2008.10.11 3452
138 커서 애니메이션 12 file RPGbooster 2008.10.11 3127
Board Pagination Prev 1 ... 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 Next
/ 32