XCOM 2
[Vanilla] E3245's Extended Material Library
 This topic has been pinned, so it's probably important
∑3245  [developer] 5 Dec, 2016 @ 12:13pm
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.
Last edited by ∑3245; 5 Dec, 2016 @ 12:16pm
< >
Showing 1-1 of 1 comments
∑3245  [developer] 6 Dec, 2016 @ 1:33am 
Almost forgot one more thing. You need to rename SoldierArmorCustomizable_Extended_TC to SoldierArmorCustomizable_TC, or else the override won't work.
< >
Showing 1-1 of 1 comments
Per page: 1530 50