设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 1947|回复: 9
打印 上一主题 下一主题

[已经解决] 求救啊!fuki的v6加强版脚本头像显示不了

[复制链接]

Lv1.梦旅人

梦石
0
星屑
50
在线时间
4 小时
注册时间
2013-8-4
帖子
5
跳转到指定楼层
1
发表于 2013-8-4 16:12:18 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
就是他的原版工程,关联也弄了,就是显示不了头像,真不知道怎么办了,求大神

点评

上范例,不可能让回答者专门去找这段脚本吧……  发表于 2013-8-4 16:18

Lv1.梦旅人

梦石
0
星屑
50
在线时间
4 小时
注册时间
2013-8-4
帖子
5
2
 楼主| 发表于 2013-8-4 16:20:45 | 只看该作者
#==============================================================================
#    Fuki对话框优化版 v6
#    原版作者:by パラ犬(日)
#    汉化修正:by 66RPG.com
#------------------------------------------------------------------------------
#    2006年01月 汉化修改 by bbschat
#    2007年02月 脚本更新 by KKME
#    2007年07月 脚本更新 by 绫晓露雪萌
#    2010年05月 脚本优化 by Linki Shy
#    2011年10月 阴影修正 by 各种压力的猫君
#    2011年11月 脚本增强 by 各种压力的猫君
#==============================================================================
#
# 【脚本功能】
#
#   1. 此脚本主要是解决了在1.03版XP上的方块问题,以及增加了一些功能
#
#   2. 人名美化使用方法与以前一样
#
#   3. 默认人物头像在左边显示
#      如果需要右边显示,在输入的名称之后加"@r"即可
#      例: "阿尔西斯@r:"(注意必须小写)
#
#   4. 在对话中更改字体的方法:
#       \f[X]:更改字号为X
#
#   5. 在对话中显示(技能 物品 武器 防具 人物)图标和名称的方法:
#       \s[X]: 显示第X号技能图标和名称
#       \i[X]: 显示第X号物品图标和名称
#       \w[X]: 显示第X号武器图标和名称
#       \a[X]: 显示第X号防具图标和名称
#       \r[X]: 显示第X号人物图标和名称
#
#   6. 在对话中更改文字不透明度的方法:
#       \o[X]: 把文字不透明度更改为X (取值范围为0~255)
#   
#   7. 在对话中关闭或开启拟声音效的方法:
#       \q:默认开启时,执行一次关闭,再执行一次则开启
#
#   8. 如果需要自定义字体颜色,
#       可以打开"Graphics/Windowskins"目录下的"Window.png"文件查看
#       使用方法与VX类似
#
#   9. 追加了不为瞬间显示时确定键快速显示的功能
#
#  10. $mes_id = 0          代表本事件
#      $mes_id = -1         代表主角
#      $mes_id = 其他数值   代表事件编号
#      $mes_id = nil        代表不使用fuki形式
#
#
# 【素材要求】
#
#   1. 要求所有半身像朝向一致(默认是正面偏右)
#
#==============================================================================

#==============================================================================
# ■ Fuki_v6_Setup
#------------------------------------------------------------------------------
#    Fuki对话框优化版 v6 参数设置
#==============================================================================

module Fuki_v6_Setup
   
  #--------------------------------------------------------------------------
  # ● 外观
  #--------------------------------------------------------------------------
  
    # 窗口透明度
    FUKI_OPACITY = 255         # 呼出对话框
    MES_OPACITY  = 160         # 默认信息窗口
   
    # 角色高度尺寸
    CHARACTOR_HEIGHT = 50
   
    # 呼出对话框的相对位置(纵坐标)
    POP_SHIFT_TOP = 0          # 表示位置为上的时候
    POP_SHIFT_UNDER = -4       # 表示位置为下的时候
   
    # 信息的表示速度(数字越小速度越快,0为瞬间表示)
    # 游戏中可以随时用数字代入 $MES_SPEED 来改变消息表示速度。
    MES_SPEED = 1
   
    # 名称修饰符(一对)(此处参考 沉影不器 的VX版对话框加强)
    NAME_SYMBOL = "【】"
   
    # 名称颜色
    NAME_COLOR = 7
  
  #--------------------------------------------------------------------------
  # ● 功能( true / false )
  #--------------------------------------------------------------------------
   
    # 是否显示尾巴
    TAIL_SHOW = true
   
    # 是否播放打字音效
    $play_voice = true
   
    # $MES_SPEED不为0时,是否可以用确定键快速显示对话
    ENABLE_SKIP = true

    # 窗口表示时是否根据画面大小自动改变窗口出现的位置
    POS_FIX = true
   
  #--------------------------------------------------------------------------
  # ● 字体
  #--------------------------------------------------------------------------
  
    # 预设字体组
    FONT_ARRAY = ["黑体", "宋体", "仿宋"]
   
    # 默认字号【已知BUG,当默认字号不为20时会导致各种奇怪问题……暂未修正】
    MES_FONT_SIZE = 20
   
    # 默认字体颜色
    FUKI_COLOR = Color.new(0, 0, 0, 255)
  
  #--------------------------------------------------------------------------
  # ● 目录
  #--------------------------------------------------------------------------
  
    # 呼出对话框用Skin名称(自动在 Graphics\Windowskins 内搜索)
    FUKI_SKIN_NAME = "Window"
   
    # 设定头像图片保存目录
    FACE_PIC_DIR = "Graphics/Heads/"

  #--------------------------------------------------------------------------
  # ● 头像对应表
  #--------------------------------------------------------------------------
  #    如果不想使用角色名字直接作为头像文件名
  #    可在这里重新设定角色名字与文件名的对应关系
  #
  #  (这功能怎么用我自己也没搞明白……大家无视吧 by 各种压力的猫君)
  #--------------------------------------------------------------------------
  
    NAME_TABLE = {"玩家"=>"维斯特"}
   
end
#==============================================================================
  
"┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓"
"┃        自定义内容到此结束,以下内容切勿随意修改        ┃"
"┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛"

#==============================================================================
# ● 初始化全局变量并定义chat方法
#==============================================================================
$mes_id   = nil
$mes_name = ""
def chat(id = nil,name = "")
  $mes_id = id
  $mes_name = name
end

#==============================================================================
# ■ Game_Temp
#==============================================================================

class Game_Temp
  #--------------------------------------------------------------------------
  # ● 定义实例变量
  #--------------------------------------------------------------------------
  attr_accessor:namebmp      # 记录角色名字和头像文件名对应关系
  #--------------------------------------------------------------------------
  # ● 初始化对像
  #--------------------------------------------------------------------------
  alias initialize_fuki initialize
  def initialize
    initialize_fuki
    @namebmp = Fuki_v6_Setup::NAME_TABLE
  end
end

#==============================================================================
# ■ Window_InputNumber
#==============================================================================

class Window_InputNumber < Window_Base
  #--------------------------------------------------------------------------
  # ● 初始化对像
  #     digits_max : 位数
  #--------------------------------------------------------------------------
  def initialize(digits_max)
    @digits_max = digits_max
    @number = 0
    # 从数字的幅度计算(假定与 0~9 等幅)光标的幅度
    dummy_bitmap = Bitmap.new(Fuki_v6_Setup::MES_FONT_SIZE, Fuki_v6_Setup::MES_FONT_SIZE)
    @cursor_width = dummy_bitmap.text_size("0").width + 8
    dummy_bitmap.dispose
    super(0, 0, @cursor_width * @digits_max + 32, 64)
    self.contents = Bitmap.new(width - 32, height - 32)
    self.contents.font.size = Fuki_v6_Setup::MES_FONT_SIZE
    self.contents.font.color = Fuki_v6_Setup::FUKI_COLOR
    self.z += 9999
    self.opacity = 0
    @index = 0
    refresh
    update_cursor_rect
  end
  #--------------------------------------------------------------------------
  # ● 更新光标矩形
  #--------------------------------------------------------------------------
  def update_cursor_rect
    self.cursor_rect.set(@index * @cursor_width-4, 0, @cursor_width, Fuki_v6_Setup::MES_FONT_SIZE + 4)
  end
  #--------------------------------------------------------------------------
  # ● 刷新
  #--------------------------------------------------------------------------
  def refresh
    self.contents.clear
    s = sprintf("%0*d", @digits_max, @number)
    for i in 0...@digits_max
      self.contents.draw_text(i * @cursor_width, 0, 24, Fuki_v6_Setup::MES_FONT_SIZE + 4, s[i,1])
    end
  end
end

#==============================================================================
# ■ Window_Message
#==============================================================================

class Window_Message < Window_Selectable
  
  #--------------------------------------------------------------------------
  # ● 初始化状态
  #--------------------------------------------------------------------------
  def initialize
    super(80, 304, 480, 160)
    self.contents = Bitmap.new(width - 32, height - 32)
    self.contents.font.color = text_color(0)
    self.visible = false
    self.z = 9998
    @fade_in = false
    @fade_out = false
    @contents_showing = false
    @cursor_width = 0
    self.active = false
    self.index = -1
    @w = 0
    @h = 0
    @wait = 0
    @dx = 0
    @dy = 0
    $MES_SPEED = Fuki_v6_Setup::MES_SPEED
    #------------------------
    # ★ 特殊时期中断标志
    #------------------------
    @no_term_stop = false
    @save_x = 0
    @save_y = 0
    @old_text_info = []
    @show_right = false
    @show_name  = false
    @face_width = 0
  end
  #--------------------------------------------------------------------------
  # ○ 决定窗口尺寸并生成窗口
  #--------------------------------------------------------------------------
  def refresh_create
    unless @no_term_stop
      @pic_skin.dispose if @pic_skin != nil
      if $game_temp.message_text.include?(":")
        if $game_temp.message_text.include?("@r")
          @show_right = true
          $game_temp.message_text.sub!(/\@r/, "")
        end
        @show_name = true
        # 添加名称修饰符
        unless Fuki_v6_Setup::NAME_SYMBOL.empty?
          $game_temp.message_text = '\c[' + Fuki_v6_Setup::NAME_COLOR.to_s + ']' + Fuki_v6_Setup::NAME_SYMBOL[0,Fuki_v6_Setup::NAME_SYMBOL.size/2] + $game_temp.message_text
          $game_temp.message_text.sub!(/\:/, Fuki_v6_Setup::NAME_SYMBOL[Fuki_v6_Setup::NAME_SYMBOL.size/2,Fuki_v6_Setup::NAME_SYMBOL.size/2] + '\c[0]')
        end
      end
      self.contents.clear
      self.contents.font.color = normal_color
      # 取得窗口尺寸
      get_windowsize
      w = @w + 40
      h = @h * (self.contents.font.size + 4) + 30
      h = 64 if h < 64
      # 生成呼出窗口
      set_fukidasi(self.x, self.y, w, h)
      draw_msg_face
      create_backbmp
    end
    # 初始化信息表示使用的变量
    @dx = @save_x
    @dx += @face_width unless @show_right
    @dy = @save_y
    @cursor_width = 0
    @contents_drawing = true
    # 瞬间表示的情况下
    if $MES_SPEED == 0
      # 循环信息描绘处理
      while $game_temp.message_text != ""
        draw_massage
      end
      draw_opt_text
      @contents_showing_end = true
      @contents_drawing = false
    else
      # 一个一个描绘文字
      refresh_drawtext
    end
  end
  #--------------------------------------------------------------------------
  # ○ 一个一个描绘文字
  #--------------------------------------------------------------------------
  def refresh_drawtext
    # 当按下确定键的时候直接显示剩余的全部文字
    if Input.trigger?(Input::C) and Fuki_v6_Setup::ENABLE_SKIP
      # 循环信息描绘处理
      while $game_temp.message_text != ""
        draw_massage
      end
      draw_opt_text
      @contents_showing_end = true
      @contents_drawing = false
    elsif $game_temp.message_text != ""
      if @wait > 0
        @wait -= 1
      elsif @wait == 0
        # 描绘处理
        draw_massage
        @wait = $MES_SPEED
      end
    else
      draw_opt_text
      @contents_showing_end = true
      @contents_drawing = false
    end
  end
  #--------------------------------------------------------------------------
  # ○ 取得窗口尺寸
  #--------------------------------------------------------------------------
  def get_windowsize
    get_face_width($mes_name)
    x = y = 0
    @h = @w = 0
    @cursor_width = 0
    # 有选择项的话,处理字的缩进
    if $game_temp.choice_start == 0
      x = 16
    end
    # 有等待显示的文字的情况下
    if $game_temp.message_text != nil
    text = $game_temp.message_text.clone
      # 限制文字处理
      begin
        last_text = text.clone
        text.gsub!(/\\[Vv]\[([0-9]+)\]/) { $game_variables[$1.to_i] }
      end until text == last_text
      text.gsub!(/\\[Nn]\[([0-9]+)\]/) do
        $game_actors[$1.to_i] != nil ? $game_actors[$1.to_i].name : ""
      end
      text.gsub!(/\\\\/)                 { "\x00" }
      text.gsub!(/\\[Cc]\[([0-9]+)\]/)   { "\x01" }
      text.gsub!(/\\[Gg]/)               { "\x02" }
      text.gsub!(/\\[Ss]\[([0-9]+)\]/)   { "\x03" + $data_skills[$1.to_i].name }
      text.gsub!(/\\[Ii]\[([0-9]+)\]/)   { "\x04" + $data_items[$1.to_i].name }
      text.gsub!(/\\[Ww]\[([0-9]+)\]/)   { "\x05" + $data_weapons[$1.to_i].name }
      text.gsub!(/\\[Aa]\[([0-9]+)\]/)   { "\x06" + $data_armors[$1.to_i].name }
      text.gsub!(/\\[Rr]\[([0-9]+)\]/)   { "\x10" + $game_actors[$1.to_i].name }
      # c 获取 1 个字 (如果不能取得文字就循环)
      while ((c = text.slice!(/./m)) != nil)
        if c == "\x00"
          c = "\\"
        end
        if c == "\x01" or c == "\x02"
          next
        end
        if c == "\x03" or c == "\x04" or c == "\x05" or c == "\x06" or c == "\x010"
          c = "   "
        end
        if c == "\n"
          # y 累加 1
          y += 1
          # 取得纵横尺寸
          @h = y
          @w = x > @w ? x : @w
          if y >= $game_temp.choice_start
            @w = x + Fuki_v6_Setup::MES_FONT_SIZE > @w ? x + Fuki_v6_Setup::MES_FONT_SIZE : @w
          end
          x = 0
          x = Fuki_v6_Setup::MES_FONT_SIZE if y >= $game_temp.choice_start
          # 下面的文字
          next
        end
        # x 为要描绘文字的宽度加法运算
        x += self.contents.text_size(c).width
      end
    end
    # 输入数值的情况
    if $game_temp.num_input_variable_id > 0
      digits_max = $game_temp.num_input_digits_max
      number = $game_variables[$game_temp.num_input_variable_id]
      @h += 1
      x = digits_max * self.contents.font.size + 16
      @w = x > @w ? x : @w
    end
    @w += @face_width
    @w = 128 if @w < 128
  end
  #--------------------------------------------------------------------------
  # ○ 描绘信息处理
  #--------------------------------------------------------------------------
  def draw_massage
    # 有等待显示的文字的情况下
    if $game_temp.message_text != nil or @old_text_info != nil
      text = $game_temp.message_text
      # 限制文字处理
      begin
        last_text = text.clone
        text.gsub!(/\\[Vv]\[([0-9]+)\]/) { $game_variables[$1.to_i] }
      end until text == last_text
      text.gsub!(/\\[Nn]\[([0-9]+)\]/) do
        $game_actors[$1.to_i] != nil ? $game_actors[$1.to_i].name : ""
      end
      text.gsub!(/\\\\/)                 { "\x00" }
      text.gsub!(/\\[Cc]\[([0-9]+)\]/)   { "\x01[#{$1}]" }
      text.gsub!(/\\[Gg]/)               { "\x02" }
      text.gsub!(/\\[Ss]\[([0-9]+)\]/)   { "\x03[#{$1}]" }
      text.gsub!(/\\[Ii]\[([0-9]+)\]/)   { "\x04[#{$1}]" }
      text.gsub!(/\\[Ww]\[([0-9]+)\]/)   { "\x05[#{$1}]" }
      text.gsub!(/\\[Aa]\[([0-9]+)\]/)   { "\x06[#{$1}]" }
      text.gsub!(/\\[Oo]\[([0-9]+)\]/)   { "\x07[#{$1}]" }
      text.gsub!(/\\[Qq]/)               { "\x08" }
      text.gsub!(/\\[Ff]\[([0-9]+)\]/)   { "\x09[#{$1}]" }
      text.gsub!(/\\[Rr]\[([0-9]+)\]/)   { "\x10[#{$1}]" }
      # c 获取 1 个字
      c = text.slice!(/./m)
      # 默认对话框采用默认颜色
      self.contents.font.color = normal_color if $mes_id == nil
      # 选择项的情况
      if @dy >= $game_temp.choice_start
        # 处理字的缩进
        @dx = Fuki_v6_Setup::MES_FONT_SIZE
        @dx += @face_width unless @show_right
        @dx += Fuki_v6_Setup::MES_FONT_SIZE if @show_name
        # 描绘文字
        self.contents.draw_text(@dx, 24 * @dy, 24, 24, c)
        # x 为要描绘文字宽度的加法运算
        @dx += self.contents.text_size(c).width
        # 循环
        while ((c = text.slice!(/./m)) != "\n")
          # 描绘文字
          self.contents.draw_text(@dx, 24 * @dy, 24, 24, c)
          # x 为要描绘文字宽度的加法运算
          @dx += self.contents.text_size(c).width
        end
        if c == "\n"
          # 更新光标宽度
          @cursor_width = [@cursor_width, @dx - @face_width].max
          # dy 累加 1
          @dy += 1
        end
        return
      end
      case c
      when "\x00"
        c = "\\"            
      when "\x01"                  
        text.sub!(/\[([0-9]+)\]/, "")
        color = $1.to_i
        self.contents.font.color = text_color(color)
      when "\x02"
        @contents_showing_end = true
        @contents_drawing = false
        terminate_messageX
        @save_x = @dx
        @save_y = @dy
      when "\x03"
        text.sub!(/\[([0-9]+)\]/, "")
        last_character
        draw_icon($data_skills[$1.to_i], 4 + @dx, 24 * @dy)
        @dx += self.contents.text_size("   ").width
      when "\x04"
        text.sub!(/\[([0-9]+)\]/, "")
        last_character
        draw_icon($data_items[$1.to_i], 4 + @dx, 24 * @dy)
        @dx += self.contents.text_size("   ").width
      when "\x05"
        text.sub!(/\[([0-9]+)\]/, "")
        last_character
        draw_icon($data_weapons[$1.to_i], 4 + @dx, 24 * @dy)
        @dx += self.contents.text_size("   ").width
      when "\x06"
        text.sub!(/\[([0-9]+)\]/, "")
        last_character
        draw_icon($data_armors[$1.to_i], 4 + @dx, 24 * @dy)
        @dx += self.contents.text_size("   ").width
      when "\x07"
        text.sub!(/\[([0-9]+)\]/, "")
        self.contents.font.color.alpha = $1.to_i
      when "\x08"
        text.sub!(/\[([0-9]+)\]/, "")
        $play_voice = !$play_voice
      when "\x09"
        text.sub!(/\[([0-9]+)\]/, "")
        self.contents.font.name = Fuki_v6_Setup::FONT_ARRAY[$1.to_i]
      when "\x10"
        text.sub!(/\[([0-9]+)\]/, "")
        last_character
        draw_actor_graphic($game_actors[$1.to_i], 4 + @dx, 24 * @dy)
        @dx += self.contents.text_size("   ").width
      when "\n"
        @dy += 1
        @dx = 0
        @dx += @face_width unless @show_right
        @dx += Fuki_v6_Setup::MES_FONT_SIZE if @show_name
        last_character
      else
        last_character
        size_zy = 6  # 设定文字动态增大幅度
        if c != nil
          self.contents.font.size = Fuki_v6_Setup::MES_FONT_SIZE
          font_size = self.contents.font.size += size_zy
          @old_text_info.push(@dx , @dy , font_size, self.contents.font.color.clone, c)
          self.contents.draw_text(4 + @dx, (font_size + 4 - size_zy) * @dy - size_zy / 2, font_size, font_size, c)
          self.contents.font.size -= size_zy
          Audio.se_play("Audio/SE/Voice", 90, 100) if $play_voice and c != " "
          @dx += self.contents.text_size(c).width
        end
      end
    end
  end
  #--------------------------------------------------------------------------
  # ○ 完成上一个字符的描绘
  #--------------------------------------------------------------------------
  def last_character
    size_zy = 6  # 设定文字动态增大幅度
    unless @old_text_info == []
      self.contents.fill_rect (4 + @old_text_info[0], (@old_text_info[2]+ 4 - size_zy) * @old_text_info[1] - size_zy / 2, @old_text_info[2], @old_text_info[2], Color.new(0,0,0,0))
      color = self.contents.font.color.clone
      self.contents.font.color = @old_text_info[3].clone
      self.contents.font.size = @old_text_info[2] -= size_zy
      self.contents.draw_text(4 + @old_text_info[0], (@old_text_info[2] + 4) * @old_text_info[1], @old_text_info[2], @old_text_info[2], @old_text_info[4])
      self.contents.font.color = color
      @old_text_info = []
    end
  end
  #--------------------------------------------------------------------------
  # ○ 选择项和输入数值的情况下
  #--------------------------------------------------------------------------
  def draw_opt_text
    # 选择项的情况下
    if $game_temp.choice_max > 0
      @item_max = $game_temp.choice_max
      self.active = true
      self.index = 0
    end
    # 输入数值的情况下
    if $game_temp.num_input_variable_id > 0
      digits_max = $game_temp.num_input_digits_max
      number = $game_variables[$game_temp.num_input_variable_id]
      @input_number_window = Window_InputNumber.new(digits_max)
      @input_number_window.number = number
      @input_number_window.x = self.x + @face_width + Fuki_v6_Setup::MES_FONT_SIZE + 8
      @input_number_window.y = self.y + $game_temp.num_input_start * (Fuki_v6_Setup::MES_FONT_SIZE + 2)
    end
  end
  #--------------------------------------------------------------------------
  # ○ 生成背景图片
  #--------------------------------------------------------------------------
  def create_backbmp
    @pic_skin.dispose if @pic_skin != nil
    @pic_skin = Sprite.new
    @pic_skin.opacity = 0 unless @no_term_stop
    @pic_skin.bitmap = Bitmap.new(self.width + 32, self.height + 32)
    @pic_skin.x = self.x + 2
    @pic_skin.y = self.y + 2
    @pic_skin.z = self.z
    bitmap = RPG::Cache.windowskin(Fuki_v6_Setup::FUKI_SKIN_NAME)
    rect = Rect.new(0, 0, 32, 32)
    @pic_skin.bitmap.blt(0, 0, bitmap, rect)
    rect = Rect.new(96, 0, 32, 32)
    @pic_skin.bitmap.blt(self.width-32, 0, bitmap, rect)
    rect = Rect.new(0, 96, 32, 32)
    @pic_skin.bitmap.blt(0, self.height-32, bitmap, rect)
    rect = Rect.new(96, 96, 32, 32)
    @pic_skin.bitmap.blt(self.width-32, self.height-32, bitmap, rect)
    rect = Rect.new(0, 32, 32, 32)
    @pic_skin.bitmap.stretch_blt(Rect.new(0, 32, 32, self.height - 64), bitmap, rect)
    rect = Rect.new(96, 32, 32, 32)
    @pic_skin.bitmap.stretch_blt(Rect.new(self.width-32,32,32,self.height-64), bitmap, rect)
    rect = Rect.new(32, 0, 32, 32)
    @pic_skin.bitmap.stretch_blt(Rect.new(32,0,self.width-64,self.height-32), bitmap, rect)
    # 如果尾巴在底端的话,更改底边描绘方式以修正阴影
    if @message_position == 0 and @tale != nil
      # 乱七八糟的三个计算变量
      above_tale_x = @tale.x - self.x + 14
      above_tale_width1 = @tale.x - self.x - 16 - 2
      above_tale_width2 = self.width - above_tale_width1 - 32 - 64
      # 中部(尾巴上方)
      rect = Rect.new(32, 96, 32, 16)
      @pic_skin.bitmap.stretch_blt(Rect.new(above_tale_x , self.height-32, 32, 24), bitmap, rect)
      # 左半部
      rect = Rect.new(32, 96, 32, 32)
      @pic_skin.bitmap.stretch_blt(Rect.new(32, self.height-32, above_tale_width1, 32), bitmap, rect)
      # 右半部
      @pic_skin.bitmap.stretch_blt(Rect.new(32+above_tale_x, self.height-32, above_tale_width2, 32), bitmap, rect)
      bitmap.dispose
    else # 除此之外的情况保留原来的底边描绘方式
      rect = Rect.new(32, 96, 32, 32)
      @pic_skin.bitmap.stretch_blt(Rect.new(32,self.height-32,self.width-64,32), bitmap, rect)
      bitmap.dispose
    end
  end
  #--------------------------------------------------------------------------
  # ○ 设置呼出对话框
  #--------------------------------------------------------------------------
  def set_fukidasi(x, y, width, height)
    begin
      self.pause = false # 不显示暂停标志
      pos = get_fuki_pos(width, height) # 取得对话框位置
      x = pos[0]
      y = pos[1]
      self.windowskin = RPG::Cache.windowskin($game_system.windowskin_name)
      self.x = x
      self.y = y
      self.height = height
      self.width = width
      unless @no_term_stop
        self.contents.dispose
        self.contents = Bitmap.new(width - 32, height - 32)
        self.back_opacity = Fuki_v6_Setup::FUKI_OPACITY
        self.contents.clear
        self.contents.font.color = Color.new(0, 0, 0, 255)
        self.contents.font.size = Fuki_v6_Setup::MES_FONT_SIZE
      end
      if $game_system.message_frame == 0
        tale_pos = get_tale_pos
        @tale = Sprite.new
        @tale.bitmap = Bitmap.new(64, 32)
        if Fuki_v6_Setup::TAIL_SHOW
          case @message_position
          when 0  # 上
            bitmap = RPG::Cache.windowskin(Fuki_v6_Setup::FUKI_SKIN_NAME)
            rect = Rect.new(32, 32, 64, 32)
            @tale.bitmap.blt(0, 0, bitmap, rect)
            bitmap.dispose
            @tale.x = tale_pos[0]
            @tale.x += 8 if @tale.x < 64
            if @tale.x > 640 - 64
              @tale.mirror = true
              @tale.x -= 64
            end
            @tale.y = tale_pos[1]
            @tale.z = self.z + 1
          when 1  # 中
            @tale.dispose
            @tale = nil
          when 2  # 下
            bitmap = RPG::Cache.windowskin(Fuki_v6_Setup::FUKI_SKIN_NAME)
            rect = Rect.new(32, 64, 64, 32)
            @tale.bitmap.blt(0, 0, bitmap, rect)
            bitmap.dispose
            @tale.x = tale_pos[0]
            @tale.x += 8 if @tale.x < 64
            if @tale.x > 640 - 64
              @tale.mirror = true
              @tale.x -= 64
            end
            @tale.y = tale_pos[1]
            @tale.z = self.z# + 1
          end
        end
      end
    rescue
      del_fukidasi
      reset_window(width, height)
    end
  end
  #--------------------------------------------------------------------------
  # ○ 计算呼出对话框的位置
  #--------------------------------------------------------------------------
  def get_fuki_pos(width, height)
    # 取得角色
    @character = get_character($mes_id)
    if @character == nil
      # 角色不存在的情况下使用默认信息框
      
      del_fukidasi
      reset_window(width, height)
      return
    end
    # 处理坐标
    x = (@character.real_x - $game_map.display_x + 64) * 32 / 128 - (width / 2)
    # 为尽量显示在画面内而移动横坐标
    if x + width > 640
      x = 640 - width
    elsif x < 0
      x = 0
    end
    # 决定窗口位置
    case $game_system.message_position
    when 0  # 上
      y = (@character.real_y - $game_map.display_y + 64) * 32 / 128 - height - Fuki_v6_Setup::CHARACTOR_HEIGHT + Fuki_v6_Setup::POP_SHIFT_TOP
    when 1  # 中
      x = (640 - width) / 2
      y = (480 - height) / 2
    when 2  # 下
      y =  (@character.real_y - $game_map.display_y + 64) * 32 / 128 + 32 + Fuki_v6_Setup::POP_SHIFT_UNDER
    end
    # 纪录文章显示位置
    @message_position = $game_system.message_position
    if Fuki_v6_Setup::POS_FIX
      case @message_position
      when 0  # 上
        if y <= 0
          @message_position = 2
          y =  (@character.real_y - $game_map.display_y + 64) * 32 / 128 + 32 + Fuki_v6_Setup::POP_SHIFT_UNDER
        end
      when 2  # 下
        if y + height >= 480
          @message_position = 0
          y = (@character.real_y - $game_map.display_y + 64) * 32 / 128 - height - Fuki_v6_Setup::CHARACTOR_HEIGHT + Fuki_v6_Setup::POP_SHIFT_TOP
        end
      end
    end
    return [x, y]
  end
  #--------------------------------------------------------------------------
  # ○ 计算尾部图标的位置
  #--------------------------------------------------------------------------
  def get_tale_pos
    case @message_position
    when 0  # 上
      # 处理坐标
      x = ( @character.real_x - $game_map.display_x + 64 ) * 32 / 128 - 8
      y = self.y + self.height - 6
    when 1  # 中
      x = nil
      y = nil
    when 2  # 下
      # 处理坐标
      x = ( @character.real_x - $game_map.display_x + 64 ) * 32 / 128 - 8
      y = self.y - 18
    end
    return [x, y]
  end
  #--------------------------------------------------------------------------
  # ○ 设置角色半身像窗口
  #--------------------------------------------------------------------------
  def draw_msg_face
    @face_sprite.dispose if @face_sprite != nil
    # $mes_name为空时不显示
    if $mes_name == nil or $mes_name == ""
      return
    else
      # 设定变量
      mes_name = $mes_name
      if $game_temp.namebmp[mes_name] == nil
        sFile = Fuki_v6_Setup::FACE_PIC_DIR + mes_name
      else
        sFile = Fuki_v6_Setup::FACE_PIC_DIR + $game_temp.namebmp[mes_name]
      end
      bitmap = Bitmap.new(sFile)
      @pic_width = bitmap.width
      @pic_height = bitmap.height
      @face_sprite = Sprite.new
      @face_sprite.x = self.x + 26
      @face_sprite.x = self.x + self.width - @pic_width - 26 if @show_right
      @face_sprite.y = self.y + self.height - @pic_height - 6
      @face_sprite.bitmap = bitmap
      @face_sprite.z = self.z + 3
      @face_sprite.mirror = @show_right
      @face_sprite.opacity = 0
    end
  end
  #--------------------------------------------------------------------------
  # ○ 释放呼出对话框
  #--------------------------------------------------------------------------
  def del_fukidasi
    self.opacity = 0
    self.x = 80
    self.width = 480
    self.height = 160
    self.contents.dispose
    self.contents = Bitmap.new(width - 32, height - 32)
    self.pause = true
    if @tale != nil
      @tale.dispose
      @tale = nil
    end
  end
  #--------------------------------------------------------------------------
  # ○ 取得角色
  #     parameter : 参数
  #--------------------------------------------------------------------------
  def get_character(parameter)
    # 参数分歧
    case parameter
    when nil
      return events == nil
    when -1  # 玩家
      return $game_player
    when 0   # 该事件
      events = $game_map.events
      # 循环 (地图事件)
      for event in $game_map.events.values
        # 如果找到了启动中的事件
        if event.starting
          @event_id = event.id
        end
      end
      return events == nil ? nil : events[@event_id]
    else     # 特定事件
      events = $game_map.events
      return events == nil ? nil : events[parameter]
    end
  end
  #--------------------------------------------------------------------------
  # ● 设定窗口位置和不透明度
  #--------------------------------------------------------------------------
  def reset_window(width = nil, height = nil)
    if $game_temp.in_battle
      self.y = 16
    else
      case $game_system.message_position
      when 0  # 上
        self.y = 16
      when 1  # 中
        if height != nil and width != nil
          self.y = (480 - height) / 2 - 32
          self.x = (640 - width) / 2
          self.width = width
          self.height = height
          self.contents.dispose
          self.contents = Bitmap.new(width - 32, height - 32)
        else
          self.y = 160
        end
      when 2  # 下
        self.y = 304
      end
    end
    self.opacity = 0
    self.back_opacity = Fuki_v6_Setup::MES_OPACITY
  end
  #--------------------------------------------------------------------------
  # ● 刷新画面
  #--------------------------------------------------------------------------
  def update
    if $tale_need_dispose
      del_fukidasi
      $tale_need_dispose = false
    end
    super
    update_fuki                 # 呼出模式下跟随事件移动
    if @fade_in                 # 渐变的情况下
      self.contents_opacity += 24
      @pic_skin.opacity += 20
      if @tale != nil
        @face_sprite.opacity += 24 if @face_sprite != nil and !@face_sprite.disposed?
        @tale.opacity += 20
      end
      @input_number_window.contents_opacity += 24 if @input_number_window != nil
      @fade_in = false if self.contents_opacity == 255
      return
    end
    if @contents_drawing        # 显示信息中的情况下
      refresh_drawtext
      return
    end
    update_input_number_window  # 输入数值的情况下
    if @contents_showing_end    # 显示信息结束的情况下
      if $game_temp.choice_max == 0 and @tale == nil
        self.pause = true
      else
        self.pause = false
      end
      update_choose
      return
    end
    if @fade_out == false and $game_temp.message_text != nil # 在渐变以外的状态下
      @contents_showing = true
      $game_temp.message_window_showing = true
      reset_window
      refresh_create
      if @no_term_stop
        self.visible = true        
      else
        @tale.opacity = 0 if @tale != nil
        Graphics.frame_reset
        self.visible = true
        self.contents_opacity = 0
        @input_number_window.contents_opacity = 0 if @input_number_window != nil
        @fade_in = true
      end
      return
    end
    unless @no_term_stop # 没有可以显示的信息、但是窗口为可见的情况下
      if self.visible
        @fade_out = true
        self.opacity -= 48
        @face_sprite.opacity -= 48 if @face_sprite != nil and !@face_sprite.disposed?
        @pic_skin.opacity -= 48 if @pic_skin != nil and !@pic_skin.disposed?
        @tale.opacity -= 48 if @tale != nil and [email protected]?
        if (@face_sprite == nil) or @face_sprite.disposed? or (@face_sprite.opacity == 0)
          self.visible = false
          @face_sprite.dispose if @face_sprite != nil
          @pic_skin.dispose
          @fade_out = false
          $game_temp.message_window_showing = false
        end
        return
      end
    else
      $game_temp.message_window_showing = false   
    end
  end
  #--------------------------------------------------------------------------
  # ● 释放
  #--------------------------------------------------------------------------
  def dispose
    terminate_message
    $game_temp.message_window_showing = false
    @input_number_window.dispose if @input_number_window != nil
    super
  end
  #--------------------------------------------------------------------------
  # ● 信息结束处理
  #--------------------------------------------------------------------------
  def terminate_message
    self.active = false
    self.pause = false
    self.index = -1
    self.contents.clear
    # 清除显示中标志
    @contents_showing = false
    @contents_showing_end = false
    $mes_name = ""
    # 呼叫信息调用
    $game_temp.message_proc.call if $game_temp.message_proc != nil
    # 清除文章、选择项、输入数值的相关变量
    $game_temp.message_text = nil
    $game_temp.message_proc = nil
    $game_temp.choice_start = 99
    $game_temp.choice_max = 0
    $game_temp.choice_cancel_type = 0
    $game_temp.choice_proc = nil
    $game_temp.num_input_start = 99
    $game_temp.num_input_variable_id = 0
    $game_temp.num_input_digits_max = 0
    # 释放金钱窗口
    if @gold_window != nil
      @gold_window.dispose
      @gold_window = nil
    end
    @no_term_stop = false
    @save_x = 0
    @save_y = 0
    @show_right = false
    @show_name  = false
    @face_width = 0
    $tale_need_dispose = true if @tale != nil
  end
  #--------------------------------------------------------------------------
  # ● ★信息结束处理★
  #--------------------------------------------------------------------------
  def terminate_messageX
    self.active = false
    self.pause = false
    self.index = -1
    # 清除显示中标志
    @contents_showing = false
    @contents_showing_end = false
    # 呼叫信息调用
    $game_temp.message_proc.call if $game_temp.message_proc != nil
    # 清除文章、选择项、输入数值的相关变量
    $game_temp.message_text = nil
    $game_temp.message_proc = nil
    @no_term_stop = true
    @show_right = false
    @show_name  = false
    @face_width = 0
  end
  #--------------------------------------------------------------------------
  # ● 刷新光标矩形
  #--------------------------------------------------------------------------
  def update_cursor_rect
    if @index >= 0
      n = $game_temp.choice_start + @index
      self.cursor_rect.set(Fuki_v6_Setup::MES_FONT_SIZE / 2, n * (Fuki_v6_Setup::MES_FONT_SIZE + 4), @cursor_width, Fuki_v6_Setup::MES_FONT_SIZE + 4)
      self.cursor_rect.x += @face_width unless @show_right
      self.cursor_rect.x += Fuki_v6_Setup::MES_FONT_SIZE / 2 if @show_name
    else
      self.cursor_rect.empty
    end
  end
  #--------------------------------------------------------------------------
  # ● 获取文字颜色色
  #     n : 文字颜色编号 (0~31)
  #--------------------------------------------------------------------------
  def text_color(n)
    return normal_color if n > 31
    x = (n % 8) * 16
    y = 128 + (n / 8) * 16
    return RPG::Cache.windowskin(Fuki_v6_Setup::FUKI_SKIN_NAME).get_pixel(x, y)
  end
  #--------------------------------------------------------------------------
  # ● 取得普通文字色
  #--------------------------------------------------------------------------
  def normal_color
    nil_color = Color.new(0,0,0,255)
    return Fuki_v6_Setup::FUKI_COLOR if Fuki_v6_Setup::FUKI_COLOR != nil_color
    return nil_color
  end
  #--------------------------------------------------------------------------
  # ● 获取头像宽度
  #--------------------------------------------------------------------------
  def get_face_width(face_name)
    return if $mes_name == ""
    filename = Fuki_v6_Setup::FACE_PIC_DIR + face_name
    bitmap = Bitmap.new(filename)
    @face_width = bitmap.width + Fuki_v6_Setup::MES_FONT_SIZE
    bitmap.dispose
  end
  #--------------------------------------------------------------------------
  # ● 描绘物品
  #     item : 物品
  #--------------------------------------------------------------------------
  def draw_icon(item, x, y)
    return if item == nil
    bitmap = RPG::Cache.icon(item.icon_name)
    self.contents.blt(x + 4, y, bitmap, Rect.new(0, 0, 24, 24))
    color = self.contents.font.color.clone
    self.contents.font.color = text_color(1)
    self.contents.draw_text(x + 28, y, self.contents.text_size(item.name).width + 5, 24, item.name)
    self.contents.font.color = color
    @dx += self.contents.text_size(item.name).width
  end
  #--------------------------------------------------------------------------
  # ● 图形的描绘
  #     actor : 角色
  #     x     : 描画目标 X 坐标
  #     y     : 描画目标 Y 坐标
  #--------------------------------------------------------------------------
  def draw_actor_graphic(actor, x, y)
    bitmap = RPG::Cache.character(actor.character_name, actor.character_hue)
    cw = bitmap.width / 4
    ch = bitmap.height / 4
    src_rect = Rect.new(0, 0, cw, ch)
    self.contents.blt(x, y - 4, bitmap, src_rect)
    color = self.contents.font.color.clone
    self.contents.font.color = text_color(1)
    self.contents.draw_text(x + 32, y, self.contents.text_size(actor.name).width + 5, 24, actor.name)
    self.contents.font.color = color
    @dx += self.contents.text_size(actor.name).width
  end
  #--------------------------------------------------------------------------
  # ● 刷新呼出对话框
  #--------------------------------------------------------------------------
  def update_fuki
    if @tale != nil
      pos = get_fuki_pos(self.width, self.height)
      self.x = pos[0]
      self.y = pos[1]
      tale_pos = get_tale_pos
      @tale.mirror = false
      @tale.x = tale_pos[0]
      @tale.x += 8 if @tale.x < 64
      if @tale.x > 640 - 64
        @tale.mirror = true
        @tale.x -= 64
      end
      @tale.y = tale_pos[1]
      @pic_skin.x = self.x + 2
      @pic_skin.y = self.y + 2
      if @face_sprite != nil and !@face_sprite.disposed?
        @face_sprite.x = self.x + 26
        @face_sprite.x = self.x + self.width - @pic_width - 26 if @show_right
        @face_sprite.y = self.y + self.height - @pic_height - 6
      end
    end
  end
  #--------------------------------------------------------------------------
  # ● 刷新数字输入框
  #--------------------------------------------------------------------------
  def update_input_number_window
    if @input_number_window != nil
      @input_number_window.update
      # 确定
      if Input.trigger?(Input::C)
        $game_system.se_play($data_system.decision_se)
        $game_variables[$game_temp.num_input_variable_id] = @input_number_window.number
        # 释放输入数值窗口
        @input_number_window.dispose
        @input_number_window = nil
        $game_map.need_refresh = true
        terminate_message
      end
      return
    end
  end
  #--------------------------------------------------------------------------
  # ● 刷新选择输入
  #--------------------------------------------------------------------------
  def update_choose
    if Input.trigger?(Input::B)
      if $game_temp.choice_max > 0 and $game_temp.choice_cancel_type > 0
        $game_system.se_play($data_system.cancel_se)
        $game_temp.choice_proc.call($game_temp.choice_cancel_type - 1)
        terminate_message
      end
    end
    if Input.trigger?(Input::C)
      if $game_temp.choice_max > 0
        $game_system.se_play($data_system.decision_se)
        $game_temp.choice_proc.call(self.index)
      end
      terminate_message
    end
  end
end
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
23 小时
注册时间
2013-8-4
帖子
63
3
发表于 2013-8-4 18:30:39 | 只看该作者
你怎么用这个脚本的。。。附上脚本一枚 截图两个 - -

#==============================================================================
# 本脚本来自www.66RPG.com,使用和转载请保留此信息
#==============================================================================

#——说明

#默认为一个字一个字的方式,如果需要一次全部显示,
#请在游戏中使用脚本:$game_system.typing = true
      
#默认对话字没有声音,如果需要声音,
#请在游戏中使用脚本:$game_system.soundname_on_speak = "这里输入文件名"
  #我唯一一个见过“胡乱配音”的游戏是天使帝国2代,该游戏说话的时候每个字符随机发一个外星语音

# 其他在对话中可以使用的功能:
  
# \n[1]:显示1号角色的姓名

# \name[李逍遥]:显示一个“李逍遥”方框,表示说话人姓名

# \p[1]:对话框出现在1号事件的上方
# \p[0]:主人公上方出现对话框
#——————————————————使用\p功能后可以自动调整对话框大小

# \\:显示"\"这个符号

# \v[1] :显示变量1

# \v[a1] :显示防具1

# \v[w1] :显示武器1

# \v[i1] :显示物品1

# \v[s1] :显示特技1

# \c[1-8]:更改颜色

# \g:显示金钱窗口

# \a[SE文件名]:对话的时候播放SE

# \s[1-19]:更改弹字的速度

# \.   :停顿一刹那(1、2帧)
# \|   :停顿片刻(20帧)

# \>   :文字不用打字方式
# \<   :文字使用打字方式

# \!   :等待玩家按回车再继续
# \~   :文字直接消失

# \I   :下一行从这个位置开始

# \o[123]:文字透明度改为123,模拟将死之人(汗)

# \h[12]:改用12号字

# \b[50]:空50象素

# \K[今天天气不错]:在出现“今天天气不错”这几个字的时候播放$game_system.soundname_on_speak设置的音效

# \L[001]:在左边显示图片“Graphics/battlers/66rpg_001_h.png”
# \R[001]:在右边显示图片“Graphics/battlers/66rpg_001_h.png”

# \Lk:清除左边的图像
# \Rk:清除右边的图像


#==============================================================================
# ■ Game_System
#------------------------------------------------------------------------------
#  处理系统附属数据的类。也可执行诸如 BGM 管理之类的功能。本类的实例请参考
# $game_system 。
#==============================================================================

class Game_System
  attr_accessor :typing
  attr_accessor :soundname_on_speak
  alias carol3_ini initialize
  def initialize
    carol3_ini
    @typing = true
    @soundname_on_speak = nil
  end
end
$加密 = true
$refresh = {}
#==============================================================================
# ■ Window_Message
#------------------------------------------------------------------------------
class Window_Message < Window_Selectable
  Player_Name = 'pn' # 代表主角名字的字符
  Size = 18
  #--------------------------------------------------------------------------
  # ● 初始化状态
  #--------------------------------------------------------------------------
  def initialize
    super(80, 304, 480, 160)
    self.contents = Bitmap.new(width - 32, height - 32)
    self.visible = false
    self.z = 9998
    @fade_in = false
    @fade_out = false
    @contents_showing = false
    @cursor_width = 0
    self.active = false
    self.index = -1
    if $game_system.soundname_on_speak == nil then
      $game_system.soundname_on_speak = ""
    end
    @opacity_text_buf = Bitmap.new(32, 32)
  end
  #--------------------------------------------------------------------------
  # ● 释放
  #--------------------------------------------------------------------------
  def dispose
    terminate_message
    $game_temp.message_window_showing = false
    if @input_number_window != nil
      @input_number_window.dispose
    end
    super
  end
  #--------------------------------------------------------------------------
  # ● 处理信息结束
  #--------------------------------------------------------------------------
  def terminate_message
    $refresh["mess"] = false
    self.active = false
    self.pause = false
    self.index = -1
    self.contents.clear
    # 清除显示中标志
    @contents_showing = false
    # 呼叫信息调用
    if $game_temp.message_proc != nil
      $game_temp.message_proc.call
    end
    # 清除文章、选择项、输入数值的相关变量
    $game_temp.message_text = nil
    $game_temp.message_proc = nil
    $game_temp.choice_start = 99
    $game_temp.choice_max = 0
    $game_temp.choice_cancel_type = 0
    $game_temp.choice_proc = nil
    $game_temp.num_input_start = 99
    $game_temp.num_input_variable_id = 0
    $game_temp.num_input_digits_max = 0
    # 开放金钱窗口
    if @gold_window != nil
      @gold_window.dispose
      @gold_window = nil
    end
    if @name_window_text != nil
      @name_window_text.dispose
      @name_window_text = nil
    end
    if @right_picture != nil and @right_keep == true
      @right_picture.dispose
    end   
    if @left_picture != nil and @left_keep == true
      @left_picture.dispose
    end
    if @bar != nil
      @bar.dispose
    end
  end
  def refresh
    $refresh["mess"] = true
    # 初期化
    self.contents.clear
    self.contents.font.color = normal_color
    self.contents.font.size = Size#Font.default_size
    @x = @y = @max_x = @max_y = @indent = @lines = 0
    @left_keep = @right_keep = false
    @face_indent = 0
    @opacity = 255
    @cursor_width = 0
    @write_speed = 0
    @write_wait = 0
    @mid_stop = false
    @face_file = nil
    @popchar = -2
    if $game_temp.choice_start == 0
      @x = 8
    end
    if $game_temp.message_text != nil
      @now_text = $game_temp.message_text
      #——头像设置
      if (/\\[Ff]\[(.+?)\]/.match(@now_text))!=nil then
        @face_file = $1 + ".png"
        @x = @face_indent = 128
        if FileTest.exist?("Graphics/Pictures/" + $1 + ".png")
          self.contents.blt(16, 16, RPG::Cache.picture(@face_file), Rect.new(0, 0, 96, 96))
        end
        @now_text.gsub!(/\\[Ff]\[(.*?)\]/) { "" }
      end
      #——左半身像设置
      if (/\\[Ll]\[(.+?)\]/.match(@now_text))!=nil then
        @face = $1
        if $加密 == true
          if @left_picture != nil
            @left_picture.dispose
          end
          @left_picture = Sprite.new
          @left_picture.bitmap = Bitmap.new("Graphics/Faces/#{@face}")
          @left_picture.y = 480-@left_picture.bitmap.height
          @left_picture.x = 0
          @left_picture.mirror = true
          @x = @face_indent = @left_picture.bitmap.width
          @left_keep = true
          @now_text.gsub!(/\\[Ll]\[(.*?)\]/) { "" }
        else         
          if FileTest.exist?("Graphics/Faces/#{@face}")
            if @left_picture != nil
              @left_picture.dispose
            end
            @left_picture = Sprite.new
            @left_picture.bitmap = Bitmap.new("Graphics/Faces/#{@face}")
            @left_picture.y = 480-@left_picture.bitmap.height
            @left_picture.x = 0
            @left_picture.mirror = true
            @now_text.gsub!(/\\[Ll]\[(.*?)\]/) { "" }
          end
        end        
      end
      #——右半身像设置
      if (/\\[Rr]\[(.+?)\]/.match(@now_text))!=nil then
        @face = $1
        if $加密 == true
          if @right_picture != nil
            @right_picture.dispose
          end
          @right_picture = Sprite.new
          @right_picture.bitmap = Bitmap.new("Graphics/Faces/#{@face}")
          @right_picture.y = 480-@right_picture.bitmap.height
          @right_picture.x = 640-@right_picture.bitmap.width
          @right_keep = true
          @now_text.gsub!(/\\[Rr]\[(.*?)\]/) { "" }
        else
          if FileTest.exist?("Graphics/Faces/#{@face}")
            if @right_picture != nil
              @right_picture.dispose
            end
            @right_picture = Sprite.new
            @right_picture.bitmap = Bitmap.new("Graphics/Faces/#{@face}")
            @right_picture.y = 480-@right_picture.bitmap.height
            @right_picture.x = 640-@right_picture.bitmap.width
            @now_text.gsub!(/\\[Rr]\[(.*?)\]/) { "" }
          end
        end
      end
      if (/\\[Rr]k/.match(@now_text)) != nil
        @right_keep = true
        @now_text.sub!(/\\[Rr]k/) { "" }
      end
      if (/\\[Ll]k/.match(@now_text)) != nil
        @left_keep = true
        @now_text.sub!(/\\[Ll]k/) { "" }
      end
      # 显示人物姓名
      name_window_set = false
      if (/\\[Nn]ame\[(.+?)\]/.match(@now_text)) != nil
        name_window_set = true
        name_text = $1
        @now_text.sub!(/\\[Nn]ame\[(.*?)\]/) { "" }
      end
      
      # 文字位置的判定
      if (/\\[Pp]\[([-1,0-9]+)\]/.match(@now_text))!=nil then
        @popchar = $1.to_i
        if @popchar == -1
          @x = @indent = 48
          @y = 4
        end
        @now_text.gsub!(/\\[Pp]\[([-1,0-9]+)\]/) { "" }
      end
      
      # 开始
      begin
        last_text = @now_text.clone
        @now_text.gsub!(/\\[Vv]\[([IiWwAaSs]?)([0-9]+)\]/) { convart_value($1, $2.to_i) }
      end until @now_text == last_text
      @now_text.gsub!(/\\[Nn]\[([0-9]+)\]/) do
      $game_actors[$1.to_i] != nil ? $game_actors[$1.to_i].name : ""
    end
    @now_text.gsub!(/\\\\/) { "\000" }
    @now_text.gsub!(/\\[Cc]\[([0-9]+)\]/) { "\001[#{$1}]" }
    @now_text.gsub!(/\\[Gg]/) { "\002" }
    @now_text.gsub!(/\\[Ss]\[([0-9]+)\]/) { "\003[#{$1}]" }
    @now_text.gsub!(/\\[Aa]\[(.*?)\]/) { "\004[#{$1}]" }
    @now_text.gsub!(/\\[.]/) { "\005" }
    @now_text.gsub!(/\\[|]/) { "\006" }

    @now_text.gsub!(/\\[>]/) { "\016" }
    @now_text.gsub!(/\\[<]/) { "\017" }
    @now_text.gsub!(/\\[!]/) { "\020" }
    @now_text.gsub!(/\\[~]/) { "\021" }
   
    @now_text.gsub!(/\\[Ii]/) { "\023" }
    @now_text.gsub!(/\\[Oo]\[([0-9]+)\]/) { "\024[#{$1}]" }
    @now_text.gsub!(/\\[Hh]\[([0-9]+)\]/) { "\025[#{$1}]" }
    @now_text.gsub!(/\\[Bb]\[([0-9]+)\]/) { "\026[#{$1}]" }
    @now_text.gsub!(/\\[Kk]\[(.*?)\]/) { "\027[#{$1}]" }
   


    if @popchar >= 0
      @text_save = @now_text.clone
      @max_x = 0
      @max_y = 4
      for i in 0..3
        line = @now_text.split(/\n/)[3-i]
        @max_y -= 1 if line == nil and @max_y <= 4-i
        next if line == nil
        contents.font.size = Size
        cx = contents.text_size(line).width
        @max_x = cx if cx > @max_x
      end
      if @right_picture != nil and !@right_picture.disposed?
        self.width = @max_x + 48 + @face_indent + @right_picture.bitmap.width
      else
        self.width = @max_x + 48 + @face_indent
      end
      if $game_temp.num_input_variable_id > 0
        self.height = (@max_y - 1) * 20 + 96 + 8
      else
        self.height = (@max_y - 1) * 20 + 64
      end
    else
      @max_x = self.width - 32 - @face_indent
    end
    reset_window
      if name_window_set
        off_x = 0
        off_y = -40
        space = 2
        x = self.x + off_x - space / 2
        y = self.y + off_y - space / 2
        w = self.contents.text_size(name_text).width + 26 + space
        h = 40 + space
        x = self.x + off_x + 4
        y = self.y + off_y
        if name_text == Player_Name
          name_text = $game_actors[1].name
        end
        @name_window_text = Air_Text.new(self.x + @face_indent+4+8, self.y+16, name_text)
        @name_window_text.z = self.z + 2
        @bar = Sprite.new
        @bar.bitmap = Bitmap.new(self.width,self.height)
        @bar.x = self.x
        @bar.y = self.y
        @bar.z = self.z + 2
        @bar.bitmap.fill_rect(8,16,self.width-16,24,Color.new(120,180,250,80))
      end
    end
    reset_window
    if $game_temp.choice_max > 0
      @item_max = $game_temp.choice_max
      self.active = true
      self.index = 0
    end
    if $game_temp.num_input_variable_id > 0
      digits_max = $game_temp.num_input_digits_max
      number = $game_variables[$game_temp.num_input_variable_id]
      @input_number_window = Window_InputNumber.new(digits_max)
      @input_number_window.number = number
      @input_number_window.x = self.x + @face_indent
      @input_number_window.y = self.y + $game_temp.num_input_start * 32
    end
  end
  #--------------------------------------------------------------------------
  # ● 更新
  #--------------------------------------------------------------------------
  def update
    super
   
      if @k_tale != nil
        character = get_character(@popchar)
        x = [[character.screen_x - 0 - self.width / 2, 4].max, 636 - self.width].min
        y = [[character.screen_y - 48 - self.height, 4].max, 476 - self.height].min
        self.x = x
        self.y = y
       #kk
        @k_tale.x = ( character.real_x - $game_map.display_x + 64 ) * 32 / 128 - 16
        @k_tale.y = self.y + self.height - 16
        if @left_picture != nil and !@left_picture.disposed?
          @left_picture.x = x+8
          @left_picture.y = y - @left_picture.bitmap.height + self.height - 8
        end
        if @right_picture != nil and !@right_picture.disposed?
          @right_picture.x = x+self.width-@right_picture.bitmap.width-8
          @right_picture.y = y - @right_picture.bitmap.height + self.height - 8
        end
        @name_window_text.x = self.x + @face_indent -4
        @name_window_text.y = self.y
        @bar.x = self.x
        @bar.y = self.y
    end
   
    if @fade_in
      self.contents_opacity += 24
      if @input_number_window != nil
        @input_number_window.contents_opacity += 24
      end
      if self.contents_opacity == 255
        @fade_in = false
      end
      return
    end
    @now_text = nil if @now_text == ""
    if @now_text != nil and @mid_stop == false
      if @write_wait > 0
        @write_wait -= 1
        return
      end
      text_not_skip = $game_system.typing
      while true
        @max_x = @x if @max_x < @x
        @max_y = @y if @max_y < @y
        if (c = @now_text.slice!(/./m)) != nil
          if c == "\000"
            c = "\\"
          end
          if c == "\001"
            @now_text.sub!(/\[([0-9]+)\]/, "")
            color = $1.to_i
            if color >= 0 and color <= 7
              self.contents.font.color = text_color(color)
            end
            c = ""
          end
          if c == "\002"
            if @gold_window == nil and @popchar <= 0
              @gold_window = Window_Gold.new
              @gold_window.x = 560 - @gold_window.width
              if $game_temp.in_battle
                @gold_window.y = 192
              else
                @gold_window.y = self.y >= 128 ? 32 : 384
              end
              @gold_window.opacity = self.opacity
              @gold_window.back_opacity = self.back_opacity
            end
            c = ""
          end
          if c == "\003"
            @now_text.sub!(/\[([0-9]+)\]/, "")
            speed = $1.to_i
            if speed >= 0 and speed <= 19
              @write_speed = speed
            end
            c = ""
          end
          if c == "\004"
            @now_text.sub!(/\[(.*?)\]/, "")
            buftxt = $1.dup.to_s
            if buftxt.match(/\//) == nil and buftxt != "" then
              $game_system.soundname_on_speak = "Audio/SE/" + buftxt
            else
              $game_system.soundname_on_speak = buftxt.dup
            end
            c = ""
          elsif c == "\004"
            c = ""
          end
          if c == "\005"
            @write_wait += 5
            c = ""
          end
          if c == "\006"
            @write_wait += 20
            c = ""
          end
          if c == "\016"
            text_not_skip = false
            c = ""
          end
          if c == "\017"
            text_not_skip = true
            c = ""
          end
          if c == "\020"
            @mid_stop = true
            c = ""
          end
          if c == "\021"
            terminate_message
            return
          end
          if c == "\023"
            @indent = @x
            c = ""
          end
          if c == "\024"
            @now_text.sub!(/\[([0-9]+)\]/, "")
            @opacity = $1.to_i
            c = ""
          end
          if c == "\025"
            @now_text.sub!(/\[([0-9]+)\]/, "")
            self.contents.font.size = [[$1.to_i, 6].max, 32].min
            c = ""
          end
          if c == "\026"
            @now_text.sub!(/\[([0-9]+)\]/, "")
            @x += $1.to_i
            c = ""
          end
          if c == "\027"
            @now_text.sub!(/\[(.*?)\]/, "")
            @x += ruby_draw_text(self.contents, @x, @y * line_height + (line_height - self.contents.font.size), $1, @opacity)
            if $game_system.soundname_on_speak != ""
              Audio.se_play($game_system.soundname_on_speak)
            end
            c = ""
          end
          if c == "\030"
            @now_text.sub!(/\[(.*?)\]/, "")
            self.contents.blt(@x , @y * line_height + 8, RPG::Cache.icon($1), Rect.new(0, 0, 24, 24))
           if $game_system.soundname_on_speak != ""
              Audio.se_play($game_system.soundname_on_speak)
            end
            @x += 24
            c = ""
          end
          if c == "\n"
            if @lines >= $game_temp.choice_start
              @cursor_width = [@cursor_width, @max_x - @face_indent].max
            end
            @lines += 1
            @y += 1
            @x = 0 + @indent + @face_indent
            if @lines >= $game_temp.choice_start
              @x = 8 + @indent + @face_indent
            end
            c = ""
          end
          if c != ""
            # 文字描画
            self.contents.font.size = Size
            @x += opacity_draw_text(self.contents, @x, 8+@y * line_height + (line_height - self.contents.font.size), c, @opacity)
            if $game_system.soundname_on_speak != "" then
            Audio.se_play($game_system.soundname_on_speak)
            end
          end
          if Input.press?(Input::B)
            text_not_skip = false
          end
        else
          text_not_skip = true
          break
        end
        # 終了判定
        if text_not_skip
          break
        end
      end
      @write_wait += @write_speed
      return
    end
    if @input_number_window != nil
      @input_number_window.update
      # 決定
      if Input.trigger?(Input::C)
        $game_system.se_play($data_system.decision_se)
        $game_variables[$game_temp.num_input_variable_id] =
        @input_number_window.number
        $game_map.need_refresh = true
        @input_number_window.dispose
        @input_number_window = nil
        terminate_message
      end
      return
    end
    if @contents_showing
      if $game_temp.choice_max == 0
        self.pause = true
      end
      # 取消
      if Input.trigger?(Input::B)
        if $game_temp.choice_max > 0 and $game_temp.choice_cancel_type > 0
          $game_system.se_play($data_system.cancel_se)
          $game_temp.choice_proc.call($game_temp.choice_cancel_type - 1)
          terminate_message
        end
      end
      # 決定
      if Input.trigger?(Input::C)
         if @k_tale != nil  
          @k_tale.dispose
          @k_tale = nil
         end
        if $game_temp.choice_max > 0
          $game_system.se_play($data_system.decision_se)
          $game_temp.choice_proc.call(self.index)
        end
        if @mid_stop
          @mid_stop = false
          return
        else
          terminate_message
        end
      end
      return
    end
    if @fade_out == false and $game_temp.message_text != nil
      @contents_showing = true
      $game_temp.message_window_showing = true
      refresh
      Graphics.frame_reset
      self.visible = true
      self.contents_opacity = 0
    if @input_number_window != nil
      @input_number_window.contents_opacity = 0
    end
      @fade_in = true
      return
    end
    if self.visible
      @fade_out = true
      self.opacity -= 48
      if self.opacity == 0
        self.visible = false
        @fade_out = false
        $game_temp.message_window_showing = false
      end
      return
    end
  end
  #--------------------------------------------------------------------------
  # ● 获得字符
  #--------------------------------------------------------------------------
  def get_character(parameter)
    case parameter
    when 0
      return $game_player
    else
      events = $game_map.events
      return events == nil ? nil : events[parameter]
    end
  end
  #--------------------------------------------------------------------------
  # ● ウィンドウの位置と不透明度の設定
  #--------------------------------------------------------------------------
  def reset_window
    # 判定
    if @k_tale != nil  
      @k_tale.dispose
      @k_tale = nil
    end
    if @popchar >= 0
      events = $game_map.events
      if events != nil
        character = get_character(@popchar)
        x = [[character.screen_x - 0 - self.width / 2, 4].max, 636 - self.width].min
        y = [[character.screen_y - 48 - self.height, 4].max, 476 - self.height].min
        self.x = x
        self.y = y
       #kk
        @k_tale = Sprite.new
        @k_tale.bitmap = RPG::Cache.windowskin("001-Blue01-top")
        @k_tale.x = ( character.real_x - $game_map.display_x + 64 ) * 32 / 128 - 16
        @k_tale.y = self.y + self.height - 16
        @k_tale.z = 9999
        if @left_picture != nil and !@left_picture.disposed?
          @left_picture.x = x+8
          @left_picture.y = y - @left_picture.bitmap.height + self.height - 8
          @left_picture.z += self.z
        end
        if @right_picture != nil and !@right_picture.disposed?
          @right_picture.x = x+self.width-@right_picture.bitmap.width-8
          @right_picture.y = y - @right_picture.bitmap.height + self.height - 8
          @right_picture.z += self.z
        end
      end
    elsif @popchar == -1
      self.x = -4
      self.y = -4
      self.width = 648
      self.height = 488
    else
      if $game_temp.in_battle
        self.y = 16
      else
        case $game_system.message_position
        when 0 # 上
          self.y = 16
        when 1 # 中
          self.y = 160
        when 2 # 下
          self.y = 304
        end
        self.x = 320-self.width/2#80
        if @face_file == nil
          self.width = 480*0.8
        else
          self.width = 600
          self.x -= 60
        end
        self.height = 160*0.8
      end
    end
    self.contents = Bitmap.new(self.width - 32, self.height - 32)
    if @face_file != nil
      self.contents.blt(16, 16, RPG::Cache.picture(@face_file), Rect.new(0, 0, 96, 96))
    end
    if @popchar == -1
      self.opacity = 255
      self.back_opacity = 0
    elsif $game_system.message_frame == 0
      self.opacity = 255
      self.back_opacity = 200
    else
      self.opacity = 0
      self.back_opacity = 200
    end
  end
  #--------------------------------------------------------------------------
  # ● line_height
  #--------------------------------------------------------------------------
  # 返回値:行高
  #--------------------------------------------------------------------------
  def line_height
    return 20
    if self.contents.font.size >= 20 and self.contents.font.size <= 24
      return 20
    else
      return self.contents.font.size * 15 / 10
    end
  end
  #--------------------------------------------------------------------------
  # ● 透過文字描画
  #--------------------------------------------------------------------------
  # target :描画対象。Bitmapクラスを指定。
  # x :x座標
  # y :y座標
  # str  :描画文字列
  # opacity:透過率(0~255)
  # 返回値 :文字幅(@x増加値)。
  #--------------------------------------------------------------------------
  def opacity_draw_text(target, x, y, str,opacity)
    height = target.font.size
    width = target.text_size(str).width
    opacity = [[opacity, 0].max, 255].min
    if opacity == 255
      target.draw_text(x, y, width, height, str)
      return width
    else
      if @opacity_text_buf.width < width or @opacity_text_buf.height < height
        @opacity_text_buf.dispose
        @opacity_text_buf = Bitmap.new(width, height)
      else
        @opacity_text_buf.clear
      end
      @opacity_text_buf.font.size = target.font.size
      @opacity_text_buf.draw_text(0, 0, width, height, str)
      target.blt(x, y, @opacity_text_buf, Rect.new(0, 0, width, height), opacity)
    return width
    end
  end
  def ruby_draw_text(target, x, y, str,opacity)
    sizeback = target.font.size
    target.font.size * 3 / 2 > 32 ? rubysize = 32 - target.font.size : rubysize = target.font.size / 2
    rubysize = [rubysize, 6].max
   
    opacity = [[opacity, 0].max, 255].min
    split_s = str.split(/,/)
   
    split_s[0] == nil ? split_s[0] = "" : nil
    split_s[1] == nil ? split_s[1] = "" : nil
   
    height = sizeback + rubysize
    width = target.text_size(split_s[0]).width
   
    target.font.size = rubysize
    ruby_width = target.text_size(split_s[1]).width
    target.font.size = sizeback
   
    buf_width = [target.text_size(split_s[0]).width, ruby_width].max
   
    width - ruby_width != 0 ? sub_x = (width - ruby_width) / 2 : sub_x = 0
   
    if opacity == 255
      target.font.size = rubysize
      target.draw_text(x + sub_x, y - target.font.size, target.text_size(split_s[1]).width, target.font.size, split_s[1])
      target.font.size = sizeback
      target.draw_text(x, y, width, target.font.size, split_s[0])
      return width
    else
      if @opacity_text_buf.width < buf_width or @opacity_text_buf.height < height
        @opacity_text_buf.dispose
        @opacity_text_buf = Bitmap.new(buf_width, height)
      else
        @opacity_text_buf.clear
      end
      @opacity_text_buf.font.size = rubysize
      @opacity_text_buf.draw_text(0 , 0, buf_width, rubysize, split_s[1], 1)
      @opacity_text_buf.font.size = sizeback
      @opacity_text_buf.draw_text(0 , rubysize, buf_width, sizeback, split_s[0], 1)
      if sub_x >= 0
        target.blt(x, y - rubysize, @opacity_text_buf, Rect.new(0, 0, buf_width, height), opacity)
      else
        target.blt(x + sub_x, y - rubysize, @opacity_text_buf, Rect.new(0, 0, buf_width, height), opacity)
      end
      return width
    end
  end
  #--------------------------------------------------------------------------
  # ● \V 变换
  #--------------------------------------------------------------------------
  def convart_value(option, index)
    option == nil ? option = "" : nil
    option.downcase!
    case option
      when "i"
        unless $data_items[index].name == nil
          r = sprintf("\030[%s]%s", $data_items[index].icon_name, $data_items[index].name)
        end
      when "w"
        unless $data_weapons[index].name == nil
          r = sprintf("\030[%s]%s", $data_weapons[index].icon_name, $data_weapons[index].name)
        end
      when "a"
        unless $data_armors[index].name == nil
          r = sprintf("\030[%s]%s", $data_armors[index].icon_name, $data_armors[index].name)
        end
      when "s"
        unless $data_skills[index].name == nil
          r = sprintf("\030[%s]%s", $data_skills[index].icon_name, $data_skills[index].name)
        end
      else
      r = $game_variables[index]
    end
    r == nil ? r = "" : nil
    return r
  end
  #--------------------------------------------------------------------------
  # ● 解放
  #--------------------------------------------------------------------------
  def dispose
    terminate_message
    if @gaiji_cache != nil
      unless @gaiji_cache.disposed?
        @gaiji_cache.dispose
      end
    end
    unless @opacity_text_buf.disposed?
      @opacity_text_buf.dispose
    end
    $game_temp.message_window_showing = false
    if @input_number_window != nil
      @input_number_window.dispose
    end
    super
  end
  #--------------------------------------------------------------------------
  # ● 矩形更新
  #--------------------------------------------------------------------------
  def update_cursor_rect
    if @index >= 0
      n = $game_temp.choice_start + @index
      self.cursor_rect.set(4 + @indent + @face_indent, n * 20 + 10, @cursor_width, 20)
    else
      self.cursor_rect.empty
    end
  end
end
#==============================================================================
# ■ Window_Frame (枠だけで中身の無いウィンドウ)
#==============================================================================
class Window_Frame < Window_Base
  #--------------------------------------------------------------------------
  # ● オブジェクト初期化
  #--------------------------------------------------------------------------
  def initialize(x, y, width, height)
    super(x, y, width, height)
    self.contents = nil
    self.back_opacity = 200
  end
  #--------------------------------------------------------------------------
  # ● 解放
  #--------------------------------------------------------------------------
  def dispose
    super
    end
  end
#==============================================================================
# ■ Air_Text (何も無いところに文字描写 = 枠の無い瞬間表示メッセージウィンドウ)
#==============================================================================
class Air_Text < Window_Base
  #--------------------------------------------------------------------------
  # ● オブジェクト初期化
  #--------------------------------------------------------------------------
  def initialize(x, y, designate_text)
    super(x-16, y-16, 32 + designate_text.size * 12, 56)
    self.opacity = 0
    self.back_opacity = 0
    self.contents = Bitmap.new(self.width - 32, self.height - 32)
    self.contents.font.size = 20
    w = self.contents.width
    h = self.contents.height
    self.contents.draw_text(0, 0, w, h, designate_text)
  end
  #--------------------------------------------------------------------------
  # ● 解放
  #--------------------------------------------------------------------------
  def dispose
    self.contents.clear
    super
  end
end

#==============================================================================
# 本脚本来自www.66RPG.com,使用和转载请保留此信息
#==============================================================================






顺便 附赠头像四个  - -

回答完毕。。。

    {:2_260:}
更多图片 小图 大图
组图打开中,请稍候......

点评

麻烦不要直接粘贴脚本,这些会跟论坛的@功能有响应,导致脚本不全,最好还是上传范例的方法。或者在脚本之前加一句@Person  发表于 2013-8-5 11:51
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
4 小时
注册时间
2013-8-4
帖子
5
4
 楼主| 发表于 2013-8-4 18:49:01 | 只看该作者
柒月舞日 发表于 2013-8-4 18:30
你怎么用这个脚本的。。。附上脚本一枚 截图两个 - -

#================================================ ...

万分感谢!!!话说头像怎么弄才能显示出来呀。。
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
23 小时
注册时间
2013-8-4
帖子
63
5
发表于 2013-8-4 18:52:55 | 只看该作者
看截图撒   \name[] 这个括号里是说话人的名称  \p[] 这里面填数字,到时候对话框出现在你填的数字号对应的事件人物头顶上。   \l (或者\r) [] 这个空填你的头像文件名字 后缀不用加上,后缀就是.jpg  .png ....懂吧? 还需要解释继续问。。。我的表达能力不怎么好。{:2_259:}
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
4 小时
注册时间
2013-8-4
帖子
5
6
 楼主| 发表于 2013-8-5 08:27:11 | 只看该作者
柒月舞日 发表于 2013-8-4 18:52
看截图撒   \name[] 这个括号里是说话人的名称  \p[] 这里面填数字,到时候对话框出现在你填的数字号对应的 ...

终于好了, 不过如果让对话框在下方显示的话头像位置怎么调呢?
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
23 小时
注册时间
2013-8-4
帖子
63
7
发表于 2013-8-5 10:34:49 | 只看该作者
大哥 - -    说白了 你还是想用你的那个FUKI么  。。。。我觉得这个就挺好的,你那个,我来试试吧,好了我给你回一个
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
4 小时
注册时间
2013-8-4
帖子
5
8
 楼主| 发表于 2013-8-5 10:49:02 | 只看该作者
柒月舞日 发表于 2013-8-5 10:34
大哥 - -    说白了 你还是想用你的那个FUKI么  。。。。我觉得这个就挺好的,你那个,我来试试吧,好了我 ...

TAT好的吧好的吧谢了
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
23 小时
注册时间
2013-8-4
帖子
63
9
发表于 2013-8-5 10:50:07 | 只看该作者
附上截图两个 还是 三个。。。

话说大哥你这是坑爹么,都没有文件,还好我以前用过这个脚本  缺少一个 voice.ogg 和一个  window.jpg  我还自己摆弄半天╮(╯_╰)╭ 唉

{:2_276:}

话说我觉得效果不咋地,而且超麻烦的,但是脚本本身的显示头像,我的确是弄不好,要是你觉得效果可以 就这么弄 不信的话就呼叫大神吧。。我帮你  !!

非连贴~~~非连贴~~~非连贴~~~呼叫大神~~~SOS!!{:2_260:}

呃,对了,还有工程   

QQ截图20130805104516.png (68.8 KB, 下载次数: 5)

缺少文件 - -||

缺少文件 - -||

对话演示.png (83.11 KB, 下载次数: 7)

效果。。。

效果。。。

用法.png (54.4 KB, 下载次数: 7)

用法

用法

对话.rar

230.44 KB, 下载次数: 56

工程。。自己看吧

评分

参与人数 1星屑 +154 收起 理由
弗雷德 + 154 认可答案

查看全部评分

回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
23 小时
注册时间
2013-8-4
帖子
63
10
发表于 2013-8-5 12:18:39 | 只看该作者
额。。。知道了,大叔。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-9-29 15:30

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表