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 기타 ACE) 오블리비언 락픽 구현 V0.5.2 7 file 77이알 2012.09.02 4811
36 이동 및 탈것 8 방향 이동 스크립트 ( 사선 이동 캐릭터 그래픽 지원 ) 9 file 미루 2013.07.11 4847
35 그래픽 Galy`s 캐릭터 그래픽 커스텀 3 스리아씨 2013.12.17 4894
34 스킬 스킬 숙련도 시스템 8 아이미르 2012.02.24 4918
33 전투 CP's Battle Engine by Neon Black 20 Alkaid 2013.02.14 4957
32 전투 레벨업시 HP/MP 전체회복 9 쿠쿠밥솥 2012.02.05 5029
31 타이틀/게임오버 타이틀 스크린 커스터마이징 11 file 라실비아 2013.08.12 5154
30 전투 Schala 전투 시스템 (XAS에 의해 구동) 11 홍색의환상향 2013.05.05 5321
29 상점 VXAce 상점 스크립트 V0.9 17 아이미르 2012.06.29 5380
28 이동 및 탈것 RPG VX ACE ( RGSS3_8direction_move_v1.01 ) 8방향 스크립트 17 file 쿠쿠밥솥 2012.01.24 5413
27 전투 [VX Ace] Damage Popup by Dargor 7 Alkaid 2011.12.04 5445
26 메뉴 Customizable Main Menu 1.0b by modern algebra 4 file Alkaid 2012.02.13 5452
25 HUD Variables-Display Script System 8 file 허걱 2012.05.27 5452
24 기타 없는 것 같아서 올립니다. VX ACE 한계 돌파 스크립트입니다. 24 빙룡군 2012.07.07 5597
23 아이템 물품 이름 컬러 변경 14 까까까 2012.01.04 5632
22 키입력 키 입력 확장 - 전체키 + 마우스입력 40 file 허걱 2012.12.15 5781
21 메뉴 ace용 mog메뉴와 mog전투 10 file 꿈꾸는사람 2012.08.04 6053
20 전투 XAS Hero Edition Ace Experimental 0.5 6 Alkaid 2012.01.15 6130
19 전투 VXAce 사이드뷰 스크립트 (번역) 23 아이미르 2012.12.10 6356
18 미니맵 미니맵 표시 스크립트 21 file 아방스 2012.01.16 6488
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 Next
/ 11