Project1
标题:
VX的横版脚本找不到了。。。。。。
[打印本页]
作者:
zx100zx
时间:
2008-4-26 02:43
标题:
VX的横版脚本找不到了。。。。。。
有地址吗?谢谢!
是这个脚本吗?
class Scene_Battle < Scene_Base
#--------------------------------------------------------------------------
# ● 开始对象敌人的选择
#--------------------------------------------------------------------------
def start_target_enemy_selection
@target_enemy_window = Window_TargetEnemy.new
@target_enemy_window.y = @info_viewport.rect.y
@info_viewport.rect.x += @target_enemy_window.width
@info_viewport.ox += @target_enemy_window.width
@actor_command_window.active = false
@target_select_sprite = Sprite.new
@target_select_sprite.bitmap = Bitmap.new(Graphics.width, Graphics.height)
@target_select_sprite.opacity = 160
end
#--------------------------------------------------------------------------
# ● 刷新选择对象的选择框
#--------------------------------------------------------------------------
def update_target_select_sprite(enemy)
@target_select_sprite.bitmap.clear
@target_select_sprite.bitmap.fill_rect(0, 0, Graphics.width, Graphics.height, Color.new(0, 0, 0, 255))
#enemy_bmp = enemy.avatar("站立", 0)
enemy_bmp = Cache.battler(enemy.battler_name, enemy.battler_hue)
enemy_x = enemy.screen_x
enemy_y = enemy.screen_y
dest_rect = Rect.new(enemy_x - enemy_bmp.width / 2, enemy_y - enemy_bmp.height ,
enemy_bmp.width, enemy_bmp.height)
src_bitmap = Cache.system("enemy_select_back")
src_rect = src_bitmap.rect
@target_select_sprite.bitmap.clear_rect(dest_rect)
@target_select_sprite.bitmap.stretch_blt(dest_rect, src_bitmap, src_rect)
@target_select_sprite.bitmap.blur
@target_select_sprite.bitmap.blur
end
#--------------------------------------------------------------------------
# ● 结束对象敌人的选择
#--------------------------------------------------------------------------
def end_target_enemy_selection
@info_viewport.rect.x -= @target_enemy_window.width
@info_viewport.ox -= @target_enemy_window.width
@target_enemy_window.dispose
@target_enemy_window = nil
@target_select_sprite.dispose
@target_select_sprite = nil
if @actor_command_window.index == 0
@actor_command_window.active = true
end
end
end
但是没任何效果啊```` [LINE]1,#dddddd[/LINE]
版务信息:本贴由楼主自主结贴~
作者:
zx100zx
时间:
2008-4-26 02:53
谢谢!
作者:
八云紫
时间:
2009-6-12 08:00
不知道LZ是用什么脚本的,不过这里有一个脚本,应该是可以用的:
http://rpg.blue/viewthread.php?tid=83426&ntime=2008%2D4%2D25+18%3A43%3A53 [LINE]1,#dddddd[/LINE]
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1