Whats In The update? .added UnlockTechType <--- is the TechType that is set for the unlock . .. needs to be added to your Json file. . changed ingredences to TechTypeExtensions.FromString a long with UnlockTechtype <--- should support other techtypes now (Untested))
Greetings, a strange problem with this mod: is that when I write a recipe in a JSON file, it is displayed incorrectly in the game. For example, titanium and lithium in the recipe are displayed in the game, but resources such as precursorioncrystal and uraninitecrystal are not displayed.
I will check it out . Also make sure it's Capitalized you can get the correct name from the autosortlockersml it has a text file with all the bz and sn techtypes.
I changed it a bit for myself when I downloaded this mod and the recipe looks like this now. None of the components needed for crafting are displayed in the game and therefore crafting the rod is free.
{ "RodTechtype":"IonReactorRod", "RodName": "Ion reactor fuel rod", "Description": "An extremely energy-intensive core for a nuclear reactor, which is a fusion of Earthlings' atomic technologies and ion alien energy.", "Icon":"IonReactorRod", "Height":1, "Width":1, "CustomMainTexture": "IonReactorRodMain", "CustomIllumTexture":"IonReactorRodIllum", "PowerAmount": 500000, "CraftingIngredients": [ { "TechType": "Precursorioncrystal", "Amount": 3 }, { "TechType": "Uraninitecrystal", "Amount": 5 }, { "TechType": "Nickel", "Amount": 2 }, { "TechType": "Enameledglass", "Amount": 2 } ], "FabricatorPath": ["Resources","Electronics"], "CloneFrom": "ReactorRod" }
It is nice to have the default textures but I still would like to know how to make my own textures for my own custom rods. Any information you can provide on making custom rod textures would be great. >.<
{ "RodTechtype":"SuperRod",<---- the techtype <-- newly added you will have to add it to yours to make it work. "RodName": "Super ReactorRod", <--- name . "Description": "A custom reactor rod with enhanced power output.", <-- this description "Icon":"ReactorrodEnhanced", <--- sprite name "Height":1,<--- Height of your item "Width":1, <--- Width of your item "CustomMainTexture": "ReactorRodMain",<--- name of your texture file for Main texture. "PowerAmount": 30000, <--- power value for your custom reactor rod "CraftingIngredients": [ { "TechType": "Titanium", <--- Ingredient for your item "Amount": 2 <---- amount needed of this item }, { "TechType": "Lithium", "Amount": 1 } ], "FabricatorPath": ["Resources","Electronics"], <--- path your want your items to be added to in craft tree. "CloneFrom": "ReactorRod" <--- item its cloning from Customaintexture is the name of the texture lamage name... You edit the default. Nexus Mods
Could we get a way to separate name and techtype like how CustomBatteries does it please? I can''t make the name look good without adding spaces, and techtypes do not play well with those.
17 comments
.added UnlockTechType <--- is the TechType that is set for the unlock .
.. needs to be added to your Json file.
. changed ingredences to TechTypeExtensions.FromString a long with UnlockTechtype <--- should support other techtypes now (Untested))
{
"RodTechtype":"IonReactorRod",
"RodName": "Ion reactor fuel rod",
"Description": "An extremely energy-intensive core for a nuclear reactor, which is a fusion of Earthlings' atomic technologies and ion alien energy.",
"Icon":"IonReactorRod",
"Height":1,
"Width":1,
"CustomMainTexture": "IonReactorRodMain",
"CustomIllumTexture":"IonReactorRodIllum",
"PowerAmount": 500000,
"CraftingIngredients": [
{
"TechType": "Precursorioncrystal",
"Amount": 3
},
{
"TechType": "Uraninitecrystal",
"Amount": 5
},
{
"TechType": "Nickel",
"Amount": 2
},
{
"TechType": "Enameledglass",
"Amount": 2
}
],
"FabricatorPath": ["Resources","Electronics"],
"CloneFrom": "ReactorRod"
}
side note: is there an option to set an unlock condition? if not that would be cool to have :P
{
Nexus Mods"RodTechtype":"SuperRod",<---- the techtype <-- newly added you will have to add it to yours to make it work.
"RodName": "Super ReactorRod", <--- name .
"Description": "A custom reactor rod with enhanced power output.", <-- this description
"Icon":"ReactorrodEnhanced", <--- sprite name
"Height":1,<--- Height of your item
"Width":1, <--- Width of your item
"CustomMainTexture": "ReactorRodMain",<--- name of your texture file for Main texture.
"PowerAmount": 30000, <--- power value for your custom reactor rod
"CraftingIngredients": [
{
"TechType": "Titanium", <--- Ingredient for your item
"Amount": 2 <---- amount needed of this item
},
{
"TechType": "Lithium",
"Amount": 1
}
],
"FabricatorPath": ["Resources","Electronics"], <--- path your want your items to be added to in craft tree.
"CloneFrom": "ReactorRod" <--- item its cloning from
Customaintexture is the name of the texture lamage name... You edit the default.