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 기타 레벨9999만들기스크립 23 해파리 2009.04.10 3344
720 퀘스트 퀘스트창 예제 21 지나가던사람 2009.04.05 5742
719 메뉴 [자작]명성치 사용 스크립트 16 Rainsy 2009.03.22 3390
718 이동 및 탈것 반칸 이동하기 14 file 느싱 2009.03.09 3458
717 맵/타일 [유니크급] RPG XP 게임을 3D화로 보자! Neo Mode7 script / 52 file 쉴더 2009.02.28 9442
716 기타 8방향 마우스 스크립트 10 file 아방스 2009.02.28 4063
715 기타 4방향 마우스 스크립트 12 file 아방스 2009.02.28 2662
714 액터 (killer님 요청)자동회복 스크립트 3 나뚜루 2009.02.22 2572
713 기타 멤버 교체 11 file 백호 2009.02.22 2525
712 메뉴 메뉴등에서 움직이는 엑터 9 file 백호 2009.02.22 3162
711 파티 파티 확장 11 file 백호 2009.02.22 3183
710 스킬 제한시간내 커맨드를 입력해야 스킬이 발동~ 3 file 백호 2009.02.22 2614
709 기타 회복으로 데미지를 받는 좀비 스크립트 7 백호 2009.02.22 2004
708 기타 플레이어 발소리 스크립트 20 백호 2009.02.22 3107
707 아이템 CSSR14-아이템 합성 3 file 백호 2009.02.22 2833
706 장비 CSSR8-장비품 생산&강화 시스템 18 file 백호 2009.02.22 3959
705 장비 CSSR5-장비품 중량 시스템 1 file 백호 2009.02.22 1731
704 장비 CSSR1-장비품 어빌리티포인트제 file 백호 2009.02.22 1597
703 전투 CSSR6-스태미너 시스템 1 file 백호 2009.02.22 2337
702 기타 Multiple Languages v2 by SephirothSpawn (SDK호환) file 백호 2009.02.22 1404
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