Jump to content

[1.4.1] Snap Building PRO


Recommended Posts

  On 7/8/2014 at 3:12 PM, Buck0 said:

have you encountered a problem when placing plotpole it spawns, and seems to put the entire radius of the plotpole where the plotpole is placed, MASS desync then ensues

 

edit:: this is caused by "no plot pole" in infistar, then placing a plotpole

 

have emailed chris

Yeah it's caused by third party script, here's the video proof of it working fine: http://www.twitch.tv/raymich/b/545642006

Link to comment
Share on other sites

Thanks lads, your input means a lot.

 

btw, I've updated readme file on github if you are using new infistar BE filters. Just in case you are getting script restriction #17 kicks, make sure you delete line #19 (or replace 5 with 1 at start of the line)

Link to comment
Share on other sites

  On 7/8/2014 at 9:09 PM, redcloud78 said:

How would i go about Adding in different types of roads as a buildable that snap together?

should be possible, but I am not sure if roads contain any geo or fire geo lods, so I'm not sure if tool I use will work for you (you can find "make lootpos" tool at vbawol's github or modified version in my DZEI repo). If it does not work out, you will need to do some guessing work for snap points. In this video I am roughly explaining how config and adding snap points works, rest is up to you.

Link to comment
Share on other sites

  On 7/8/2014 at 11:38 PM, jon5353 said:

Has anyone gotten this to work with the new Indestructable Items release? (see ) I feel like I can just change snap build's player_build.sqf but I'm not sure if I can do that. Trying to not mess anything up.

you don't need to change it, player_build I am using does not contain "destructive" or replaced code blocks. Instead of object being attached to player, it is simply attached to a spawned sphere, then sphere gets attached to a player instead. Grab a diffmerge and bash this player build with that one, all you need is create sphere part, spawn snap_build and F key toggle parts. That's it really. Should be able to do it in about 5-10 mins.

Link to comment
Share on other sites

  On 7/8/2014 at 11:49 PM, raymix said:

you don't need to change it, player_build I am using does not contain "destructive" or replaced code blocks. Instead of object being attached to player, it is simply attached to a spawned sphere, then sphere gets attached to a player instead. Grab a diffmerge and bash this player build with that one, all you need is create sphere part, spawn snap_build and F key toggle parts. That's it really. Should be able to do it in about 5-10 mins.

I'm not too keen on all of this stuff, but all I did was edit snapbuild's player_build.sqf for the changes required for indestructables. I then changed my calls to snapbuild's sqf. I'll report back if that worked. 

Link to comment
Share on other sites

hey raymix, i put in a pull request that adds command menu usage as an option (defaulting to false -- while keeping your scroll system in tact).

 

you should check out it out on github and try it on your test server.

 

thanks again for the awesome addon, i am loving it :)

Link to comment
Share on other sites

  On 7/9/2014 at 1:18 AM, mudzereli said:

hey raymix, i put in a pull request that adds command menu usage as an option (defaulting to false -- while keeping your scroll system in tact).

 

you should check out it out on github and try it on your test server.

 

thanks again for the awesome addon, i am loving it :)

Hey man, thanks for the pull request, tested it out and loved it, more options for people to choose from, lets see if people prefers cmds over action menu, in that case I could just remove actions completely.

I am still waiting for people to report bugs or some negative reviews, if this keeps going as good as it is now, I guess I could convert it into config file and do a pull request to awol's repo, would you be ok to leave cmd menu in a code? EDIT: Just realized that you had to unblock code that was originally disabled by epoch for this to work. While this works well as an addition to mission file, devs might not agree with it. I'll just push my version and we'll see where it leads us from there.

 

 

  On 7/9/2014 at 1:40 AM, McPimpin said:

Does anyone have this working with "Plot for Life mod"? If so would you be so kind as to post the files needed to make it work? 

Check out second post Q&A

Link to comment
Share on other sites

Update: Option to enable commanding menus over actions (your own preference really). Cmd menus allows you to use numpad keys 0 - 9 as a shortcut to actions, handy when dealing with manual snap. For more info please refer to readme on github. Big props to Mudzereli for commit!

Link to comment
Share on other sites

  On 7/7/2014 at 1:32 PM, PryMary said:

OK so after playing around a little bit, I have figured it doesn't work with the Admin build but does work with the plot for life, which is the important one.

 

One thing to note: If you had the old snap build you could point items in extra_RC to it and it would build item's. With this it seems to not be working as I had houses (set for events) to build on using an Obsidian. When I try to do that now it states building but nothing happens after, no preview or anything. Yet when selecting another option / type of building it states "currently building"

 

I'm moving away from the Extra_RC script at the moment and as this is so much better and more advanced and would rather keep this than have extra build items on the server!

 

Cheers!

 

Oh and if you guys also have plot for life and want a copy/paste see below:

 

  Reveal hidden contents

 

Pry

Pry,

 

Can you share your other files that are required for "Plot For Life"  What version are you using?  I used your player_Buid.sqf and that fixed the plotpole ownershiop issue i was having but now once I place the plotpole it keeps telling me that I need a plotpole within 30 meters when I try and build other items

Link to comment
Share on other sites

raymix, I really like your snapping tool!

 

The high points for me being the abilities

  • to walk around the preview object before placement
  • to rotate in finer than 180 deg steps (finally orient stairs away from you, building spiral stairs is a pain without this)
  • to adjust after snapping (building a straight line of cinder walls on sloped bottom needs height adjustments)

May I make some suggestions?

  • While I personally prefer the mouse wheel actions, some of our players like commanding menues more. Would it be possible to enable both simultanously? Your description of the new feature sounds like a server wide choice has to be made, making approximately half of the population disppointed ;-). I imagine the main problem with this would be 'communication' between both sets of commands, depending on how you implemented it this could be trivial or require some redesign....
  • The 45 deg grid for rotating objects is a vast improvement over the original 180 deg. However, would it be possible to allow the delta_azimuth to change on user request? To build a pentagon, you'd need 72 deg ;-) Perhaps the input value would be an integer divisor for 360 deg (default being 8 -> 45 deg). Sadly I've no clue if one can script a suitable user input procedure.
  • Sometimes you have to build perching on something small, so you fall to your death when you step forward or backward to place the object to be added. Would it be possible to increase/decrease the distance from the object to the player like it is done with height?
Link to comment
Share on other sites

  On 7/9/2014 at 4:08 AM, McPimpin said:

Pry,

 

Can you share your other files that are required for "Plot For Life"  What version are you using?  I used your player_Buid.sqf and that fixed the plotpole ownershiop issue i was having but now once I place the plotpole it keeps telling me that I need a plotpole within 30 meters when I try and build other items

 

I am using this one here: 

 

Just using the latest version of that and merged the differences from plot4life into the same files being used by snap pro.

 

  On 7/9/2014 at 7:10 AM, Rc_Robio said:

If using Infistar, there shouldn't be any qoutes for the dayzAction items. But installed in 20 sec!! Another great addition!! Thanks Ramix!!

 

 The latest update put's the actions into quotes. (yesterdays update) 

Pry

Link to comment
Share on other sites

  On 7/9/2014 at 12:11 PM, LunchboxCharlie said:

I'm having an issue, I'm not sure if it has to do with the script or not but maintain plotpole is no longer working. It's saying '0 objects in area' when I try to maintain. 

 

It usually says that if there are no parts that need to be maintained in the area. Nothing is damaged.

Link to comment
Share on other sites

  On 7/9/2014 at 12:11 PM, LunchboxCharlie said:

I'm having an issue, I'm not sure if it has to do with the script or not but maintain plotpole is no longer working. It's saying '0 objects in area' when I try to maintain. 

grab your rocket launcher and do some minor damage to your walls, see if that gives you ability to maintain. If it does, make sure your DB event setDamageOnAge is set a bit higher than 0.1

Link to comment
Share on other sites

  On 7/9/2014 at 5:44 AM, ekroemer said:

May I make some suggestions?

  • While I personally prefer the mouse wheel actions, some of our players like commanding menues more. Would it be possible to enable both simultanously? Your description of the new feature sounds like a server wide choice has to be made, making approximately half of the population disppointed ;-). I imagine the main problem with this would be 'communication' between both sets of commands, depending on how you implemented it this could be trivial or require some redesign....

 

You should be able to put something like this at the bottom of the dayz_spaceInterrupt.sqf JUST BEFORE THE LAST LINE (which says:  _handled):

//toggles between scroll menu and commanding menu with the MINUS key (on main keyboard)
if(_dikCode == 0x0C) then {
    private["_message"];
    DZE_SNAP_PRO_USE_COMMAND_MENU = !DZE_SNAP_PRO_USE_COMMAND_MENU;
    if(DZE_SNAP_PRO_USE_COMMAND_MENU) then {
        _message = "SNAP PRO: now using COMMANDING MENU";
    } else {
        _message = "SNAP PRO: now using SCROLL MENU";
    };
    cutText[_message,"PLAIN DOWN"];
    hint _message;
};
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...