赞 | 273 |
VIP | 0 |
好人卡 | 0 |
积分 | 156 |
经验 | 515 |
最后登录 | 2024-5-29 |
在线时间 | 2091 小时 |
Lv4.逐梦者
- 梦石
- 1
- 星屑
- 14569
- 在线时间
- 2091 小时
- 注册时间
- 2017-9-28
- 帖子
- 662
|
论坛有theoallen脚本合集的汉化
- # =============================================================================
- # TheoAllen - 简单多边形状态
- # Version : 1.0
- # Contact : www.rpgmakerid.com (or) http://theolized.blogspot.com
- # (This script is translated by AbsoluteIce)
- # -----------------------------------------------------------------------------
- # Requires :
- # >> Theo - Bitmap Extra addons v2.0 or later
- # =============================================================================
- ($imported ||= {})[:Theo_PolygonStatus] = true
- # =============================================================================
- # CHANGE LOGS:
- # -----------------------------------------------------------------------------
- # 2013.06.06 - Finised script
- # =============================================================================
- =begin
- 介绍 :
- 本脚本可以在状态菜单中显示多边形能力值
-
- 安装方法 :
- 将本脚本放在插件脚本之下,Main之上,记得保存.
- 使用条款 :
- 署名脚本的作者为TheoAllen.别声明这个脚本是你自己写的.
- 注意 :
- 本脚本会改变RTP状态菜单的外观.
-
- =end
- # =============================================================================
- # 设定部分
- # =============================================================================
- module THEO
- module STATUS
- # =========================================================================
- Outline_Polygon_color = Color.new(255,255,255)
- Outline_Polygon_radius = 70
- # -------------------------------------------------------------------------
- # Color >> 多边形外部线条的颜色 (红,绿,蓝)
- # Radius >> 多边形外部的半径大小
- # =========================================================================
-
- # =========================================================================
- Params_Polygon_color = Color.new(0,255,0)
- Params_Polygon_radius = 60
- # -------------------------------------------------------------------------
- # Color >> 多边形描绘能力线条的颜色(红绿蓝)
- # Radius >> 多边形描绘内部能力的半径大小
- # =========================================================================
-
- end
- end
- # =============================================================================
- # 设定结束
- # =============================================================================
- class Game_Battler < Game_BattlerBase
-
- def params_array
- return [self.atk,self.def,self.mat,self.mdf,self.agi,self.luk]
- end
-
- end
- class Window_Status < Window_Selectable
- if $imported[:Theo_BitmapAddons]
- include THEO::STATUS
-
- def draw_parameters(x, y)
- contents.draw_shape_params(x+50,y+70,@actor.params_array,Params_Polygon_radius,
- Params_Polygon_color)
- contents.draw_polygon(x+50,y+70,@actor.params_array.size,Outline_Polygon_radius,
- Outline_Polygon_color)
- 6.times {|i| draw_actor_param(@actor, x+120, y + line_height * i, i + 2) }
- end
-
- def draw_actor_param(actor, x, y, param_id)
- change_color(system_color)
- draw_text(x, y, 120, line_height, Vocab::param(param_id))
- change_color(normal_color)
- draw_text(x + 60, y, 36, line_height, actor.param(param_id), 2)
- end
- end
- end
复制代码 |
|