질문과 답변

Extra Form

제목대로 스크립트 예제파일이나 스크립좀 알려주세요!!!

그리고 사용법도 알려주시면 감사하겠습니다.

Who's swewedsd

?

제작도:0.05%

 

Comment '3'
  • ?
    크런키맛아듀크림 2010.09.18 13:33

    ###########################################################
    # <<장비에 레벨제한 걸기 >> #######################################
    ###########################################################
    # <<사용법>>
    # 레벨 제한을 걸고싶은 무기의 메모부분에 레벨nnnn 이라고 기입하면됨
    # 반드시 네자리의 숫자로 적어줘야 함.
    # 예) 레벨제한 1인 경우, 무기의 메모부분에 '레벨0001' 이라고 기입
    #
    # P.S.무기의 메모란에 아무것도 기입하지 않은 경우,
    #       그 장비는 '레벨제한 없음' 으로 간주
    ###########################################################


    class Game_Actor < Game_Battler
     
      def equippable?(item)
        $last_equip_actor = actor.id
        if item.is_a?(RPG::Weapon)
          return self.class.weapon_set.include?(item.id)
        elsif item.is_a?(RPG::Armor)
          return false if two_swords_style and item.kind == 0
          return self.class.armor_set.include?(item.id)
        end
        return false
      end
     
    end

    class Window_EquipItem < Window_Item
     
     def enable?(item)
      for i in 0 ... item.note.size
        if item.note[i]==235 and  item.note[i+1]==160 and item.note[i+2]==136
          if item.note[i+3]==235 and item.note[i+4]==178 and item.note[i+5]==168
            item_level = ( ( item.note[i+6] - 48 ) * 1000 ) + ( ( item.note[i+7] - 48 ) * 100 ) + ( ( item.note[i+8] - 48 ) * 10 ) + ( item.note[i+9] - 48 )
            if item_level > $game_actors[$last_equip_actor].level
              return false
            else
            end
          else
          end
        else
        end
      end    
      return true
     end

    end

    class Scene_Equip < Scene_Base
     
      def update_item_selection
        if Input.trigger?(Input::B)
          Sound.play_cancel
          @equip_window.active = true
          @item_window.active = false
          @item_window.index = -1
        elsif Input.trigger?(Input::C)
          item = @item_window.item
          item_equip = true
          if item != nil
          for i in 0 ... item.note.size
        if item.note[i]==235 and  item.note[i+1]==160 and item.note[i+2]==136
          if item.note[i+3]==235 and item.note[i+4]==178 and item.note[i+5]==168
            item_level = ( ( item.note[i+6] - 48 ) * 1000 ) + ( ( item.note[i+7] - 48 ) * 100 ) + ( ( item.note[i+8] - 48 ) * 10 ) + ( item.note[i+9] - 48 )
            if item_level > $game_actors[$last_equip_actor].level
              item_equip = false
            else
            end
          else
          end
        else
        end
        end
      else
      end
     
          if item_equip == true
          Sound.play_equip
          @actor.change_equip(@equip_window.index, @item_window.item)
          @equip_window.active = true
          @item_window.active = false
          @item_window.index = -1
          @equip_window.refresh
          for item_window in @item_windows
            item_window.refresh
          end
        else
          Sound.play_cancel
          end
        end
      end
    end

  • ?
    크런키맛아듀크림 2010.09.18 13:34

    무기의 메모부분에 레벨을 써주시면됩니다.

    예를 들어 레벨20제의 무기라면

    레벨0020

    을 써주시면됩니당.

  • ?
    swewedsd 2010.09.18 13:39

    감사합니다 ㅜㅜ


List of Articles
종류 분류 제목 글쓴이 날짜 조회 수
공지 묻고 답하기 가이드 습작 2014.06.14 12392
RMXP 메뉴배경투명화, 메뉴오픈버튼무효화 2 엑셀브레이커즈 2011.12.14 1940
RMVX 이벤트에서 '루프'의 기능은 뭔가요? 3 daorlia 2011.12.14 2008
RMXP 케릭터만들고 쉽게 rpg만들기xp넣는 방법? 2 오매갓 2011.12.13 2391
RMXP 액알모션 만드는 법 까멸 2011.12.13 2213
RMXP 턴전투에서 죽지 않음 설정.. 1 아미상 2011.12.13 1830
RMXP 조건분기 사용시..... 1 까멸 2011.12.13 2221
RMXP 액알사용시 추가기능 질문 까멸 2011.12.13 1888
RMXP 게임오버 무효화 2 엑셀브레이커즈 2011.12.13 2176
RMXP 랜덤으로 이벤트 출현시키는 방법 3 펜슬 2011.12.13 1639
RMXP 게임 밸런스맞출때 질문좀요~ 2 Amaster 2011.12.13 1832
RMXP 자신의 케릭터가 도중에 바뀌는 방법 1 이족보행 2011.12.12 2183
RMXP 맵배치할떄... 1 까멸 2011.12.12 1898
RMVX 제가 한계돌파 스크립을 사용해봤는데요.. 1 GTGs 2011.12.12 2038
기타 기본맵만 써서 우수게임된 사례가 있나요? 5 펜슬 2011.12.11 2016
RM2k 반복처리를 중첩할경우 1 아르피쥐 2011.12.11 1841
RMXP 선택지 표시할때 5 까멸 2011.12.11 1627
RMXP 케릭터만들려면 어디들어가야 하나요? 2 오매갓 2011.12.11 2505
RMXP 온라인 3d 3 까멸 2011.12.11 1697
RMXP 스크립트 가져오는데요,.. 3 강좌ㅇ 2011.12.11 1731
RMVX 케릭터 칩 사용법 3 file ba람이 2011.12.11 2514
Board Pagination Prev 1 ... 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 ... 516 Next
/ 516