赞 | 0 |
VIP | 1 |
好人卡 | 5 |
积分 | 1 |
经验 | 47515 |
最后登录 | 2024-9-13 |
在线时间 | 216 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 90
- 在线时间
- 216 小时
- 注册时间
- 2007-9-5
- 帖子
- 370
|
比如改1号武器的名字
$data_weapons[1].name = $game_actors[
1].name + "的" + $data_weapons[1].name
还要配合以下脚本插在MAIN之上:保存运行时数据库设定内容,否则存盘退出再读取进度的话名字又会恢复原样了
- class Scene_Save
- alias sailcat_write_save_data write_save_data
- def write_save_data(file)
- sailcat_write_save_data(file)
- # 写入数据库
- Marshal.dump($data_actors, file)
- Marshal.dump($data_classes, file)
- Marshal.dump($data_skills, file)
- Marshal.dump($data_items, file)
- Marshal.dump($data_weapons, file)
- Marshal.dump($data_armors, file)
- Marshal.dump($data_enemies, file)
- Marshal.dump($data_troops, file)
- Marshal.dump($data_states, file)
- Marshal.dump($data_animations, file)
- Marshal.dump($data_tilesets, file)
- Marshal.dump($data_common_events, file)
- Marshal.dump($data_system, file)
- end
- end
- class Scene_Load
- alias sailcat_read_save_data read_save_data
- def read_save_data(file)
- sailcat_read_save_data(file)
- $data_actors = Marshal.load(file)
- $data_classes = Marshal.load(file)
- $data_skills = Marshal.load(file)
- $data_items = Marshal.load(file)
- $data_weapons = Marshal.load(file)
- $data_armors = Marshal.load(file)
- $data_enemies = Marshal.load(file)
- $data_troops = Marshal.load(file)
- $data_states = Marshal.load(file)
- $data_animations = Marshal.load(file)
- $data_tilesets = Marshal.load(file)
- $data_common_events = Marshal.load(file)
- $data_system = Marshal.load(file)
- end
- end
复制代码
另外套装系统,我觉得这个是最好的了:新套装系统
http://rpg.blue/viewthread.php?tid=96384&ntime=2008%2D11%2D16+14%3A13%3A37
这个严重影响速度
http://rpg.blue/viewthread.php?tid=77752&ntime=2008%2D11%2D16+14%3A13%3A37
这个功能不够全
http://rpg.blue/viewthread.php?tid=53047&ntime=2008%2D11%2D16+14%3A13%3A37 系统信息:本贴获得楼主认可,66RPG感谢您的热情解答~ |
|