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 5398
77 미니맵 미니맵 스크립트(아랫거랑 다른거) 75 file 츠키아 2008.08.08 6145
76 액터 스탯 시스탬 29 츠키아 2008.08.08 4214
75 다음 레벨까지의 경험치 강제조정 13 정의로운녀석 2008.07.24 3273
74 상점 상점 아이템 목록 정리 14 정의로운녀석 2008.07.22 3771
73 변수/스위치 맵에 변수와 스위치 설정하기.. 5 정의로운녀석 2008.07.22 1984
72 영상 RMVX에서 AVI 재생 스크립트 12 Nymph 2008.07.07 4108
71 전투 [vx] ATB 시스템. 10 만들어보자꾸나 2008.07.05 4925
70 메뉴 지난 메뉴 스크립트에 이은 스테이터스 스크립트! 5 file 독사 2008.06.29 3545
69 저장 [퍼옴] Neo_Save_System ver.1.0 10 레오 2008.06.14 4451
68 기타 [KGC]한계돌파 9 방콕족의생활 2008.06.13 3599
67 메뉴 헬프 윈도우 중앙표시 스크립트 11 file 양념통닼 2008.06.10 3348
66 장비 장비 확장 및 EP 기능 18 만들어보자꾸나 2008.06.10 3653
65 맵/타일 타일셋 변경 10 file 만들어보자꾸나 2008.06.08 4370
64 맵/타일 타일 태그 및 4방향 설정 7 file 만들어보자꾸나 2008.06.08 2667
63 기타 빛 이펙트 71 file DEVIL<Li Patanis Roni Kraudus> 2008.06.06 5860
62 미니맵 미니맵 띠우는 스크립트 ^^ 37 file 아방스 2008.06.02 7247
» 제작도구 게임제작에 필수인 테스트 플레이 고속화 스크립트! ! ! ! 25 양념통닼 2008.05.30 4445
60 키입력 커맨드 입력 스킬 시스템 17 file 양념통닼 2008.05.29 3345
59 메뉴 창 크기 변경 스크립트 6 file Incubus 2008.05.25 5945
58 키입력 마우스 시스템 Simple Mouse System (수정) 42 Incubus 2008.05.24 5693
Board Pagination Prev 1 ... 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 Next
/ 32