Skip to content

thecannons/BaseBuilding_1.3_Community

Repository files navigation

BaseBuilding-DayZ

Base Building DayZ Project. This adds a building function in DayZ mod regardless of map.

I will be providing minimal support for anyone modifying the existing code. If you have any questions, please message me on git or email me at daimyo21mods@gmail.com

Base Building Full Features List:

  • Ability to build 30+ Arma 2/OA Objects in DayZ and create your ultimate base with your friends
  • Buildable Recipe Menu with pictures and Information
  • Gate Panels with Keypad access to open and close gates
  • Buildable Booby Traps that blow up in 10 meter proximity, crawl to avoid!
  • Custom disarm bomb action, with chance to fail based on not having toolbox/entrench tool
  • AntiWall feature that doesnt allow players to exit out of vehicles into player made bases.
  • Custom buildable removal function with chance to lose toolbox
  • Detailed parameters allowing server owners to dictate where things can be built, if they are invincible, etc etc.
  • Integrated into DayZ code
  • Server restart compatible
  • Virtually compatible with any DayZ map.
  • Server side Update object feature to allow active player bases to stay updated for cleanup script.

Base Building - DayZ 1.3 Changelog

  • Optimizations to code and functionality
  • Enhanced building placement mechanic
  • Expanded build recipe menu (and new item requirements 1.8+ ONLY)
  • No more entering codes, they've been replaced by a one time entry of player UIDs
  • No more broken removals (we now store the object UID in an array, so they can always be removed)
  • Booby Traps work! They will now only detonate with players who aren't marked as friendly
  • Base Flags, build a flag and you and your friends can build within a 200 metre radius
  • Shared ownership, you can share the stored flag player UIDs with any base building item you own, your friends can then use/remove that item as if it was theirs
  • Roofs! There is now a roof option to build, these can be toggled on/off like the gates
  • Lights! Place barrels around your base and toggle them on/off to light it up at night
  • More Lights! Thanks to a modified version of AxeMan's tower lighting script, players can build and toggle tower lighting around their base!
  • Optional AI Base Guards (Requires Sarge AI, only tested with v1.5.0 no support will be given for older versions)
  • Zombie Shield. Tired of pesky zombies spawning in your base? No problem! Build a zombie shield generator, supply it with power from a generator and activate for peace of mind, and flesh.
  • Customisation is key. For server admins we've made use of master variables for a lot of options to make customising BB for your server much easier and these can all be found in one file!

RECOMMENDED TO GET STARTED

REQUIRED BEFORE INSTALLATION TUTORIAL

Installation Tutorial

If you know how to unpbo and pbo your mission/server files, skip past step 6

  1. Open PBO View
  2. Click Unpack at top (or Ctrl + U)
  3. Browse harddrive for YOUR dayz_1.YOURWORLD.pbo mission file, select it and click open
  4. Do this for YOUR dayz_server.pbo file too.
  5. Now youll have YOUR server file and YOURWORLD mission file unpbo'd

##Part 1 - The Basics:

##Part 2 - dayz_1.world folder:

  • Inside your version specific folder, follow the instructions in DayZ Mission ReadMe.txt

##Part 3 - dayz_server folder:

  • Inside your version specific folder, follow the instructions in DayZ Server ReadMe.txt

##Part 4 - BattlEye Filters:

  • Inside your version specific folder, reference the BE Filter Changes.txt

##Part 5 - SQL Update:

  • NOTE: Epoch version only requires an SQL update if you are updating from Base Building 1.2!!
  • Read the Database ReadMe for your database version in the database folder.
  • In MYSQL Workbench (or whatever you use to manage DB):
  • Set your default schema (the database you want to execute scripts on)
  • If you are updating from Base Building 1.2, then select either 'updateInstall_reality_basebuilding.sql' or 'updateInstall_hive_basebuilding.sql' and execute it
  • If you are doing a fresh install, select either 'newInstall_reality_basebuilding.sql' or 'newInstall_hive_basebuilding.sql' and execute it

###Enjoy Building your new base!

##Modifying Buildable Parameters## ###build_list.sqf:

  • Found in: "dayz_1.world\dayz_code\external\dy_work\build_list.sqf"

This is the file used to modify parameters such as:

  • Recipe requirements
  • _toolBox required?
  • _eTool required?
  • _medWait, _longWait (how long to build, if neither, then _smallWait)
  • _inBuilding allowed?
  • _roadAllowed ?
  • _inTown ?
  • _removable (can it be removed by default removal?)
  • _isStructure (is the buildable a structure?
  • _isSimulated (does it have physics?)
  • _isDestructable (can it be destroyed?)

Alternatively, if you modify any of these parameters, they are ONLY client side. In order to make sure these parameters stay persistent on server restart, you must modify the:

build_baseBuilding_arrays = { BUNCH OF CODE SIMILAR TO BUILD_LIST.sqf };

Found in the "dayz_server\init\server_functions.sqf" that we installed earlier

You can simply copy and paste the:

_buildlist = [ ENTIRE ARRAY WITH PARAMETERS YOU CHANGED ];

from "dayz_1.world\dayz_code\external\dy_work\build_list.sqf"

Into the server_functions.sqf's _buildlist = [ SERVER BUILD LIST ARRAY ];

Detailed information can be found inside the build_list.sqf itself on how to modify these parameter arrays!

Other Scripts

####player_bomb.sqf found in dayz_1.world\dayz_code\external\dy_work\player_bomb.sqf

Controls functionality of player placed bombs, modify at your own risk!

####anti_discWall.sqf Anti measure for player exploits into walls ####antiWall.sqf When player gets out of vehicle, it teleports him into the vehicle he was getting out of to counter he/she glitching through walls.

####dialog_menus by W4rGo I recommend not modifying this and you must have permission from W4rGo to do so.



##CREDITS:

  • 1.3 Revisions by Kham(rosska85) and SeaWeeduk
  • Simple bomb script by Igneous01:
  • W4rGo for his excellent Build Recipe Menu Dialog
  • Operational Gates by Humbleuk and Killzone Kid modified
  • DayZ Code from “Rocket” Dean Hall and DayZ community team
  • Code conversion algorithm for keypanel access by Xeno
  • AxeMan for his original Tower Lighting script
  • Killzone Kid, Humbleuk and Ashfor for all their work/inspiration and any code utilized in this - release.
  • Ayan4m1/Bliss team Server Package and support
  • Entire DayZ community that help with coding and custom hooks/scripts/server support

About

Base Building Community Update

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published