Jump to content
  • 0

Custom Crafting Recipes


Project2501

Question

8 answers to this question

Recommended Posts

  • 0

@dayz_Epoch\Addons\dayz_code\config.bin

 

Use a program called unrap to unpack the .bin file and you get a bunch of .hpp files. the one you're looking for is CfgMagazines.hpp

 

 
  On 11/10/2013 at 5:57 AM, Phyrstorm said:

Is there any way to add custom crafting recipies to the epoch build system without client side code changes?  I would like to be able to add the ability to build permanent fires and wells to the players for use at their base.

 

Since it's in @dayz_epoch, this is being run clientside, so clientside code changes are neccesary.

Link to comment
Share on other sites

  • 0
  On 9/26/2013 at 8:10 AM, Project2501 said:

Anyone know where the recipes are defined in Epoch? I can't find them in the mission or server files and would love to make some additions.

 

Any help on locating these, or an example of how to add one via script would be much appreciated!

Went through this last weekend, I was able to succesfully add a bed recipe and object. I'm learning as I go, here are my notes from the process; hope it's helpful.

 

cfgVehicles.hpp

    Contains: world model info and stats

    Located: \dayz_code\Configs\cfgVehicles.hpp

    

cfgMagazines.hpp

    Contains: building recipes and inventory stats

    Located: \dayz_code\Configs\cfgMagazines.hpp

 

Model Info

-"\ca" must be added to the front of model path, this appears to be the default directory

        Example: model = "\ca\buildings\furniture\bed_husbands.p3d";

-Objects must be added to allowed objects line in Variables.sqf or they will disappear once placed

 

Edit: Typos

 

Link to comment
Share on other sites

  • 0
  On 11/10/2013 at 8:13 PM, TRStinky said:

Went through this last weekend, I was able to succesfully add a bed recipe and object. I'm learning as I go, here are my notes from the process; hope it's helpful.

 

cfgVehicles.hpp

    Contains: world model info and stats

    Located: \dayz_code\Configs\cfgVehicles.hpp

    

cfgMagazines.hpp

    Contains: building recipes and inventory stats

    Located: \dayz_code\Configs\cfgMagazines.hpp

 

Model Info

-"\ca" must be added to the front of model path, this appears to be the default directory

        Example: model = "\ca\buildings\furniture\bed_husbands.p3d";

-Objects must be added to allowed objects line in Variables.sqf or they will disappear once placed

 

Edit: Typos

 

Have you been able to progress with this? If so, could you give me an example of what needs to be done to get a functioning custom recipe?

 

Thanks,

 

Rick

Link to comment
Share on other sites

  • 0

Doing this via configs is pretty much impossible without repackaging the mod (90% sure im right)

 

But I did release some code that allows you add extra "right click" options to items, with that you can then write a script to do the crafting you want.

Link to comment
Share on other sites

  • 0
  On 12/24/2013 at 4:52 PM, maca134 said:

Doing this via configs is pretty much impossible without repackaging the mod (90% sure im right)

 

But I did release some code that allows you add extra "right click" options to items, with that you can then write a script to do the crafting you want.

 

Do you have a link?  Any tips on the scripting side of it?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...