XP 스크립트

This is a cool edition I have done in the Status screen, so I want to share it.

First, have the Faces script

CODE

def draw_actor_face(actor, x, y)
face = RPG::Cache.character("Faces/" + actor.character_name, actor.character_hue)
fw = face.width
fh = face.height
src_rect = Rect.new(0, 0, fw, fh)
self.contents.blt(x - fw / 23, y - fh, face, src_rect)
end




Make a folder named Faces

Then, In Window_Status, find first this line.

CODE

draw_actor_graphic(@actor, 40, 112)



Change it to.

CODE
draw_actor_face(@actor, 150, 450)


For this, I recommend to have your battler as face. Name the face the same as the character et you are using.

Then, on this lines.

CODE
self.contents.draw_text(320, 48, 80, 32, "Exp")
    self.contents.draw_text(320, 80, 80, 32, "Next Level")
    self.contents.font.color = normal_color
    self.contents.draw_text(320 + 80, 48, 84, 32, @actor.exp_s, 2)
    self.contents.draw_text(320 + 80, 80, 84, 32, @actor.next_rest_exp_s, 2)
    self.contents.font.color = system_color
    self.contents.draw_text(320, 160, 96, 32, "Equipment")
    draw_item_name($data_weapons[@actor.weapon_id], 320 + 16, 208)
    draw_item_name($data_armors[@actor.armor1_id], 320 + 16, 256)
    draw_item_name($data_armors[@actor.armor2_id], 320 + 16, 304)
    draw_item_name($data_armors[@actor.armor3_id], 320 + 16, 352)
    draw_item_name($data_armors[@actor.armor4_id], 320 + 16, 400)



Change it to.
CODE
    self.contents.draw_text(420, 48, 80, 32, "Exp")
    self.contents.draw_text(420, 80, 80, 32, "Next Level")
    self.contents.font.color = normal_color
    self.contents.draw_text(420 + 80, 48, 84, 32, @actor.exp_s, 2)
    self.contents.draw_text(420 + 80, 80, 84, 32, @actor.next_rest_exp_s, 2)
    self.contents.font.color = system_color
    self.contents.draw_text(480, 160, 96, 32, "Equipment")
    draw_item_name($data_weapons[@actor.weapon_id], 420 + 16, 208)
    draw_item_name($data_armors[@actor.armor1_id], 420 + 16, 256)
    draw_item_name($data_armors[@actor.armor2_id], 420 + 16, 304)
    draw_item_name($data_armors[@actor.armor3_id], 420 + 16, 352)
    draw_item_name($data_armors[@actor.armor4_id], 420 + 16, 400)



I hope it will work for you.

If it works, it could look like this.



I don't want to call it script. It's just an edit, that's very cool.

Hope you like it. Credits To Sephirothspawn for the Bars script, wich is seperate to this script.
Comment '10'
  • ?
    rpg게임만들기왕 2009.01.16 18:43
    아방스 님께서 올려주시는 거면 모조리 영어인가요?
    비판하는것 처럼 들렸으면 ㅈㅅ 합니다.
  • ?
    김요다 2009.01.22 17:43
    한국 스크립터들은 이런 활동을 안하고있기 때문이죠 - -;
    다운받는 사람만 많구..
    외국 스크립터 작품이기때문에 영어나 기타언어로 되어있는것입니다.
  • ?
    비공개아이디 2009.01.22 19:27
    으음 어렵네요 ㅎㄷㄷ
  • ?
    나뚜루 2009.01.31 11:37
    킁 설명이 영어 ㄷㄷ
    그나저나 이건 알아서 바꾸는거군요 ㅡ.ㅡㅋ;
  • profile
    박빙고 2009.06.04 21:25
    으...난 영어에 약한데..ㅠㅠ
  • ?
    김카샤 2009.07.03 22:10
    아 좋네요ㅋ 캐릭터 이미지를 넣을 수 있으니까 좀더 간지나는 듯 ㅋㅋ ><
  • ?
    탁구공 2010.01.05 09:29

    허헛 저 캐릭터는 아오오니의 타쿠로 아닌가??ㅋ

  • ?
    카비 2010.01.05 13:14

    이게무슨 스크립트이죠?

  • ?
    내로미 2010.04.02 22:39

    아.. 아오오니... 의... 타쿠로.. 우힝... 타쿠로 미남이당~ ㅋ

  • ?
    코아 코스튬 2010.10.02 20:30

    스크립트 말고 저 폰트 갖고싶다,,,


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6153
721 아이템 소지/구입 아이템 갯수 99개 이상 가능(약간 수정) 2 백호 2009.02.22 1103
720 변수/스위치 셀프 스위치 조작 10 file 허걱 2009.01.30 2655
719 저장 세이브파일 망가뜨리기 by RPG Advocate 3 백호 2009.02.22 2657
718 저장 세이브 슬롯 갯수 증가와 세이브 덮어씌울 때 확인 by RPG Advocate 5 백호 2009.02.22 1505
717 저장 세이브 & 로드 화면 개조 스크립트 file 백호 2009.02.21 1962
716 스킬 선택 스킬 스크립트 4 file 백호 2009.02.21 1631
715 HUD 새로운방법의 맵이름 표시 31 file 백호 2009.02.21 4617
714 이동 및 탈것 새로운 픽셀 이동 스크립트 27 file 케나이 2010.04.10 3496
713 메뉴 새로운 메뉴 시스템 을 한글화 및 약간 개조 3 file 백호 2009.02.21 2203
712 메뉴 새로운 메뉴 15 file 또라에몽 2010.07.17 5303
711 메뉴 새로운 cms 4 file 백호 2009.02.22 2117
710 상태/속성 상태창 표시 Ver 8.0 // 글씨 위치 변경 기능 + 변수 한글 7 file 코아 코스튬 2010.09.24 2561
709 상점 상점에서 Q.W버튼으로 순서를 바꿈!상점스텟 상세화 업그레이드 1 백호 2009.02.21 1714
708 상점 상점에 물방,마방 구별, 무기의 능력치 상세화 5 file 백호 2009.02.21 2512
707 상점 상점아템 가격변동(중뷁?) 4 캉쿤 2011.09.14 2188
706 상점 상점 직접 장비 스크립트 1 file 백호 2009.02.21 1771
705 상점 상점 시세 변동 스크립트 수정판 3 백호 2009.02.22 1518
704 기타 상점 변동시세 적용 스크립트 3 file 백호 2009.02.21 1162
703 상점 상점 메뉴 개조시킨 스크립트 [한글] 35 file 백호 2009.02.21 3567
702 상점 상점 메뉴 개조시킨 스크립트 - 수정 - 2 file 백호 2009.02.21 1818
Board Pagination Prev 1 ... 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 ... 52 Next
/ 52