
你生成的*.dsres文件路径是否跟原来的路径相同,你用tank viewer验收过没。举个例子吧,比如你解压的MOD的路径是world\contentdb\templates\interactive\GAS文件。到你修改后再用Tankcreator打包成*.dsres文件,就应该建立world\world\contentdb\templates\interactive\GAS文件,的文件夹路径。这样生成的*.dsres文件,就跟原来的路径相同,也是world\contentdb\templates\interactive\GAS文件,这样的*.dsres文件才能用。如果这都不行,就是你把代码改错了。//////////////////////////////////// Crafted Items - Act One (Normal) WEAPONS////////////这是开头的必要代码,是英文,翻译过来是:精心设计项目-法一(正常)武器一共有三个这种的开头,分别代表武器、盔甲、魔法饰品Crafted Items - Act One (Normal) ARMOR精心设计项目-法一(正常)盔甲Crafted Items - Act One (Normal) MAGIC!精心设计项目-法一(正常)神奇! 然后到具体是武器,还是盔甲,还是魔法饰品,就看自己喜欢了。现介绍武器吧。[t:template,n:wpn_a1_nor_crafted_1]{ specializes = base_sword_template; doc = "wpn_a1_nor_crafted_1"; [aspect] { model = m_w_misc_lance-evilsoldier-01; [textures] { 0 = b_w_misc_lance-evilsoldier-01; } gold_value = 1; //TAG=jmc_fixed// [t:template,n:wpn_a1_nor_crafted_1] use_pcontent_gold_value = false; }“template"是模板的意思,就是你选者要修改的武器在游戏中显示是哪一把。我这把是巨大的剑,其格式必须如此,那大括号是分隔符最重要。gold_value = 1,这是修改这把剑的价格,1在游戏里面是卖3块金币。不要改太高,我试过盖的太高,在游戏中显示时无价,不能买。[attack] { damage_min = 77777; damage_max = 88888; } “attack”攻击,就是你这把剑的攻击力[common] { screen_name = "~战神之光~"; base_screen_name = "中国制造"; rarity = unique; allow_modifiers = false; is_pcontent_allowed = false; } [gui] { equip_requirements = melee:#item_level - 8.0; inventory_icon = b_gui_ig_i_w_msc_lance-evilsoldier-01; inventory_width = 2; inventory_height =4; item_level = 1; }这里中文那里可以修改,就是在游戏中显示出来的,只有简体版可以显示中文,该城英语也没问题,有些你们应该看得懂其实是英文。[magic] { [enchantments] { [*] //增加智力 { alteration = alter_intelligence; value = 250; description = "持剑者增加250点的智力"; duration = #infinite; is_permanent = true; is_single_instance = false; }也是一样中文处是描述,value = 250,其数值可以随意修改,不要改得太夸张[*] //增加敏捷 { alteration = alter_dexterity; value = 250; description = "持剑者增加250点的敏捷"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*] //增加力量 { alteration = alter_strength; value = 500; description = "增加500点的力量"; duration = #infinite; is_permanent = true; is_single_instance = false; custom_effect = "stat_strength"; // must be unique to effect custom_effect_skrit = world\global\enchantments\weapon_enchant.skrit ?weapon_ffx = ffx_spell_str_bonus_sword; }在这“is_single_instance = false;”代码的下面是这把剑的视觉效果代码,就是在游戏中显示红色的光芒,有很多种视觉效果的代码,分别有:custom_effect = "melee_fire"; custom_effect_skrit = world\global\enchantments\weapon_enchant.skrit ?weapon_ffx = ffx_spell_fire_sword &hit_ffx = ffx_spell_fire_sword_hit;火焰效果custom_effect = "melee_lightning"; custom_effect_skrit = world\global\enchantments\weapon_enchant.skrit ?weapon_ffx = ffx_spell_lightning_sword &hit_ffx = ffx_spell_lightning_sword_hit;闪电效果custom_effect = "melee_ice"; custom_effect_skrit = world\global\enchantments\weapon_enchant.skrit ?weapon_ffx = ffx_spell_ice_sword &hit_ffx = ffx_spell_ice_sword_hit;冰冻效果 custom_effect = "melee_damage"; custom_effect_skrit = world\global\enchantments\weapon_enchant.skrit ?weapon_ffx = ffx_spell_damage_bonus_sword &hit_ffx = ffx_spell_damage_bonus_sword_hit;死亡魔法效果 custom_effect = "the_curving_stream"; custom_effect_skrit = world\global\enchantments\weapon_enchant.skrit ?weapon_ffx = ffx_wpn_the_curving_stream;环状湾流还是写完加载的可以元素先吧[*] //增加智力 { alteration = alter_intelligence; value = 250; description = "持剑者增加250点的智力"; duration = #infinite; is_permanent = true; is_single_instance = false; } [*] //每次击中恢复魔法 { alteration = alter_mana_bonus; value = 700; description = "每次击中敌人恢复700点法力"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*] //增加?%的魔法伤害抗性 { alteration = alter_magical_resistance; value = 1.00; description = "敌人魔法伤害100%低档"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*] //物理伤害反射 { alteration = alter_reflect_damage; value = 1000; description = "将敌人的物力攻击10倍奉还"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*] //增加最大生命 { alteration = alter_max_life; value = 1500; description = "持剑者增加1500点生命"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*] //增加最大魔法 { alteration = alter_max_mana; value = 1000; description = "持剑者增加1000点魔法"; duration = #infinite; is_permanent = true; is_single_instance = false; } [*] //每杀一个怪物加经验 { alteration = alter_experience_gained; value = 1000; description = "每杀死一个邪恶生物的经验增加10倍"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*] //增加魔法攻击力 { alteration = alter_cmagic_damage_percent; value = 500; description = "持剑者使用魔法时威力将提高5倍"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*] //增加物理攻击力 { alteration = alter_nmagic_damage_percent; value = 1000; description = "持剑者的物力攻击将提高10倍"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*] //增加魔法物品凋落几率 { alteration = alter_magic_find_chance; value = 1000; // Average value 100% description = "持剑者找到带有魔法属性的装备机率提高10倍"; duration = #infinite; is_permanent = true; is_single_instance = false; } [*] //增加近战技能 { alteration = ALTER_MELEE_PASSIVE_SKILLS; value = 20; description = "持剑者拥有战神的技能,近战技能加20级"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*] //增加远距技能 { alteration = ALTER_RANGED_PASSIVE_SKILLS; value = 20; description = "持剑者拥有猎神的技能,远距技能加20级"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*] //增加战斗魔法技能 { alteration = ALTER_COMBAT_MAGIC_PASSIVE_SKILLS; value = 20; description = "持剑者拥有恶魔的技能,战斗魔法加20级"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*] //增加自然魔法技能 { alteration = ALTER_NATURE_MAGIC_PASSIVE_SKILLS; value = 20; description = "持剑者拥有女娲的技能,自然魔法加20级"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*] //增加护甲 { alteration = alter_armor; value = 2500; description = "增加护甲2500点"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*] //增加生命回复力 { alteration = alter_life_recovery_unit; value = 100; description = "增加生命恢复力100%"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*] //增加魔法恢复力 { alteration = alter_mana_recovery_unit; value = 100; description = "增加魔法恢复力100%"; duration = #infinite; is_permanent = true; is_single_instance = false; } [*] //增加绝招恢复速度 { alteration = alter_power_reload; value = 50000; description = "每一下攻击都能恢复绝招"; duration = #infinite; is_permanent = true; is_single_instance = false; }[*]//增加伤害百分率 { alteration = alter_melee_damage_source_percent; value = 2.50; description = "+250% 伤害"; duration = #infinite; is_permanent = true; is_single_instance = false; custom_effect = "melee_skills"; custom_effect_skrit = world\global\enchantments\weapon_enchant.skrit ?weapon_ffx = ffx_spell_skill_bonus_sword; }[*]//每击中奖励生命值 { alteration = alter_life_bonus; value = 500; description = "Restores
