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

Project1

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

[已经解决] 存档继承脚本怎么使用

[复制链接]

Lv1.梦旅人

梦石
0
星屑
165
在线时间
479 小时
注册时间
2011-3-5
帖子
291
跳转到指定楼层
1
发表于 2014-7-27 18:36:22 | 只看该作者 回帖奖励 |正序浏览 |阅读模式

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

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

x
RUBY 代码复制
  1. #==============================================================================
  2. #
  3. # ▼ Yanfly Engine Ace - Save Engine Add-On: New Game+ v1.00
  4. # -- Last Updated: 2011.12.26
  5. # -- Level: Normal
  6. # -- Requires: YEA - Ace Save Engine v1.01+
  7. #
  8. #==============================================================================
  9.  
  10. $imported = {} if $imported.nil?
  11. $imported["YEA-NewGame+"] = true
  12.  
  13. #==============================================================================
  14. # ▼ Updates
  15. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  16. # 2011.12.26 - Started Script and Finished.
  17. #
  18. #==============================================================================
  19. # ▼ Introduction
  20. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  21. # New Game+ is a great way to provide replay value for your game. It lets the
  22. # player re-experience the game in a different way with either carried over
  23. # items, to carried over party members, to carried over skills, switches, and
  24. # variables even. There exists many options to change how New Game+ will work
  25. # for your game.
  26. #
  27. #==============================================================================
  28. # ▼ Instructions
  29. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  30. # To install this script, open up your script editor and copy/paste this script
  31. # to an open slot below ▼ Materials/素材 but above ▼ Main. Remember to save.
  32. #
  33. # -----------------------------------------------------------------------------
  34. # Item Notetags - These notetags go in the items notebox in the database.
  35. # -----------------------------------------------------------------------------
  36. # <no carry over>
  37. # This will cause this specific item to not carry over in New Game+ if the item
  38. # can be carried over. This does not affect any items that actors may have
  39. # equipped.
  40. #
  41. # -----------------------------------------------------------------------------
  42. # Weapon Notetags - These notetags go in the weapons notebox in the database.
  43. # -----------------------------------------------------------------------------
  44. # <no carry over>
  45. # This will cause this specific item to not carry over in New Game+ if the item
  46. # can be carried over. This does not affect any items that actors may have
  47. # equipped.
  48. #
  49. # -----------------------------------------------------------------------------
  50. # Armour Notetags - These notetags go in the armours notebox in the database.
  51. # -----------------------------------------------------------------------------
  52. # <no carry over>
  53. # This will cause this specific item to not carry over in New Game+ if the item
  54. # can be carried over. This does not affect any items that actors may have
  55. # equipped.
  56. #
  57. #==============================================================================
  58. # ▼ Compatibility
  59. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  60. # This script is made strictly for RPG Maker VX Ace. It is highly unlikely that
  61. # it will run with RPG Maker VX without adjusting.
  62. #
  63. # This script requires Yanfly Engine Ace - Ace Save Engine v1.01+ and the
  64. # script must be placed under Ace Save Engine in the script listing.
  65. #
  66. #==============================================================================
  67.  
  68. module YEA
  69.   module NEW_GAME_PLUS
  70.  
  71.     #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  72.     # - General Settings -
  73.     #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  74.     # Description
  75.     #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  76.     NGP_SWITCH = 203           # If Switch ON, the game file has NG+ flag.
  77.     NGP_TEXT   = "周目"   # Text used to show New Game+.
  78.  
  79.     # This is the help window text used for New Game+ when the New Game+
  80.     # option is highlighted.
  81.     NGP_HELP   = "继承新存档."
  82.  
  83.     #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  84.     # - Carry Over Settings -
  85.     #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  86.     # These settings adjust what carries over and what doesn't. These settings
  87.     # are very specific so adjust them carefully.
  88.     #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  89.     # This array contains all of the switches that you want carried over to
  90.     # be maintained. Any switches that aren't here will be set false.
  91.     CARRY_OVER_SWITCHES = [3, 6, 7,12,15,16,17,18]
  92.  
  93.     # This array contains all of the variables that you want carried over to
  94.     # be maintained. Any variables that aren't here will be set to 0.
  95.     CARRY_OVER_VARIABLES = [1,2,3,4,5]
  96.  
  97.     # If this is set to false, then actors will be completely reset back to
  98.     # their original starting states. If it's set to true, then actors will
  99.     # be kept exactly as they are.
  100.     CARRY_OVER_ACTORS = true
  101.  
  102.     # These settings are only used if actors will be carried over. With this,
  103.     # you can limit what specifics will be carried over for actors from levels
  104.     # to equips to skills.
  105.     CARRY_OVER_LEVELS = true
  106.     CARRY_OVER_EQUIPS = true
  107.     CARRY_OVER_SKILLS = true
  108.  
  109.     # If this is set to false, then the party members will revert back to the
  110.     # original starting party members. If it's true, then the party setup will
  111.     # remain exactly the same.
  112.     CARRY_OVER_PARTY_MEMBERS = true
  113.  
  114.     # If any of these are set to false, then no items, weapons, or armours will
  115.     # be carried over. If it's set to true, then the respective items will be
  116.     # carried over to the newer game.
  117.     CARRY_OVER_GOLD    = true
  118.     CARRY_OVER_ITEMS   = true
  119.     CARRY_OVER_WEAPONS = true
  120.     CARRY_OVER_ARMOURS = true
  121.  
  122.   end # NEW_GAME_PLUS
  123. end # YEA
  124.  
  125. #==============================================================================
  126. # ▼ Editting anything past this point may potentially result in causing
  127. # computer damage, incontinence, explosion of user's head, coma, death, and/or
  128. # halitosis so edit at your own risk.
  129. #==============================================================================
  130.  
  131. if $imported["YEA-SaveEngine"]
  132.  
  133. module YEA
  134.   module NEW_GAME_PLUS
  135.     module_function
  136.     #--------------------------------------------------------------------------
  137.     # convert_integer_array
  138.     #--------------------------------------------------------------------------
  139.     def convert_integer_array(array)
  140.       result = []
  141.       array.each { |i|
  142.         case i
  143.         when Range; result |= i.to_a
  144.         when Integer; result |= [i]
  145.         end }
  146.       return result
  147.     end
  148.     #--------------------------------------------------------------------------
  149.     # converted_contants
  150.     #--------------------------------------------------------------------------
  151.     CARRY_OVER_SWITCHES = convert_integer_array(CARRY_OVER_SWITCHES)
  152.     CARRY_OVER_VARIABLES = convert_integer_array(CARRY_OVER_VARIABLES)
  153.   end # NEW_GAME_PLUS
  154.   module REGEXP
  155.   module BASEITEM
  156.  
  157.     NO_CARRY_OVER = /<(?:NO_CARRY_OVER|no carry over)>/i
  158.  
  159.   end # BASEITEM
  160.   end # REGEXP
  161. end # YEA
  162.  
  163. #==============================================================================
  164. # ■ DataManager
  165. #==============================================================================
  166.  
  167. module DataManager
  168.  
  169.   #--------------------------------------------------------------------------
  170.   # alias method: load_database
  171.   #--------------------------------------------------------------------------
  172.   class <<self; alias load_database_ngp load_database; end
  173.   def self.load_database
  174.     load_database_ngp
  175.     load_notetags_ngp
  176.   end
  177.  
  178.   #--------------------------------------------------------------------------
  179.   # new method: load_notetags_ngp
  180.   #--------------------------------------------------------------------------
  181.   def self.load_notetags_ngp
  182.     groups = [$data_items, $data_weapons, $data_armors]
  183.     for group in groups
  184.       for obj in group
  185.         next if obj.nil?
  186.         obj.load_notetags_ngp
  187.       end
  188.     end
  189.   end
  190.  
  191. end # DataManager
  192.  
  193. #==============================================================================
  194. # ■ RPG::BaseItem
  195. #==============================================================================
  196.  
  197. class RPG::BaseItem
  198.  
  199.   #--------------------------------------------------------------------------
  200.   # public instance variables
  201.   #--------------------------------------------------------------------------
  202.   attr_accessor :no_carry_over
  203.  
  204.   #--------------------------------------------------------------------------
  205.   # common cache: load_notetags_ngp
  206.   #--------------------------------------------------------------------------
  207.   def load_notetags_ngp
  208.     @no_carry_over = false
  209.     #---
  210.     self.note.split(/[\r\n]+/).each { |line|
  211.       case line
  212.       #---
  213.       when YEA::REGEXP::BASEITEM::NO_CARRY_OVER
  214.         @no_carry_over = true
  215.       end
  216.     } # self.note.split
  217.     #---
  218.   end
  219.  
  220. end # RPG::BaseItem
  221.  
  222. #==============================================================================
  223. # ■ Switch
  224. #==============================================================================
  225.  
  226. module Switch
  227.  
  228.   #--------------------------------------------------------------------------
  229.   # self.new_game_plus
  230.   #--------------------------------------------------------------------------
  231.   def self.new_game_plus
  232.     return $game_switches[YEA::NEW_GAME_PLUS::NGP_SWITCH]
  233.   end
  234.  
  235. end # Switch
  236.  
  237. #==============================================================================
  238. # ■ DataManager
  239. #==============================================================================
  240.  
  241. module DataManager
  242.  
  243.   #--------------------------------------------------------------------------
  244.   # new method: setup_new_game_plus
  245.   #--------------------------------------------------------------------------
  246.   def self.setup_new_game_plus(index)
  247.     create_new_game_plus_objects(index)
  248.     $game_map.setup($data_system.start_map_id)
  249.     $game_player.moveto($data_system.start_x, $data_system.start_y)
  250.     $game_player.refresh
  251.     Graphics.frame_count = 0
  252.   end
  253.  
  254.   #--------------------------------------------------------------------------
  255.   # new method: create_new_game_plus_objects
  256.   #--------------------------------------------------------------------------
  257.   def self.create_new_game_plus_objects(index)
  258.     load_game_without_rescue(index)
  259.     ngp_reset_switches
  260.     ngp_reset_variables
  261.     ngp_reset_self_switches
  262.     ngp_reset_actors
  263.     ngp_reset_party
  264.   end
  265.  
  266.   #--------------------------------------------------------------------------
  267.   # new method: ngp_reset_switches
  268.   #--------------------------------------------------------------------------
  269.   def self.ngp_reset_switches
  270.     for i in 0...$data_system.switches.size
  271.       next if i <= 0
  272.       next if YEA::NEW_GAME_PLUS::CARRY_OVER_SWITCHES.include?(i)
  273.       $game_switches[i] = false
  274.     end
  275.   end
  276.  
  277.   #--------------------------------------------------------------------------
  278.   # new method: ngp_reset_variables
  279.   #--------------------------------------------------------------------------
  280.   def self.ngp_reset_variables
  281.     for i in 0...$data_system.variables.size
  282.       next if i <= 0
  283.       next if YEA::NEW_GAME_PLUS::CARRY_OVER_VARIABLES.include?(i)
  284.       $game_variables[i] = 0
  285.     end
  286.   end
  287.  
  288.   #--------------------------------------------------------------------------
  289.   # new method: ngp_reset_self_switches
  290.   #--------------------------------------------------------------------------
  291.   def self.ngp_reset_self_switches
  292.     $game_self_switches = Game_SelfSwitches.new
  293.   end
  294.  
  295.   #--------------------------------------------------------------------------
  296.   # new method: ngp_reset_actors
  297.   #--------------------------------------------------------------------------
  298.   def self.ngp_reset_actors
  299.     unless YEA::NEW_GAME_PLUS::CARRY_OVER_ACTORS
  300.       $game_actors = Game_Actors.new
  301.     else
  302.       #---
  303.       unless YEA::NEW_GAME_PLUS::CARRY_OVER_LEVELS
  304.         for i in 0...$data_actors.size
  305.           actor = $game_actors[i]
  306.           next if actor.nil?
  307.           actor.new_game_plus_levels
  308.         end
  309.       end
  310.       #---
  311.       unless YEA::NEW_GAME_PLUS::CARRY_OVER_EQUIPS
  312.         for i in 0...$data_actors.size
  313.           actor = $game_actors[i]
  314.           next if actor.nil?
  315.           actor.new_game_plus_equips
  316.         end
  317.       end
  318.       #---
  319.       unless YEA::NEW_GAME_PLUS::CARRY_OVER_SKILLS
  320.         for i in 0...$data_actors.size
  321.           actor = $game_actors[i]
  322.           next if actor.nil?
  323.           actor.new_game_plus_skills
  324.         end
  325.       end
  326.       #---
  327.     end
  328.   end
  329.  
  330.   #--------------------------------------------------------------------------
  331.   # new method: ngp_reset_party
  332.   #--------------------------------------------------------------------------
  333.   def self.ngp_reset_party
  334.     gold = 0
  335.     items = {}
  336.     members = []
  337.     #---
  338.     if YEA::NEW_GAME_PLUS::CARRY_OVER_PARTY_MEMBERS
  339.       for member in $game_party.members
  340.         members.push(member.id)
  341.       end
  342.     end
  343.     #---
  344.     gold = $game_party.gold if YEA::NEW_GAME_PLUS::CARRY_OVER_GOLD
  345.     #---
  346.     if YEA::NEW_GAME_PLUS::CARRY_OVER_ITEMS
  347.       for item in $data_items
  348.         next if item.nil?
  349.         next if item.no_carry_over
  350.         items[item] = $game_party.item_number(item)
  351.       end
  352.     end
  353.     #---
  354.     if YEA::NEW_GAME_PLUS::CARRY_OVER_WEAPONS
  355.       for item in $data_weapons
  356.         next if item.nil?
  357.         next if item.no_carry_over
  358.         items[item] = $game_party.item_number(item)
  359.       end
  360.     end
  361.     #---
  362.     if YEA::NEW_GAME_PLUS::CARRY_OVER_ARMOURS
  363.       for item in $data_armors
  364.         next if item.nil?
  365.         next if item.no_carry_over
  366.         items[item] = $game_party.item_number(item)
  367.       end
  368.     end
  369.     #---
  370.     $game_party = Game_Party.new
  371.     unless YEA::NEW_GAME_PLUS::CARRY_OVER_PARTY_MEMBERS
  372.       $game_party.setup_starting_members
  373.     end
  374.     #---
  375.     for member_id in members
  376.       $game_party.add_actor(member_id)
  377.     end
  378.     $game_party.gain_gold(gold)
  379.     for key in items
  380.       item = key[0]
  381.       next if item.nil?
  382.       $game_party.gain_item(item, key[1])
  383.     end
  384.   end
  385.  
  386. end # DataManager
  387.  
  388. #==============================================================================
  389. # ■ Game_Actor
  390. #==============================================================================
  391.  
  392. class Game_Actor < Game_Battler
  393.  
  394.   #--------------------------------------------------------------------------
  395.   # new method: new_game_plus_levels
  396.   #--------------------------------------------------------------------------
  397.   def new_game_plus_levels
  398.     @class_id = actor.class_id
  399.     @level = actor.initial_level
  400.     @exp = {}
  401.     if $imported["YEA-ClassSystem"]
  402.       init_unlocked_classes
  403.       init_subclass
  404.     end
  405.     clear_param_plus
  406.     init_exp
  407.     refresh
  408.   end
  409.  
  410.   #--------------------------------------------------------------------------
  411.   # new method: new_game_plus_equips
  412.   #--------------------------------------------------------------------------
  413.   def new_game_plus_equips
  414.     init_equips(actor.equips)
  415.   end
  416.  
  417.   #--------------------------------------------------------------------------
  418.   # new method: new_game_plus_skills
  419.   #--------------------------------------------------------------------------
  420.   def new_game_plus_skills
  421.     init_skills
  422.   end
  423.  
  424. end # Game_Actor
  425.  
  426. #==============================================================================
  427. # ■ Window_FileAction
  428. #==============================================================================
  429.  
  430. class Window_FileAction < Window_HorzCommand
  431.  
  432.   #--------------------------------------------------------------------------
  433.   # alias method: add_load_command
  434.   #--------------------------------------------------------------------------
  435.   alias add_load_command_ngp add_load_command
  436.   def add_load_command
  437.     if new_game_plus?
  438.       add_command(YEA::NEW_GAME_PLUS::NGP_TEXT, :new_game_plus)
  439.     else
  440.       add_load_command_ngp
  441.     end
  442.   end
  443.  
  444.   #--------------------------------------------------------------------------
  445.   # new method: new_game_plus?
  446.   #--------------------------------------------------------------------------
  447.   def new_game_plus?
  448.     return false if @header.nil?
  449.     return false if @header[:switches].nil?
  450.     return @header[:switches][YEA::NEW_GAME_PLUS::NGP_SWITCH]
  451.   end
  452.  
  453.   #--------------------------------------------------------------------------
  454.   # alias method: update_help
  455.   #--------------------------------------------------------------------------
  456.   alias update_help_ngp update_help
  457.   def update_help
  458.     case current_symbol
  459.     when :new_game_plus; @help_window.set_text(YEA::NEW_GAME_PLUS::NGP_HELP)
  460.     else; update_help_ngp
  461.     end
  462.   end
  463.  
  464. end # Window_FileAction
  465.  
  466. #==============================================================================
  467. # ■ Scene_File
  468. #==============================================================================
  469.  
  470. class Scene_File < Scene_MenuBase
  471.  
  472.   #--------------------------------------------------------------------------
  473.   # alias method: create_action_window
  474.   #--------------------------------------------------------------------------
  475.   alias create_action_window_ngp create_action_window
  476.   def create_action_window
  477.     create_action_window_ngp
  478.     @action_window.set_handler(:new_game_plus, method(:on_action_ngp))
  479.   end
  480.  
  481.   #--------------------------------------------------------------------------
  482.   # new method: on_action_ngp
  483.   #--------------------------------------------------------------------------
  484.   def on_action_ngp
  485.     Sound.play_load
  486.     DataManager.setup_new_game_plus(@file_window.index)
  487.     fadeout_all
  488.     $game_system.on_after_load
  489.     SceneManager.goto(Scene_Map)
  490.   end
  491.  
  492. end # Scene_File
  493.  
  494. end # $imported["YEA-SaveEngine"]
  495.  
  496. #==============================================================================
  497. #
  498. # ▼ End of File
  499. #
  500. #==============================================================================
头像被屏蔽

Lv-1.咸鱼

梦石
0
星屑
-990
在线时间
11 小时
注册时间
2022-3-14
帖子
6
受到警告 7
发表于 2022-4-16 14:14:01 | 只看该作者
提示: 该帖被管理员或版主屏蔽
回复 支持 反对

使用道具 举报

Lv2.观梦者

梦石
0
星屑
814
在线时间
122 小时
注册时间
2018-7-23
帖子
114
6
发表于 2021-4-15 21:09:32 | 只看该作者
喵呜喵5 发表于 2014-7-27 19:43
#==============================================================================
#
# ▼ 养肥系统 Ace ...

头大了,就算翻译过来,真的普通人看得懂。。问题是,他的那个前置脚本哪里找?
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
165
在线时间
479 小时
注册时间
2011-3-5
帖子
291
5
 楼主| 发表于 2014-7-29 13:09:51 | 只看该作者
weeeyu 发表于 2014-7-28 22:25
看看嘛V型从V刹消息称

@taroxd 这里有人无意义回复。顺便帮我结个帖撒。

点评

早就结掉啦~  发表于 2014-7-29 13:22
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
60
在线时间
120 小时
注册时间
2013-1-15
帖子
18
4
发表于 2014-7-28 22:25:57 | 只看该作者
看看嘛V型从V刹消息称

评分

参与人数 1星屑 -50 收起 理由
taroxd -50 灌水

查看全部评分

回复 支持 0 反对 1

使用道具 举报

Lv5.捕梦者 (暗夜天使)

只有笨蛋才会看到

梦石
1
星屑
21696
在线时间
9421 小时
注册时间
2012-6-19
帖子
7119

开拓者短篇九导演组冠军

3
发表于 2014-7-27 19:43:08 | 只看该作者
本帖最后由 喵呜喵5 于 2014-7-27 19:51 编辑

RUBY 代码复制
  1. #==============================================================================
  2. #
  3. # ▼ 养肥系统 AceEngine Ace - 存档系统插件: 开始新游戏增强 v1.00
  4. # -- 最终更新: 2011.12.26
  5. # -- 等级: 普通人能够用的脚本
  6. # -- 要求插入脚本: YEA - Ace Save Engine v1.01+
  7. # -- 无节操的顺手翻译: 喵呜喵5
  8. #
  9. #==============================================================================
  10.  
  11. $imported = {} if $imported.nil?
  12. $imported["YEA-NewGame+"] = true
  13.  
  14. #==============================================================================
  15. # ▼ 更新日志
  16. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  17. # 2011.12.26 - 开始写并且写完了~#
  18. #==============================================================================
  19. # ▼ 介绍
  20. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  21. # 这脚本能够实现继承存档的功能,详细的说明太长懒得翻译
  22. #
  23. #==============================================================================
  24. # ▼ 使用方法
  25. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  26. # 脚本扔到▼ Materials/素材 下 ▼ Main 以上
  27. # 记得保存,总之就是个没啥特殊用法的脚本啦
  28. #
  29. # -----------------------------------------------------------------------------
  30. # 物品备注 - 如果把下面的<no carry over>扔到对应物品的备注栏里
  31. # -----------------------------------------------------------------------------
  32. # <no carry over>
  33. #
  34. # 就不会被继承到新游戏中了
  35. #
  36. # -----------------------------------------------------------------------------
  37. # 武器备注 - 同上
  38. # -----------------------------------------------------------------------------
  39. # <no carry over>
  40. #
  41. # -----------------------------------------------------------------------------
  42. # 防具备注 - 同上
  43. # -----------------------------------------------------------------------------
  44. # <no carry over>
  45. #
  46. #==============================================================================
  47. # ▼ 注意
  48. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  49. # 这是VA脚本不是VX脚本#
  50. #
  51. # 这脚本还需要养肥引擎脚本Yanfly Engine Ace - Ace Save Engine v1.01+
  52. # 并且在编辑器中的位置必须比引擎脚本更下
  53. #
  54. #==============================================================================
  55.  
  56. module YEA
  57.   module NEW_GAME_PLUS
  58.  
  59.     #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  60.     # - 普通设置 -
  61.     #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  62.     # 帮助文字
  63.     #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  64.     NGP_SWITCH = 203      # 开关打开的时候存档将显示周目标志.
  65.     NGP_TEXT   = "周目"   # 显示周目标志的文字.
  66.  
  67.     # 能够继承存档的时候帮助窗口的提示文字   
  68.     NGP_HELP   = "继承新存档."
  69.  
  70.     #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  71.     # - 需要继承的内容 -
  72.     #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  73.     # 看清楚了再设置
  74.     #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  75.     # 需要继承的开关
  76.     CARRY_OVER_SWITCHES = [3, 6, 7,12,15,16,17,18]
  77.  
  78.     # 需要继承的变量
  79.     CARRY_OVER_VARIABLES = [1,2,3,4,5]
  80.  
  81.     # 设置成 false 的话不继承角色信息
  82.     CARRY_OVER_ACTORS = true
  83.  
  84.     # 继承角色等级、继承角色装备、继承角色技能
  85.     # 上面那个角色信息不继承的话这下面三个也继承不了
  86.     CARRY_OVER_LEVELS = true
  87.     CARRY_OVER_EQUIPS = true
  88.     CARRY_OVER_SKILLS = true
  89.  
  90.     # 继承队伍成员
  91.     CARRY_OVER_PARTY_MEMBERS = true
  92.  
  93.     # 继承金钱、物品、道具、装备
  94.     CARRY_OVER_GOLD    = true
  95.     CARRY_OVER_ITEMS   = true
  96.     CARRY_OVER_WEAPONS = true
  97.     CARRY_OVER_ARMOURS = true
  98.  
  99.   end # 别理这行
  100. end # 也别理这行
  101.  
  102. #==============================================================================
  103. # ▼ 看不懂的话就别碰这以下的脚本了
  104. #==============================================================================

点评

喵大人蟹蟹w感激不尽!  发表于 2014-7-27 19:54

评分

参与人数 2星屑 +200 梦石 +1 收起 理由
VIPArcher + 100 (ΦωΦ)养肥系统
taroxd + 100 + 1 认可答案

查看全部评分

回复 支持 反对

使用道具 举报

Lv3.寻梦者 (版主)

…あたしは天使なんかじゃないわ

梦石
0
星屑
2208
在线时间
4033 小时
注册时间
2010-10-4
帖子
10779

开拓者贵宾

2
发表于 2014-7-27 18:45:19 | 只看该作者
插入Main以上,插件脚本以下。
脚本中根据说明设置好即可

点评

什么,结贴了=口=!?  发表于 2014-7-27 19:45
给我结贴吧 QAQ  发表于 2014-7-27 19:40
插入Main以上,插件脚本以下。  发表于 2014-7-27 19:36
...我是说如何使用 不是说看不懂说明的意思QAQ  发表于 2014-7-27 19:23
好好学英语,Please~  发表于 2014-7-27 19:04
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

GMT+8, 2024-11-27 21:02

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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