VX 스크립트

사용자 삽입 이미지


사용자 삽입 이미지
사용자 삽입 이미지
사용자 삽입 이미지
사용자 삽입 이미지


=begin
Sideview Battle System
by Fomar0153
Version 1.0.0

Instructions
First copy this script below Materials then you need to go down to setup and
find lines like:
    when 1
      @battler_name = 'Ralph'
And edit these to display the name of the battler.
Battlers should be imported through the battlers section of the resource manager
You can change battlers during the game by:
$game_actors[1].battler_name = 'Slime'
I intend to build on this script so check back for updates
=end

class Game_Actor < Game_Battler
 
  attr_accessor :battler_name
  attr_accessor :battler_hue
 
  alias side_view_setup setup
  def setup(actor_id)
    side_view_setup(actor_id)
    @battler_name = ''
    @battler_hue = 0
    case actor_id
    when 1
      @battler_name = 'Ralph'
    when 2
      @battler_name = 'Ulrika'
    when 3
      @battler_name = 'Bennett'
    when 4
      @battler_name = 'Ylva'
    end
  end
 
  def use_sprite?
    return @battler_name != ''
  end
 
  def screen_x
    return index * 20 + 400
  end
 
  def screen_y
    return index * 50 + 80
  end
 
  def screen_z
    return 100
  end
 
end

 
 
 
 
 
Comment '39'

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 3 습작 2012.12.24 5398
617 장비 방어구 착용시 최대HP, MP증가 스크립트(턴알) 3 file 기관차 2014.11.06 1222
616 Jens009's Critical Flash 1.0 3 Man... 2008.10.27 1240
615 전투 Verus Tempus Proelium by Vlad 습작 2013.05.13 1243
614 디러그 시스템?? 1 Man... 2008.10.28 1247
613 Detailed Call Script Error Mesage 3 Man... 2008.10.28 1258
612 키입력 해외 제작자 He Who Jets님의 마우스 스크립트(mouse system) 1 file 보자기군 2014.09.30 1261
611 Khai's Window Helper 1.4 1 Man... 2008.10.28 1272
610 버그픽스 애니메이션 표시 위치 수정 (Fix Animation Position) 2 file AltusZeon 2014.02.12 1289
609 맵/타일 SwapXT by bulletxt 습작 2013.05.13 1292
608 Attribute System Man... 2008.10.28 1293
607 컴퓨스트 플레이어 워크(?) 2 Man... 2008.10.27 1304
606 기타 VX Weather Script by ccoa 1 Alkaid 2010.09.08 1318
605 ??무슨 스크립트?? 3 Man... 2008.10.27 1323
604 변수/스위치 MapSwitch VX Version: 1.1 1 Man... 2008.10.27 1327
603 ??? 2 Man... 2008.10.27 1329
602 기타 reijubv - New Balloon Command (VXA에서도 작동) 1 file 혜인 2013.04.08 1332
601 전투 Fomars indiviivdual battle 2 Man... 2008.10.28 1340
600 기타 MSX - XP Characters on VX/VX Ace 2 Alkaid 2013.01.26 1346
599 기타 Resize and Scale by OriginalWij 1 습작 2013.05.13 1349
598 기타 페이드 시간 변경 2 rukan 2009.07.01 1360
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