| 赞 | 425 |
| VIP | |
| 好人卡 | |
| 积分 | 422 |
| 经验 | |
| 最后登录 | 2026-8-20 |
| 在线时间 | 6017 小时 |
- 梦石
- 0
- 星屑
- 42235
- 在线时间
- 6017 小时
- 注册时间
- 2006-11-10
- 回帖
- 6966
|
发表于 2008-6-16 02:31:36
|
显示全部楼层
在Window_Base中找到这个。
def text_color(n)
case n
when 0
return Color.new(255, 255, 255, 255)
when 1
return Color.new(128, 128, 255, 255)
when 2
return Color.new(255, 128, 128, 255)
when 3
return Color.new(128, 255, 128, 255)
when 4
return Color.new(128, 255, 255, 255)
when 5
return Color.new(255, 128, 255, 255)
when 6
return Color.new(255, 255, 128, 255)
when 7
return Color.new(192, 192, 192, 255)
else
normal_color
end
end
挑个自己不用的颜色把括号里的换成(0,0,0,255) 就是黑色的了。
或者添加when 8,不过比较麻烦些。
或者,把这个
def normal_color
return Color.new(255, 255, 255, 255)
end
改成
def normal_color
return Color.new(0,0,0, 255)
end
默认使用的就是黑色的字。如果后面的脚本有重新定义normal_color。那就改后面的def normal_color。
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|