질문과 답변

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 12448
기타 xas 맵 만들기 질문이요 2 file MACH 2011.09.16 1254
RMVXA XAS 맨손이랑 칼착용시 그래픽이 겹칩니다. 1 안안녕 2013.01.26 1064
RMVXA XAS 로 만드는 중, 아이템에 따라 외형 변경 방법. 7 안안녕 2013.01.24 654
RMVXA XAS 도구이벤트 사용안할순없나요? 아방스마니아 2013.07.24 470
RMXP xas 글꼴문제... 5 시나토 2010.10.05 570
RMXP xas HUD 질문이요 1 MACH 2011.09.21 1996
RMXP XAS Hero Edition 스크립트 (버전 : 3. 81) 3 Krrrr7 2011.02.27 767
RMVXA XAS Hero Edition ACE 스크립트 한글버전 배포된게 있나요? 5 가불가 2012.02.24 2315
RMVXA XAS CT 오류 file CopyHarfUSB 2017.12.08 97
RMVXA xas ace에 대해서 질문드립니다 1 코요미 2012.10.09 1338
RMVXA XAS ACE 인공지능 동료 질문 게임애호가 2017.06.22 144
RMXP XAS 9.01을 하는데 몬스터를 죽이면 변수가 올라가는법 2 호호호리터엉 2012.02.04 2491
RMXP XAS 3.91 스킬 아이콘 단축키 질문 비극ㆍ 2012.08.18 1621
RMXP XAS 3.91 리젠 스크립트 2 비극ㆍ 2012.08.19 2130
RMXP XAS 3.8 비선공 몬스터 만들기 천상리스 2011.01.13 870
RMXP XAS - E_mini HUD 스크립트 비트맵 수정 2 file 쿠쿠밥솥 2013.02.03 868
RMVXA XAS 같은거말고 메이플 시점에 턴제? 1인칭이아닌 액션턴제RPG http://cafe.naver.com/droos/7 참고용 1 Lin 2014.12.14 411
RMVXA XAS 불망울 2017.07.26 120
이벤트 작성 RMVX x,y지점에서 5초동안 있으면 이벤트 발생 3 후라이팬샷 2019.01.03 106
기타 Wolf RPG 게임 한글화 4 ★찜찜 2013.01.07 6585
Board Pagination Prev 1 ... 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 ... 516 Next
/ 516