VX 스크립트

#==============================================================================
# Battle Screen Tone Change for RMVX
#==============================================================================
# By Nechigawara Sanzenin
# WARNING!! : This script can use on RPG Maker VX Only!! (XP Not Support)
#==============================================================================
# Change Battle Screen Tone before Battle start
#==============================================================================
=begin

How to Use:

You have to add "$game_system.set_battle_color([red,green,blue,gray])"
in Call Script to change Battle Screen Tone.
You have to add "$game_system.reset_battle_color"
in Call Script to reset Battle Screen Tone.
You have to add "$game_system.battle_time = {Time}"
in Call Script to change wait time delays.

=end
#==============================================================================
class Game_System
  attr_accessor :battle_red
  attr_accessor :battle_green
  attr_accessor :battle_blue
  attr_accessor :battle_gray
  attr_accessor :battle_time
  #--------------------------------------------------------------------------
  alias inc_initialize initialize
  def initialize
    inc_initialize
    @battle_red = 0
    @battle_green = 0
    @battle_blue = 0
    @battle_gray = 0
    @battle_time = 0
  end
  #--------------------------------------------------------------------------
  def set_battle_color(color)
    return if color.is_a?(Array) == false
    @battle_red = (color[0] == nil ? 0 : color[0])
    @battle_green = (color[1] == nil ? 0 : color[1])
    @battle_blue = (color[2] == nil ? 0 : color[2])
    @battle_gray = (color[3] == nil ? 0 : color[3])
  end
  #--------------------------------------------------------------------------
  def reset_battle_color
    @battle_red = 0
    @battle_green = 0
    @battle_blue = 0
    @battle_gray = 0
  end
end
#==============================================================================
# ** Scene_Map
#------------------------------------------------------------------------------
#  This class performs the map screen processing.
#==============================================================================
class Scene_Map < Scene_Base
  #--------------------------------------------------------------------------
  def call_battle
    @spriteset.update
    Graphics.update
    $game_player.make_encounter_count
    $game_player.straighten
    $game_temp.map_bgm = RPG::BGM.last
    $game_temp.map_bgs = RPG::BGS.last
    RPG::BGM.stop
    RPG::BGS.stop
    Sound.play_battle_start
    $game_system.battle_bgm.play
    $game_temp.next_scene = nil
    $scene = Scene_Battle.new
    red = $game_system.battle_red
    green = $game_system.battle_green
    blue = $game_system.battle_blue
    gray = $game_system.battle_gray
    color = Tone.new(red, green, blue, gray)
    time = $game_system.battle_time
    $game_troop.screen.start_tone_change(color,time)
  end
  #--------------------------------------------------------------------------
end

How to Use:

You have to add "$game_system.set_battle_color([red,green,blue,gray])"
in Call Script to change Battle Screen Tone.
You have to add "$game_system.reset_battle_color"
in Call Script to reset Battle Screen Tone.
You have to add "$game_system.battle_time = {Time}"
in Call Script to change wait time delays.

Demo : http://www.mediafire.com/?3tcd9lj9mzm


Comment '4'
  • ?
    크갸갸 2009.01.04 10:29
    아무런 변화가 없는것 같은데요?
  • ?
    백년술사 2009.01.05 13:27
    배틀 종류 바꾸기 아님?
    Battle Screen          Tone    Change for     RMVX
    (전투) (화면&스크린)(성질) (바뀌다) (위해)(모르겠음)
    체인지/교환
  • ?
    castalia 2009.02.18 15:11
    전투 화면 색깔 바꾸기(...)
    데모 게임 깔아보니 알겠군요;
  • ?
    최닉네임 2011.06.14 00:24

    11


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 3 습작 2012.12.24 5408
457 메뉴 CogWheelBars 시스템. 13 file 할렘 2009.02.20 4362
456 메뉴 [자작]명성치 사용 시스템(메뉴 출력) 16 Rainsy 2009.03.22 4361
455 기타 심플 마우스 시스템 1.5 애드온 11 file RMdude 2009.02.11 4325
454 그래픽 밤낮 변환 VX용 26 독도2005 2008.03.23 4314
453 맵/타일 VX Mode 7 스크립트!!!! 42 file Tofuman 2009.01.07 4306
452 이동 및 탈것 자동 이동 시스템 20 file 허걱 2010.04.21 4305
451 기타 집안의 가구를 내마음대로 데코레이션하기 15 file EuclidE 2010.09.18 4303
450 메시지 MultiMessage 멀티 메시지 스크립트 9 file 허걱 2010.02.23 4298
449 상태/속성 상태 메뉴 변경 스크립트 45 죄송해욧! 2008.03.01 4284
448 기타 [자작] 횡스크롤 점프스크립트 18 file 좀비사냥꾼 2009.04.03 4276
447 기타 (이거 정말 좋군요) 말이나 용을 탈수있게 하는 스크립트. 31 file 아방스가 짱 2010.02.28 4261
446 메시지 네오 메시지 시스템 최신 17 file RPGbooster 2008.10.08 4251
445 전투 XAS Hero Edition VX 15 Alkaid 2011.12.28 4234
444 기타 아이콘 캐릭터 17 file 허걱 2010.02.28 4225
443 액터 스탯 시스탬 29 츠키아 2008.08.08 4214
442 기타 개인판타지메뉴+업그래이드 배틀 23 file 콩밥 2010.08.02 4211
441 키입력 답을 입력하는 텍스트박스 스크립트!! 21 file 좀비사냥꾼 2009.03.29 4206
440 메뉴 몬스터도감(유즈미짱님의엘카르디아같은종류) 1 작은샛별 2010.03.07 4201
439 fog[안개] 효과 43 file RPGbooster 2008.10.08 4196
438 메시지 문장 넘길대 소리나게 하는스크립트 19 아방스 2008.01.24 4186
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