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
297 타이틀/게임오버 까만화면으로 시작하기 27 file 허걱 2009.07.04 4528
296 메뉴 전투결과 상세 표시 스크립트 24 file 카르와푸딩의아틀리에 2009.07.07 4143
295 기타 [요청자료] 유즈미짱 님께서 요청한 그림표시 입니다. 5 file 허걱 2009.07.08 2976
294 스킬 무기성장 랭크 시스템. 20 file 카르와푸딩의아틀리에 2009.07.08 4820
293 기타 로딩중 스크립트 24 file NO.0 2009.07.11 4462
292 메시지 메시지 오른쪽 정렬되어 나오는 스크립트 3 file 아방스 2009.07.12 3237
291 기타 이벤트 뿌리기 + 범위지정 8 file 허걱 2009.07.13 2698
290 이동 및 탈것 스위치 on일때 못 움직이게...(이동고정) 6 허걱 2009.07.14 2326
289 이름입력 글자조합 (이름생성용) - 수정 12 file 허걱 2009.07.17 3638
288 이동 및 탈것 화면의 부드러운 스크롤 스크립트 32 카르와푸딩의아틀리에 2009.07.17 3821
287 변수/스위치 다른 이벤트 셀프스위치 조작 - xp, vx 사용가능 3 허걱 2009.07.18 2389
286 기타 커맨드 시스템 7 file 허걱 2009.07.21 2856
285 기타 KGC파라미터배분 2 (VX전용) 20 file 카르와푸딩의아틀리에 2009.07.21 3269
284 기타 vx 보안 시스템 19 file 허걱 2009.07.29 3966
283 장비 Rei(레이)의 Paperdoll(비쥬얼 장비)스크립트 20 file 루시페르 2009.07.29 4467
282 기타 경험치, HP, MP 백분율계산 (실시간) 8 file 허걱 2009.08.01 3540
281 온라인 net VX[ RPGVX 온라인 스크립트 ] 19 file 제로스S2 2009.08.03 6391
280 기타 글씨표시 스크립트 32 file 허걱 2009.08.10 4421
279 타이틀/게임오버 타이틀 공지 37 file 허걱 2009.08.10 4748
278 메시지 [완성]RPG Maker VX용 한글 조사 자동결정 10 file 시릴캣 2009.08.13 4598
Board Pagination Prev 1 ... 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 ... 32 Next
/ 32