DNF阿拉德游戏论坛

 找回密码
 立即注册
搜索
查看: 51|回复: 0
打印 上一主题 下一主题

[PVF] 装备属性相关:时装教程

[复制链接]
  • TA的每日心情
    无聊
    2020-5-4 11:24
  • 签到天数: 6 天

    [LV.2]偶尔看看I

    354

    主题

    354

    帖子

    568

    积分

    网站编辑

    Rank: 8Rank: 8

    积分
    568
    怒气
    46
    声望
    81
    战力
    6
    跳转到指定楼层
    楼主
    发表于 2020-4-8 16:38:26 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式



    By:冬天的诺言天蝎
    http://tieba.baidu.com/p/4818548634?see_lz=1


    真真真一脸蒙蔽时装教程
    如题所说的,时装这玩意真的是会一脸蒙蔽的,因为关联实在是太多了,能一遍就看懂的都是大神;

    接下来我会以我自制的23件套来进行讲解:

    一.时装部分
    1.单件时装
    #PVF_File

    [name]
    <3::name_40032``>

    [name2]
    <3::name2_40032``>

    [grade]
    3
    [rarity]
    2
    [part set index]
    3 套装调用代码1代表(好像没有1这个代码) 2代表上级时装 3代表我自己制作的真超级稀有套 4代表....(这些后面都会提到的)
    表的位置 etc/equipmentpartset.etc
    [usable job]
    `[swordman]`
    `[demonic swordman]`

    [/usable job]

    [attach type]
    `[free]`

    [minimum level]
    1
    [icon]
    `item/avatar/swordman/sm_aface.img`
    290
    [equipment type]
    `[face avatar]`
    0
    [avatar type select]
    7 0 0 1000 0 30 0 0 2000 0 0 0 0 4000 0 0 0 0 4500 2 `[B socket]`
    `[B socket]`

    [/avatar type select]

    [avatar select ability]
    `[EQUIPMENT_MAGICAL_DEFENSE]`
    `+`
    900 `[ACTIVESTATUS_TOLERANCE_ALL]`
    `+`
    18 `[ATTACK_SPEED]`
    `+`
    60 `[HIT_RECOVERY]`
    `+`
    200
    [/avatar select ability]

    [animation job]
    `[swordman]`

    [variation]
    102 1
    [layer variation]
    100 `face_b`

    [equipment ani script]
    `equipment/character/swordman.lay`

    [animation job]
    `[demonic swordman]`

    [variation]
    102 1
    [layer variation]
    100 `face_b`

    [equipment ani script]
    `equipment/character/dsswordman.lay`

    [sub type]
    0
    [move wav]
    `CLOTH_TOUCH`

    [effect part set index]
    2 这个嘛 嘿嘿 就是调用的天空套特效代码了 目前就1和2两个代码
    调用的文件位置 etc/additionaleffectlist.etc
    还有一个关联文件 etc/equipmenteffectset.etc
    [reference effect part set index]
    1 这个代表特效冲突 简单来说就是假如两个特效 则1这个代码的不触发

    2.时装套装部分 这个就非常容易解释了
    equipment/character/partset/rareset.equ
    相关联文件etc/equipmentpartset.etc(下面会讲到这个问题的)
    #PVF_File

    [set name]
    <3::name_998`真*超级稀有套装`>

    [piece set ability]
    3 3件套效果 依次类推不多做解释了

    [physicalattack]
    25
    [physical defense]
    25
    [magical attack]
    25
    [magical defense]
    25
    [move speed]
    100
    [attack speed]
    100
    [cast speed]
    100
    [/piece set ability]

    3.时装特效部分
    equipment/character/partset/bluefootprint.equ 天七特效

    #PVF_File

    [piece setability]
    1 触发该特效所需要的件数
    [additional effectindex]
    3 特效代码关联的文件有
    etc/additionaleffectlist.etc etc/equipmenteffectset.etc

    二.etc内容部分
    1. etc/additionaleffectlist.etc

    #PVF_File

    [effect]

    [index]
    1 指特效代码 关联文件 时装特效文件 单件时装文件特效调用总文件

    [type]
    0 特效类型
    [animation]特效所调用的ani 随便调用 很有意思的哦 (我这个是把天七两个特效给重叠了)
    `Character/Common/Animation/FootPrint/bottomfire_normal_blue.ani`
    `Character/Common/Animation/FootPrint/bottomfire_normal.ani`
    `Character/Common/Animation/FootPrint/bottomfire_dodge.ani`
    `Character/Common/Animation/FootPrint/bottomfire_dodge_blue.ani`
    `Character/Common/Animation/FootPrint/bottomfire_normal.ani`
    `Character/Common/Animation/FootPrint/bottomfire_dodge.ani`
    `Character/Common/Animation/FootPrint/bottomfire_dodge.ani`
    `Character/Common/Animation/FootPrint/bottomfire_dodge_blue.ani`

    [/animation]

    [fix position x]
    -10
    [default term in town]
    100
    [default term]
    180
    [dash term]
    110
    [/effect]

    [effect]

    [index]
    2
    [type]
    0
    [animation]
    `Character/Common/Animation/FootPrint/bottomfire_normal_blue.ani`
    `Character/Common/Animation/FootPrint/bottomfire_dodge_blue.ani`

    [/animation]

    [fix position x]
    -10
    [default term in town]
    100
    [default term]
    180
    [dash term]
    110
    [/effect]

    [effect]

    [index]
    3 这个是天八特效 不解释 嘿嘿

    [type]
    0
    [animation]
    `Character/Common/Animation/FootPrint/bottomfire_normal_blue.ani`
    `Character/Common/Animation/FootPrint/bottomfire_dodge_blue.ani`
    `Character/Common/Animation/FootPrint/bottomfire_normal_blue.ani`
    `Character/Common/Animation/FootPrint/bottomfire_dodge_blue.ani`
    `Character/Common/Animation/FootPrint/bottomfire_normal_blue.ani`
    `Character/Common/Animation/FootPrint/bottomfire_dodge_blue.ani`

    [/animation]

    [fix position x]
    -10
    [/effect]

    3套装文件
    etc/equipmentpartset.etc
    这个就是异界以及时装套装的文件位置了

    #PVF_File

    [equipment part set]是不是觉得很熟悉啊对就是散件时装里的那个代码
    2套装代码 `character/partset/upperset.equ`套装文件名字

    下面的这些我就不多做解释了吧 嘿嘿按照格式来就对了
    <3::upperset_name_cap`上级时装-帽子`>
    `[hat avatar]`
    2 0 <3::upperset_name_hair`上级时装-头部`>
    `[hair avatar]`
    2 0 <3::upperset_name_face`上级时装-脸部`>
    `[face avatar]`
    2 0 <3::upperset_name_neck`上级时装-胸部`>
    `[breast avatar]`
    2 0 <3::upperset_name_coat`上级时装-上衣`>
    `[coat avatar]`
    2 0 <3::upperset_name_pants`上级时装-下衣`>
    `[pants avatar]`
    2 0 <3::upperset_name_belt`上级时装-腰部`>
    `[waist avatar]`
    2 0 <3::upperset_name_shoes`上级时装-鞋`>
    `[shoes avatar]`
    2 0
    [/equipment part set]

    [equipment part set]
    3 `character/partset/rareset.equ`
    <3::rareset_name_cap`超级稀有时装-帽子`>
    `[hat avatar]`
    3 2 <3::rareset_name_hair`超级稀有时装-头部`>
    `[hair avatar]`
    3 2 <3::rareset_name_face`超级稀有时装-脸部`>
    `[face avatar]`
    3 2 <3::rareset_name_neck`超级稀有时装-胸部`>
    `[breast avatar]`
    3 2 <3::rareset_name_coat`超级稀有时装-上衣`>
    `[coat avatar]`
    3 2 <3::rareset_name_pants`超级稀有时装-下衣`>
    `[pants avatar]`
    3 2 <3::rareset_name_belt`超级稀有时装-腰部`>
    `[waist avatar]`
    3 2 <3::rareset_name_shoes`超级稀有时装-鞋`>
    `[shoes avatar]`
    3 2 <3::rareset_name_skin`超级稀有时装-皮肤`>
    `[skin avatar]`
    3 2 <3::rareset_name_aura`超级稀有时装-光环`>
    `[aurora avatar]`
    3 2 <3::rareset_name_tittle`超级稀有时装-称号`>
    `[title name]`
    3 2 <3::rareset_name_amulet`超级稀有时装-手镯`>
    `[amulet]`
    3 2 <3::rareset_name_wrist`超级稀有时装-项链`>
    `[wrist]`
    3 2 <3::rareset_name_ring`超级稀有时装-戒指`>
    `[ring]`
    3 2 <3::rareset_name_xiongjia`超级稀有时装-胸甲`>
    `[coat]`
    3 2 <3::rareset_name_hujian`超级稀有时装-护肩`>
    `[shoulder]`
    3 2 <3::rareset_name_hutui`超级稀有时装-护腿`>
    `[pants]`
    3 2 <3::rareset_name_yaodai`超级稀有时装-腰带`>
    `[waist]`
    3 2 <3::rareset_name_zhanxue`超级稀有时装-战靴`>
    `[shoes]`
    3 2 <3::rareset_name_weapon`超级稀有时装-武器`>
    `[weapon]`
    3 2 <3::rareset_name_support`超级稀有时装-辅助装备`>
    `[support]`
    3 2 <3::rareset_name_magic_stone`超级稀有时装-魔法石`>
    `[magic stone]`
    3 2 <3::rareset_name_creature`超级稀有时装-宠物`>
    `[creature]`
    3 2
    [/equipment part set]

    [equipment part set]
    10 `character/partset/2choroset1.equ`
    <3::2choroset1_name_amulet`Mr.根之源项链(改)`>
    `[amulet]`
    0 0 <3::2choroset1_name_wrist`Mr.根之源手镯(改)`>
    `[wrist]`
    0 0 <3::2choroset1_name_ring`Mr.根之源戒指(改)`>
    `[ring]`
    0 0 <3::2choroset1_name_coat`Mr.根之源胸甲(改)`>
    `[coat]`
    0 0 <3::2choroset1_name_shoulder`Mr.根之源护肩(改)`>
    `[shoulder]`
    0 0 <3::2choroset1_name_pants`Mr.根之源护腿(改)`>
    `[pants]`
    0 0 <3::2choroset1_name_waist`Mr.根之源腰带(改)`>
    `[waist]`
    0 0 <3::2choroset1_name_shoes`Mr.根之源战靴(改)`>
    `[shoes]`
    0 0 <3::2choroset1_name_weapon`Mr.根之源武器(改)`>
    `[weapon]`
    0 0
    [/equipment part set]

    到这里就差不多了 是不是有点晕啊 总结起来就是分为两个方向:
    1套装调用 [part set index] 这个比较好理解 先是调用套装总文件 来显示套装 然后再到对用的套装文件 来实现属性
    2时装特效调用 [effect part set index]
    这个就有点多了哈 先是调用 etc/equipmenteffectset.etc 然后etc/additionaleffectlist.etc
    最后在etc/additionaleffectlist.etc

    差不多就是这样了该讲的应该都讲了
    实在不理解的就多多研究下上面讲的那几个文件以上内容也只是我的个人理解,未必全正确。



    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|Archiver|手机版|小黑屋|DNF阿拉德游戏论坛 ( 蜀ICP备2024115554号

    GMT+8, 2025-6-12 05:40 , Processed in 0.191784 second(s), 15 queries , File On.

    Powered by Discuz! X3.3 网站地图 Auther by PAnoEAde & 地下城与勇士论坛

    © 2001-2013 Comsenz Inc.

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