자유게시판

module MOG
#Font Name.
MPFONT = "Georgia"
#Fade ON/OFF(True - False).
MPNMFD = true
#Fade Time.
MPNMTM = 20
#Window Position.
# 0 = Upper Left.
# 1 = Lower Left.
# 2 = Upper Right.
# 3 = Lower Right.
MPNMPS = 0
# Disable Switch(ID).
WM_SWITCH_VIS_DISABLE = 15
end
#_________________________________________________
###############
# Game_System #
###############
class Game_System
attr_accessor :fdtm
attr_accessor :mpnm_x
attr_accessor :mpnm_y
alias mog_vx06_initialize initialize
def initialize
mog_vx06_initialize
@fdtm = 255 + 40 * MOG::MPNMTM
if MOG::MPNMPS == 0
@mpnm_x = 120
@mpnm_y = 120
elsif MOG::MPNMPS == 1
@mpnm_x = -300
@mpnm_y = 320
elsif MOG::MPNMPS == 2
@mpnm_x = 640
@mpnm_y = 0
else
@mpnm_x = 640
@mpnm_y = 320
end 
end
def mpnm_x
return @mpnm_x
end
def mpnm_y
return @mpnm_y
end
def fdtm
if @fdtm <= 0
@fdtm = 0
end
return @fdtm
end
end
############
# Game_Map #
############
class Game_Map
attr_reader   :map_id 
def mpname
$mpname = load_data("Data/MapInfos.rvdata")
$mpname[@map_id].name
end
end
###############
# Window Base #
###############
class Window_Base < Window
def nd_mapic
mapic = Cache.system("")    
end 
def draw_mpname(x,y)
mapic = Cache.system("Mpname") rescue nd_mapic  
cw = mapic.width 
ch = mapic.height
src_rect = Rect.new(0, 0, cw, ch)
self.contents.blt(x , y - ch + 65, mapic, src_rect)
self.contents.font.name = MOG::MPFONT
self.contents.font.size = 60
self.contents.font.bold = true
self.contents.font.shadow = true
self.contents.font.color = Color.new(0,0,0,255)
self.contents.draw_text(x + 76, y + 27, 110, 32, $game_map.mpname.to_s,1)
self.contents.font.color = Color.new(255,255,255,255)
self.contents.draw_text(x + 75, y + 26, 110, 32, $game_map.mpname.to_s,1)
end
end
##########
# Mpname #
##########
class Mpname < Window_Base
def initialize(x , y)
super($game_system.mpnm_x, $game_system.mpnm_y, 250, WLH + 70)
self.opacity = 0
refresh
end
def refresh
self.contents.clear
draw_mpname(10,0)   
end
end
#############
# Scene_Map #
#############
class Scene_Map
alias mog_vx06_start start
def start
@mpnm = Mpname.new($game_system.mpnm_x, $game_system.mpnm_y)
@mpnm.contents_opacity = $game_system.fdtm
if $game_switches[MOG::WM_SWITCH_VIS_DISABLE] == false
@mpnm.visible = true
else
@mpnm.visible = false 
end 
mog_vx06_start 
end 
alias mog_vx06_terminate terminate
def terminate
mog_vx06_terminate
@mpnm.dispose
end
alias mog_vx06_update update
def update
mog_vx06_update 
location_name_update
end
def location_name_update
$game_system.mpnm_x = @mpnm.x
$game_system.mpnm_y = @mpnm.y
if $game_switches[MOG::WM_SWITCH_VIS_DISABLE] == true or $game_system.fdtm <= 0
@mpnm.visible = false 
else
@mpnm.visible = true
end
if MOG::MPNMPS == 0 or MOG::MPNMPS == 1
if @mpnm.x < 120
@mpnm.x += 120
elsif @mpnm.x >= 120
@mpnm.x = 120
end  
else
if @mpnm.x > 300
@mpnm.x -= 5
elsif @mpnm.x <= 300
@mpnm.x = 300
end    
end
@mpnm.contents_opacity = $game_system.fdtm
if MOG::MPNMFD == true
$game_system.fdtm -= 3
end
end
alias mog_vx06_update_transfer_player update_transfer_player
def update_transfer_player
return unless $game_player.transfer?
@mpnm.contents_opacity = 0
mog_vx06_update_transfer_player
if MOG::MPNMPS == 0
$game_system.mpnm_x = -340
$game_system.mpnm_y = 0
elsif MOG::MPNMPS == 1
$game_system.mpnm_x = -340
$game_system.mpnm_y = 320
elsif MOG::MPNMPS == 2
$game_system.mpnm_x = 640
$game_system.mpnm_y = 0
else
$game_system.mpnm_x = 640
$game_system.mpnm_y = 320
end 
@mpnm.y = $game_system.mpnm_y
@mpnm.x = $game_system.mpnm_x
$game_system.fdtm = 255 + 60 * MOG::MPNMTM
@mpnm.refresh
end
end
$mogscript = {} if $mogscript == nil
$mogscript["location_name_vx"] = true

 

-------------------------------------------------------------

sdfsdf.PNG

위에 사진보시면 글씨가 짤리는데.... 짤리지않고 큰글씨가 다보이도록 하려면 어찌해야할지 "ㅆ";

TAG •

Who's 라이네크

?

작품연대기

XP - 아인 스토리 (만들다가 어려워서 포기)

VX - 타르타로스 -운명의검- (모든것을 쏟아부엇지만 아버님이 삭제하셔서 멸망)

2003 - 타르타로스 -운명의검- Again (다시 2003으로 도전하지만 몇달만에 컴터를다시키니 자료증발)

XP - 엘티어즈 ~고대의병기~ (현재만드는중 이건 완성한다 ... 젠장..)

 

으으 자료복구할방법은 업는겝니까 ㅠㅠ

지금만드는건 완성시킨다 젠장

Comment '3'
  • ?
    TOFUMAN 2009.09.30 03:10

    폰트가 큰거 같은데요?

    보시면 elf.contents.font.size = 60 이 부분이 있는데, (ctrl + f 로 찾아보세요) 그곳에서 폰트 사이즈를 줄여보세요.

  • profile
    시옷전사 2009.09.30 17:01

    큰 글씨가 나오게 하려면 모그스크립트 자체를 수정해야 할것 같습니다. 지식인에 올리시면 한번 수정을 시도해 보겠습니다. 

    근데 다른 사람의 스크립트를 함부로 수정해도 되는건지 잘 모르겠네요. 이 부분에 대해서 알려 주실분 없을까요...

  • ?
    라이네크 2009.09.30 17:33
    시옷전사님 "ㅆ" 지식인에 최대숫자인 100포인트를 걸어 올렷습니다 "ㅆ";;ㅎㅎ

  1. 아방스 게시물 · 댓글 작성 규칙 (최근 수정일 2015.11.25)

    Date2012.07.17 Category공지 By완폐남™ Views47367
    read more
  2. 스킨을 바꿨어요

    Date2010.04.13 Category잡담 Byzero_Som Views365
    Read More
  3. 스크립하나에 모든게바뀐 현실

    Date2009.09.04 Category잡담 By라이네크 Views1242
    Read More
  4. 스크립트의 경지는.. 참 어려운것 같습니다...

    Date2009.09.23 Category잡담 By형철스 Views1427
    Read More
  5. 스크립트에서 폰트 이름 설정할 때.........

    Date2011.05.21 Category잡담 ByAlkaid Views792
    Read More
  6. 스크립트에서 1초만큼 대

    Date2009.09.02 Category잡담 ByKNAVE Views1382
    Read More
  7. 스크립트에게 바라는점

    Date2014.06.13 Category발표 By지혈이 Views703
    Read More
  8. 스크립트에 넷플레이3.0 올림

    Date2010.09.18 By김똘식 Views848
    Read More
  9. 스크립트를 통한 메뉴 디자인 수정

    Date2014.01.16 Category제작 일지 By돌치나 Views618
    Read More
  10. 스크립트를 만드는 과정.

    Date2012.12.12 Category막장 ByJACKY Views707
    Read More
  11. 스크립트님이 위험하다!

    Date2009.06.12 Category잡담 By백년술사 Views900
    Read More
  12. 스크립트님이 보셨으면 하는것

    Date2008.03.21 By시라소몬 Views1055
    Read More
  13. 스크립트는 어렵네요.

    Date2014.01.10 Category잡담 By여유로운 하루 Views454
    Read More
  14. 스크립트는 어려운 것 같으면서도 쉬운 것 같네요

    Date2014.02.28 Category잡담 By녹차밥 Views995
    Read More
  15. 스크립트가 꼬여요..

    Date2009.02.26 Category잡담 By나뚜루 Views711
    Read More
  16. 스크립트..님아

    Date2008.04.25 By아템 Views886
    Read More
  17. 스크립트..님 누구죠? 절배낀거 같은데..(사진넣음)

    Date2008.04.24 Category잡담 By스크립트 Views715
    Read More
  18. 스크립트... 어디까지 써도되나요?

    Date2012.06.09 Category설문 By허걱 Views910
    Read More
  19. 스크립트 중간에 Move_away만 끼워넣었을 뿐인데 ㄷㄷ.

    Date2009.01.16 Category잡담 By김한덕 Views599
    Read More
  20. 스크립트 제작중..의견좀 부탁드릴께요.

    Date2009.07.04 Category제작 영상 By허걱 Views694
    Read More
  21. 스크립트 적용법 알려주시면 갑사합니당 ^^

    Date2013.01.10 Category가입 By조현희 Views1489
    Read More
목록
Board Pagination Prev 1 ... 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 ... 756 Next
/ 756