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 HUD Variables-Display Script System 8 file 허걱 2012.05.27 5452
36 전투 vx ace 애니메이션 배틀 3 gor 2012.05.27 7664
35 메시지 [스크립트] Ace Message System - by. Yanfly 17 file 허걱 2012.05.21 7271
34 전투 [스크립트] Sideview Battle System ver. 1.00 (일본어) 7 file 허걱 2012.05.20 6912
33 이동 및 탈것 [스크립트] Setp Sound (발걸음 소리) 20 file 허걱 2012.05.19 4660
32 기타 원하는 글씨체로 변경하기 12 조말생 2012.04.20 8847
31 전투 SRPG 컨버터 for Ace (SRPGコンバータ for Ace) by AD.Bank 27 file 습작 2012.04.17 7274
30 메뉴 [VX Ace] 다이얼 링 메뉴 스크립트 8 file RaonHank 2012.04.16 6673
29 변수/스위치 Etude87_Variables_Ace 6 file 습작 2012.04.13 3368
28 스킬 VXACE 패시브 스킬 스크립트 Ver. 0.82 21 file 아이미르 2012.03.07 6669
27 전투 전투시 나오는 메세지 삭제 10 Nintendo 2012.03.03 4358
26 스킬 스킬 숙련도 시스템 8 아이미르 2012.02.24 4918
25 메뉴 Customizable Main Menu 1.0b by modern algebra 4 file Alkaid 2012.02.13 5452
24 타이틀/게임오버 타이틀 화면 없이 게임을 시작하게 만드는법. 6 마에르드 2012.02.11 4586
23 전투 능력 강화/약화의 누적식 개조(버그수정) 13 아이미르 2012.02.08 3876
22 장비 장비 장착을 통한 스킬 습득 및 삭제 4 아이미르 2012.02.05 3597
21 전투 Ace 경험치 직접 설정 12 쿠쿠밥솥 2012.02.05 4004
20 전투 레벨업시 HP/MP 전체회복 9 쿠쿠밥솥 2012.02.05 5029
19 장비 사용자 장비 슬롯 1.1 27 file 아방스 2012.01.31 6615
18 아이템 양손무기 작착 스크립트 [Dual Wield -> Free Hands Version 1.0] 7 file 아방스 2012.01.31 4633
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 Next
/ 11