Popular Post OtterNas3 Posted January 13, 2014 Popular Post Report Share Posted January 13, 2014 Hey Survivors, i started this new Thread for the Mod so it's easier for players to find it and for me to support it! This will also stop the confusion with the mod when you use Maca's or mine and have problems with it. I got Maca's permission to do it and ALL credits for the idea and the first coding goes to Maca! Thanks again Maca for this amazing idea/script! Ok here we go... This Mod adds a "Toggle Snapping" function to these Epoch Buildable objects: MetalFloor_DZ WoodFloor_DZ CinderWall_DZ CinderWallDoorway_DZ CinderWallDoorLocked_DZ CinderWallDoor_DZ CinderWallSmallDoorway_DZ CinderWallDoorSmallLocked_DZ CinderWallHalf_DZ CinderWallDoorSmall_DZ WoodLargeWall_DZ Land_DZE_LargeWoodDoor WoodLargeWallWin_DZ WoodLargeWallDoor_DZ Land_DZE_GarageWoodDoor Land_DZE_GarageWoodDoorLocked Land_DZE_LargeWoodDoorLocked WoodSmallWallThird_DZ WoodSmallWallDoor_DZ WoodSmallWall_DZ WoodSmallWallWin_DZ Land_DZE_WoodDoor Land_DZE_WoodDoorLocked Sandbag1_DZ MetalPanel_DZ Fence_corrugated_DZ StickFence_DZ Land_HBarrier1_DZ Land_HBarrier3_DZ Land_HBarrier5_DZ Fort_RazorWire Objects can be snapped to another object of the same type like:Metal_Floor_DZ <-> Metal_Floor_DZSandbag1_DZ <-> Sandbag1_DZ or any Wall combination if its the same Material like:WoodSmallWall_DZ <-> WoodSmallWall_DZWoodSmallWall_DZ <-> WoodSmallWallWin_DZCinderWallHalf_DZ <-> CinderWallHalf_DZCinderWallHalf_DZ <-> CinderWallDoorway_DZ When you start building a new object you will get a "Toggle Snapping" option if the object is supported. Hit it to activate the snapping. Distance between the two objects has to be lower then 1.5m. So move your object to almost same height and next to one side, near the top or near the bottom of the object you want to snap it to. SNAP! This allows you to build a Floor or a Wall on the same height in a perfect line. It is also possible to make perfect 90° angles with it, for this you also have to bring the object almost in the desired angle to the other object and it will snap to it. So What makes this version "Extended"? Well... Snapping will work on more then one Floor Snapping will work while building over Water Snapping a object on Top/Bottom of eachother Snapping with set rotation (for set Door open directions) More objects supported Code for finding snap points redone Demo Video: http://youtu.be/j5SXctN8WHA Download (install instructions included):https://www.dropbox.com/s/e1x7mcfuvy7mwyj/Snapping_v1.6.zip Installation instructions: 1. Download and extract Snapping_v1.6.zip 2. unpbo MPMissions\YOURMISSIONNAME.pbo 3. Copy custom folder from the extracted Snapping_v1.6 to MPMissions\YOURMISSIONNAME\ 4. Open MPMissions\YOURMISSIONNAME\init.sqf Find this line: call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; and add this line RIGHT BELOW it: call compile preprocessFileLineNumbers "custom\snap_build\compiles.sqf"; so it will look like: call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; call compile preprocessFileLineNumbers "custom\snap_build\compiles.sqf"; 5. Open MPMissions\YOURMISSIONNAME\description.ext Add this line to the VERY BOTTOM of it! (Yeah this means AFTER the last closing bracket!) It has to be the VERY LAST LINE of the File! #include "custom\snap_build\points.hpp" 6. repbo MPMissions\YOURMISSIONNAME\ - upaload - reload - snap - smile! I hope i could clarify the !IMPORTANCE! that you copy the lines i mentioned to the VERY BOTTOM! Else: No Snap - No Smile - unneded questions Have fun with it, Otter aka Bob der Baumeister - If you like it - Like it - So I can count Downloads - I like that ##################################### # Support my work # # & # # Donate # ##################################### Snobby, Friendly, Revoplay and 104 others 107 Link to comment Share on other sites More sharing options...
Randomness Posted January 13, 2014 Report Share Posted January 13, 2014 A question towards anyone from the Epoch crew: will this be implemented into the next epoch? I can be patient and wait for it if so, otherwise i'll have to get this installed as soon as possible (and i would like to say, this feature should definately be part of epoch!) ToClose 1 Link to comment Share on other sites More sharing options...
Radiix Posted January 13, 2014 Report Share Posted January 13, 2014 Looks good, will test it out. Thanks for the release :) Link to comment Share on other sites More sharing options...
Aristoi Posted January 13, 2014 Report Share Posted January 13, 2014 This looks interesting, glad to see it moving forward, thanks OtterNas3 and Maca! Was there any plan to allow walls to snap to floors? Link to comment Share on other sites More sharing options...
OtterNas3 Posted January 13, 2014 Author Report Share Posted January 13, 2014 Yeah there is a plan of doing this, but i have less time to work on this project. At the moment im workin g on other things that are time intensive, but i will have a look at it when i got some free time or get stuck on the other projects Link to comment Share on other sites More sharing options...
SideShowFreak Posted January 13, 2014 Report Share Posted January 13, 2014 Love it thanks so much! :) Link to comment Share on other sites More sharing options...
wokkelwakker Posted January 13, 2014 Report Share Posted January 13, 2014 I like this concept! I've tried it a bit now, and you probably heard the suggestions/want to do this already yourself but: - Would be nice to be able to snap a wall on top of another wall - Snap/align e.g. a cinderwall to a metal floor - Able to change the "facing direction" of the object (e.g. for wooden walls, garagedoors). Maybe i'm doing it wrong, but it seems the facing direction snaps automatically and can't be changed after. Other than that, very nice and kudo's for maca and otternas! I'm gonna use this on my server as well Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted January 13, 2014 Report Share Posted January 13, 2014 I've added it to my server. Link to comment Share on other sites More sharing options...
LordNikon Posted January 14, 2014 Report Share Posted January 14, 2014 Does anyone have experiences with infiSTAR installing the building snapping?. I have white listed the s_building_snapping action and even removed the CMD block but still nothing. I have added all other scripts with no issues on my server. Would be great if i could get some help with this setup. Its driving me crazy lol. I can join TS, vent, mumble, Skype if need be. I'm also willing to pay. Link to comment Share on other sites More sharing options...
OtterNas3 Posted January 14, 2014 Author Report Share Posted January 14, 2014 Im not familiar with the infiStar but maybe you forgot these many time mentioned , for it? http://epochmod.com/forum/index.php?/topic/5117-building-snapping/page-3#entry34674 Link to comment Share on other sites More sharing options...
OtterNas3 Posted January 14, 2014 Author Report Share Posted January 14, 2014 I like this concept! I've tried it a bit now, and you probably heard the suggestions/want to do this already yourself but: - Would be nice to be able to snap a wall on top of another wall - Snap/align e.g. a cinderwall to a metal floor - Able to change the "facing direction" of the object (e.g. for wooden walls, garagedoors). Maybe i'm doing it wrong, but it seems the facing direction snaps automatically and can't be changed after. Other than that, very nice and kudo's for maca and otternas! I'm gonna use this on my server as well 1. When i have some more free time i will have a look at snappin walls to floors and objects on top of objects 2. see 1. 3. Facing direction of the objects, i will have a look at it. Until, build from the other side ^^ Mr.Rodgers 1 Link to comment Share on other sites More sharing options...
wokkelwakker Posted January 14, 2014 Report Share Posted January 14, 2014 Does anyone have experiences with infiSTAR installing the building snapping?. I have white listed the s_building_snapping action and even removed the CMD block but still nothing. I have added all other scripts with no issues on my server. Would be great if i could get some help with this setup. Its driving me crazy lol. I can join TS, vent, mumble, Skype if need be. I'm also willing to pay. I have infiSTAR as well. The script is working as it should on my server! The only thing you have to do is add the s_building_snapping to the whitelist in the AHconfig.sqf file. Just put it in front of the ALLOWED actions, and make sure to have a comma separating the s_building_snapping with whatever comes after it! And thanks OtterNas, i'm looking forward to it! No rush, as this is already a great addition to the current building system Link to comment Share on other sites More sharing options...
calamity Posted January 14, 2014 Report Share Posted January 14, 2014 This is a verry handy script I love it.. could you add ladder to ladder ?? for make taller ladder Link to comment Share on other sites More sharing options...
OtterNas3 Posted January 14, 2014 Author Report Share Posted January 14, 2014 This is a verry handy script I love it.. could you add ladder to ladder ?? for make taller ladder That would be a object above object snap, so not yet had time to do so. Maybe in the next Days i have some time for it Link to comment Share on other sites More sharing options...
Achmed Posted January 15, 2014 Report Share Posted January 15, 2014 Looking to use this on my server however im looking to install it slightly different (i use the standard compiles file and edit the paths etc) and from comparing the player_build.sqf file to the original 1.0.3.1 file i see there is a lot of code missing from this that is in the original. Is this correct? Link to comment Share on other sites More sharing options...
OtterNas3 Posted January 15, 2014 Author Report Share Posted January 15, 2014 All functions from the 1.0.3.1 version are included. Just the part for moving the object has been moved to another file to apply the snapping abilitys. Link to comment Share on other sites More sharing options...
Achmed Posted January 15, 2014 Report Share Posted January 15, 2014 Cool thanks :) Link to comment Share on other sites More sharing options...
DangerClose Posted January 15, 2014 Report Share Posted January 15, 2014 hi, thanks for uploading the addon. I'm having a little trouble. my server gets stuck at waiting for authorisation. Do you know why this would be? (For the record I am a noob). I have got a few other scripts working fine but not sure why this one won't. Thanks in advance. Link to comment Share on other sites More sharing options...
Diceman Posted January 15, 2014 Report Share Posted January 15, 2014 Nice will be testing this right now! Link to comment Share on other sites More sharing options...
chucky_xxl Posted January 16, 2014 Report Share Posted January 16, 2014 works perfect with bexs pack and nitrado. :p thx very much Link to comment Share on other sites More sharing options...
Diceman Posted January 16, 2014 Report Share Posted January 16, 2014 works great love this! Link to comment Share on other sites More sharing options...
JoSchaap Posted January 16, 2014 Report Share Posted January 16, 2014 works good! thanks for updating! Link to comment Share on other sites More sharing options...
Achmed Posted January 16, 2014 Report Share Posted January 16, 2014 Rm02 check your rpt log for an error Link to comment Share on other sites More sharing options...
kramarz Posted January 16, 2014 Report Share Posted January 16, 2014 This is GREAT!!! Much appriciated mate! Works like a charm on nitrado hosted servers. Link to comment Share on other sites More sharing options...
kramarz Posted January 16, 2014 Report Share Posted January 16, 2014 Uhm... Actually encountered a problem... It works, flawlesly, but for me only (admin) for my players the option shows up only for half a second and then it disappears... any ideas? 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