HOW TO ADD MORE BUILDINGS TO BASE BUILDING 1.2

Nice to mention that on a readme lol but i do not keep the handgrenades after building a grave though.

Do you also happen to know how to get the jerrycans showing in the build menu ingame?
 
If anyone ends up going crazy with this and making a massive list of constructable buildings with varying mats - throw em up here. I intend on making a massive list of buildings in like 2 weeks, hoping someone has it done already so I don't do work that's already been done.
 
This is because you used the handgrenade code like he suggested. The way grenades work, they are not removed when you use them. Follow his tut but switch the hangrenade part out with a different item to copy.

Had nothing to do with handgrenades or not, i fixed it yopu just need to add thae same line in your server_functions.sqf for making the burning barrel then set the last (JerryCan) to 1, also, you mention that you do not know what isSimulated is for, well if set to true then it enables the gravity for that object, so when you want to use for instance a wall on top of a building you just set _isSimulated to false and your done.
 
this physics dont work somehow though with gates, it builds on top of buildings but if you open or close them they still fall down :(
 
Any suggestion why the added things always end in building the fence_ind?

My current build array looks like this inside the serverfunctions and the build_list.sqf (added the classnames of Epoch 1.0.1 crafting)

Code:
_buildlist = [
[[0, 1, 0, 0, 1, 1], "Grave",[[0,2.5,.1],[0,2,0],0,true, true, true, false, false, true, true, false, false, true, false]],//Booby Traps --1
[[2, 0, 0, 3, 1, 0], "Concrete_Wall_EP1",[[0,5,1.75],[0,2,0],0,true, false, true, false, false, true, false, true, false, true, false]],//Gate Concrete Wall --2
[[1, 0, 1, 0, 1, 0], "Infostand_2_EP1",[[0,2.5,.6],[0,2,0],0,true, false, true, false, false, false, false, false, false, false, false]],//Gate Panel w/ KeyPad --3
[[3, 3, 2, 2, 0, 0], "WarfareBDepot",[[0,18,2],[0,15,0],90, true, true, false, true, false, false, false, false, true, true, false]],//WarfareBDepot --4
[[4, 1, 2, 2, 0, 0], "Base_WarfareBBarrier10xTall", [[0,10,1],[0,10,0],0,true, true, false, true, false, false, false, true, false, true, false]],//Base_WarfareBBarrier10xTall --5
[[2, 1, 2, 1, 0, 0], "WarfareBCamp",[[0,12,1],[0,10,0],0,true, true, false, true, false, false, false, true, true, true, false]],//WarfareBCamp --6
[[2, 1, 1, 1, 0, 0], "Base_WarfareBBarrier10x",[[0,10,.6], [0,10,0],0,true, true, false, true, false, false, false, true, false, true, false]],//Base_WarfareBBarrier10x --7
[[2, 2, 0, 2, 0, 0], "Land_fortified_nest_big",[[0,12,1],[2,8,0],180,true, true, false, true, false, false, false, false, true, true, false]],//Land_fortified_nest_big --8
[[2, 1, 2, 2, 0, 0], "Land_Fort_Watchtower",[[0,10,2.2],[0,8,0],90, true, true, false, true, false, false, false, false, true, true, false]],//Land_Fort_Watchtower --9
[[4, 1, 1, 3, 0, 0], "Land_fort_rampart_EP1",[[0,7,.2],[0,8,0],0,true, true, false, true, false, false, false, true, false, true, false]],//Land_fort_rampart_EP1 --10
[[2, 1, 1, 0, 0, 0], "Land_HBarrier_large",[[0,7,1],[0,4,0],0,true, true, true, false, false, false, false, true, false, true, false]],//Land_HBarrier_large --11
[[2, 1, 0, 1, 0, 0], "Land_fortified_nest_small",[[0,7,1],[0,3,0],90, true, true, true, false, false, false, false, true, true, true, false]],//Land_fortified_nest_small --12
[[0, 1, 1, 0, 0, 0], "Land_BagFenceRound",[[0,4,.5],[0,2,0],180,true, true, false, false, false, false, false, true, false, true, false]],//Land_BagFenceRound --13
[[0, 1, 0, 0, 0, 0], "Land_fort_bagfence_long",[[0,4,.3],[0,2,0],0,true, true, false, false, false, false, false, true, false, true, false]],//Land_fort_bagfence_long --14
[[6, 0, 0, 0, 2, 0], "Land_Misc_Cargo2E",[[0,7,2.6], [0,5,0],90, true, false, false, true, false, false, false, true, false, true, false]],//Land_Misc_Cargo2E --15
[[5, 0, 0, 0, 1, 0], "Misc_Cargo1Bo_military",[[0,7,1.3], [0,5,0],90, true, false, false, true, false, false, false, true, false, true, false]],//Misc_Cargo1Bo_military --16
[[3, 0, 0, 0, 1, 0], "Ins_WarfareBContructionSite",[[0,7,1.3], [0,5,0],90, true, false, false, true, false, false, false, true, false, true, false]],//Ins_WarfareBContructionSite --17
[[1, 1, 0, 2, 1, 0], "Land_pumpa",[[0,3,.4],[0,3,0],0,true, true, true, false, false, false, false, true, false, true, false]],//Land_pumpa --18
[[1, 0, 0, 0, 0, 0], "Land_CncBlock",[[0,3,.4],[0,2,0],0,true, false, false, false, false, true, true, true, false, true, false]],//Land_CncBlock --19
[[4, 0, 0, 0, 0, 0], "Hhedgehog_concrete",[[0,5,.6],[0,4,0],0,true, true, false, true, false, true, false, true, false, true, false]],//Hhedgehog_concrete --20
[[1, 0, 0, 0, 1, 0], "Misc_cargo_cont_small_EP1",[[0,5,1.3], [0,4,0],90, true, false, false, false, false, false, false, true, false, true, false]],//Misc_cargo_cont_small_EP1 --21
[[1, 0, 0, 2, 0, 0], "Land_prebehlavka",[[0,6,.7],[0,3,0],90, true, false, false, false, false, false, false, true, false, true, true]],//Land_prebehlavka(Ramp) --22
[[2, 0, 0, 0, 0, 0], "Fence_corrugated_plate",[[0,4,.6],[0,3,0],0,true, false, false, false, false, false, false, true, false, true, true]],//Fence_corrugated_plate --23
[[2, 0, 1, 0, 0, 0], "ZavoraAnim",[[0,5,4.0], [0,5,0],0,true, false, false, false, false, true, false, true, false, true, true]],//ZavoraAnim --24
[[0, 0, 7, 0, 1, 0], "Land_tent_east",[[0,8,1.7], [0,6,0],0,true, false, false, true, false, false, false, false, true, true, true]],//Land_tent_east --25
[[0, 0, 6, 0, 1, 0], "Land_CamoNetB_EAST",[[0,10,2],[0,10,0],0,true, false, false, true, false, false, false, true, true, true, true]],//Land_CamoNetB_EAST --26
[[0, 0, 5, 0, 1, 0], "Land_CamoNetB_NATO",[[0,10,2],[0,10,0],0,true, false, false, true, false, false, false, true, true, true, true]],//Land_CamoNetB_NATO --27
[[0, 0, 4, 0, 1, 0], "Land_CamoNetVar_EAST",[[0,10,1.2],[0,7,0],0,true, false, true, false, false, false, false, true, false, true, true]],//Land_CamoNetVar_EAST --28
[[0, 0, 3, 0, 1, 0], "Land_CamoNetVar_NATO",[[0,10,1.2],[0,7,0],0,true, false, true, false, false, false, false, true, false, true, true]],//Land_CamoNetVar_NATO --29
[[0, 0, 2, 0, 1, 0], "Land_CamoNet_EAST",[[0,8,1.2], [0,7,0],0,true, false, true, false, false, false, false, true, false, true, true]],//Land_CamoNet_EAST --30
[[0, 0, 1, 0, 1, 0], "Land_CamoNet_NATO",[[0,8,1.2], [0,7,0],0,true, false, true, false, false, false, false, true, false, true, true]],//Land_CamoNet_NATO --31
[[0, 0, 2, 2, 0, 0], "Fence_Ind_long",[[0,5,.6],[-4,1.5,0], 0,true, false, true, false, false, false, false, true, false, true, true]], //Fence_Ind_long --32
[[0, 0, 2, 0, 0, 0], "Fort_RazorWire",[[0,5,.8],[0,4,0],0,true, false, false, false, false, false, false, true, false, true, true]],//Fort_RazorWire --33
[[0, 0, 1, 0, 0, 0], "Fence_Ind",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //Fence_Ind--34 ***
[[0, 0, 1, 0, 0, 0], "TentStorage",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //TentStorage--35
[[0, 0, 1, 0, 0, 0], "TentStorageDomed",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //TentStorageDomed--36
[[0, 0, 1, 0, 0, 0], "TentStorageDomed2",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //TentStorageDomed2--37
[[0, 0, 1, 0, 0, 0], "WoodShack_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //WoodShack_DZ--38
[[0, 0, 1, 0, 0, 0], "MetalGate_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //MetalGate_DZ--39
[[0, 0, 1, 0, 0, 0], "OutHouse_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //OutHouse_DZ--40
[[0, 0, 1, 0, 0, 0], "LightPole_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //LightPole_DZ--41
[[0, 0, 1, 0, 0, 0], "StorageShed_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //StorageShed_DZ--42
[[0, 0, 1, 0, 0, 0], "CanvasHut_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //CanvasHut_DZ--43
[[0, 0, 1, 0, 0, 0], "DesertCamoNet_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //DesertCamoNet_DZ--44
[[0, 0, 1, 0, 0, 0], "ForestCamoNet_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //ForestCamoNet_DZ--45
[[0, 0, 1, 0, 0, 0], "DesertLargeCamoNet_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //DesertLargeCamoNet_DZ--46
[[0, 0, 1, 0, 0, 0], "ForestLargeCamoNet_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //ForestLargeCamoNet_DZ--47
[[0, 0, 1, 0, 0, 0], "Wooden_shed_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //Wooden_shed_DZ--48
[[0, 0, 1, 0, 0, 0], "SandNest_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //SandNest_DZ--49
[[0, 0, 1, 0, 0, 0], "WoodGate_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //WoodGate_DZ--50
[[0, 0, 1, 0, 0, 0], "Land_HBarrier1_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //Land_HBarrier1_DZ--51
[[0, 0, 1, 0, 0, 0], "Fence_corrugated_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //Fence_corrugated_DZ--52
[[0, 0, 1, 0, 0, 0], "M240Nest_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //M240Nest_DZ--53
[[0, 0, 1, 0, 0, 0], "ParkBench_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //ParkBench_DZ--54
[[0, 0, 1, 0, 0, 0], "StickFence_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //StickFence_DZ--55
[[0, 0, 1, 0, 0, 0], "FuelPump_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //StickFence_DZ--56
[[0, 0, 1, 0, 0, 0], "Sandbag1_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //Sandbag1_DZ--57
[[0, 0, 1, 0, 0, 0], "Hedgehog_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]], //Hedgehog_DZ--58
[[0, 0, 1, 0, 0, 0], "BearTrap_DZ",  [[0,4,.7],[0,2,0],0,true, false, false, false, false, false, true, true, false, true, true]] //BearTrap_DZ--59 *** Remember that the last element in array does not get comma ***Remember that the last element in array does not get comma ***
];
 
Omfg I got it.

You have to put in for every record another count of materials even for testing purposes. Otherwise it will take the first one who needs exact this materials and put it in for every other classname.
 
I've been adding a few buildings etc, and have been trying to get boxes to store to DB. The Gunrack1 for instance. Any ideas? I've removed the code in sever_updateobject that sets inv to [] but with no effect, any ideas?
 
So adding new materials I get this issue:



Where they dont show the icon and it seems to replace the true/false variables under the egg timer. It registers that I have the item in my inventory, however it doesnt seem to let me build the generator (I've set it to require one ItemGenerator (Epoch btw, so its is an item in there) but it doesnt bring the list of buildables up. Neither does having a lightbulb in the list!

Any ideas?
 
The adding materials guide here is missing some steps which are needed to make it fully working.

I have now fully merged Basebuilding 1.2 and Epoch 1.0.1 Crafting System

If I have time I will try to update the guide, but you have to edit the graphical HUD to your needs. I made the HUD larger in the width and moved much things closer to the right that I'm able to add a second row of materials. Maybe not best way if you want to add only 1-2 materials but for additional 6 it was the best way I could think of.

This is how it looks like

Aaw6zBO.jpg
 
If you could update the guide that'd be awesome as at the moment I've had to revert back to using the materials already on the list :)
 
I added one item to the list and that part works fine, but when I click build it builds a different building. Any ideas on what I did wrong? I added a "Land_Hangar_2".
 
Omfg I got it.

You have to put in for every record another count of materials even for testing purposes. Otherwise it will take the first one who needs exact this materials and put it in for every other classname.


This should be your problem, too.
 
Buildable 1 -> materials needed = 1 Wire
Buildable 2 -> materials needed = 1 Wire

This will not work. Everytime you will try to build Buildable 2 it will build Buildable 1.

Every recipe must be different.
 
even though i have done what it says in the main tut about what to do if buildings disapear once they are built but i still seem to get the problem?

any advice?
 
Hi guys been away for a while with a new job I will update with Pictures the guide and if kikyou2 could send me his updated files for the epoch merge I will add it to the guide as well

also I some one would be kind enough to point out which steps are missing for the new materials section I will fix it up (been a while since ive actually looked at it :p)

I have a massive list of buildables, every thing from tvs to tank wrecks and I will post my array when I have time

PLEASE NOTE iam very busy with my new job and this will take me sometime to update
 
even though i have done what it says in the main tut about what to do if buildings disapear once they are built but i still seem to get the problem?

any advice?

im looking in to this issue and will post a fix when I am happy that it will actually fix the problem :p

for now try and disable battleeye and see if that helps (the new buildings may be seen as a hack?)

if any one wants to help with this or has fixed this please let me know how you did it! (I do not have this problem but cant remember what I did differently :p )
 
Thanks for the reply. I have tried disabling it but still the same problem. It just seems to be with certain items. I'm not sure if that because of the item in question or weather I'm doing something different.

The item that worked: a statue like the one outside the TEC building in cherno

The one that don't: fire barrel. The ones dotted around the map that you can just light straight away.

Is there certain items that don't work. Or is it more along the lines of buildings and not objects?

Thanks
 
Thanks for the reply. I have tried disabling it but still the same problem. It just seems to be with certain items. I'm not sure if that because of the item in question or weather I'm doing something different.

The item that worked: a statue like the one outside the TEC building in cherno

The one that don't: fire barrel. The ones dotted around the map that you can just light straight away.

Is there certain items that don't work. Or is it more along the lines of buildings and not objects?

Thanks
I have the same issue with the fire barrel not staying in game, iam looking into it and believe that I may have to add it into another area of the code (wont go into details as its WIP)
 
Back
Top