Mikeeeyy Posted June 21, 2014 Report Share Posted June 21, 2014 [Release/Addon] Build Snapping - Support for more buildables! (Safe, Storage Shed, 1/2 Floors, 1/4 Floors etc...) Hey all, this is an addon to @OtterNas3's Build Snapping v1.6. It simply adds snapping support for a few more buildables which his current version doesn't support. @OtterNas3 - If you have any problems with this just message me, also feel free to add the snap points to your script. Buildables supported: WoodRamp_DZ - Allows snapping to the left and right sides. VaultStorage/VaultStorageLocked - Allows snapping to the left and right sides as well as the top and bottom. TentStorage - Allows snapping to the left and right sides. TentStorageDomed/TentStorageDomed2 - Allows snapping to the left and right sides. StorageShed_DZ - Allows snapping to the left and right sides. WoodFloorHalf_DZ - Allows snapping to the front, back, left and right sides. WoodFloorQuarter_DZ - Allows snapping to the front, back, left and right sides. WoodStairsSans_DZ/WoodStairs_DZ/WoodStairsRails_DZ - Allows snapping to the left and right sides. GunRack_DZ - Allows snapping to the left and right sides as well as the top and bottom. WoodCrate_DZ - Allows snapping to the left and right sides as well as the top and bottom. Requirements: OtterNas3's Build Snapping - this should already be installed! Installation: Open the 'points.hpp' file located inside the build snapping folder. Scroll to the very bottom. Just before the very last '};' paste in the contents of the spoiler. Save the file and that's it! class WoodRamp_DZ { snap[] = {"WoodRamp_DZ"}; points[] = { { {0, -3.31323, 0}, 0 }, { {0, 3.31323, 0}, 0 } }; }; class VaultStorage { snap[] = {"VaultStorage", "VaultStorageLocked"}; points[] = { { {0.732422, 0, 0}, 0 }, { {-0.732422, 0, 0}, 0 }, { {0, 0, 1.22001}, 0 }, { {0, 0, -1.22001}, 0 } }; }; class VaultStorageLocked: VaultStorage {}; class TentStorage { snap[] = {"TentStorage"}; points[] = { { {-1.59155, 0, -0.583953}, 0 }, { {1.59155, 0, -0.583953}, 0 } }; }; class TentStorageDomed { snap[] = {"TentStorageDomed", "TentStorageDomed2"}; points[] = { { {-2.66309, 0, -0.619246}, 0 }, { {2.66309, 0, -0.619246}, 0 } }; }; class TentStorageDomed2: TentStorageDomed {}; class StorageShed_DZ { snap[] = {"StorageShed_DZ"}; points[] = { { {0, -2.72192, -1.22576}, 0 }, { {0, 2.72192, -1.22576}, 0 } }; }; class WoodFloorHalf_DZ { snap[] = {"WoodFloorHalf_DZ"}; points[] = { { {-2.50244, 0, 0}, 0 }, { {2.50244, 0, 0}, 0 }, { {0, -4.67456, 0}, 0 }, { {0, 4.67456, 0}, 0 } }; }; class WoodFloorQuarter_DZ { snap[] = {"WoodFloorQuarter_DZ"}; points[] = { { {-2.49268, 0, 0}, 0 }, { {2.49268, 0, 0}, 0 }, { {0, -2.45239, 0}, 0 }, { {0, 2.45239, 0}, 0 } }; }; class WoodStairsSans_DZ { snap[] = {"WoodStairsSans_DZ", "WoodStairs_DZ", "WoodStairsRails_DZ"}; points[] = { { {0, 1.58154, 0}, 0 }, { {0, -1.58154, 0}, 0 } }; }; class WoodStairs_DZ: WoodStairsSans_DZ {}; class WoodStairsRails_DZ: WoodStairsSans_DZ {}; class GunRack_DZ { snap[] = {"GunRack_DZ"}; points[] = { { {0.78125, 0, -0.504823}, 0 }, { {-0.78125, 0, -0.504823}, 0 }, { {0, 0, 0.234676}, 0 }, { {0, 0, -0.234676}, 0 } }; }; class WoodCrate_DZ { snap[] = {"WoodCrate_DZ"}; points[] = { { {0.996582, 0, -0.486694}, 0 }, { {-0.996582, 0, -0.486694}, 0 }, { {0, 1.00293, -0.486694}, 0 }, { {0, -1.00293, -0.486694}, 0 }, { {0, 0, 0.481537}, 0 }, { {0, 0, -0.481537}, 0 } }; }; Credit to OtterNas3 for the amazing Build Snapping script! crckdns, hansi, Three Plus and 10 others 13 Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted June 22, 2014 Report Share Posted June 22, 2014 Cool, adding it to my test server. Link to comment Share on other sites More sharing options...
Three Plus Posted June 22, 2014 Report Share Posted June 22, 2014 Works without a problem. Thanks kind sir. Link to comment Share on other sites More sharing options...
Mikeeeyy Posted June 22, 2014 Author Report Share Posted June 22, 2014 Works without a problem. Thanks kind sir. No problem man! Link to comment Share on other sites More sharing options...
Gr8 Posted June 22, 2014 Report Share Posted June 22, 2014 what about door to wall, garage door to wall, and cool stuff like that? Link to comment Share on other sites More sharing options...
Mikeeeyy Posted June 22, 2014 Author Report Share Posted June 22, 2014 what about door to wall, garage door to wall, and cool stuff like that? That's already supported in the mod. Link to comment Share on other sites More sharing options...
Brockie Posted June 22, 2014 Report Share Posted June 22, 2014 Video of me testing: http://youtu.be/PKQGKViDJss From what I found, I don't like how the storage shed snaps, I don't think it will ever get used like that. And the gun rack/safe seem to have a couple weird positions. But overall.. Works Great! Thank you! Link to comment Share on other sites More sharing options...
Mikeeeyy Posted June 22, 2014 Author Report Share Posted June 22, 2014 Video of me testing: http://youtu.be/PKQGKViDJss From what I found, I don't like how the storage shed snaps, I don't think it will ever get used like that. And the gun rack/safe seem to have a couple weird positions. But overall.. Works Great! Thank you! Glad you like it man! As for the safe snapping inside of itself, if you try it with other buildables it will do it too, it's just a quirk in the snapping code. The snapping a bit quirky all over, like snapping sometimes will just flip the angles, the mod isn't 100% bug free. As for the gun rack, I must of screwed up a snap point, I'll take a look later. Link to comment Share on other sites More sharing options...
Flosstradamus Posted June 25, 2014 Report Share Posted June 25, 2014 Has Maca been forgotten?! cen 1 Link to comment Share on other sites More sharing options...
Mikeeeyy Posted June 26, 2014 Author Report Share Posted June 26, 2014 Has Maca been forgotten?! Well I am new to modding Arma 2 so I don't know all the 'ins' and outs' of this 'Maca' guy, plus OtterNas3's original topic credited him and this is an addon to that so I don't find it necessary to credit again. Link to comment Share on other sites More sharing options...
cen Posted June 26, 2014 Report Share Posted June 26, 2014 Logic. Credit Otter, but not the original creator :D Link to comment Share on other sites More sharing options...
Mikeeeyy Posted June 26, 2014 Author Report Share Posted June 26, 2014 Logic. Credit Otter, but not the original creator :D Dude, it's a few snap points... chill out. Gr8 1 Link to comment Share on other sites More sharing options...
mudzereli Posted June 28, 2014 Report Share Posted June 28, 2014 Great addition, thanks for the contribution. BTW, there seems to be a lot of growth-inhibiting negativity on the forum. I find it best to just ignore it and focus on the positive :) PryMary 1 Link to comment Share on other sites More sharing options...
Mikeeeyy Posted June 28, 2014 Author Report Share Posted June 28, 2014 Great addition, thanks for the contribution. BTW, there seems to be a lot of growth-inhibiting negativity on the forum. I find it best to just ignore it and focus on the positive :) Thanks man and yeah I'm just gonna keep my head down. I'll be releasing something pretty cool soon. Link to comment Share on other sites More sharing options...
Gr8 Posted June 28, 2014 Report Share Posted June 28, 2014 I'll be releasing something pretty cool soon. Chillout simulator? :P Link to comment Share on other sites More sharing options...
xSkilledElitex Posted June 29, 2014 Report Share Posted June 29, 2014 Logic. Credit Otter, but not the original creator :D Did you mean 'Credit Otter, but not the original creator #FuckLogic'? Chillout simulator? :P That reminds me you should add rocks to the build points. Link to comment Share on other sites More sharing options...
Tricks Posted July 1, 2014 Report Share Posted July 1, 2014 This is amazing! Thanks! Link to comment Share on other sites More sharing options...
Mikeeeyy Posted July 1, 2014 Author Report Share Posted July 1, 2014 This is amazing! Thanks! No problem bud. Link to comment Share on other sites More sharing options...
Mintymanau Posted July 5, 2014 Report Share Posted July 5, 2014 Was unable to get this working. When i load the server it just keeps saying Wait for Host. Any Ideas would be good. Link to comment Share on other sites More sharing options...
Mikeeeyy Posted July 5, 2014 Author Report Share Posted July 5, 2014 Was unable to get this working. When i load the server it just keeps saying Wait for Host. Any Ideas would be good. You can't really go wrong with this, just undo everything you did and follow the instructions carefully. Mintymanau 1 Link to comment Share on other sites More sharing options...
Mintymanau Posted July 5, 2014 Report Share Posted July 5, 2014 You can't really go wrong with this, just undo everything you did and follow the instructions carefully. yeah i did, I'm using notepad to open points.hpp, Is that right? Link to comment Share on other sites More sharing options...
Tricks Posted July 5, 2014 Report Share Posted July 5, 2014 Mikeeeeey. Any chance u can make stairs snap at the top and bottoms? Link to comment Share on other sites More sharing options...
Mintymanau Posted July 5, 2014 Report Share Posted July 5, 2014 Thanks Link to comment Share on other sites More sharing options...
Mikeeeyy Posted July 5, 2014 Author Report Share Posted July 5, 2014 yeah i did, I'm using notepad to open points.hpp, Is that right? Personally, I'd recommend Notepad++ as Notepad is VERY limited. I don't see why that'd stop it from working though. Link to comment Share on other sites More sharing options...
Mikeeeyy Posted July 5, 2014 Author Report Share Posted July 5, 2014 Mikeeeeey. Any chance u can make stairs snap at the top and bottoms? I'll do that for you soon, busy atm. Link to comment Share on other sites More sharing options...
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