질문과 답변

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 12397
RMXP 게임하다가 일정 이벤트가 뜨면 게임 폴더 속 파일이 자동 실행되도록 할수 있나요? 2 찐콩땅콩 2015.11.15 339
RMVX 힐이 특정 상대 에게 데미지로 박히게 하는방법 3 OvercomE 2014.01.04 1032
RMVX 흰색없는 이미지 올리기? 13 file Thyella 2013.03.05 1441
기본툴 사용법 RMVXA 흡혈 스킬 만들기 3 겜만들고싶다앙 2021.01.06 290
RMVXA 흔들림 효과 질문 3 달밤에왈츠 2012.07.03 1677
기타 RMVXA 흑백 스킬 애니메이션을 만들었는데 검은 색이 계속 투명처리가 됩니다 2 file 오황불 2020.12.31 89
RMXP 흐읗읗 2 쿠크 2011.02.12 1076
RMVX 흐음..제가 액토이동경로 이벤트에대해 아쳐 2015.04.19 199
RMXP 흐엏엏 2 file 쿠크 2011.02.11 1146
RMXP 흐아아.. 맵칩 관련 질문 입니다. 4 미니쿠키 2011.01.22 1107
RM2k 흐미 1 알이즈웰 2011.01.13 1852
RMXP 훈장 시스템 3 솔로몬 2013.02.18 906
RMVX 훈덕 님이 올리신 스킬 사용 조건(번역) 사용방법 file 엿데브 2011.06.07 1677
RMVXA 후크 샷 스크립트 2 불청객 2013.01.17 1086
RMVX 후레시 같은거 어떻게 만들죠? 6 후라이팬샷 2013.08.19 1319
RMVXA 후레쉬효과? 1 아이디어창고 2015.07.11 265
RMVX 후레쉬같은 이벤트 질문 2 노이치 2012.07.08 3448
RMVX 후레쉬 스크립트..? 3 아인이다 2012.10.25 1410
기본툴 사용법 RMMV 효과음이나 브금 추가하는 법을 모르겠어요ㅜ 3 클라시메이트 2019.01.18 478
기본툴 사용법 RMMV 효과음을 끊기거나 겹치지 않게 반복시킬 수 있나요? 2 PPPL 2019.11.22 314
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... 516 Next
/ 516