本帖最后由 maijiaosuan 于 2011-3-27 21:22 编辑
RT
需使用GFF存档修改器
属性代码如下,已做简单归类
力量 1000 (Passive): Attribute - Strength
敏捷 1001 (Passive): Attribute - Dexterity
魔法 1002 (Passive): Attribute - Magic
狡诈 1003 (Passive): Attribute - Cunning
灵力 1004 (Passive): Attribute - Willpower
体质 1005 (Passive): Attribute - Constitution
全属性+1 1006 (Passive): Attribute - All 提高增加HP 1100 (Passive): Property - Health
提高增加MP 1101 (Passive): Property - Mana
提高精准 1102 (Passive): Property - Attack
提高防御 1103 (Passive): Property - Defense
提高体力 1104 (Passive): Property - Stamina
提高暴击率 1105 (Passive): Property - Critical Chance
提高暴击伤害 1106 (Passive): Property - Damage Factor - Critical
战斗HP自动恢复1110 (Passive): Property - Health Regen
战斗MP自动恢复1111 (Passive): Property - Mana Regen
战斗体力自动恢复1121 (Passive): Property - Stamina Regen
血魔法HP/MP转换比率 1122 (Passive): Property - Bloodmage Cost
武器攻速1123 (Passive): Property - Attack Speed
符文镶嵌槽8000 (Rune): Rune Slot 装备类型
重甲 1107 (Passive): Property - Armor (Metal)
皮甲 1108 (Passive): Property - Armor (Leather)
布衣 1109 (Passive): Property - Armor (Cloth) 武器基本类型 攻击方式 与 各种限制
双手剑 3000 (Restriction): Style - Two-Handed Weapon Style
双刀流 3001 (Restriction): Style - Dual Wield Style
法杖 3002 (Restriction): Style - Staff
剑盾 3003 (Restriction): Style - Weapon and Shield Style
弓手 3004 (Restriction): Style - Archery Style 装备限制
种族
人类 3100 (Restriction): Race - Human
矮人 3101 (Restriction): Race - Dwarf
精灵 3102 (Restriction): Race - Elf
昆族 3103 (Restriction): Race - Qunari 属性限制
3200 (Restriction): Attribute - Strength [Primary]
3201 (Restriction): Attribute - Dexterity [Primary]
3202 (Restriction): Attribute - Magic [Primary]
3203 (Restriction): Attribute - Cunning [Primary]
3204 (Restriction): Attribute - Willpower [Primary]
3205 (Restriction): Attribute - Constitution [Primary]
3210 (Restriction): Attribute - Strength [Secondary]
3211 (Restriction): Attribute - Dexterity [Secondary]
3212 (Restriction): Attribute - Magic [Secondary]
3213 (Restriction): Attribute - Cunning [Secondary]
3214 (Restriction): Attribute - Willpower [Secondary]
3215 (Restriction): Attribute - Constitution [Secondary] 人物使用限制
3300 (Restriction): Player
3400 (Restriction): Follower - Anders
3401 (Restriction): Follower - Aveline
3402 (Restriction): Follower - Bethany
3403 (Restriction): Follower - Carver
3404 (Restriction): Follower - Fenris
3405 (Restriction): Follower - Isabella
3406 (Restriction): Follower - Merril
3407 (Restriction): Follower - Varric
3408 (Restriction): Follower - Sebastian 职业使用限制
3500 (Restriction): Class - Warrior
3501 (Restriction): Class - Rogue
3502 (Restriction): Class - Mage
3510 (Restriction): Class - Warrior or Rogue
3600 (Restriction): Spec - Spirithealer
3601 (Restriction): Spec - Bloodmage
3602 (Restriction): Spec - Forcemage
3604 (Restriction): Spec - Shadow
3605 (Restriction): Spec - Duelist
3606 (Restriction): Spec - Assassin
3608 (Restriction): Spec - Templar
3609 (Restriction): Spec - Reaver
3610 (Restriction): Spec - Berserker 等级使用限制
3700 (Restriction): Level
3701 (Restriction): Level [-2]
3702 (Restriction): Level [-4]
3703 (Restriction): Level [-6]
3704 (Restriction): Level [-8]
3705 (Restriction): Level [-10] 状态使用限制
满HP 3800 (Restriction): Status - Full Health (……比如血瓶)
非满HP 3801 (Restriction): Status - Not Full Health
满体力 3802 (Restriction): Status - Full Mana/Stamina
非满体力 3803 (Restriction): Status - Not Full Mana/Stamina
受伤 3804 (Restriction): Status - Injured (比如医疗包)
未受伤 3805 (Restriction): Status - Not Injured
战斗中 3806 (Restriction): Status – Combat
非战斗中 3807 (Restriction): Status - Not Combat
非满HP/MP 3850 (Restriction): Status - Not Full Health OR Not Full Mana/Stamina
非满HP/受伤 3851 (Restriction): Status - Not Full Health OR Injured 物品基本属性(用来限定该物品是什么,及装备在哪个位置)
战士单手5000 (Base Item): Weapon - Warrior - One-Handed
战士双手5100 (Base Item): Weapon - Warrior - Two-Handed
盗贼双武5200 (Base Item): Weapon - Rogue - Dual Wield
盗贼弓5300 (Base Item): Weapon - Rogue - Bow
法师杖5400 (Base Item): Weapon - Mage - Staff
重甲5500 (Base Item): Armor - Heavy
中甲5501 (Base Item): Armor - Medium
轻甲5502 (Base Item): Armor - Light
项链5600 (Base Item): Accessory - Amulet
戒指5610 (Base Item): Accessory - Ring
腰带5620 (Base Item): Accessory - Belt 物品等级 (卖商店值多少钱)
7000 (Treasure): Rank 01 (Worthless Junk) (垃圾)
7001 (Treasure): Rank 02 (Broken Weapons)
7002 (Treasure): Rank 03 (Cheap Gems)
7003 (Treasure): Rank 04 (Statuettes)
7004 (Treasure): Rank 05 (Health Potions)
7005 (Treasure): Rank 06 (Standard Gems)
7006 (Treasure): Rank 07 (Bag of Coins)
7007 (Treasure): Rank 08 (Expensive Gems)
7008 (Treasure): Rank 09 (Unique Items)
7009 (Treasure): Rank 10 (Priceless Gems) (昂贵的宝石)
7999 (Treasure): Worthless (forced 1cp) (这个不是最值钱,是只有1铜币) 武器伤害类型
物理 1113 (Passive): Property - Damage Factor - Physical
火 1114 (Passive): Property - Damage Factor - Fire
冰 1115 (Passive): Property - Damage Factor - Cold
点 1116 (Passive): Property - Damage Factor - Electrical
自然 1117 (Passive): Property - Damage Factor - Nature
精神 1118 (Passive): Property - Damage Factor - Spirit 1119 (Passive): Property - Healing Done
1120 (Passive): Property - Healing Taken
魔法抗性
火抗 1200 (Passive): Resistance - Elemental - Fire
冰抗 1201 (Passive): Resistance - Elemental - Cold
电抗 1202 (Passive): Resistance - Elemental - Electricity
自然抗 1203 (Passive): Resistance - Elemental - Nature
精神抗 1204 (Passive): Resistance - Elemental - Spirit
物理伤害抗性1205 (Passive): Resistance - Damage
法伤抗性 1210 (Passive): Resistance - Magic
冲击抗性 1211 (Passive): Resistance - Force
武器攻击属性伤害
物理 2000 (On-Hit): Damage - Physical
物理AOE 2001 (On-Hit): Damage - Physical (AOE)
火 2002 (On-Hit): Damage - Fire
火AOE 2003 (On-Hit): Damage - Fire (AOE)
冰 2004 (On-Hit): Damage - Cold
冰AOE 2005 (On-Hit): Damage - Cold (AOE)
电 2006 (On-Hit): Damage - Electricity
电AOE 2007 (On-Hit): Damage - Electricity (AOE)
自然 2008 (On-Hit): Damage - Nature
自然AOE 2009 (On-Hit): Damage - Nature (AOE)
精神 2010 (On-Hit): Damage - Spirit
精神AOE 2011 (On-Hit): Damage - Spirit (AOE) 特殊效果发到几率
击退 2100 (On-Hit): Chance to Knockback
眩晕 2101 (On-Hit): Chance to Stun
减速 2102 (On-Hit): Chance to Reduce Speed
魅惑? 2201 (On-Hit): Chance to Charm
人肉炸弹 2202 (On-Hit): Chance to inflict Walking Bomb
生命吸取 2204 (On-Hit): Life Leach
能量吸取 2205 (On-Hit): Energy Leach
沉默 2206 (On-Hit): Dispel 附带毒药属性
虚弱毒药 2300 (On-Hit-[Internal]): Poison - Debilitating Poison
鸦毒 2301 (On-Hit-[Internal]): Poison - Crow Venom
死亡之足毒药2302 (On-Hit-[Internal]): Poison - Deathroot Toxin
奥法毒剂 2303 (On-Hit-[Internal]): Poison - Arcane Poison
Fel毒药 2304 (On-Hit-[Internal]): Poison - Fel-Poison 伤害加成
对人 2400 (On-Hit): Bonus Damage to Humans
对昆族 2401 (On-Hit): Bonus Damage to Qunari
对不死与恶魔2402 (On-Hit): Bonus Damage to Demons/Undead
对黑灵 2450 [(On-Hit)-[Internal]): Bonus Damage to Darkspawn
装甲专用属性
免疫暴击 9000 (Special): Armor - Immunity - Critical Hits (——!)
免疫包抄 9001 (Special): Armor - Immunity - Flanking
免疫眩晕 9002 (Special): Armor - Immunity - Stun
免疫击退 9003 (Special): Armor - Immunity - Knockback
更多经验 9102 (Special): Armor - Increase player XP
增加威胁 9104 (Special): Armor - Decrease Theat
回避陷阱 9106 (Special): Armor - Trap Evasion
提高解除陷阱能力9107 (Special): Armor - Improved Disarm
提高开锁 9108 (Special): Armor - Improved Lockpicking
刺盾 9109 (Special): Armor - Spiked Shield
逃脱 9110 (Special): Armor - Escape
幸运 9111 (Special): Armor - Lucky (掉落更好的装备,感谢23楼重复加循环)
武器专用特殊属性
发动终结技! 9100 (Special): Weapon - Increase chance of Deathblow (是一定概率)
这是啥? 9101 (Special): Weapon - Increased Gore
增加威胁 9103 (Special): Weapon - Increase Theat
无视对方位置 9105 (Special): Weapon - Attacks Ignore Displacement
取消属性限制 9112 (Special): Celestial
随等级进化 9115 (Special): Evolving
无视护甲 9113 (Special): Weapon - Attacks Ignore Armor 非武器特殊属性
增加金钱掉落 9114 (Special): Accessory - Increased Gold drop
毁灭符文9200 (Special-[Internal]): Rune of Devastation
无畏符文9201 (Special-[Internal]): Rune of Valiance
上古Lyrium符文9202 (Special-[Internal]): Primeval Lyrium Rune 伤害类型
物理 10000 (Damage Type): Physical
火 10001 (Damage Type): Fire
冰 10002 (Damage Type): Cold
电 10004 (Damage Type): Electricity
自然 10005 (Damage Type): Nature
精神 10006 (Damage Type): Spirit 每击发动特效
战士攻势眩晕 11100 (On-Hit-[Internal]): Warrior - Offensive Stun
战士攻势伤害 11101 (On-Hit-[Internal]): Warrior - Offensive Damage
法师物理杖伤害 11102 (On-Hit-[Internal]): Mage - Elemental Weapons - Physical
法师物火杖伤害 11103 (On-Hit-[Internal]): Mage - Elemental Weapons - Fire
法师物冰杖伤害 11104 (On-Hit-[Internal]): Mage - Elemental Weapons - Cold
法师物电杖伤害 11105 (On-Hit-[Internal]): Mage - Elemental Weapons - Electricity
法师物自然杖伤害11106 (On-Hit-[Internal]): Mage - Elemental Weapons - Nature
法师物心灵杖伤害11107 (On-Hit-[Internal]): Mage - Elemental Weapons - Spirit 意义不明
6001 (Heraldry): Amell Family
6002 (Heraldry): Antivan Crows
6004 (Heraldry): Chantry
6005 (Heraldry): Dalish Elves
6006 (Heraldry): Dwarven Carta
6008 (Heraldry): Ferelden
6009 (Heraldry): Grey Wardens
6010 (Heraldry): Harimann Family
6011 (Heraldry): Kirkwall
6013 (Heraldry): Merchants Guild
6014 (Heraldry): Orlais
6015 (Heraldry): Qunari
6016 (Heraldry): Red Icon Mercenaries
6017 (Heraldry): Resolutionists
6018 (Heraldry): Starkhaven
6019 (Heraldry): Templars
6020 (Heraldry): Tevinter Slavers
6021 (Heraldry): The Coterie
6022 (Heraldry): The Winters
以下是同伴装备升级所带的属性
12000 (Passive-[Internal]): Upgrade - Anders 01 - Spirit Essence - Magic Resistance
12001 (Passive-[Internal]): Upgrade - Anders 02 - Armor Struts - Armor
12002 (Passive-[Internal]): Upgrade - Anders 03 - Underground Sigil --- Rune
12003 (Passive-[Internal]): Upgrade - Anders 04 - Lyrium Weave - Attack
12010 (Passive-[Internal]): Upgrade - Aveline 01 - Underpadding - Attack
12011 (Passive-[Internal]): Upgrade - Aveline 02 - Flex-Chain --- Rune
12012 (Passive-[Internal]): Upgrade - Aveline 03 - Impact Plating - Armor
12013 (Passive-[Internal]): Upgrade - Aveline 04 - Deflecting Joints - Defense
12020 (Passive-[Internal]): Upgrade - Bethany 01 - Protective Sigil --- Magic Resist
12030 (Passive-[Internal]): Upgrade - Carver 01 - Girded Plating --- Armor
12040 (Passive-[Internal]): Upgrade - Fenris 01 - Reinforced Straps --- Attack
12041 (Passive-[Internal]): Upgrade - Fenris 02 - Enchanted Resin --- Rune
12042 (Passive-[Internal]): Upgrade - Fenris 03 - Lyrium Scales --- Rune
12043 (Passive-[Internal]): Upgrade - Fenris 04 - Tevinter Spirit Runes --- Rune
12050 (Passive-[Internal]): Upgrade - Isabela 01 - Lambswool Insoles - Critical Strike Chance
12051 (Passive-[Internal]): Upgrade - Isabela 02 - Rigid Boning --- Defense
12052 (Passive-[Internal]): Upgrade - Isabela 03 - Boiled Leather Plates --- Rune
12053 (Passive-[Internal]): Upgrade - Isabela 04 - Supportive Corselet --- Rune
12060 (Passive-[Internal]): Upgrade - Merril 01 - Carved Ironwood Buttons- Health
12061 (Passive-[Internal]): Upgrade - Merril 02 - Samite Lining --- Rune
12062 (Passive-[Internal]): Upgrade - Merril 03 - Silver-threaded Dalish Embroidery - Health Regen
12063 (Passive-[Internal]): Upgrade - Merril 04 - Halla Horn Buckles --- Rune
12070 (Passive-[Internal]): Upgrade - Varric 01 - Coat Lining --- Attack
12071 (Passive-[Internal]): Upgrade - Varric 02 - Inscribed Leather Harness --- Rune
12072 (Passive-[Internal]): Upgrade - Varric 03 - Silverite-reinforced Buckles --- Rune
12073 (Passive-[Internal]): Upgrade - Varric 04 - Drakeskin Leg Straps --- Rune
12080 (Passive-[Internal]): Upgrade - Sebastian 01 - Reinforced Bracers -- Increased Attack
12081 (Passive-[Internal]): Upgrade - Sebastian 02 - Mail Undertunic --- Crit Strike %
12082 (Passive-[Internal]): Upgrade - Sebastian 03 - Enhanced Articulation --- Rune
12083 (Passive-[Internal]): Upgrade - Sebastian 04 - Protection of the Faith --- Rune
100000 (Item Set): Default
这只是代码,数值修改请稍候,这DA2数值结构变的有点怪,与DAO不同
文本格式有点不好,所以放出下载版TXT
DA2物品属性综合代码.rar
(4.06 KB, 下载次数: 15631)
觉得有用,欢迎回复顶贴。我不能设回复可见,不沉贴就靠各位支持了,谢谢
简要修改指南与数值探索
基本修改方法与DAO是完全相同的,不再重述,只简要提及方便老玩家回忆。新手建议先去DAO精华区看看
用GFF editor 找到相应的装备, 装备在角色身上的位于16219 SAVEGAME_EQUIPMENT_ITEM下,背包里的在16003 SAVEGAME_PARTYLIST 下的16210 SAVEGAME_BACKPACK中。
一个简单的方法可以用来定位你想找的装备。首先装备它或放进箱子,在取下或从箱子里取出,然后保存游戏。之后该物品会定位在16210 SAVEGAME_BACKPACK下的最后一项。
因为数值规律尚不明确,建议不要添加全新的物品,而是在已有的物品上进行改动。
举例:
在16210 SAVEGAME_BACKPACK 中改变tbe100im_enchanted_shield,黑市DLC物品,Lady Rosamund’s Bulwark. 这是一幅3孔盾牌,无特殊属性。
找到1013 ITEM_PROPERTIES,可以看到它目前的属性有
5500 重甲 Armor - Heavy
3003 剑盾类型 Weapon and Shield Style
8000 符文孔 Rune Slot
3210 要求力量 Attribute - Strength
3215 要求体质 Attribute – Constitution
再看1014 ITEM_PROPERTY_POWERS 目录
麻烦来了,value非常诡异,目前不能做精准的数据修改。根据实验结果,1065353216是1个基本数值,任何新添加的属性都可以冠以这个数值而出现,但数值是否为所有属性的基本单位就不确定了。
继续教程,假定我想实现
战斗HP自动恢复1110
刺盾 9109
免疫暴击 9000
点击1013 ITEM_PROPERTIES ,点击GFF左下角的Add,
在新出现的value为0的位置,依次填上 1110, 9109, 9000
再点击1014 ITEM_PROPERTY_POWERS目录,同样也Add 3个空值,按相同的顺序填上基本单位数值,如1065353216。 (ITEM_PROPERTY_POWERS下的每个数据都对应一个ITEM_PROPERTIES下的项目,其数量和序号必须完全相符)
最后保存即可。
最后讨论一下ITEM_PROPERTY_POWERS中的数值问题
目前我只能确定1065353216为绝大多数属性项的基础单位,即1065353216=yes 或= +4HP战斗恢复 等等。
符文相关项目数值规律
在1个孔的装备上 1065353216 8388608
在2个孔的装备上 1073741824 4194304
在3个孔的装备上 1077936128 2097152
已核实,感谢12楼ayanehitomi 的研究
确定1065353216为所有属性的基础单位,之后每增加一个单位即在原来基础上加上8388608即可。实例请参加12楼的详细描述
补充33楼ayanehitomi 贡献的champion套装代码
“戰士套裝
gen_im_arm_hlm_hvy_champion
gen_im_arm_cht_hvy_champion
gen_im_arm_glv_hvy_champion
gen_im_arm_boo_hvy_champion
法師套裝
gen_im_arm_hlm_lgt_champion
gen_im_arm_cht_lgt_champion
gen_im_arm_glv_lgt_champion
gen_im_arm_boo_lgt_champion
盜賊套裝
gen_im_arm_hlm_med_champion
gen_im_arm_cht_med_champion
gen_im_arm_glv_med_champion
gen_im_arm_boo_med_champion
套裝材質代碼 2002
gen_im_wep_rog_dua_iconic 盜賊開頭用匕首
gen_im_wep_war_two_iconic 戰士開頭用巨劍
gen_im_wep_mag_sta_iconic 法師開頭用法杖”
53楼 hinco 贡献的数据意义解释:
“补充一下,能力值是浮点数……4字节,1065353216(16进制 3F800000 即 00 00 80 3F) 就是浮点值 1,其他的按浮点转4字节16进制再转十进制类推吧
1.5是1069547520(00 00 C0 3F)
2是1073741824(00 00 00 40)
10是1092616192(00 00 20 41)
”
即,数值为4字节浮点数,可用windows自带的计算器进行转换
28楼 shishangsuiyi 提供
“关于“1014 ITEM_PROPERTY_POWERS ”目录下赋值情况 已经搞懂了 列出1X到10X的值 明白的就无视吧 不知道的可以参考一下:
1X 1065353216 1倍基础值
2X 1073741824 2倍基础值
3X 1077936128 3倍基础值
4X 1082130432 4倍基础值
5X 1084227584 5倍基础值
6X 1086324736 6倍基础值
7X 1088421888 7倍基础值
8X 1090519040 8倍基础值
9X 1091567616 9倍基础值
10X 1092616192 10倍基础值 ”
注意:勿轻易超出10倍值,否则属性可能成为负值。修正方法:GFF搜索角色属性,找到数字列中为NULL的数字,修改为100以内的数字即可
67楼 ayanehitomi 提供 游戏中紫色装备的模型代码
“gen_im_wep_mag_sta_lore_02 ( 這是在某個山頂的商人買的那把 冰屬杖 )
gen_im_wep_mag_sta_act3_05 ( 這是M妹的專用杖 後面會拿到 火屬 )
gen_im_wep_rog_dua_act3_04 ( 匕首 忘了那裏來的了 )
gen_im_wep_rog_dua_lore_03 ( 某個支線任務的敵人掉的 也是匕首 )
gen_im_wep_rog_arc_act3_04 ( 短弓 也忘記哪裡拿的 )
gen_im_wep_rog_arc_lore_02 ( 長弓 滿後面得到的 )
gen_im_wep_war_one_lore_01 ( 奎因人老大身上的那把單手劍 )
gen_im_wep_war_shd_act3_02 ( 很大一面盾 像鐵盾 )
gen_im_wep_war_two_act3_02 ( 這是城裡商人能買到的雙手劍 )
gen_im_wep_war_two_lore_04 ( 這是Fenris給的那把雙手劍 )
會編輯的話 一開始的荒野就能取得 屬性就參考LZ的 自定義吧0”. |