Page 1 of 1
Making a new Entity
Posted: Wed May 02, 2018 9:54 pm
by CJ5Boss
Hello all,
I am new to the modding community and have made only two basic mods, a QoL research and a recipe changer. I was wondering how I could create an entity for the game, like a new object required to craft something, a new thing the player could make, etc. I was wondering what files I would need, and what I would need to type in them. If anyone has a good example mod, or guide, please let me know. Thanks!
--CJ5Boss
Re: Making a new Entity
Posted: Wed May 02, 2018 11:09 pm
by sparr
Many many mods have examples of this, done many different ways. I recommend picking one that does something similar to what you want and working from that.
Basic concept is that you need to define the entity, and define an item (which goes in your inventory) that has a place_result of that entity, and define a recipe that creates that item, and probably a tech that unlocks that recipe.
Any one of these could involve editing an existing thing instead of creating a new thing, such as making an existing tech also unlock your new recipe, or an existing recipe produce your new item instead of or in addition to what it normally produces.
Re: Making a new Entity
Posted: Wed May 02, 2018 11:17 pm
by CJ5Boss
sparr wrote:Many many mods have examples of this, done many different ways. I recommend picking one that does something similar to what you want and working from that.
Basic concept is that you need to define the entity, and define an item (which goes in your inventory) that has a place_result of that entity, and define a recipe that creates that item, and probably a tech that unlocks that recipe.
Any one of these could involve editing an existing thing instead of creating a new thing, such as making an existing tech also unlock your new recipe, or an existing recipe produce your new item instead of or in addition to what it normally produces.
Thanks very much! I'll look into some mods.
Re: Making a new Entity
Posted: Thu May 03, 2018 7:20 am
by darkfrei
CJ5Boss wrote:Hello all,
I am new to the modding community and have made only two basic mods, a QoL research and a recipe changer. I was wondering how I could create an entity for the game, like a new object required to craft something, a new thing the player could make, etc. I was wondering what files I would need, and what I would need to type in them. If anyone has a good example mod, or guide, please let me know. Thanks!
--CJ5Boss
May be will be helpful
viewtopic.php?f=135&t=45107
Whole data.raw into log file.