七日杀吧 关注:250,741贴子:2,245,552
  • 3回复贴,共1

七日杀18.3以后做mod的一些技巧

只看楼主收藏回复

一楼喂猪


IP属地:澳大利亚1楼2020-02-01 12:31回复
    首先是config文件夹下的各种文件
    XML.txt 官方对config目录的一些说明,例如不同的文件是干什么的
    =============================
    Index... kind of
    File: BLOCKS.XML
    Use of "Extends" in blocks.xml:
    Farming / Harvest yield of farmed crops.
    Trees growing to variable sizes depending on the soil.
    Upgrade and hit sounds
    Upgrade and hit sounds from textures
    Transparent / cutout meshes and frame blocks
    Blocks and light and plants.
    Textures and the map.
    Block default placement: Place + HandleFace
    Upgrading and downgrading to random block targets.
    File: LOOT.XML
    Optional attributes of a lootcontainer:
    File: ITEMS.XML
    UMA Slots
    GENERAL computational order for determining effects and their magnitude, order of operations (OOO)
    Weather survival / temperature rebalance
    Items can be excluded from underwater use.
    How armor works in A14
    (Weapon) Degradation rate:
    Ballistic weapons with bullet drop.
    File: RECIPES.XML
    File: PROGRESSION.XML
    File: BUFFS.XML
    Icons usable for buffs:
    File: BIOMES.XML
    Icons for blocks and items:
    Armor value templates:
    File: SOUNDS.XML
    File: ENTITYCLASSES.XML
    Wandering Hordes / Gamestage
    Imposters / Distant POI
    Sleepers
    =============================
    这就是整个文件的目录索引,主要的几个就是
    BLOCKS 方框相关
    LOOT 搜刮
    ITEMS 物品
    RECIPES 合成
    PROGRESSION 等级和技能
    BUFFS 就buff
    ENTITYCLASSES 各种角色


    IP属地:澳大利亚2楼2020-02-01 13:01
    回复
      2026-01-13 22:27:10
      广告
      不感兴趣
      开通SVIP免广告
      来看blocks里面的内容,

      这一段是讲方框的命名规则,
      [material|look|texture] [shape] [extra properties if needed]
      材料+形状[+额外的属性]
      shape里面就列了所有的形状,下面还给了几个例子
      awningRedBlock 红色的布篷块
      rebarFrameRamp 钢筋架......


      IP属地:澳大利亚3楼2020-02-01 13:13
      回复
        截图效果不太好

        这一段说,除了上面的命名方式之外,有些物体有特殊模型,那他们命名方式就是
        MDL [type|category] [Name]
        MDL+类型+名称
        类型里面也列了这些,cnt容器,fnt家具,elt电器,lgt灯.....


        IP属地:澳大利亚4楼2020-02-01 13:29
        回复