Armour Schematics?

Post Reply
foreverdead
Posts: 56
Joined: Sat Jan 21, 2017 11:01 am

Armour Schematics?

Post by foreverdead »

Are there armour schematics from the new versions of armour I can try add to other mods? Namely Grimy's for his lock boxes.
TyreT
Posts: 23
Joined: Thu Jan 26, 2017 11:30 am

Re: Armour Schematics?

Post by TyreT »

I'm not quite sure how Schematics work, but LW2 has this code in LWTemplateMods.uc:

Code: Select all

// KILL SCHEMATICS
	SchematicTemplate = X2SchematicTemplate(Template);
	if (SchematicTemplate != none && default.SchematicsToPreserve.Find(SchematicTemplate.DataName) == -1)
	{
		SchematicTemplate.CanBeBuilt = false;
		SchematicTemplate.PointsToComplete = 999999;
		SchematicTemplate.Requirements.RequiredEngineeringScore = 999999;
		SchematicTemplate.Requirements.bVisibleifPersonnelGatesNotMet = false;
		SchematicTemplate.OnBuiltFn = none;
		SchematicTemplate.Cost.ResourceCosts.Length = 0;
		SchematicTemplate.Cost.ArtifactCosts.Length = 0;
	}
which would mean that all Schematics aside from thoose defined as 'SchematicsToPreserve' will be made unuseable(unbuildable and with endless time-cost).
'SchematicsToPreserve' is defined in XComLW_Overhaul.ini:

Code: Select all

[LW_Overhaul.LWTemplateMods]
; these schematics will not be removed in favor of individually-built items
+SchematicsToPreserve="HunterRifle_CV_Schematic"
+SchematicsToPreserve="HunterRifle_MG_Schematic"
+SchematicsToPreserve="HunterRifle_BM_Schematic"
+SchematicsToPreserve="HunterPistol_CV_Schematic"
+SchematicsToPreserve="HunterPistol_MG_Schematic"
+SchematicsToPreserve="HunterPistol_BM_Schematic"
+SchematicsToPreserve="HunterAxe_CV_Schematic"
+SchematicsToPreserve="HunterAxe_MG_Schematic"
+SchematicsToPreserve="HunterAxe_BM_Schematic"
+SchematicsToPreserve="Frostbomb_Schematic"
+SchematicsToPreserve="HeavyAlienArmorMk2_Schematic"
+SchematicsToPreserve="LightAlienArmorMk2_Schematic"
Again, I'm not quite sure how Schematics themselves work(or used to work), but maybe this bit of information is still usefull?
Sorry if thoose are not the Schematics you refer to.
foreverdead
Posts: 56
Joined: Sat Jan 21, 2017 11:01 am

Re: Armour Schematics?

Post by foreverdead »

Thanks Tyre, I had found these but unfortunately not quite what I was looking for. :D
Post Reply