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 5408
397 기타 VX서비스팩1 6 훈덕 2009.02.03 2807
396 전투 VX에서 전투배경을 XP스타일로 나오게 하는 스크립트 7 아방스 2008.01.25 4844
395 기타 VX에서 포그 그래픽을 사용하자 16 아방스 2008.01.31 3895
394 이동 및 탈것 VX의 기존 대쉬 기능 없애기 8 BAYONET 2008.05.18 2552
393 이동 및 탈것 Wachunga님의 XP용 MapLink VX용으로 개조 6 file 허걱 2009.02.13 3040
392 전투 WGB배틀 시스템. 59 file 카르와푸딩의아틀리에 2009.06.30 8777
391 제작도구 Window Maker by Jet 12 Alkaid 2010.09.26 2438
390 제작도구 Windowskin generator VX by Aindra and Woratana 1 file Alkaid 2010.09.18 1791
389 기타 Wora's Christmas Giftbox 2008 4 file Alkaid 2010.09.18 1747
388 HUD X 와 Y 좌표 표시 해주는 스크립트 9 아방스 2009.07.03 2760
387 전투 XAS Hero Edition VX 15 Alkaid 2011.12.28 4234
386 전투 XAS Hero Edition VX Manual 번역 1 케이언 2012.01.02 3558
385 스킬 Yanfly Engine RD - Custom Dmg Formulas (커스텀 데미지, 관계도) 6 file communnn 2011.10.25 3377
384 스킬 Yanfly Engine RD - Display Skill Query (스킬 상세 정보) 8 file communnn 2011.10.24 3405
383 상태/속성 YERD - Custom Status Properties 7 훈덕 2009.11.08 3021
382 장비 YERD - Extra Equipment Options ReDONE 7 훈덕 2009.11.08 2287
381 메뉴 YERD - 시스템 옵션 5 file 훈덕 2009.11.08 3136
380 메뉴 YERD - 커먼 이벤트 메뉴 4 file 훈덕 2009.11.08 3850
379 상점 YERD - 커먼이벤트 샵 12 file 훈덕 2009.11.08 3961
378 스킬 YERD - 커스텀 스킬 이펙트 13 file 훈덕 2009.11.08 4080
Board Pagination Prev 1 ... 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 ... 32 Next
/ 32