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
701 기타 쓸 용도가 없지만 마비노기 게임 만들 때 좋죠[장작스크립트] 5 백호 2009.02.22 2407
700 기타 레벨을 표시해주는 스크립트 5 백호 2009.02.22 2403
699 오디오 CG, 음악 감상 스크립트 [한글화] 11 file 백호 2009.02.21 2403
698 화면에 축소된 맵을 표시하는 스크립트 7 file 백호 2009.02.21 2394
697 이동 및 탈것 텔레포트 스크립트. 11 XP광 2010.01.12 2392
696 파티 파티교환 시스템...이걸로 순서 교체도 가능할 듯... 9 file 백호 2009.02.21 2392
695 HUD HUD Menu 1.2 by Raziel 6 file 백호 2009.02.22 2390
694 기타 거울에 캐릭 반사 20 ok하승헌 2010.02.18 2388
693 HUD 맵이름표시 6 캉쿤 2011.09.14 2380
692 전투 전투후 경험치 분배와 레벨업시 HP/SP 전회복 15 백호 2009.02.21 2374
691 전투 Active Time Battle 2.57 by パラ犬 6 file 백호 2009.02.22 2371
690 이동 및 탈것 이거만드느라 똥줄탓다!(는뻥) 초간단스크립트 10 *PS인간 2009.02.10 2369
689 이동 및 탈것 하이 대쉬 시스템 ver.1.0 15 백호 2009.02.22 2364
688 메뉴 자세항 개인 상태화면 8 아방스 2009.01.12 2361
687 메뉴 L's Custom Menu #3: 1인용 메뉴 Revision 1 3 Alkaid 2010.09.12 2360
686 메뉴 메뉴 변경 스크립트 2 file 백호 2009.02.21 2359
685 장비 에러 안나는 장비창 전능력 표시 스크립트... 3 백호 2009.02.21 2352
684 메뉴 자작 커스텀 메뉴(데모 첨부) 3 백호 2009.02.22 2347
683 점프 대쉬 스크립트 11 WMN 2008.03.17 2345
682 메뉴 Breath Of Fire 스타일의 메뉴 3 file 백호 2009.02.21 2342
Board Pagination Prev 1 ... 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ... 52 Next
/ 52