질문과 답변

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 12400
RMXP 타일을 다운 받았는데 나무나 산 주위가 하얗게되네요 2 황제님 2010.09.09 4842
갑자기 게임내의 한글이 ㅁㅁㅁ로 나옵니다. 8 흰강아지 2014.03.29 4840
RMVX 그림 띄웠을때 그림 고정시키는 방법이..? 5 dcbuzz 2010.09.08 4834
RMXP RPG XP 게임실행 오류... 도와주세요!!! 1 file 블라블라 2012.01.08 4832
RMVX 탱커를 만들수는 없나요? 3 류한서 2012.11.19 4821
VX ACE 한글 패치법 1 연백 2017.07.06 4816
기타 이미지 원본을 도트화시킬 때 어떻게 하나요? 2 stonesoup 2012.05.04 4790
RMVX 티스토리에 있는 짤린 스크립트들 복구 안되나요? 2 dcbuzz 2010.09.09 4721
RMVX 알피지 메이킹으로 만든 일본게임들 실행 에러 나는 이유. 5 file 자선1 2011.11.15 4703
RMVXA 파티에 관한 것인데요 2 너굴너굴 2012.11.17 4695
RMVX RPGVX 저장공간 1 벨리얼 2012.01.16 4695
RMVXA 쯔꾸르 시리즈는 게임패드로 플레이하는것이 가능한가요? 2 누룽누룽 2013.06.16 4563
RMVXA RGSS3 player 작동 중지 쿠쿠밥솥 2013.03.23 4457
RMXP RPGxp 대화말옆에 캐릭얼굴 뜨게 하는방법좀요.. 2 RPG진리 2010.09.10 4442
사이트 이용 RPGXP다운 3 ss오류ss 2011.01.14 4432
게임찾기 안녕하세요 싱글리니지때문에 이렇게글을올려요 ㅠ 2 파항 2014.01.13 4409
RMXP RPGXP 메뉴 스크립트 오류문의 1 메인제작재혁♥ 2012.06.24 4403
RMXP Rpgxp 맵칩 제작 1 미친존재감 2012.01.09 4401
RMVXA 타입없는기술표시 avvxace 2012.02.05 4396
RMVXA 스크립트 한글 글꼴 바꾸기 10 FreeRose 2012.05.13 4376
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