VX 스크립트

출처 - http://www.rpgrevolution.com/forums/index.php?showtopic=36520



스크립트에 필요한 이미지 파일
HUD_Images_and_Fonts.zip

스크립트 파일
HUD.txt

유용한팁 
이벤트 커맨드 명령에서 아래스크립트로 화면에 보이게 하거나 안보이게 설정을 할수 있다.

숨기기
$scene.hide_hud

보이기
$scene.show_hud






추가 게이지바 이미지

Modern_HUD.rar





Munkis_HUD.rar




Starry_HUD.rar



Zelda_HUD.rar



사용된 폰트
RockwellExtraBold.zip


추가 게이지바 스크립트 설정.
module HudConfig
  
  # The actor id of the main character in your game.
  # This will be the character in the main hud window.
  PLAYER_ID                  = 1
  
  # if this is set to 'true' the HUD will go opaque.
  # when the player is walking.
  TRANSPARENT_WHEN_MOVING    = true
  # this is the minimum opacity value reached while walking.
  # this should be a value between 0 and 255.
  TRANSPARENCY_WHEN_MOVING   = 64
  # this value determines how fast the HUD will fade out and in.
  # this is in incremenets per frame (60 frames per second).
  TRANSPARENCY_SWITCH_SPEED  = 2
  
  # If this switch is 'ON' the hud will not appear at all.
  # Set this to 'nil' to disable the feature completely
  NO_SHOW_SWITCH             = nil
  
  # If this text is found in a map name the hud will
  # be disabled for that map at all times.  This text
  # will be removed from the map name proper in case
  # you are using a map name script or somethin like that.
  NO_SHOW_TEXT               = 'hud no show'
  
  # Display an empty hud if there is no party leader?
  SHOW_IF_NO_LEADER          = false
  
  # Name of the player (main character) hud graphic
  PLAYER_HUD_IMAGE_NAME      = 'player_hud'
  # Use the gren and blue mp/hp gauges?
  # You may use your own graphics, but they must
  # adhere to the same format as the originals, i.e.,
  #
  #   hud_bar_hp_000.png
  #
  # Where the '000' part is a multiple of five, from 0-100.
  PLAYER_USE_CUSTOM_GAUGE    = true
  
  # The physical location of the hud sprite.
  # All of the other graphic locations are relative to this one.
  PLAYER_HUD_LOC             = Point.new(0, 0)
  # The relative location of the hud image to the hud sprite.
  PLAYER_HUD_IMAGE_LOCATION  = Point.new(0, 0)    
    
  # The starting location of each peice of the HP gauge.
  PLAYER_HP_GAUGE_LOCATION   = Point.new(0, 0)
  # the starting location of each peice of the MP gauge.
  PLAYER_MP_GAUGE_LOCATION   = Point.new(0, 0)
  
  SHOW_PLAYER_FACE_IMAGE     = false
  # The location of the face graphic.
  FACE_LOCATION              = Point.new(35, 0)
  
  # Show all party members? (THESE FEATURES ARE NOT YET IMPLEMENTED)
  USE_MEMBER_WINDOW          = true
  MEMBER_HUD_IMAGE_NAME      = 'member_hud'
  MEMBER_USE_CUSTOM_GAUGE    = false
  
  # Allow the player to hide the HUD by pressing a button?
  ALLOW_HUD_HIDE             = true
  # The button which will trigger a hud move.
  HIDE_HUD_INPUT             = Input::X
  # The speed at which to move the hud.
  HUD_HIDE_SPEED             = 7
  # replace "Left" with "Right" below to change the scroll direction
  HUD_SCROLL_DIRECTION       = ScrollDirection::Left
  
  # Global values which are convenient for setting
  # multiple values to the same thing.
  GLOBAL_FONT_NAME           = ['Magneto', 'Consolas', 'Verdana', 'Ariel', 'Courier New']
  GLOBAL_PLAYER_FONT_SIZE    = 22
  GLOBAL_MEMBER_FONT_SIZE    = 22  
  
  SHOW_PLAYER_NAME            = true
  # The rest of the settings deal with setting the
  # location and style of the text displayed in the HDU
  PLAYER_NAME_FONT           = GLOBAL_FONT_NAME  
  PLAYER_NAME_COLOR          = Colors::Silver
  PLAYER_NAME_USE_ITALICS    = false
  PLAYER_NAME_USE_BOLD       = false
  PLAYER_NAME_USE_SHADOW     = true
  PLAYER_NAME_FONT_SIZE      = 20
  PLAYER_NAME_LOCATION       = Point.new(10,5)
  PLAYER_NAME_WIDTH          = 90
  PLAYER_NAME_HEIGHT         = 22
  
  MEMBER_NAME_FONT           = GLOBAL_FONT_NAME
  MEMBER_NAME_COLOR          = Colors::White
  MEMBER_NAME_FONT_SIZE      = GLOBAL_MEMBER_FONT_SIZE
  MEMBER_NAME_LOCATION       = Point.new(0,0)
  
  USE_HP_TEXT_DISPLAY        = false
  PLAYER_HP_FONT             = ['Consolas', 'Verdana', 'Ariel', 'Courier New']
  PLAYER_FULL_HP_COLOR       = Colors::GaugeGreen
  PLAYER_HP_FONT_USE_ITALICS = false
  PLAYER_HP_FONT_USE_BOLD    = true
  PLAYER_HP_FONT_USE_SHADOW  = true
  PLAYER_HP_FONT_SIZE        = 14
  PLAYER_HP_LOCATION         = Point.new(130,66)
  PLAYER_HP_WIDTH            = 76
  PLAYER_HP_HEIGHT           = 11
  
  MEMBER_HP_FONT             = GLOBAL_FONT_NAME  
  MEMBER_HP_FONT_SIZE        = GLOBAL_MEMBER_FONT_SIZE
  MEMBER_HP_LOCATION         = Point.new(0,0)
  
  USE_MP_TEXT_DISPLAY        = USE_HP_TEXT_DISPLAY
  PLAYER_MP_FONT             = PLAYER_HP_FONT
  PLAYER_FULL_MP_COLOR       = Colors::GaugeBlue
  PLAYER_MP_FONT_USE_ITALICS = PLAYER_HP_FONT_USE_ITALICS
  PLAYER_MP_FONT_USE_BOLD    = PLAYER_HP_FONT_USE_BOLD
  PLAYER_MP_FONT_USE_SHADOW  = PLAYER_HP_FONT_USE_SHADOW
  PLAYER_MP_FONT_SIZE        = PLAYER_HP_FONT_SIZE
  PLAYER_MP_LOCATION         = Point.new(PLAYER_HP_LOCATION.x, PLAYER_HP_LOCATION.y + PLAYER_HP_HEIGHT + 1)
  PLAYER_MP_WIDTH            = PLAYER_HP_WIDTH
  PLAYER_MP_HEIGHT           = PLAYER_HP_HEIGHT
  
  MEMBER_MP_FONT             = GLOBAL_FONT_NAME  
  MEMBER_MP_FONT_SIZE        = GLOBAL_MEMBER_FONT_SIZE
  MEMBER_MP_LOCATION         = Point.new(0,0)
  
  SHOW_PLAYER_LEVEL          = true
  PLAYER_LEVEL_FONT          = 'Rockwell Extra Bold'
  PLAYER_LEVEL_COLOR         = Colors::WhiteSmoke
  PLAYER_LEVEL_USE_ITALICS   = false
  PLAYER_LEVEL_USE_BOLD      = true
  PLAYER_LEVEL_USE_SHADOW    = true
  PLAYER_LEVEL_FONT_SIZE     = 16
  PLAYER_LEVEL_LOCATION      = Point.new(115,1)
  PLAYER_LEVEL_WIDTH         = 36
  PLAYER_LEVEL_HEIGHT        = 35
  
  MEMBER_LEVEL_FONT          = GLOBAL_FONT_NAME
  MEMBER_LEVEL_COLOR         = PLAYER_LEVEL_COLOR
  MEMBER_LEVEL_FONT_SIZE     = 10
  MEMBER_LEVEL_LOCATION      = Point.new(0,0)
  
  #-------
  # don't change the values below unless you know what you are doing.
  
  # Shows above the map and below the message window by default
  PLAYER_HUD_Z               = 199
  
  # The text format used for gauage images.    
  HEALTH_GAUGE_FORMAT        = 'hud_bar_%s_%.3d'
  
  # the name of the image file used as a mask for the face graphic
  PLAYER_FACE_MASK_NAME      = 'player_face_mask'
  
end
TAG •
Comment '41'
  • profile
    습작 2010.12.17 14:35

    멋지네요.

  • ?
    몽실년 2010.12.17 15:18

    555번에서 오류나던데.. 충돌이겠죠?

  • ?
    시트르산 2010.12.20 03:05

    예쁜 게이지바가 많네요~~

    액알 용으로 유용할거같아요 ㅎㅎ

  • ?
    시옷청룡 2010.12.21 20:09

    허허... 뭐지;;

  • ?
    시옷청룡 2010.12.21 20:12

    파티장밖에 게이지바가 안나오네요ㅜㅜ

  • ?
    은둔자 2010.12.26 02:50

    잘쓸께요 ~ ^^

  • ?
    크로커 2010.12.28 09:58

    감솨합니다~~

  • profile
    Cloudy 2011.01.01 18:35

    본문 수정 부탁드립니다 보이기 스크립트가 적용이 안되길래 뭐가 문제인가 봤더니

    $scene_show_hud 이게 아니라 숨기기랑 똑같이 $scene.show_hud 이렇게 적용하니깐 되는군요

  • profile
    아방스 2011.01.01 18:49

    본문수정하였습니다.

  • ?
    달표범 2011.01.06 00:28

    액알에 어울리겠네요

  • ?
    만들어라 2011.01.31 15:36

    진짜감사합니다

  • ?
    똥구리 2011.02.11 11:05

    왜저는 추가 게이지바를 하면 오류가 날까요..;;

  • ?
    카르리안 2011.03.08 17:11

    43번에서 오류났어요...

    왜그런거에요?

  • ?
    Kiyuro 2011.03.27 12:08

    잘 쓰겠습니다-☆

  • ?
    다이나믹로동 2011.05.03 16:23

    감사합니다.

     

  • ?
    혈랑 2011.06.03 19:44

    우왑 !! 잘 됩니다 ㅎㅎ 잘 쓸게여 ㅎㅎ

  • ?
    unuseid 2011.07.08 22:29

    감사합니다

  • ?
    아자아자젤 2011.07.13 16:29
    감사히 쓰고 있습니다.

    그런데 본문중에 메뉴바를 숨기고 나타내는 방법을 좀 자세히 설명해 주실 분 안계신가요?

    이벤트 커멘드라고 하는데, 정확이 어디에 어떻게 써야 숨기고 나타낼 수 있나요?

  • profile
    하늘바라KSND 2012.08.05 01:26
    스크립트라는 걸 누르면 주석처럼 텍스트를 넣을 수 있는 창이 뜨는데, 거기에 복붙하시면 됩니다.ㅎㅎ
  • ?
    캬무캬무 2011.07.25 03:11

    우와 감사해요

  • ?
    오그리토그리 2011.07.25 19:37

    잘 쓰겠습니다 ^^

  • profile
    아방스 2011.07.25 20:47

    잘쓰세요 ^^

  • ?
    good2010 2011.07.27 22:50

    무슨 파일이 안보인다고 오류가 나내요 ;; 제가 워낙 초보인지라 ;;

  • ?
    구룡 2011.07.30 18:00

    정말좋은데 게이지바 얼굴나오는곳에 얼굴이안나와요

  • ?
    사운드™ 2011.08.18 07:33

    잘가져갑니다 ^^

  • ?
    twoeye 2011.08.23 21:32

    멋지네요! 감사합니다.

  • profile
    습작 2011.09.17 02:05

    아앗 다운받다가 비추 눌러버렸네... ㅈㅅ요

  • profile
    하늘바라KSND 2012.08.05 01:28
    Po흐격사wer
  • ?
    액셀 2011.09.21 14:04

    오우 멋지네요

  • ?
    akljd 2011.10.08 10:02

    좋은 스크립트네요 감사합니다~

  • ?
    초마 2011.10.25 22:17

    좋은 스크립트 감사합니다~!

  • profile
    미니♂ban♀ 2011.10.25 23:34

    충돌 없이 전부다 다 잘되고 있습니다. A키 눌리니 옆으로 숨겨지는군요.

     

    파티장만 표시되는 ㅠㅠ 에이.. 다른 게이지 할려니 설정이 귀찮구 ㅡㅡ;;

  • ?
    Soul Breaker 2011.11.01 08:36

    와 심플하고 괜찮은데요 ㅎ 감사히 쓰겠습니다

     

  • ?
    긔찮아 2012.08.04 23:04
    374번
    게임배틀러 어쩌라는건가요?
    스크립트는처음이라...
  • profile
    하늘바라KSND 2012.08.05 01:27
    질문은 질답게에 가시면 빠른 답을 받으실 수 있을 겁니다.ㅎㅎ
  • profile
    혜인 2012.11.06 18:15
    좋은 스크립트 감사합니다^^
  • ?
    소드&크래셔 2013.02.12 18:53
    와우정말베리베리굿이에요
  • ?
    또지 2013.03.28 20:10
    기존 스크립트랑 충돌... 이건 뭐지?
  • ?
    me친 2013.11.02 11:02

    사진은 어디에 넣죠?

    그리고 추가 스크립트는요?

  • ?
    레밀리아스칼렛 2014.02.08 22:00
    어;; 이런거 적용 어떻게.. 하나요...?
  • ?
    상급정수 2014.10.19 22:55
    173번째에서 오류나는데 ㅠㅜ

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 3 습작 2012.12.24 5398
16 HUD 아방스님이 올린 HUD를 개조했습니다. 7 file 스리아씨 2013.09.30 2683
» HUD KH HUD (HP MP 게이지바 스크립트) 41 아방스 2010.12.17 6421
14 HUD HUD 스크립트 모음 10 아방스 2010.12.11 3657
13 HUD 맵 이름 스크립트 21 file 개임맨 2010.10.03 4365
12 HUD Zelda Health System 11 file 비극ㆍ 2010.04.18 2850
11 HUD 네비게이션 (나침반) 36 file 허걱 2009.08.25 4908
10 HUD 아이콘 그리기 7 file 허걱 2009.08.20 4441
9 HUD X 와 Y 좌표 표시 해주는 스크립트 9 아방스 2009.07.03 2760
8 HUD HUD HP / MP 게이지바 스크립트 29 file 아방스 2009.07.02 5677
7 HUD 변수 표시 HUD 8 Tofuman 2009.02.15 2469
6 HUD Crissaegrim HUD 2.0!! 13 Man... 2008.10.29 2852
5 HUD 심플한 맵 이름 띄우기 53 file RPGbooster 2008.10.08 6862
4 HUD 맵이름 띄우는 스크립트 입니다. 33 시에란 2008.08.16 5271
3 HUD PRABS v1.0 [hud,주석액알,원거리공격,hotkeys,vx] 대박감이다. 47 유칸지 2008.08.13 11114
2 HUD 맵 이름을 띠우는 스크립트 [메시지창] 24 아방스 2008.03.09 4748
1 HUD rpg 만들기 vx - 맵이름 띠우는 스크립트 ^^ 74 아방스 2008.01.27 11920
Board Pagination Prev 1 Next
/ 1