Th3_Redeemer 0 Posted January 12, 2013 (edited) I'd like to tweak my vehicles a little since I'm hosting a bliss private hive server, and I want to replace some UH1H's with a couple special MH60S'. Any help would be great since I tried to modify it from the database, but it wouldn't spawn the helicopter after the server restart.Thanks all! Edited January 12, 2013 by Th3_Redeemer Share this post Link to post Share on other sites
AmberHelios 2071 Posted January 12, 2013 they are banned by dayz thats why they will not spawn you would have to use rmod on your server and any connecting clients Share this post Link to post Share on other sites
raryin 6 Posted January 12, 2013 (edited) Not entirely true. I have managed to add an Apache to my private hive server and other players can see it. (NO RMOD)However I tried to add a Chinook and an MV22 and although I could see them, no other players could not.Here's what I did:1. Open your Serversettings.cfg and set "verifySignatures" to 0.2. Download PBO View: http://www.armaholic...age.php?id=14343. Run PBO View. Hit CTRL + O or click Open and navigate to your ArmA2OA directory. Open the folder correlating to your current DayZ map (eg @dayz for Chernarus, @DayZLingor etc). Select "dayz_anim.pbo".4. You should now see dog (folder), zmb (folder), config.cpp and speeds.txt.5. Press CTRL + A or click Extract all and create a temporary folder anywhere (eg desktop).6. Navigate to your temporary folder and edit "config.cpp" with your favourite text editing program (Notepad++ works great).7. Press CTRL + F and search for the CLASS NAME of your desired vehicle. Classnames can be found here: http://www.armatechs...5165f/index.php8. Your desired vehicle should be in a line such as this: "class Mi17_CDF: Banned {};".9. Comment the line by typing // before the line, eg "//class Mi17_CDF: Banned {};". It is recommended you don't delete the line in case you want to revert it later.10. Now close config.cpp and in PBO View click pack and navigate to your temporary folder. Select this folder to pack and a new "pbo" file will be created in the same location as your temporary folder.11. Rename your old "dayz_anim.pbo" file to "dayz_anim_old.pbo" or something similar before copying your new .pbo into the @whatever folder.12. Now that you have unbanned your vehicle you now have to add it to the database. For this you will need a tool such as MySQL Workbench or Navicat.13. Connect to your database via your preferred tool.14. Edit the "object_data" table.15. Scroll to the bottom and create a new row.16. In the first field (object ID) type the next number in the list (eg if the previous was 15, type 16).17. In object UID type any random sequence of numbers.18. Under "instance" put the same instance value as the other objects.19. For classname copy in the "codename" you found before, eg "Mi17_CDF".20. Under damage, input how much damage you would like the vehicle to have sustained (0 = no damage, 1 = destroyed)21. Enter "0" for character ID.22. Worldspace is the coordinates you want your vehicle to be created at. There are multiple ways to do this. You can either move your character to the location and find his Worldspace coordinates in the character_data table, or you can create a tent at the location and find its Worldspace in object_data. Then simply copy this Worldspace into your new vehicle object.23. For inventory type [] to indicate the vehicle is empty.24. For hitpoints enter [].25. Enter a value for fuel (0 = empty, 1 = fuel)26. Under datestamp just enter the date and time (closest you can get) to now. Follow the structure of the dates above in object_data.27. Restart your server and your vehicle should be at the desired location!*Note to repair your vehicle you may have to re-edit the database as it can't be repaired like normal vehicles.Hope it works for you, let me know if you need any help. Edited January 13, 2013 by Raryin 1 Share this post Link to post Share on other sites
boneboys 7988 Posted January 12, 2013 Wrong Forum guys, this is for Public Servers only.Moved to Private Hive. Share this post Link to post Share on other sites
Th3_Redeemer 0 Posted January 12, 2013 (edited) Thanks for the input everyone! Went to try your run through Raryin, and I downloaded Arma Pbo View, but I don't see those folders you were talking about, just the Addons folders. Any thoughts?Also another note I dont have the Object_Data table, mine is called vehicles (I'm running Bliss FYI). If I need to supply screenshots let me know.Thanks again! Edited January 12, 2013 by Th3_Redeemer Share this post Link to post Share on other sites
raryin 6 Posted January 13, 2013 (edited) My apologies, missed a rather important step.After opening PBO View and navigating to your Addons folder, select "dayz_anim.pbo" and then the config.cpp file will be displayed.I think with a Bliss database the table is vehicle_data or something along the lines. Just search through your tables until you find one that has a long list of records with vehicle classnames and inventories etc. Edited January 13, 2013 by Raryin Share this post Link to post Share on other sites