![]() Be sure to complete that tutorial first before continuing here.Thorfinn: Before I bought this game, I should have researched this a bit more, i.e., actually clicking on the links from the search engine instead of just assuming they still exist. If you are confused then go to the #Modding channel on Discord and ask there.Ĭreating a food or drink is just the matter of adding in more properties to the file created in. And with that you should have a working item. When this has started up, click Validate Resources and wait until the progress bar has done. Otherwise it will be set to False will disallow buying the item.Īfter you have done editing the file, head to gamedata/bin/ folder, and start up. If set to True, then it will allow players to buy the item from stores and Shipping Station. This tells the game how much you want players to sell this item for. "sellPrice" : A Float which is a decimal number.This tells the game how much you want players to buy this item for. "value" : A Float which is a decimal number.This Component does contain two more properties For example the Pricing Component, allows it to be bought and sold from shops. Components are extra things you can add to files in order to make these items do more things. Well that is somewhat a lie, the last property is named "pricing" which is a Pricing Component. Colours, Type of item and more are acceptable here.įinally there is one more property. These are what are used to search for the item. "categories" : A List containing String.Making it only available through the /spawnitem command. Otherwise it will be set to False which hides the item. If set to True, then it will allow players to find this item in the Creative Menu. Otherwise it will be set to False which disallows the item being placed. If set to True, then it will allow the item to be placed on Shelves, Tables and similar. The values here are in what is known as Radians. Increase the y value to make it rotate anti-clockwise and similarly to the other two values. This adjusts the rotation of the item in the hand. "inHandRotation" : A Vector 3 containing what is known as Floats.Increase the y value to make it go upwards and similarly to the other two values. This adjusts the positioning of the item within the players hand while they are using the item. "usageOffset" : A Vector 3 containing what is known as Floats.This adjusts the positioning of the item within the players hand. "inHandOffset" : A Vector 3 containing what is known as Floats.It is fine to use the same model for both the inventory and hand. This starts at the /content/ directory and therefore will mostly start with mods/modname/. This will be the model that appears inside the players hand. ![]() "inHand" : A String that is the path to the model you want to use.This will be the model that appears inside the inventory and on the inventory wheel. "icon" : A String that is the path to the model you want to use., as this will ensure your item will have a different code to all other items. You will most commonly want to use you use the path to the Item Model but replace / with. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |