VX 스크립트

=begin
 설명

 테스트 플레이에서X버튼…초기설정으로 키보드의"A"키를 누르고 있는 동안,
    게임 속도가 빨라집니다.
 고속화중에는 메세지도 자동 스킵 됩니다.
 또, 전투시 파티 메뉴(싸운다/도망친다) 표시중에
   키보드의"S"(을)를 누르면 적이 전멸 합니다.

개조 방법
 15행목의SPEED = 3 의 값을 변경하는 것으로써, 고속 스피드를 변경할 수 있습니다.
 수치를 크게 하면보다 고속화합니다.
=end
#==============================================================================
# ■ Graphics
#------------------------------------------------------------------------------
#  그래픽 전반의 처리를 실시하는 클래스입니다.
#==============================================================================

class << Graphics
  #--------------------------------------------------------------------------
  # ● 정수
  #--------------------------------------------------------------------------
  SPEED    = 3                            # 스피드
  #--------------------------------------------------------------------------
  # ● 프레임 갱신
  #--------------------------------------------------------------------------
  alias :update_spd :update unless method_defined?("update_spd")
  def update
    if $TEST and Input.press?(Input::X) and Graphics.frame_count % SPEED > 0
      Graphics.frame_count += 1
    else
      update_spd
    end
  end
  #--------------------------------------------------------------------------
  # ● 웨이트 처리
  #--------------------------------------------------------------------------
  alias :wait_spd :wait unless method_defined?("wait_spd")
  def wait(duration)
    if $TEST and Input.press?(Input::X)
      wait_spd(duration / SPEED)
    else
      wait_spd(duration)
    end
  end
  #--------------------------------------------------------------------------
  # ● 용명 처리
  #--------------------------------------------------------------------------
  alias :fadein_spd :fadein unless method_defined?("fadein_spd")
  def fadein(duration)
    if $TEST and Input.press?(Input::X)
      fadein_spd(duration / SPEED)
    else
      fadein_spd(duration)
    end
  end
  #--------------------------------------------------------------------------
  # ● 페이드아웃 처리
  #--------------------------------------------------------------------------
  alias :fadeout_spd :fadeout unless method_defined?("fadeout_spd")
  def fadeout(duration)
    if $TEST and Input.press?(Input::X)
      fadeout_spd(duration / SPEED)
    else
      fadeout_spd(duration)
    end
  end
  #--------------------------------------------------------------------------
  # ● 트란지션 처리
  #--------------------------------------------------------------------------
  alias :transition_spd :transition unless method_defined?("transition_spd")
  def transition(duration = 10, filename = "", vague = 40)
    if $TEST and Input.press?(Input::X)
      transition_spd(duration / SPEED, filename, vague)
    else
      transition_spd(duration, filename, vague)
    end
  end
end

#==============================================================================
# ■ Window_Message
#------------------------------------------------------------------------------
#  문장 표시에 사용하는 메세지 윈도우입니다.
#==============================================================================

class Window_Message < Window_Selectable
  #--------------------------------------------------------------------------
  # ● 빨리 감기 플래그의 갱신
  #--------------------------------------------------------------------------
  def update_show_fast
    if self.pause or self.openness < 255
      @show_fast = false
    elsif ($TEST and Input.press?(Input::X)) or
        (Input.trigger?(Input::C) and @wait_count < 2)
      @show_fast = true
    elsif not Input.press?(Input::C)
      @show_fast = false
    end
    if @show_fast and @wait_count > 0
      @wait_count -= 1
    end
  end
  #--------------------------------------------------------------------------
  # ● 문장송의 입력 처리
  #--------------------------------------------------------------------------
  def input_pause
    if ($TEST and Input.press?(Input::X)) or
        Input.trigger?(Input::B) or Input.trigger?(Input::C)
      self.pause = false
      if @text != nil and not @text.empty?
        new_page if @line_count >= MAX_LINE
      else
        terminate_message
      end
    end
  end
end


#==============================================================================
# ■ Scene_Battle
#------------------------------------------------------------------------------
#  배틀 화면의 처리를 실시하는 클래스입니다.
#==============================================================================

class Scene_Battle < Scene_Base
  #--------------------------------------------------------------------------
  # ● 파티 커멘드 선택의 갱신
  #--------------------------------------------------------------------------
  alias :update_party_command_selection_spd :update_party_command_selection
  def update_party_command_selection
    update_party_command_selection_spd
    if $TEST and Input.trigger?(Input::Y)
      Sound.play_decision
      $game_troop.increase_turn
      @info_viewport.visible = false
      @info_viewport.ox = 0
      @message_window.visible = true
      @party_command_window.active = false
      @actor_command_window.active = false
      @status_window.index = @actor_index = -1
      @active_battler = nil
      @message_window.clear
      $game_party.clear_actions
      $game_troop.clear_actions
      make_action_orders
      for enemy in $game_troop.members
        enemy.hp -= 999999
        enemy.perform_collapse
      end
    end
  end
  #--------------------------------------------------------------------------
  # ● 빨리 감기 판정
  #--------------------------------------------------------------------------
  def show_fast?
    return (($TEST and Input.press?(Input::X)) or
      Input.press?(Input::A) or Input.press?(Input::C))
  end
end








메인 위에 추가 하시면 되고 사용법은 스크립트에 첨부 해놨으니 잘 쓰시길

Comment '25'
  • ?
    zeromax's joke 2008.05.31 13:01

    와 정말 감사합니다.
    이런 좋은 스크립트가 있다니 정말 감사합니다.

  • ?
    작은악마 2008.05.31 16:13
    와우 테스트 플레이 귀찮은점이 여러모로 잇었는데
    무지좋은 스크립트가 잇었다니 ^ ^ 감사드려요~~
  • ?
    아나카시 2008.06.01 10:10
    뭐지 오류떠
  • ?
    아나카시 2008.06.01 10:12

    아아 =end까지 복사했내 <<...
    그건그렇고 다른 문재점은 너무빨라서 렉이걸린다는거지.

  • ?
    제로므 2008.06.03 00:52
    좋은자료 감사해요 ^^
  • ?
    어둠의바나나 2008.06.07 07:51
    잘쓸게요~
  • ?
    에코 2008.08.01 07:16

     // 밸런스때 S누르면 망하는거죠.

     라기보다 좋은 스크립트로다 (으음 YA선생인가)

  • ?
    에코 2008.08.01 07:18
    아아, 거기다가 이게 만약 ATB시스템 이나 액알이면 망하는건가?
  • ?
    중복 2008.08.22 23:45
    좋은 스크립트 감사합니다^^
  • profile
    ⌒_⌒ 2008.08.27 18:22
    좋은 스크립트 감솨요~~! ㅎㅎ
  • ?
    떵ENd 2008.10.11 14:40
    감사 ㅋㅋ
  • ?
    다크아머 2008.10.25 11:11
    좋은자료 감사하므니다.
  • ?
    알카 2008.11.26 01:43
    감사합니다~
  • profile
    카와이 2009.01.13 14:09
    몹시 유용한 스크립트 ㅎㅎ
  • ?
    오라테 2009.01.19 10:01
    테스트 하다 몬스터 밸런스가 안맞아서 피가 없다. 하지만 난 내게임을 더 테스트 해보고싶어! 그럴땐? A키를 누르시면 달려달려맹구 스킬이 발동됩니다.^^
    대충이런건가요?
  • ?
    ABCDEGF 2009.05.03 10:45
    와~ 감사
  • ?
    흠냐흠냐 2009.07.07 15:31
    흠냐 잘쓰겟습니다 ㅎㅎ
  • profile
    새장속새 2010.01.18 19:00

    대단하군 ㅅ=...

  • profile
    비극ㆍ 2010.03.07 16:16

    오,..완전 감사합니다~~~~!!!!!!!

  • ?
    봉시기 2010.09.05 17:23

    멋지군여

  • ?
    라티루스 2011.07.27 23:41

    유용한 스크립트, 감사합니다!

  • ?
    초보의길 2011.09.04 19:01

    감사합니다


  • ?
    신규회원 2012.02.24 18:50

    ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ

    스피드=999

    로 했더니 빠른게 아니라 순간이동을 하네욬ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ

  • ?
    신규회원 2012.02.24 18:52

    ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ

    스피드=5 로 하니까 지네같닼ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ

  • profile
    Uiman 2015.02.04 12:23
    필요한 부분을 바로 테스트할 수 있어서 너무 좋네요.
    감사해요.

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 3 습작 2012.12.24 5408
357 타이틀/게임오버 륀느님 요청] 전투 전멸후 Game over없이 특정위치로 이동 10 Last H 2009.02.24 2834
356 장비 루시퍼님이올리신 rei의 보이는 장비 아주 조금 해석본 2 file 비류 2010.01.08 2184
355 기타 로딩중 스크립트 24 file NO.0 2009.07.11 4462
354 맵/타일 레이 월드맵 스크립트 14 file 카르와푸딩의아틀리에 2009.07.04 4813
353 레오 저장 스크립트 9 Man... 2008.10.28 2529
352 레벨업시 자세한 능력치화면 31 file RPGbooster 2008.10.08 4181
351 레벨업 할경우 hp/mp 등을 채워주는 스크립트 49 아방스 2008.09.09 4473
350 기타 레벨업 이펙트... 20 비극ㆍ 2010.04.19 3768
349 기타 레벨업 시 증가분의 HP/MP 회복 10 시트르산 2010.09.12 2427
348 메뉴 레벨업 시 자세한 정보 나오는 스크립트 23 아방스 2009.01.20 3895
347 아이템 레벨,능력치,아이템소지갯수,소지금의 한계돌파스크립트 21 file 이탁 2009.01.28 4547
346 타이틀/게임오버 랜덤 타이틀화면 8 file RPGbooster 2008.10.08 2832
345 기타 라이트 이펙트 스크립트 12 file 아방스 2009.02.07 3262
344 기타 땅파기 18 file 비극ㆍ 2010.04.19 3013
343 퀘스트 디아블로 스타일 퀘스트 시스템(번역) 38 file 훈덕 2009.02.03 6049
342 기타 디스크 체인져 VX!! (업데이트..) 30 file Tofuman 2008.12.02 3168
341 디러그 시스템?? 1 Man... 2008.10.28 1247
340 아이템 드롭 아이템 확장 6 신규회원 2012.02.24 2977
339 영상 동영상 재생 스크립트.-Game_Film II-(테스트) 7 할렘 2009.02.22 3741
338 액터 동료가 따라다니게 하는 스크립트 (Woratana's Caterpillar System) 5 MinaAubert 2012.09.13 3012
Board Pagination Prev 1 ... 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ... 32 Next
/ 32