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 Run-Smoother! ( 렉 줄이는 스크립트 ) 12 file Bera 2010.10.16 2295
720 메뉴 Ryex's Collapsing CMS 2.51 3 Alkaid 2010.09.05 1667
719 전투 S ABS_NonSDK ver 1 file 백호 2009.02.22 1458
718 전투 S ABS_NonSDK(구버전용) 5 file 백호 2009.02.22 1494
717 전투 S.G DamageShield Script 백호 2009.02.22 935
716 기타 sandgolem Script Archive (RMXP SDK 1.5 이상 필요) file Alkaid 2011.02.17 1453
715 sbabs - 몬스터 게이지 표시 스크립트 13 file 아방스 2007.11.09 3668
714 전투 SBABS v3 6 file 백호 2009.02.22 2046
713 전투 SBABS v4 (A-RPG) 5 file 백호 2009.02.22 2055
712 SBABS 버전3.2 - 액알 스크립트 사용법 34 아방스 2007.11.09 5631
711 전투 SBABS 버전3.2 - 액알 스크립트 시스템 설명 13 아방스 2007.11.09 5685
710 전투 SBABS게이지바 file 백호 2009.02.21 2285
709 기타 Selected phyolomortis.com scripts 1 file 백호 2009.02.22 789
708 Seph's Test Bed 0.4 (SDK2 호환, Method & Class Library 2 WMN 2008.04.06 1330
707 기타 Seph's Test Bed v.4 (파일첨부) (SDK2.x용) Alkaid 2010.10.08 1533
706 기타 SFont 사용 스크립트 by Trickster Alkaid 2010.10.05 1512
705 메뉴 SG_Artifact Colors by sandgolem (SDK 호환) 1 백호 2009.02.22 1003
704 전투 SG_Attack Break by sandgolem (SDK호환) 백호 2009.02.22 813
703 전투 SG_Auto battle by sandgolem (SDK호환) 백호 2009.02.22 1031
702 저장 SG_Automatic Save 백호 2009.02.22 970
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