질문과 답변

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 12472
RMVXA 분명 이벤트를 종료시켰는데 캐릭터가 움직이지 않네요 2 file dinba 2013.10.01 1210
RMVX RPGVX에서 캐릭터를 타일의 남쪽에 붙이고 싶습니다. 4 file 해아 2013.03.28 1210
RMVXA VX ACE 그래픽을 암호화 시키고 싶습니다. 스리아씨 2013.10.26 1210
RMVX 액알 만드는법 1 유섭 2011.06.13 1209
RMVXA 액션 알피지 전투질문 2 참깨빵위에순쇠고기패티두장특별한소스양상추치즈피클양파까지 2013.09.28 1208
기타 마녀의집 엘렌 효과음 뭔지 아시는분? 1 Drakedog 2013.04.21 1208
(해결)RMVXA공식사이트영문판 사용중인데 폰트변경이 안됩니다. 5 file sudoxe 2014.03.02 1208
RMXP 2003과 같은 타일의 교체기능이 없나요? 9 석진이 2011.06.03 1208
RMVXA 스크립트 상 변수 문제입니다. 2 아이미르 2012.08.08 1207
RMVX RPG VX 다운현상.. 2 loutel 2011.07.10 1207
기타 우리나라 알만툴 제작 게임 중에 보드게임은 없나요? 1 카리아인 2011.07.02 1207
RMXP 아방스님이 올려주신 캐릭터 만드는 일본 웹 사이트 2 Hsik 2010.11.02 1207
RMVXA 이미지 항상띄우고 거기에 옷입히기 같은 기능을 할 수 있는지.. 2 file 카슈엔1 2014.07.17 1206
기타 플래시 게임은 무슨 프로그램으로 만들져? 3 다컥스 2011.07.20 1206
RMXP 스킬이펙트 만드는 방법 1 시키부 2011.04.26 1206
RMVXA 글씨체를 rpg 2003 같은 도트향 글씨로 가능할까요? 1 바크지누크 2014.08.18 1205
기타 게임 리뷰, 테스트에 대해 배울 수 있는 사이트나 책 추천해주소 꼴뚜기무침 2010.11.20 1205
RMXP 주인공 반경 20칸 주위에 우선순위가 5인 타일셋이 존재할 경우 라는 스크립트 조건 1 CJYG* 2012.06.23 1205
RMXP npc 시점을 주인공에게 고정 하는 방법 2 file 어느날부터 2012.06.25 1204
RMXP 액터를 쫓던 이벤트가 장소 이동을 할 수 있나요? 2 겔럭시안드로메다 2011.06.06 1203
Board Pagination Prev 1 ... 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 ... 517 Next
/ 517