TuBz Posted July 11, 2014 Report Share Posted July 11, 2014 Not trying to bust any balls but when I put this on my server to test it when I snap Floor to a Floor the new one is 1cm higher, was it something I did or is it just the snap script? Tested on Wood Floors and Metal Floor happens with both. Was kinda funny made a big square for to test it out when and when it came time to place the last floor it was slowly gotten higher and higher then at the end it was 10cm from the 1st one to the last one. Yup.. I did exactly this as well.. 24 panels to make a floor with a hole in middle and ended up miles from the height i stared.. damned brilliant other wise! Link to comment Share on other sites More sharing options...
raymix Posted July 11, 2014 Author Report Share Posted July 11, 2014 Yup.. I did exactly this as well.. 24 panels to make a floor with a hole in middle and ended up miles from the height i stared.. damned brilliant other wise! It's been fixed (thanks GenCamoUGL), check out updated snappoints.hpp TuBz 1 Link to comment Share on other sites More sharing options...
TuBz Posted July 11, 2014 Report Share Posted July 11, 2014 It's been fixed (thanks GenCamoUGL), check out updated snappoints.hpp Excellent.. will give that a whirl and let it loose on the world:) Link to comment Share on other sites More sharing options...
Quimera996 Posted July 11, 2014 Report Share Posted July 11, 2014 Any one notice fps lose?? on the server ? Mi user complain for about 15 fps lost since the script is working Link to comment Share on other sites More sharing options...
JackalopeHunter Posted July 11, 2014 Report Share Posted July 11, 2014 I did notice that after installing this the server was running slow after 3 hours. Our server was set to restart every 4 hours, we just changed it to 3 and works good. Link to comment Share on other sites More sharing options...
raymix Posted July 11, 2014 Author Report Share Posted July 11, 2014 Any one notice fps lose?? on the server ? Mi user complain for about 15 fps lost since the script is working I did notice that after installing this the server was running slow after 3 hours. Our server was set to restart every 4 hours, we just changed it to 3 and works good. Hey guys, thanks for the input. Those helper objects are spawned locally, so that should not affect others on a server, however it could bog down performance a little for guy who is building if his/her base consists of lots of objects. There's a good chance that many players are trying out snapping and building at a same time, I suspect it is to do with dropped object helper being synchronized across the network too often (every 0.5 sec), which is a sleep timer set default by epoch build system (under while _isOk loop). Although this should affect desync not the fps, and you know arma and it's unpredictable fps, especially if you are running AI missions etc. Worst case scenario you could increase it to 1 second and see how it goes from there. The quick and dirty fix would be changing createVehicle to createVehicleLocal for objectHelper in player_build. Other players would not be able to see what current player is trying to build until space bar is pressed, however it should help with network issues. IMO you shouldn't really take unexperienced player's word for it instantly, they always complain... about everything. Best thing to do is try and confirm this yourself as an admin since you probably know better what the fps should be like. Because it is easy to walk into stary or cherno with fps dropping below 30s and blaming it on an addon. For example - asking few fellow players to build something at the same time and benching your fps from there. PryMary 1 Link to comment Share on other sites More sharing options...
dayzgreywolf Posted July 12, 2014 Report Share Posted July 12, 2014 You just rocked my world hun *EG* Merci!! Link to comment Share on other sites More sharing options...
raymix Posted July 12, 2014 Author Report Share Posted July 12, 2014 Thanks for heads up ebaynoob, I will add these changes to the project soon (probably tomorrow, bit busy with another project) and do a pull request to awol (yeah it's gonna be part of Epoch now 1.0.5.2). So script is open for public to edit, improve and fix as they see fit :) arkmal and PryMary 2 Link to comment Share on other sites More sharing options...
PryMary Posted July 12, 2014 Report Share Posted July 12, 2014 Lovin the fact that Awol is open to adding community made additions to the core Mod itself. It's not often you get that, and it's great to see a proper community project. Long live Epoch MOD :) Link to comment Share on other sites More sharing options...
Cannon Posted July 12, 2014 Report Share Posted July 12, 2014 Anyone got this working with admin fast build? I tried merging the _isbuildadmin checks and skips but obviously i'm not skilled enough =p Link to comment Share on other sites More sharing options...
boneau Posted July 12, 2014 Report Share Posted July 12, 2014 Running sheeps community pack with infistar but, execpt my public var kick 0, this snapping tool isnt working. no error messages - no visual tutorial - just the standard epoch build system - and try with no without infistar Link to comment Share on other sites More sharing options...
raymix Posted July 12, 2014 Author Report Share Posted July 12, 2014 Running sheeps community pack with infistar but, execpt my public var kick 0, this snapping tool isnt working. no error messages - no visual tutorial - just the standard epoch build system - and try with no without infistar Hey bud, make sure you are calling your custom compiles properly from init.sqf file.... also double check your compiles.sqf and make sure paths are correct. Link to comment Share on other sites More sharing options...
raymix Posted July 12, 2014 Author Report Share Posted July 12, 2014 For all of you interested in adding your own snap points, here's a video guide how to add points to any object you can think of and how to snap it to almost anything you can imagine: In this video I am also snapping Safe to walls of barracks, as an example. Idea is: you can customize your own snap points for certain objects that could snap to some in-game buildings. Another example - if you are using custom script that lets you spawn/call player_build to let you add custom houses/buildings to game, you can also attach snap points to them to make server modding a bit easier (for example perfectly even line of houses or your own perfectly snapped bridge to skalisty). edit: video is actually in 1440p, it's still being encoded by youtube. Done encoding. Link to comment Share on other sites More sharing options...
calamity Posted July 12, 2014 Report Share Posted July 12, 2014 I have done something and not sure why but now my toggle snap does not show up and the info words on bottom right will not show however if I press F I can still drop the preview anyone have any thoughts what I should check ?? I added this but I dont see any replaced files or calls Link to comment Share on other sites More sharing options...
raymix Posted July 12, 2014 Author Report Share Posted July 12, 2014 I have done something and not sure why but now my toggle snap does not show up and the info words on bottom right will not show however if I press F I can still drop the preview anyone have any thoughts what I should check ?? I added this but I dont see any replaced files or calls Only objects that has snap points defined will work. If scroll menu and dynamic text does not show up, it means that class name was not found in snappoints.hpp file. To add your own custom buildings to snap check out video tutorial above. Alternatively if this is issue with normal epoch buildables, make sure that snap_building is properly precompiled in your custom compiles. Link to comment Share on other sites More sharing options...
calamity Posted July 13, 2014 Report Share Posted July 13, 2014 Only objects that has snap points defined will work. If scroll menu and dynamic text does not show up, it means that class name was not found in snappoints.hpp file. To add your own custom buildings to snap check out video tutorial above. Alternatively if this is issue with normal epoch buildables, make sure that snap_building is properly precompiled in your custom compiles. found the problem working now... thankz....... I just changed my custom compiles but never added this to the compiles DZE_SNAP_PRO_USE_COMMAND_MENU = false; DZE_SNAP_BUILD_NUMKEYS = [0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B]; Link to comment Share on other sites More sharing options...
raymix Posted July 13, 2014 Author Report Share Posted July 13, 2014 Quick update: Safe snap points added, some code optimizations (thanks, ebaynoob) and newest Infistar AH comes with actions whitelisted by default now, make sure you don't add them twice (thanks, Chris). PryMary 1 Link to comment Share on other sites More sharing options...
TNT Posted July 13, 2014 Report Share Posted July 13, 2014 good work raymix happy to see this getting added to epoch =] Link to comment Share on other sites More sharing options...
Incar Posted July 13, 2014 Report Share Posted July 13, 2014 Works with 1.0.5.1/103718 Finally got around to adding this and it works nice. Encountered 1 item that doesn't bring up the option, ItemWoodWallWithDoor. I'll fix it on my end later but figured I'd mention. raymix 1 Link to comment Share on other sites More sharing options...
raymix Posted July 13, 2014 Author Report Share Posted July 13, 2014 Works with 1.0.5.1/103718 Finally got around to adding this and it works nice. Encountered 1 item that doesn't bring up the option, ItemWoodWallWithDoor. I'll fix it on my end later but figured I'd mention. Thanks for the heads up, Incar. Link to comment Share on other sites More sharing options...
TheCr4nk Posted July 14, 2014 Report Share Posted July 14, 2014 I made an german Tutorial of this Server Mod because i saw it some moments ago and iam loving it very good job dude!!!! PS: The german Tutorial for our german members : raymix 1 Link to comment Share on other sites More sharing options...
raymix Posted July 14, 2014 Author Report Share Posted July 14, 2014 Kinda weird you are using custom compiles.sqf, but calling precompile from fnSelfActions.sqf :D Well, whatever floats your boat, I guess, nice vid, man, thank you! I'll add this to Q&A post. Link to comment Share on other sites More sharing options...
edhunter Posted July 14, 2014 Report Share Posted July 14, 2014 Where exactly in my compiles.sqf have i to put this down : if (!isDedicated) then { /* Use command menu instead of scroll menu? (default = false) */ DZE_SNAP_PRO_USE_COMMAND_MENU = false; DZE_SNAP_BUILD_NUMKEYS = [0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B]; At the top or at the bottom of this file? There is at the top already : //Player only if (!isDedicated) then { have i to replace the "if" command with yours ? Link to comment Share on other sites More sharing options...
SergeantClepto Posted July 14, 2014 Report Share Posted July 14, 2014 Greetings! First of all; sry for my bad english :D Now to the topic... I installed your snap building pro. It all works fine, but I can't upgrade my cinderblock walls :/ I deactivatet my infistar but it won't work either... You did a great job so far! Thanks! Link to comment Share on other sites More sharing options...
raymix Posted July 14, 2014 Author Report Share Posted July 14, 2014 Where exactly in my compiles.sqf have i to put this down : if (!isDedicated) then { /* Use command menu instead of scroll menu? (default = false) */ DZE_SNAP_PRO_USE_COMMAND_MENU = false; DZE_SNAP_BUILD_NUMKEYS = [0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B]; At the top or at the bottom of this file? There is at the top already : //Player only if (!isDedicated) then { have i to replace the "if" command with yours ? No, you can either paste snap part below it, or you can merge code within IF statement with yours. if (!isDedicated) then { //your code here //snap code here }; I installed your snap building pro. It all works fine, but I can't upgrade my cinderblock walls :/ I deactivatet my infistar but it won't work either... Make sure you followed guide on github properly. Sounds like you borked your self actions file (which has nothing to do with this mod). Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now