RPGXP 스크립트
2015.06.02 04:53

스테이터스,보수,골드,플레임 타임 삭제

조회 수 738 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

제작 : rmb,gmb (둘다 저입니다!)

 

도움주신분(강좌) : 뮤님,운님

 

스크린샷 : 자작 스크립트.png

 

기타사항 : 엘범 부분은 자기가 하고 싶은거 하세요.

 

적용법 : 1번 스크립트는 Scene_Menu 삭제하고 스크립트 붙여 넣으시고 2번 스크립트는 그냥 추가하시면 되요.

 

스크립트(아래)

 

------------------------------------------1------------------------------------------------------------------------------

#==============================================================================
# 제작자:rpg making bot(rpg 부분은 game으로 해석해도 됩니다)
# 무단 배포시 법적 대응합니다.
#==============================================================================#==============================================================================
# ■ Scene_Menu
#------------------------------------------------------------------------------
#  메뉴 화면의 처리를 실시하는 클래스입니다.
#==============================================================================

class Scene_Menu
  #--------------------------------------------------------------------------
  # ● 오브젝트 초기화
  #     menu_index : 커멘드의 커서 초기 위치
  #--------------------------------------------------------------------------
  def initialize(menu_index = 0)
    @menu_index = menu_index
  end
  #--------------------------------------------------------------------------
  # ● 메인 처리
  #--------------------------------------------------------------------------
  def main
    # 커멘드 윈도우를 작성
    s1 = ""
    s2 = ""
    s3 = "엘범"
    s4 = ""
    s5 = ""
    s6 = "게임 종료"
    @command_window = Window_Command.new(160, [s3, s6])
    @command_window.index = @menu_index
    # 파티 인원수가 0 명의 경우
    if $game_party.actors.size == 0
      # 아이템, 스킬, 장비, 스테이터스를 무효화
      @command_window.disable_item(0)
      @command_window.disable_item(1)
      @command_window.disable_item(2)
      @command_window.disable_item(3)
    end
    # 세이브 금지의 경우
    if $game_system.save_disabled
      # 세이브를 무효로 한다
      @command_window.disable_item(4)
    end
    # 트란지션 실행
    Graphics.transition
    # 메인 루프
    loop do
      # 게임 화면을 갱신
      Graphics.update
      # 입력 정보를 갱신
      Input.update
      # 프레임 갱신
      update
      # 화면이 바뀌면 루프를 중단
      if $scene != self
        break
      end
    end
    # 트란지션 준비
    Graphics.freeze
    # 윈도우를 해방
    @command_window.dispose
  end
  #--------------------------------------------------------------------------
  # ● 프레임 갱신
  #--------------------------------------------------------------------------
  def update
    # 윈도우를 갱신
    @command_window.update
    # 커멘드 윈도우가 액티브의 경우: update_command 를 부른다
    if @command_window.active
      update_command
      return
    end
    # 스테이터스 윈도우가 액티브의 경우: update_status 를 부른다
    if @status_window.active
      update_status
      return
    end
  end
  #--------------------------------------------------------------------------
  # ● 프레임 갱신 (커멘드 윈도우가 액티브의 경우)
  #--------------------------------------------------------------------------
  def update_command
    # B 버튼이 밀렸을 경우
    if Input.trigger?(Input::B)
      # 캔슬 SE 를 연주
      $game_system.se_play($data_system.cancel_se)
      # 맵 화면으로 전환해
      $scene = Scene_Map.new
      return
    end
    # C 버튼이 밀렸을 경우
    if Input.trigger?(Input::C)
      # 파티 인원수가 0 명으로, 세이브, 게임 종료 이외의 커멘드의 경우
      if $game_party.actors.size == 0 and @command_window.index < 4
        # 버저 SE 를 연주
        $game_system.se_play($data_system.buzzer_se)
        return
      end
      # 커멘드 윈도우의 커서 위치에서 분기
      case @command_window.index
      when 0  # 불러오기
        # 결정 SE 를 연주
        $game_system.se_play($data_system.decision_se)
        # 불러오기 윈도우를 액티브하게 한다
        @command_window.load
      when 1  # 게임 종료
        # 결정 SE 를 연주
        $game_system.se_play($data_system.decision_se)
        # 게임 종료 화면으로 전환해
        $scene = Scene_End.new
      end
      return
    end
  end
  #--------------------------------------------------------------------------
  # ● 프레임 갱신 (스테이터스 윈도우가 액티브의 경우)
  #--------------------------------------------------------------------------
  def update_status
    # B 버튼이 밀렸을 경우
    if Input.trigger?(Input::B)
      # 캔슬 SE 를 연주
      $game_system.se_play($data_system.cancel_se)
      # 커멘드 윈도우를 액티브하게 한다
      @command_window.active = true
      @status_window.active = false
      @status_window.index = -1
      return
    end
    # C 버튼이 밀렸을 경우
    if Input.trigger?(Input::C)
      # 커멘드 윈도우의 커서 위치에서 분기
      case @command_window.index
      when 1  # 장비
        # 결정 SE 를 연주
        $game_system.se_play($data_system.decision_se)
        # 장비 화면으로 전환해
        $scene = Scene_Equip.new(@status_window.index)
      end
      return
    end
  end
end
-----------------------------------------------2---------------------------------------------------------------------------

#==============================================================================
# 제작자:rpg making bot(rpg 부분은 game으로 해석해도 됩니다)
# 무단 배포시 법적 대응합니다.
#==============================================================================
# ■ Window_Base
#==============================================================================
class Window_Base < Window
  #--------------------------------------------------------------------------
  # ● 오브젝트 초기화
  #--------------------------------------------------------------------------
  alias xrxs_mp7_initialize initialize
  def initialize(x, y, width, height)
    xrxs_mp7_initialize(x, y, width, height)
    if $scene.is_a?(Scene_Menu) or
       $scene.is_a?(Scene_Item) or
       $scene.is_a?(Scene_Skill) or
       $scene.is_a?(Scene_Equip) or
       $scene.is_a?(Scene_Status) or
       $scene.is_a?(Scene_End)
      self.back_opacity = 160
    end
  end
end

#==============================================================================
# □ XRXS_MP7_Module
#==============================================================================
module XRXS_MP7_Module
  def create_spriteset
    # 스프라이트 세트를 작성
    @spriteset_bgmap = Spriteset_Map.new
  end
  def dispose_spriteset
    # 스프라이트 세트를 해방
    @spriteset_bgmap.dispose
  end
end
#==============================================================================
# ■ Scene_Menu
#==============================================================================
class Scene_Menu
  include XRXS_MP7_Module
  #--------------------------------------------------------------------------
  # ● 메인 처리
  #--------------------------------------------------------------------------
  alias xrxs_mp7_main main
  def main
    create_spriteset
    xrxs_mp7_main
    dispose_spriteset
  end
end
#==============================================================================
# ■ Scene_End
#==============================================================================
class Scene_End
  include XRXS_MP7_Module
  #--------------------------------------------------------------------------
  # ● 메인 처리
  #--------------------------------------------------------------------------
  alias xrxs_mp7_main main
  def main
    create_spriteset
    xrxs_mp7_main
    dispose_spriteset
  end
end


[첨부파일 자작 스크립트.png 다운로드]
?

  1. 로고 스크립트

    Date2014.12.10 CategoryRPGXP 스크립트 By 운 Views1179 Votes1
    Read More
  2. 컬러 비트맵 타이틀 스크립트

    Date2015.01.20 CategoryRPGXP 스크립트 By 운 Views854 Votes1
    Read More
  3. 헤드 업 디스플레이 스크립트

    Date2015.01.30 CategoryRPGXP 스크립트 By 운 Views870 Votes0
    Read More
  4. 추천 스크립트 모음

    Date2015.03.26 CategoryRPGVX Ace 스크립트 By철창노틸 Views5855 Votes1
    Read More
  5. Mog Hunter 스페셜

    Date2015.03.26 CategoryRPGVX Ace 스크립트 By철창노틸 Views764 Votes1
    Read More
  6. 스테이터스,보수,골드,플레임 타임 삭제

    Date2015.06.02 CategoryRPGXP 스크립트 Byrpgmakingbot Views738 Votes0
    Read More
  7. 타이틀 메뉴 위치 바꾸기 vx 및 vx ace

    Date2015.09.21 CategoryRPGVX Ace 스크립트 By여줄가리 Views2009 Votes0
    Read More
  8. RPGXP ATB전투 시스템 예제(스크립트는 예제 안에 포함)

    Date2015.11.17 CategoryRPGXP 스크립트 ByMagNesium Views779 Votes0
    Read More
  9. 유니티)캐릭터 좌우 이동 (C#)

    Date2016.01.05 Category유니티 스크립트 Byzerosium Views982 Votes0
    Read More
  10. 윈도우 시스템 트레이로 최소화

    Date2016.01.21 CategoryRPGMV 플러그인 By러닝은빛 Views2031 Votes0
    Read More
  11. [plugin] YEP.58 – Item Synthesis (YEP엔진 아이템 합성 시스템)

    Date2016.01.21 CategoryRPGMV 플러그인 Byplam Views2379 Votes0
    Read More
  12. 화면에 이미지를 표시하는 스크립트(C#)

    Date2016.02.04 Category유니티 스크립트 Byzerosium Views2374 Votes0
    Read More
  13. 한글 이름 입력창 2.1v

    Date2016.02.12 CategoryRPGMV 플러그인 By맛난호빵 Views2418 Votes0
    Read More
  14. 지속데미지 스크립트(MBS)

    Date2016.02.14 CategoryRPGVX Ace 스크립트 By天下太平 Views1519 Votes0
    Read More
  15. 대화에 얼굴이 나오는 스크립트 by: killarot(네이버 dust_mite)(수정버전)

    Date2016.02.22 CategoryRPGXP 스크립트 By부초 Views1899 Votes0
    Read More
  16. Item Stream

    Date2016.03.08 CategoryRPGMV 플러그인 By러닝은빛 Views3202 Votes0
    Read More
  17. VX Ace 용 8방향 이동 스크립트

    Date2016.03.17 CategoryRPGVX Ace 스크립트 By도라지power Views1661 Votes0
    Read More
  18. 이벤트 이름 표시하기

    Date2016.04.05 CategoryRPGMV 플러그인 By러닝은빛 Views2098 Votes1
    Read More
  19. 픽쳐 터치 플러그인

    Date2016.04.17 CategoryRPGMV 플러그인 By양갱님 Views2059 Votes0
    Read More
  20. 이벤트 자동 추적 플러그인

    Date2016.04.27 CategoryRPGMV 플러그인 By러닝은빛 Views2713 Votes3
    Read More
Board Pagination Prev 1 ... 6 7 8 9 10 11 12 13 14 15 Next
/ 15






[개인정보취급방침] | [이용약관] | [제휴문의] | [후원창구] | [인디사이드연혁]

Copyright © 1999 - 2016 INdiSide.com/(주)씨엘쓰리디 All Rights Reserved.
인디사이드 운영자 : 천무(이지선) | kernys(김원배) | 사신지(김병국)