질문과 답변

Extra Form
=begin
Improved Item Processing
by Fomar0153
Version 1.0
----------------------
Notes
----------------------
Allows you to define which items appear in the item
processing window.
----------------------
Instructions
----------------------
Set VARIABLE_CAT to the id of the variable you wish 
to use to define what appears.
By defualt:
VARIABLE -> What appear
0 -> Normal Items
1 -> Weapons
2 -> Armours
3 -> Key Items
4 -> All Items
5+ will open up a custom selection window.
You define the items to be included in it by note tagging.
<itemp x>
Where x is the value of the variable you want to use.
----------------------
Known bugs
----------------------
None
=end
class Window_KeyItem < Window_ItemList
  #--------------------------------------------------------------------------
  # ● Change the number to the id of the variable you wish to use
  #--------------------------------------------------------------------------
  VARIABLE_CAT = 2
  #--------------------------------------------------------------------------
  # ● Replaces the inherited method.
  #--------------------------------------------------------------------------
  def include?(item)
    case $game_variables[VARIABLE_CAT]
    when 0 # Normal Items
      item.is_a?(RPG::Item) && !item.key_item?
    when 1 # Weapons
      item.is_a?(RPG::Weapon)
    when 2 # Armours
      item.is_a?(RPG::Armor)
    when 3 # Key Items
      item.is_a?(RPG::Item) && item.key_item?
    when 4 # All Items
      item.is_a?(RPG::Item)
    else
      item.is_a?(RPG::Item) && item.note.include?("<itemp " + $game_variables[VARIABLE_CAT].to_s + ">")
    end
  end
  #--------------------------------------------------------------------------
  # ● Otherwise weapons and armours are not clickable - hopefully this won't
  #   have any unforseen consequences.
  #--------------------------------------------------------------------------
  def enable?(item)
    return true
  end
end




일단 텍스트파일로도 첨부했습니다

이 스크립트는 199번 변수의값이 뭐냐에따라서 아이템의선택처리시 장비아이템,중요템,일반템,아머 등등을 보여주게할수있습니다. 제시도가능하구요

아무튼.. 제가 뭘 부탁드리고싶냐면요

이 스크립트에다가 카테고리를 넣고싶습니다

즉. 장비아이템,중요아이템 . 이렇게 분류탭을 넣고싶습니다.

그림으로도 첨부하겠습니다! 

제목 없음.png

저런식으로요! 




List of Articles
종류 분류 제목 글쓴이 날짜 조회 수
공지 묻고 답하기 가이드 습작 2014.06.14 12393
RMVXA 특이하게 턴RPG를 구현해보고 싶은데요... 3 환장 2012.11.24 1191
RMVXA 이런 경우에 통행설정을 어떻게해야하나요? 13 file 봅쓸레이드 2013.09.18 1191
RMVXA 스크립트 에러 질문입니다 3 file 오늘은훈이좋군 2013.10.01 1190
RMVXA 사용 중인 모듈 내 값을 디폴트 시키는 방법을 아시는 분? 7 77이알 2012.09.18 1189
RMVXA [수정해서 다시 올립니다.] 게임을 하다가 자꾸 팅기네요. 1 file 오버매냐 2013.09.29 1189
RMVXA 열쇠를사용하여여수있는문은어케만드나요? (RPG VX Ace) 2 qpalzm104 2014.01.11 1188
RMVXA RPG VXA 스크립트 게시판에 올라온 사이드 뷰 스크립트에 대해 질문 홍색의환상향 2013.05.05 1187
RMVXA 타일셋을 바꿧는데 캐릭터가 안움직입니다(방향만움직임) 2 file PengBle 2013.05.06 1187
RMVXA 플레이어 뒤에 이벤트가 따라붙게 하고싶어요. 4 Virtus 2013.11.27 1183
RMVXA VX ACE 온라인 스크립트 질문과 그외질문 anrkd23 2012.06.21 1183
RMVXA 월드맵을 시점을 내려서 만들수 있을까요? 7 file H.M. 2013.10.27 1182
RMVXA 메뉴 장비창에 속성 유효도(속성 저항), 상태저항 표시 가능여부 2 lallal 2013.01.02 1181
RMVXA 스킬사용시 HP를 소비하게 하고 싶습니다. 1 쇼몬_아레하 2012.08.26 1181
RMVXA 은행시스템에 이자 시스템 넣기!! 닉네잉 2012.10.05 1181
RMVXA [VXA] 세이브를 4개로 한정하는 방법 1 file 서로게이트 2013.10.03 1180
RMVXA 바닥피해로 전투불능이 될 시 메세지가 안나오게할려고합니다. 2 file 쇼몬_아레하 2012.08.26 1180
RMVXA Khas Awesome Light Effects 스크립트 F12로 재시작시 오류에 대해. 4 file 카온 2013.05.07 1178
RMVXA F12 버튼을 비작동 하는 방법은?? 77이알 2012.09.03 1177
RMVXA 메뉴 그림표시및 없애기 5 이레 2014.09.10 1177
RMVXA 현재 재생중인 bgm의 크기를 변동하는 방법이 있나요 입개르 2013.04.23 1176
Board Pagination Prev 1 ... 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 ... 149 Next
/ 149