VX 스크립트

사람들이 안된다고 해서 변역을 해 보았습니다. 그러나 되었습니다. 글자 바꾸는 방법은 137~152,153까지에서 "이거와 "이거 사이 에서 하면 됩니다.
보라색 색깔로 변하면 성공하신겁니다.
작!은 하지말고 시작! 다음부터 드레그 해 주세요.
시작!
#_______________________________________________________________________________
# MOG Scene Name Iris RMVX Version 1.0          
#_______________________________________________________________________________
# Credits:
# Original XP version By Moghunter
# LoMastul For Converting it to RMVX.
#
# Link to Moghunter's Scripts:
http://www.atelier-rgss.com
#===============================================================================
# Do Not Edit!!
# This script is 100% Plug n' Play
#_______________________________________________________________________________
# Scene Name with moving background :P.
# (Crie seu próprio estilo.) --? o.O got no idea what it means
#_______________________________________________________________________________
module MOG
# Time given to the transition.
MSNTT1 = 30
# Defines the name of the transition which is used.
MSNTT2 = "003-Blind03"
end
$mogscript = {} if $mogscript == nil
$mogscript["Scene_Name_Iris"] = true
###############
# Window_Base #
###############
class Window_Base < Window
 
def draw_actor_level_name(actor, x, y)
self.contents.font.color = normal_color
self.contents.draw_text(x , y, 24, WLH, actor.level.to_s, 1)
end
def draw_actor_class_menu_status(actor, x, y)
self.contents.font.color = normal_color
self.contents.draw_text(x, y, 90, 40, actor.class.name, 1)
end
def draw_actr_name(actor, x, y)
self.contents.font.color = normal_color
self.contents.draw_text(x, y, 220, 50, actor.name,1)
end
end
######################
# Window_Status_Name #
######################
class Window_Status_Name < Window_Base
def initialize(actor)
super(0, 0, 270, 416)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = "Georgia"
@actor = actor
self.opacity = 0
refresh
end
def refresh
self.contents.clear
draw_actor_graphic(@actor, 40, 94)
draw_actor_class_menu_status(@actor, 55, 340)
draw_actor_level_name(@actor, 8, 96)
end
end
####################
# Window_NameEdit2 #
####################
class Window_NameEdit2 < Window_Base
attr_reader   :name                  
attr_reader   :index                 
def initialize(actor, max_char)
super(-100, 6, 540, 128)
self.contents = Bitmap.new(width - 32, height - 32)
@actor = actor
@name = actor.name
@max_char = max_char
name_array = @name.split(//)[0...@max_char]
@name = ""
for i in 0...name_array.size
@name += name_array[i]
end
@default_name = @name
@index = name_array.size
refresh
update_cursor_rect
end
def restore_default
@name = @default_name
@index = @name.split(//).size
refresh
update_cursor_rect
end
def add(character)
if @index < @max_char and character != ""
@name += character
@index += 1
refresh
update_cursor_rect
end
end
def back
if @index > 0
name_array = @name.split(//)
@name = ""
for i in 0...name_array.size-1
@name += name_array[i]
end
@index -= 1
refresh
update_cursor_rect
end
end
def refresh
self.contents.clear
name_array = @name.split(//)
for i in
0...@max_char
c = name_array[i]
if c == nil
c = ""
end
x = 320 - @max_char * 14 + i * 28
self.contents.draw_text(x + 32, 64, 28, 28, c, 1)
end
draw_actr_name(@actor, 295, 20)
end
def update_cursor_rect
x = 320 - @max_char * 14 + @index * 28
self.cursor_rect.set(x + 32, 64, 28, 28)
end
def update
super
update_cursor_rect
end
end
#####################
# Window_NameInput2 #
#####################
class Window_NameInput2 < Window_Base
CHARACTER_TABLE =
[
"가","나","다","라","마",
"갸","냐","댜","랴","먀",
" 겨","녀","뎌","려","며",
"고","노","도","로","모",
"교","뇨","됴","료","묘",
"구","누","누","루","무",
"규","뉴","듀","류","뮤",
"그","느","드","르","므",
"기","니","니","리","미",
"바","사","아","자","차",
"뱌","샤","야","쟈","챠",
"버","서","어","저","처",
"벼","셔","여","져","쳐",
"보","소","오","조","초",
"뵤","쇼","요","죠","쵸",
"부","수","우","주","추",
]
def initialize
super(120, 120, 544, 416)
self.contents = Bitmap.new(width - 28, height - 28)
@index = 0
refresh
update_cursor_rect
end
def character
return CHARACTER_TABLE[@index]
end
def refresh
self.contents.clear
for i in 0...90
x = 50 + i / 5 / 9 * 180 + i % 5 * 28
y = i / 5 % 9 * 28
self.contents.draw_text(x, y, 28, 28, CHARACTER_TABLE[i], 1)
end
self.contents.draw_text(302, 9 * 28, 48, 28, "OK", 1)
end
def update_cursor_rect
if @index >= 90
self.cursor_rect.set(300, 9 * 28, 48, 28)
else
x = 50 + @index / 5 / 9 * 180 + @index % 5 * 28
y = @index / 5 % 9 * 28
self.cursor_rect.set(x, y, 28, 28)
end
end
def update
super
if @index >= 90
if Input.trigger?(Input::DOWN)
Sound.play_cursor
@index -= 90
end
if Input.repeat?(Input::UP)
Sound.play_cursor
@index -= 90 - 40
end
else
if Input.repeat?(Input::RIGHT)
if Input.trigger?(Input::RIGHT) or
@index / 45 < 3 or @index % 5 < 4
Sound.play_cursor
if @index % 5 < 4
@index += 1
else
@index += 45 - 4
end
if @index >= 90
@index -= 90
end
end
end
if Input.repeat?(Input::LEFT)
if Input.trigger?(Input::LEFT) or
@index / 45 > 0 or @index % 5 > 0
Sound.play_cursor
if @index % 5 > 0
@index -= 1
else
@index -= 45 - 4
end
if @index < 0
@index += 90
end
end
end
if Input.repeat?(Input::DOWN)
Sound.play_cursor
if @index % 45 < 40
@index += 5
else
@index += 90 - 40
end
end
if Input.repeat?(Input::UP)
if Input.trigger?(Input::UP) or @index % 45 >= 5
Sound.play_cursor
if @index % 45 >= 5
@index -= 5
else
@index += 90
end
end
end
if Input.repeat?(Input::L) or Input.repeat?(Input::R)
Sound.play_cursor
if @index < 45
@index += 45
else
@index -= 45
end
end
end
update_cursor_rect
end
end
##############
# Scene_Name #
##############
class Scene_Name
def main
@actor = $game_actors[$game_temp.name_actor_id]
@edit_window = Window_NameEdit2.new(@actor, $game_temp.name_max_char)
@edit_window.opacity = 0
@input_window = Window_NameInput2.new
@input_window.opacity = 0
@name_back = Plane.new
@name_back.bitmap = Cache.picture("MN_BK")
@name_back.z = 10
@name_back.opacity = 255
@name_lay = Plane.new
@name_lay.bitmap = Cache.picture("Name_Lay")
@name_lay.z = 15
@name_lay.opacity = 255
@name_status_window = Window_Status_Name.new(@actor)
@name_status_window.x -= 300
@name_status_window.contents_opacity = 0
Graphics.transition(MOG::MSNTT1, "Graphics/Transitions/" + MOG::MSNTT2)
loop do
Graphics.update
Input.update
update
if $scene != self
break
end
end
Graphics.freeze
@edit_window.dispose
@input_window.dispose
@name_back.dispose
@name_lay.dispose
@name_status_window.dispose
end
def update
@name_back.ox += 1
if @name_status_window.x < 0
@name_status_window.x += 15
@name_status_window.contents_opacity += 5
elsif @name_status_window.x >= 0
@name_status_window.x = 0
@name_status_window.contents_opacity = 255
end
@edit_window.update
@input_window.update
if Input.repeat?(Input::B)
if @edit_window.index == 0
return
end
Sound.play_cancel
@edit_window.back
return
end
if Input.trigger?(Input::C)
if @input_window.character == nil
if @edit_window.name == ""
@edit_window.restore_default
if @edit_window.name == ""
Sound.play_buzzer
return
end
Sound.play_cursor
return
end
@actor.name = @edit_window.name
Sound.play_cursor
$scene = Scene_Map.new
return
end
if @edit_window.index == $game_temp.name_max_char
Sound.play_buzzer
return
end
if @input_window.character == ""
Sound.play_buzzer
return
end
Sound.play_cursor
@edit_window.add(@input_window.character)
return
end
end
end





끝!!!!!!!

전에 RPG BOOSTER 님이 올린 것을 참고 해 주세요.
(아래) 스크립트 검색 창에(아방스) '이름'이라고 치면 나옵니다.

TAG •
Comment '2'
  • ?
    T.C.O.L 2008.11.04 21:57
    저기 태클넣어서 죄송합니다만... 변혁은 변화와 혁명을 줄인 말입니다.

    지금 문법에서는 번역이 맞는 말이라고 봅니다만?
  • ?
    이리엘 2012.08.02 20:56
    감사합니다.그림 않넣은거 알고 흠칫..;

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 3 습작 2012.12.24 5398
637 스킬 훔치기 스킬을 만드는 스크립트! 5 우켈킁 2011.03.31 2390
636 기타 회피,명중,크리 스테이트를 작성하는 스크립트 9 카르와푸딩의아틀리에 2009.06.30 2394
635 기타 확장 에러 메시지 13 file 허걱 2009.08.17 2497
634 메뉴 확장 스테이터스 화면 - KGC 23 file 카르와푸딩의아틀리에 2009.08.19 5057
633 기타 화폐단위 구분해 주는 스크립트 38 file 허걱 2010.04.13 3652
632 이동 및 탈것 화면의 부드러운 스크롤 스크립트 32 카르와푸딩의아틀리에 2009.07.17 3817
631 기타 화면에 그림 그리는 스크립트 21 file 강진수 2010.02.27 2962
630 기타 화면 확대 스크립트 12 file 에돌이 2011.07.22 3061
629 기타 화면 해상도(640 X 480) 스크립트 6 file 쿠쿠밥솥 2012.01.10 3972
628 아이템 현재있는 파티원 선택 레벨업 아이템 만들기 1 file 싸패 2016.06.06 713
627 헬프윈도우 확장 13 file RPGbooster 2008.10.08 2872
626 메뉴 헬프 윈도우 중앙표시 스크립트 11 file 양념통닼 2008.06.10 3348
625 키입력 해외 제작자 He Who Jets님의 마우스 스크립트(mouse system) 1 file 보자기군 2014.09.30 1261
624 기타 해상도 변경 스크립트 11 카리스 2011.07.19 2723
623 스킬 합성샾 스크립트 ^^ [동영상 포함] 6 file 아방스 2008.09.23 6038
622 키입력 한글입력기(펌) 수정 10 전설의달빛조각사 2011.04.03 2674
621 이름입력 한글로 이름 입력하는 스크립트입니다. 55 file 헤르코스 2009.03.18 6662
620 이름입력 한글 이름 입력 스크립트입니다.^^ 14 레시온 2008.03.18 4383
619 액터 한계돌파(렙9999) 18 작은샛별 2010.03.07 3273
618 이동 및 탈것 피티원이 따라다니는 스크립트 38 file 아방스 2009.02.05 5024
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... 32 Next
/ 32