XCOM 2
[Vanilla] E3245's Extended Material Library
 此主题已被置顶,因此可能具有重要性
∑3245  [开发者] 2016 年 12 月 5 日 下午 12:13
Guide: How to Override Materials, specifically SoldierArmorCustomizable
This is a short guide on overriding SAC, but it can be used for other materials, by the use of Engine.PatchPackages.The Overwatch - Genji Squadmate and the Black Ops III Helmets mods makes use of this.

  1. Make sure that you rename E3245_Master_Material.upk so that it's the first package to compile. Naming it 0000_* will guarentee that this package is the first one to be compiled.
  2. In the Material Instance Constant editor, be sure that you set the parent to my SoldierArmorCustomizable_TC
  3. In Modbuddy, create XComContent.ini and XComEngine.ini if you're planning on compiling scripts.
  4. In XComContent.ini and XComEngine.ini, add these lines:
    [Engine.PatchPackages] +Package=[Replace this with the name of your material package]

    For example, it should look like this:
    [Engine.PatchPackages] +Package=0000_MyMasterMaterial

  5. Compile and run.
最后由 ∑3245 编辑于; 2016 年 12 月 5 日 下午 12:16
< >
正在显示第 1 - 1 条,共 1 条留言
∑3245  [开发者] 2016 年 12 月 6 日 上午 1:33 
Almost forgot one more thing. You need to rename SoldierArmorCustomizable_Extended_TC to SoldierArmorCustomizable_TC, or else the override won't work.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50