Ace 스크립트

많은 대사와 곳곳이 선택지가 있을경우에 Ctrl을 누르면 선택지는 골라서 스킵을 합니다.
 
=begin
#===============================================================================
 Title: Message Skip
 Author: Hime
 Date: Jul 21, 2013
--------------------------------------------------------------------------------
 ** Change log
 Jul 21, 2013
   - Initial release
--------------------------------------------------------------------------------   
 ** Terms of Use
 * Free to use in non-commercial projects
 * Contact me for commercial use
 * No real support. The script is provided as-is
 * Will do bug fixes, but no compatibility patches
 * Features may be requested but no guarantees, especially if it is non-trivial
 * Credits to Hime Works in your project
 * Preserve this header
--------------------------------------------------------------------------------
 ** Description
 
 This script allows you to skip messages (fast-forward) by holding down the
 CTRL key.
 
--------------------------------------------------------------------------------
 ** Installation
 
 Place this script below Materials and above Main

--------------------------------------------------------------------------------
 ** Usage 
 
 You can choose which key will be used as the skip key.
 
 You can enable or disable message skipping by assigning a disable switch.
 When the disable switch is ON, players cannot skip messages.
--------------------------------------------------------------------------------
 ** Compatibility
 
 This script overwrites the following methods
 
   Window_Message
     input_pause
 
#===============================================================================
=end
$imported = {} if $imported.nil?
$imported["TH_MessageSkip"] = true
#===============================================================================
# ** Configuration
#===============================================================================
module TH
  module Message_Skip
    
    # Switch to use to prevent message skipping
    Disable_Switch = 0
    
    # Key to hold to skip messages
    Skip_Key = :CTRL
    
    # Use "auto skip" mode. When the skip mode is OFF, you need to hold the
    # skip key to fast-forward messages. When the skip mode is ON, you just
    # need to press it once to begin skipping, and press it again to stop
    # skipping
    Auto_Skip = false
    
    # Ignore delays when skipping.
    Skip_Delays = false
    # Ignore pauses when skipping
  end
end
#===============================================================================
# ** Rest of script
#===============================================================================
class Window_Message < Window_Base
    
  def skip_key
    TH::Message_Skip::Skip_Key
  end
  
  def skip_key_pressed?
    !$game_switches[TH::Message_Skip::Disable_Switch] && Input.press?(skip_key)
  end
  
  #-----------------------------------------------------------------------------
  # Overwrite. Actually all you really need is that extra line of code to tell
  # the fiber to resume
  #-----------------------------------------------------------------------------
  def input_pause
    self.pause = true
    wait(10)
    Fiber.yield until Input.trigger?(:B) || Input.trigger?(:C) || skip_key_pressed?
    Input.update
    self.pause = false
  end
  
  alias :th_skip_message_wait :wait
  def wait(duration)
    return if TH::Message_Skip::Skip_Delays && skip_key_pressed?
    th_skip_message_wait(duration)
  end
end


출처 : http://forums.rpgmakerweb.com/index.php?/topic/15686-message-skip/


많은 도움이 되었으면 합니다.

  • ?
    레드륨 2014.09.24 02:53
    필요했던건데 감사히 가져가겠습니다
  • ?
    미랭이 2014.10.11 00:16
    감사합니다! 잘쓰겠습니다
  • ?
    멘붕어 2014.12.28 21:40

    대사가 많아서 유용할 것 같네요. 감사히 쓰겠습니다!

     

  • ?
    프크 2015.11.22 01:41
    감사합니다! 잘쓰겟습니다!
  • profile
    AANNSS 2015.12.17 21:52
    감사합니다

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 5110
공지 RPG VX ACE 유용한 링크 모음 16 아방스 2012.01.03 28928
37 메뉴 스텟을 랭크로 나타내기 7 file Yeolde 2014.05.10 3536
36 기타 시디 플레이어 1.0 by 77er 1 file 77ER. 2013.08.20 1627
35 메뉴 시스템 칼라 스크립트 3 file 스리아씨 2013.10.27 3239
34 타이틀/게임오버 시작 전 로고 띄우기 7 file 냐냐 2014.12.04 3370
33 HUD 아이템 레어리티 스크립트 (번역기 돌림) 2 file 부초 2017.07.21 1426
32 메뉴 아이템 설명 메뉴 스크립트 (Crazyninjaguy) 2 file IZEN 2013.04.18 4780
31 메시지 아이템 정보 메세지가 뜨는 아이템 획득 1 폴라 2015.05.21 2364
30 아이템 아이템 팝업 스크립트 15 스리아씨 2013.10.17 3245
29 기타 아이템 합성 스크립트 4 file 스리아씨 2013.09.26 3140
28 맵/타일 안개 시스템 ( VXA ) 8 홍색의환상향 2013.05.19 4090
27 액터 액터 스탯 분배 스크립트 14 file 스리아씨 2013.09.23 2678
26 아이템 양손무기 작착 스크립트 [Dual Wield -> Free Hands Version 1.0] 7 file 아방스 2012.01.31 4633
25 기타 없는 것 같아서 올립니다. VX ACE 한계 돌파 스크립트입니다. 24 빙룡군 2012.07.07 5597
24 기타 원하는 글씨체로 변경하기 12 조말생 2012.04.20 8847
23 기타 유용한 외국 스크립트사이트 하나 발견했네요 영어조금하시면 이해가능하실꺼에요 2 game 光 ㅋㅋ 2013.01.07 2574
22 기타 이동제한 스크립트 5 file 스리아씨 2013.09.23 1770
21 전투 자동전투 명령어 추가 스크립트 2 스리아씨 2013.10.11 1953
20 장비 장비 장착을 통한 스킬 습득 및 삭제 4 아이미르 2012.02.05 3597
19 메뉴 저장금지시 메뉴에 저장 안 뜨게 하기 5 file Bunny_Boy 2013.08.24 2520
18 이름입력 전체키 + 조합한글 + 이름입력처리 변경 47 file 허걱 2012.07.04 8200
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 Next
/ 11