Adding Craft Schematic to Architect Buildings

oostos

Member
Joined
Mar 8, 2015
Messages
52
Hello All,

I did a little searching, but did not find anything on the site.  I was wondering if any .tre work needs to be done to add a building, like an NGE house to the Architect buildings schematics?  
I do believe my lua's are correct, but I am unable to see the object to select to craft. Thought it would be cool add on for the people to craft 





Any guidance or help would be awesome!!
Thank you!!!
 

Lasko

Moderator
Staff member
Moderator
Joined
Feb 13, 2012
Messages
295
I haven't actually done this but skimming through the datatables I think you would need to look the following two tables.

/datatables/crafting/schematic_group.iff
and
/datatables/skill/skills.iff

Adding said schematic to the first table in the group you want it to be, say craftStructureGroupE.

You can see what groups are attributed to Master in the skills.iff

You may need to look at the string files for any naming issues.
 

Phoenix

Moderator
Staff member
Moderator
Joined
Sep 25, 2010
Messages
235
I haven't looked in a long time, but I don't think you can just transfer over schematics from nge. You'll have to use an old schematic and adjust it for the new item. I might be wrong, but I would open up a 14.1 or earlier schematic .iff and a nge schematic and make sure versions are same, etc.
 

Lasko

Moderator
Staff member
Moderator
Joined
Feb 13, 2012
Messages
295
iirc Duff did that for all of the NGE housing and included them in his patch. When I get home later, I'll check it out.  

Good point to note though Phoe:)
 

oostos

Member
Joined
Mar 8, 2015
Messages
52
Lasko said:
iirc Duff did that for all of the NGE housing and included them in his patch. When I get home later, I'll check it out.  

Good point to note though Phoe:)
Hey Lasko did you have a chance to peek at what duff had done?  I was looking for his patch, but did not find it.

Thanks!
 

duffstone

Member
Joined
Sep 13, 2013
Messages
188
Ok, in the datatables/skill/skills.iff file, you'll find a column called SCHEMATICS_GRANTED. this is where the groupID goes. you can get the group id from:
datatables/crafting/schematic_group.iff
example:
craftStructureGroupAA object/draft_schematic/structure/component/structural_module.iff

the first bit is the groupID, the 2nd is the path to the schematic iff. you can have as many schematics in each group as you want, or I have yet to hit a limit in testing. as an example, I assigned all my housing schematics to the craftStructureGroupDuff groupID. I added that groupID to the master artisan skill in the skills.iff file.

I can't remember if the groupID needs a CRC or not, you'll just have to check the various CRC files to find out for sure.
 

Lasko

Moderator
Staff member
Moderator
Joined
Feb 13, 2012
Messages
295
oostos said:
Lasko said:
iirc Duff did that for all of the NGE housing and included them in his patch. When I get home later, I'll check it out.  

Good point to note though Phoe:)
Hey Lasko did you have a chance to peek at what duff had done?  I was looking for his patch, but did not find it.

Thanks!
Try looking in the releases section.
 

oostos

Member
Joined
Mar 8, 2015
Messages
52
duffstone said:
Ok,   in the datatables/skill/skills.iff file, you'll find a column called SCHEMATICS_GRANTED.  this is where the groupID goes.  you can get the group id from:
datatables/crafting/schematic_group.iff
example:
craftStructureGroupAA object/draft_schematic/structure/component/structural_module.iff

the first bit is the groupID, the 2nd is the path to the schematic iff.   you can have as many schematics in each group as you want, or I have yet to hit a limit in testing.  as an example, I assigned all my housing schematics to the craftStructureGroupDuff groupID. I added that groupID to the master artisan skill in the skills.iff file.  

I can't remember if the groupID needs a CRC or not, you'll just have to check the various CRC files to find out for sure.
I did as you suggested Duff, I just added the  object/draft_schematic/structure/component/structural_module.iff to an existing groupID.  I made the tre, logged into server, went to station and when I went to Installations and looked through everything I did not see the new Item I had added.  Are there other places I need to add this to?

Thanks for any help!!
 

oostos

Member
Joined
Mar 8, 2015
Messages
52
Lasko said:
iirc Duff did that for all of the NGE housing and included them in his patch. When I get home later, I'll check it out.  

Good point to note though Phoe:)
Also, where can I find Duff's patch???
 

Warfeather

New Member
Joined
Jan 4, 2016
Messages
5
ok so i have done this before with my custom harvesters you can get them in there in the tree but you have to unlearn all skills and relearn the skill tree you put it in now 1 problem is in the tree list of schematics it says unknown schematic but if you look in your data pad it should show up with the exception that there is naming stuff you have to track down and fix. if i get time i will try and write a guide on how to do this in detail
 
Top Bottom