XCOM 2
[Vanilla] E3245's Extended Material Library
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
∑3245  [udvikler] 5. dec. 2016 kl. 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.
Sidst redigeret af ∑3245; 5. dec. 2016 kl. 12:16
< >
Viser 1-1 af 1 kommentarer
∑3245  [udvikler] 6. dec. 2016 kl. 1:33 
Almost forgot one more thing. You need to rename SoldierArmorCustomizable_Extended_TC to SoldierArmorCustomizable_TC, or else the override won't work.
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50