joshnz1995 Posted December 31, 2016 Report Share Posted December 31, 2016 Is there away to make everything indestructible except doors in epoch 1.0.6? I see there is scripts for older versions but they don't work in 1.0.6 Link to comment Share on other sites More sharing options...
0 juandayz Posted December 31, 2016 Report Share Posted December 31, 2016 THers an option in init or configvariables to allow,disallow indestructibles bases. I cannot acces to my server files now. But check how is the name for the variable. For example dzegodmod. And find it in custom variables, maybe all objects ids are defined. Link to comment Share on other sites More sharing options...
0 joshnz1995 Posted December 31, 2016 Author Report Share Posted December 31, 2016 im not sure what you mean? Link to comment Share on other sites More sharing options...
0 juandayz Posted December 31, 2016 Report Share Posted December 31, 2016 well i got my server files now.. see i was following the route for it.. in init.sqf you have an option to allow disallow god mode on bases/modulars. DZE_GodModeBase = true; // Make player built base objects indestructible now... in server monitor.sqf you have: if (DZE_GodModeBase && {!(_type in DZE_GodModeBaseExclude)}) then { this means if DZE_godmodebase is true.. and if the object its not into DZE_godModeBaseExclude then proceeed with the handledamage false. So i think this global variable DZE_GodModeBaseExclude contain all object excluded for godmode. maybe im wrong.. but if u find whers DZE_GodModeBaseExclude is defined you can add/remove objects ids. or maybe you can try to add your own global variable.... i gonna post it in a new comment to not confuse you. Link to comment Share on other sites More sharing options...
0 juandayz Posted December 31, 2016 Report Share Posted December 31, 2016 you will need a custom variables.sqf in this new custom variables find: DayZ_SafeObjects above paste: DZE_NONgodmode = ["entry your doors ids here",""]; now go to your server_monitor.sqf find: if (DZE_GodModeBase && {!(_type in DZE_GodModeBaseExclude)}) then { change by: _isnongodmode = _type in DZE_NONgodmode; if (DZE_GodModeBase && !_isnongodmode && {!(_type in DZE_GodModeBaseExclude)}) then { its just a suggestion,, dont know if gonna works or not Link to comment Share on other sites More sharing options...
0 joshnz1995 Posted December 31, 2016 Author Report Share Posted December 31, 2016 I discovered that DZE_GodModebaseexclude can be defined in the init file the the DZE_GodModebase =true; doesnt seem to work at all Link to comment Share on other sites More sharing options...
0 icomrade Posted December 31, 2016 Report Share Posted December 31, 2016 8 minutes ago, joshnz1995 said: I discovered that DZE_GodModebaseexclude can be defined in the init file the the DZE_GodModebase =true; doesnt seem to work at all it's defined in configVariables.sqf https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/configVariables.sqf#L33 So you would want DZE_GodModeBaseExclude = ["Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallDoorLocked_DZ","CinderWallDoorSmallLocked_DZ"]; juandayz 1 Link to comment Share on other sites More sharing options...
0 juandayz Posted December 31, 2016 Report Share Posted December 31, 2016 1-so go to init.sqf DZE_GodModeBase = true; // Make player built base objects indestructible b- find: configVariables.sqf change the whole line by: #include "custom\configVariables.sqf" configvariables.sqf needs be taking off the @Dayz_Epoch folder to start to use it as a custom file so: 2-Open your \@DayZ_Epoch\addons\dayz_code\ in the root of dayz_code you will find the configvariables.sqf copy and paste into Mpmissions\yourInstance\custom\ 3-open your new configvariables.sqf find: DZE_GodModeBaseExclude = []; change by: DZE_GodModeBaseExclude = ["Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallDoorLocked_DZ","CinderWallDoorSmallLocked_DZ"]; Link to comment Share on other sites More sharing options...
0 joshnz1995 Posted December 31, 2016 Author Report Share Posted December 31, 2016 iv done all that to the word but its still not working Link to comment Share on other sites More sharing options...
0 salival Posted December 31, 2016 Report Share Posted December 31, 2016 7 hours ago, juandayz said: 1-so go to init.sqf DZE_GodModeBase = true; // Make player built base objects indestructible b- find: configVariables.sqf change the whole line by: #include "custom\configVariables.sqf" configvariables.sqf needs be taking off the @Dayz_Epoch folder to start to use it as a custom file so: 2-Open your \@DayZ_Epoch\addons\dayz_code\ in the root of dayz_code you will find the configvariables.sqf copy and paste into Mpmissions\yourInstance\custom\ 3-open your new configvariables.sqf find: DZE_GodModeBaseExclude = []; change by: DZE_GodModeBaseExclude = ["Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallDoorLocked_DZ","CinderWallDoorSmallLocked_DZ"]; You don't need to copy the whole file across, this just wastes mission file space. You only need to copy the specific variables that you want. Link to comment Share on other sites More sharing options...
0 salival Posted December 31, 2016 Report Share Posted December 31, 2016 2 minutes ago, joshnz1995 said: iv done all that to the word but its still not working This is what I am running on my 1.0.6 server: DZE_GodModeBase = true; DZE_GodModeBaseExclude = DZE_DoorsLocked; //Array of object class names excluded from the god mode bases feature This makes ALL lockable doors destructible and all other objects have god mode. Link to comment Share on other sites More sharing options...
0 joshnz1995 Posted December 31, 2016 Author Report Share Posted December 31, 2016 is there something im missing iv done all this 8 hours ago, juandayz said: 1-so go to init.sqf DZE_GodModeBase = true; // Make player built base objects indestructible b- find: configVariables.sqf change the whole line by: #include "custom\configVariables.sqf" configvariables.sqf needs be taking off the @Dayz_Epoch folder to start to use it as a custom file so: 2-Open your \@DayZ_Epoch\addons\dayz_code\ in the root of dayz_code you will find the configvariables.sqf copy and paste into Mpmissions\yourInstance\custom\ 3-open your new configvariables.sqf find: DZE_GodModeBaseExclude = []; change by: DZE_GodModeBaseExclude = ["Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallDoorLocked_DZ","CinderWallDoorSmallLocked_DZ"]; Then I have 1 door and 2 wood walls placed down and i set a satchel charge on them and it gets 33% damage still Link to comment Share on other sites More sharing options...
0 salival Posted December 31, 2016 Report Share Posted December 31, 2016 2 minutes ago, joshnz1995 said: is there something im missing iv done all this Then I have 1 door and 2 wood walls placed down and i set a satchel charge on them and it gets 33% damage still Does the door get 33% damage or does the door and walls? Link to comment Share on other sites More sharing options...
0 joshnz1995 Posted December 31, 2016 Author Report Share Posted December 31, 2016 walls Link to comment Share on other sites More sharing options...
0 salival Posted December 31, 2016 Report Share Posted December 31, 2016 2 minutes ago, joshnz1995 said: walls Did you change anything in the dayz_server folder? As long as you are running Epoch 1.0.6 this WILL work. DZE_GodModeBase = true; DZE_GodModeBaseExclude = DZE_DoorsLocked; //Array of object class names excluded from the god mode bases feature This is what I am running on my 1.0.6 server to make all objects god mode EXCEPT all locked doors. It works 100% with NO issues. Link to comment Share on other sites More sharing options...
0 joshnz1995 Posted December 31, 2016 Author Report Share Posted December 31, 2016 where in dayz_server.pbo are you putting it Link to comment Share on other sites More sharing options...
0 salival Posted December 31, 2016 Report Share Posted December 31, 2016 Just now, joshnz1995 said: where in dayz_server.pbo are you putting it It does not go in dayz_server, it will go in your mission file. Put those 2 lines I gave you down the VERY bottom of the init.sqf in your mission folder and give it a try. (I have a custom variables file so I put mine in there) Link to comment Share on other sites More sharing options...
0 joshnz1995 Posted December 31, 2016 Author Report Share Posted December 31, 2016 I have tired both custom variables and bottom of init.sqf and it doesnt work Link to comment Share on other sites More sharing options...
0 salival Posted December 31, 2016 Report Share Posted December 31, 2016 If you can zip up your mission folder and put it on dropbox or similar I can make the modification for you (I am also on discord) Link to comment Share on other sites More sharing options...
0 joshnz1995 Posted December 31, 2016 Author Report Share Posted December 31, 2016 http://www.mediafire.com/file/iy1vjyhpt1gce7t/DayZ_Epoch_11.Chernarus.zip here you go Link to comment Share on other sites More sharing options...
0 joshnz1995 Posted January 1, 2017 Author Report Share Posted January 1, 2017 Fixed Thanks mate Link to comment Share on other sites More sharing options...
0 JonasF Posted April 8, 2017 Report Share Posted April 8, 2017 I have tried now to make wood destructible but think Im missing something and would be really thankfull for some help... on 1.0.6.1 in init.sqf after include I put DZE_GodModeBase = true; // Make player built base objects indestructible DZE_GodModeBaseExclude = [ "WoodFloor_DZ", "WoodFloorhalf_DZ", "WoodFloorQuarter_DZ", "WoodLargeWallWin_DZ", "WoodLargeWallDoor_DZ", "Land_DZE_LargeWoodDoorLocked", "WoodSmallWallDoor_DZ", "WoodSmallWallWin_DZ", "Land_DZE_GarageWoodDoor", "Land_DZE_GarageWoodDoorLocked", "WoodLadder_DZ", "WoodRamp_DZ", "WoodStairsSans_DZ", "WoodSmallWall_DZ", "WoodSmallWallThird_DZ", "WoodStairs_DZ", "WoodShack_DZ" ] But this doesnt seem to work :( I would love to have wood items destructible on the server... Link to comment Share on other sites More sharing options...
0 salival Posted April 8, 2017 Report Share Posted April 8, 2017 Hello, This does work for me. It would seem you are probably putting it before this line in your init.sqf: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf#L47 I would guess that you are doing that then it is being overwritten so nothing is excluded. If you have a custom variables.sqf (as per ZSC or any one of my other mods) I would put it in there. Link to comment Share on other sites More sharing options...
0 JonasF Posted April 8, 2017 Report Share Posted April 8, 2017 I have tried now to make wood destructible but think Im missing something and would be really thankfull for some help... on 1.0.6.1 in init.sqf after include I put DZE_GodModeBase = true; // Make player built base objects indestructible DZE_GodModeBaseExclude = [ "WoodFloor_DZ", "WoodFloorhalf_DZ", "WoodFloorQuarter_DZ", "WoodLargeWallWin_DZ", "WoodLargeWallDoor_DZ", "Land_DZE_LargeWoodDoorLocked", "WoodSmallWallDoor_DZ", "WoodSmallWallWin_DZ", "Land_DZE_GarageWoodDoor", "Land_DZE_GarageWoodDoorLocked", "WoodLadder_DZ", "WoodRamp_DZ", "WoodStairsSans_DZ", "WoodSmallWall_DZ", "WoodSmallWallThird_DZ", "WoodStairs_DZ", "WoodShack_DZ" ] But this doesnt seem to work :( I would love to have wood items destructible on the server... Its for sure after that line so not sure why its not kicking in.. I do have a custom Variables as I did put in the coins and so... but where in the variables should I put it in? Thanks alot for answering ! Link to comment Share on other sites More sharing options...
0 salival Posted April 8, 2017 Report Share Posted April 8, 2017 Anywhere in the custom variables.sqf which is where I put it. Link to comment Share on other sites More sharing options...
0 SideShowFreak Posted April 9, 2017 Report Share Posted April 9, 2017 11 hours ago, JonasF said: I have tried now to make wood destructible but think Im missing something and would be really thankfull for some help... on 1.0.6.1 in init.sqf after include I put DZE_GodModeBase = true; // Make player built base objects indestructible DZE_GodModeBaseExclude = [ "WoodFloor_DZ", "WoodFloorhalf_DZ", "WoodFloorQuarter_DZ", "WoodLargeWallWin_DZ", "WoodLargeWallDoor_DZ", "Land_DZE_LargeWoodDoorLocked", "WoodSmallWallDoor_DZ", "WoodSmallWallWin_DZ", "Land_DZE_GarageWoodDoor", "Land_DZE_GarageWoodDoorLocked", "WoodLadder_DZ", "WoodRamp_DZ", "WoodStairsSans_DZ", "WoodSmallWall_DZ", "WoodSmallWallThird_DZ", "WoodStairs_DZ", "WoodShack_DZ" ] But this doesnt seem to work :( I would love to have wood items destructible on the server... Its for sure after that line so not sure why its not kicking in.. I do have a custom Variables as I did put in the coins and so... but where in the variables should I put it in? Thanks alot for answering ! Be sure to put a ; at the end DZE_GodModeBase = true; // Make player built base objects indestructible DZE_GodModeBaseExclude = [ "WoodFloor_DZ", "WoodFloorhalf_DZ", "WoodFloorQuarter_DZ", "WoodLargeWallWin_DZ", "WoodLargeWallDoor_DZ", "Land_DZE_LargeWoodDoorLocked", "WoodSmallWallDoor_DZ", "WoodSmallWallWin_DZ", "Land_DZE_GarageWoodDoor", "Land_DZE_GarageWoodDoorLocked", "WoodLadder_DZ", "WoodRamp_DZ", "WoodStairsSans_DZ", "WoodSmallWall_DZ", "WoodSmallWallThird_DZ", "WoodStairs_DZ", "WoodShack_DZ" ]; Link to comment Share on other sites More sharing options...
Question
joshnz1995
Is there away to make everything indestructible except doors in epoch 1.0.6?
I see there is scripts for older versions but they don't work in 1.0.6
Link to comment
Share on other sites
28 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now