VX 스크립트

# 사용법은 간단합니다.

# 원하는 아이템, 장비, 스킬의 메모 부분에

# 문자색:n

# 이라고 넣으시면 됩니다.

# n 부분에는 숫자가 들어갑니다.

# 문장 표시할때 쓰는 명령어인 c[n] 과 같은 숫자가 쓰입니다.

# by 까까까

 

class Window_Base < Window

 

  alias draw_item_name_ggaggagga draw_item_name
 
  def draw_item_name(item, x, y, enabled = true)
   
    if item != nil and item.note.scan(/문자색:([0-9]+)/i)[0] != nil
      draw_icon(item.icon_index, x, y, enabled)
      color = text_color(item.note.scan(/문자색:([0-9]+)/i)[0][0].to_i)
      self.contents.font.color = color
      self.contents.font.color.alpha = enabled ? 255 : 128
      self.contents.draw_text(x + 24, y, 172, WLH, item.name)

      self.contents.font.color = normal_color

    else
      draw_item_name_ggaggagga(item, x, y)
    end
  end
 
end

Comment '14'
  • ?
    까까까 2011.03.04 02:50

    아이템만으로 테스트 해봐서 장비와 스킬은 잘 될지 모르겠습니다.

    오류 있으면 댓글 남겨주세요

  • ?
    호로홓 2011.03.05 00:30

    괜찮네요 ㅎ

  • ?
    뷔버 2011.03.06 12:53

    아이템, 무기, 스킬 전부 잘 됩니다. 감사해요~~~~

  • ?
    드림스 2011.04.22 21:22

    희귀아이템 같은거 만들때 좋겠네요.

    에픽 아이템이나 그런것도 괜찮고.

  • ?
    화염 2011.05.02 13:19

    뭔가 응근귀찮음 ㅋㅋ

  • ?
    안습의별 2011.06.04 08:51

    감사합니다 잘 쓸게요

  • ?
    시옷청룡 2011.07.09 22:46

    허허 이런거 있었으면 좋겠다고 생각했었는데 이렇게 간단한 스크립트 한방으로 되다니

  • ?
    [A]중딩 2011.07.25 02:40

    전 이거 엑터이름색깔이변하던데;

    색깔변한 무기장착했을때요..

  • ?
    seamo 2011.08.04 19:12

    감사하답니다~

  • ?
    흑강 2011.08.08 10:51

    감사합니다

  • ?
    파치리스 2011.12.03 19:25

    잘되네요

  • profile
    스쿨오브~♪ 2012.01.15 22:51

    감사합니다.

  • ?
    오오카미 2012.04.29 23:17

    아 된거 같아요 ㅎㅎ

  • profile
    Windows 2013.03.25 18:02
    #--------------------------------------------------------------------------
    # ● 아이템명의 묘화
    # item : 아이템 (스킬, 무기, 방어구로도 가능)
    # x : 묘화처 X 좌표
    # y : 묘화처 Y 좌표
    # enabled : 유효 플래그.false 때 반투명으로 묘화
    #--------------------------------------------------------------------------
    def draw_item_name(item, x, y, enabled = true)
    if item != nil and item.note.scan(/문자색:([0-9]+)/i)[0] != nil
    draw_icon(item.icon_index, x, y, enabled)
    color = text_color(item.note.scan(/문자색:([0-9]+)/i)[0][0].to_i)
    self.contents.font.color = color
    self.contents.font.color.alpha = enabled ? 255 : 128
    self.contents.draw_text(x + 24, y, 172, WLH, item.name)
    self.contents.font.color = normal_color
    else
    draw_item_name_ggaggagga(item, x, y)
    draw_icon(item.icon_index, x, y, enabled)
    self.contents.font.color = normal_color
    self.contents.font.color.alpha = enabled ? 255 : 128
    self.contents.draw_text(x + 24, y, 172, WLH, item.name)
    end
    end
    end
    이렇게 해야하나요?
    이렇게 하니까 스크립트 오류걸리던데
    어디에 넣어야 하나요?

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 3 습작 2012.12.24 5398
277 타이틀/게임오버 륀느님 요청] 전투 전멸후 Game over없이 특정위치로 이동 10 Last H 2009.02.24 2834
276 스킬 미완성 구버전. 2칸 위에 있는 글을 이용해주세요. 7 Last H 2009.02.23 1925
275 기타 [kcg] 슬립 데미지 상세화 19 BoneheadedAlien 2009.02.22 3242
274 기타 아키루냥님 요청 스크립트(자작) 4 file Last H 2009.02.22 2754
273 영상 동영상 재생 스크립트.-Game_Film II-(테스트) 7 할렘 2009.02.22 3741
272 기타 태양 스크립트. 15 file 할렘 2009.02.20 4463
271 메뉴 CogWheelBars 시스템. 13 file 할렘 2009.02.20 4362
270 메뉴 모그메뉴 스킨입니다. 1 file 아부리 2009.02.16 6866
269 기타 Kylock 밤낮 스크립트 부분 한글화 + 달력 모드 (모드는 자작) 31 file RMdude 2009.02.15 4100
268 HUD 변수 표시 HUD 8 Tofuman 2009.02.15 2469
267 메시지 여러항목 선택지 ... Scene처리.. 23 file 허걱 2009.02.14 5277
266 기타 게임시간&밤낮 54 file 허걱 2009.02.14 6111
265 이동 및 탈것 Wachunga님의 XP용 MapLink VX용으로 개조 6 file 허걱 2009.02.13 3039
264 기타 심플 마우스 시스템 1.5 애드온 11 file RMdude 2009.02.11 4325
263 메뉴 (모그메뉴 풀세트팩 SEL Style.) 유니크급 자료 147 file 할렘 2009.02.07 9558
262 기타 데이터베이스 자체 제한 해체 스크립트 [Database Limit Breaker] 13 file 할렘 2009.02.07 3562
261 메뉴 GuiRPG menu시스템 13 file 할렘 2009.02.07 4849
260 전투 방패가없어? 그럼 방어못하게하는 스크립트. 16 file 할렘 2009.02.07 3425
259 전투 Requiem SBABS (Requiem Squad Based Battle System) 14 vk 2009.02.07 7542
258 기타 라이트 이펙트 스크립트 12 file 아방스 2009.02.07 3262
Board Pagination Prev 1 ... 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 ... 32 Next
/ 32