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
217 타이틀/게임오버 Title Skip System : 타이틀 스킵 file 허걱 2014.03.19 1510
216 맵/타일 Tileset Reader VX 2.1 by DerVVulfman 4 Alkaid 2010.09.20 2376
215 전투 Team_Ilias's_Old_Project_Demo 4 습작 2012.07.11 2099
214 전투 Target 몬스터 플래시 스크립트 16 아방스 2008.01.24 4513
213 Tankentai SBS 2.8 업데이트 [사이드뷰 배틀시스템 ] 42 file RPGbooster 2008.10.08 5140
212 기타 TagNote v2.0 5 Man... 2008.10.28 1996
211 스킬 SW_BookSkill && EchantScroll(상호충돌수정버전) 6 시옷전사 2011.08.22 1758
210 맵/타일 SwapXT by bulletxt 습작 2013.05.13 1292
209 상태/속성 Stat Distribution System 1.71 by Lettuce 7 file Alkaid 2010.09.14 2339
208 기타 Staff Roll 13 file 허걱 2009.01.31 3523
207 전투 SRPGコンバータ for VX by AD.Bank 습작 2013.05.13 2970
206 Sprite Mover 2 Man... 2008.10.27 1529
205 전투 Spirits System 정령 장착?이라고해야되나; 26 file 카르와푸딩의아틀리에 2009.08.19 3869
204 전투 Spin Battle System [완성버젼] 38 file 할렘 2009.11.14 6835
203 전투 Slip_Damage_Ex - 슬립데미지 확장기능 (상태별 슬립데미지 적용) 7 허걱 2012.07.24 2194
202 Skill Delay VX 4 Man... 2008.10.28 1503
201 스킬 Simple Sort Skill Inventory 1.1 by cozziekuns 5 file Alkaid 2010.11.10 2350
200 스킬 Simple Sort Inventory 2.0 by cozziekuns 1 file Alkaid 2011.09.29 2350
199 스킬 Simple Sort Inventory 1.3a by cozziekuns 5 file Alkaid 2010.11.10 1636
198 Simple Fon Chage 3 Man... 2008.10.28 1212
Board Pagination Prev 1 ... 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 Next
/ 32