Jump to content

[How To/Update] Build Snap with Right Click custom build, admin fast build + upgrade Version 1.6.5 IMPORTANT UPDATE: extra_rc


Recommended Posts

im clearly missing something here, have all the extra variables, have a custom complies ect

 

have all the right clicks, click each thing and nothing :S

 

have the correct items ect

 

Edit: 

snapping works

admin build works

admin upgrade works

only thing that doesnt work is building the actual items :S

 

heres a pastebin for my extra_rc.hpp

 

this is the only place i can think of the problem being

 

http://pastebin.com/BRMvX4A1

Link to comment
Share on other sites

removed file untill the new is done. major bug where it some times write the object and other times don't

 

im clearly missing something here, have all the extra variables, have a custom complies ect

 

have all the right clicks, click each thing and nothing :S

 

have the correct items ect

 

Edit: 

snapping works

admin build works

admin upgrade works

only thing that doesnt work is building the actual items :S

 

heres a pastebin for my extra_rc.hpp

 

this is the only place i can think of the problem being

 

http://pastebin.com/BRMvX4A1

 

hope that answers your question

Link to comment
Share on other sites

still same problem

 

its like the rightclicks lead to nowhere

 

have you tested with the extra_rc that I link to in the second post. if yes, then it's some thing else where, as I use these files on 4 servers without any problem. and you are SURE that you do every single step properly in each guide (maca, Otternas and my guide)

Link to comment
Share on other sites

Ive already been using extra rc for many functions

Ive had snapbuild for a long time and its always updated

So im unsure as to why its not working, my other extra rc in the same file work its just the extra building ones dont seem to, and by that I mean the extra menu option is there but once clicked it just does nothing

Ill give your second extra rc a try I guess dont see how its goijg to differ.

Theres no errors in logs, no warnings of missing files or anything which is why I find it odd

Link to comment
Share on other sites

first you will have to add in the preview objects to "points.hpp" with to proper coordinates. after that you would have to add in preview code in the section below "//Proceed after item check" in "player_build.sqf" i'm not going to add it, since it will mess up the elevator script which i use. so if you want it you will have to look into it your self ;)

 

There will be no more updates from me regarding this script unless there is a bug that needs to be fixed. As i'm working on modifications on my server to tie build objects to PlayerUID

Link to comment
Share on other sites

can I just add these classnames to my extra_rc.hpp ///////I have snapping and rightclick.  

and not have the admin fastbuild stuff ?? 

do I still have to add your player_build or can I  just add some of this

 

I just want to add these as buildables for my players. I have fastbuild set in my init.sqf

 sorry if im not understood 

Link to comment
Share on other sites

can I just add these classnames to my extra_rc.hpp ///////I have snapping and rightclick.  

and not have the admin fastbuild stuff ?? 

do I still have to add your player_build or can I  just add some of this

 

I just want to add these as buildables for my players. I have fastbuild set in my init.sqf

 sorry if im not understood 

What classnames??

about the admin fast build it's been explained in the first post and in multiple post on this topic

 

add some of what???

Link to comment
Share on other sites

What is the easiest way to set coords for the object in extra_rc.hpp, where could i grab the dimentions of any object?
Also have problem with some objects:
FAL_marktplatz - it appears but there is a message that i cannpt edit the mission and something about the object which has been deleted.
Land_СoncreteBlock - this object doesn't appear at all, when trying to build nothing appears, but when I use "space" it is written that the object hac been created but no object appears.
Took those object from the "spawn buildings and objects" in the infistar antihack admin menu. If try to build it with admin menu - everything is ok, but nothing when trying by script.
No problems with others object from listed in admin menu escept one: when building some object there is a message appearing: Snapping not available for this object
How to fix these problems?
All items added to variables in both "dayz_allowedObjects" and "DZE_maintainClasses"

Link to comment
Share on other sites

if an item is not showing check the classname look it up (google) and see if it's spelled correctly. some timesinfistar show the display name and not the classname. Also be sure not to have spaces around the classname and that those characters that should be capital letters are capital.

 

you neet to add them in points.hpp in the snap_build folder. I can't help you with this as i haven't got time to look it over and see how it works

 

And as a side note, all server owners out there i could use some help with my next release collecting data (before i release it)

Link to comment
Share on other sites

Fixed the problem in this way: added the object with a help of admin menu, saved it to the database and grabed it's class name from there. Haven't found the difference but it anyway it fixed my problem.
As for the snap points, it seems to be rather easy, almost each object except those ones which a flat, has 4 snaping points for each leaft and right side according to its corners, and also it has 2 snaping points for top and bottom according to its edges, the only thing that the easiest way to add them is to have dimentions of the object, elsewise it will take to much time for each object.
I have an idea how to get to know the aproximate dimentions of any object. You should to build the object 4 times:
1 time is tha main object, second should be exactly above it, third - exactly in front of it, and forth exactly in the left on in the righ of it. Than you go to your database and look for this objects. The difference in coords between first and second object will be dictance between their centers, so this difference will be full hight of the object. Do the same with 1-3 object and 1-4, in that way you will get its width and depth.
But this way is not a best way to make snap points because it would be not so straight as it could be. 

Link to comment
Share on other sites

Found a new problem =(
Tried to add FAL_marktplatz - everything is building but after building it there appears an error when trying to reconnect the server: "You can not play/edit this mission, because it depends on downloaded content, which was deleted. mbg_buildings_3" it is not exactly reporter error because I have it in russian and translated by myself.
So the problem is not just in an error, If it appears while in lobby, you just press next and everything goes well, but sometimes it appears when you have allready finished loading and see you character, after pressing next in this case, display becomes dark, I see the loading screen but nothing is loading, actually I can move, fire and so on, but I don't see the action, only the loading screen.

Link to comment
Share on other sites

Hello, thank you very much for this script. Before hand metia objects with Object_DATA but I had to reset the server to see the objects. 
The problem I have with some objects (ej; ASC_runway_BluelightB) is shown to place, makes the movements and then crafting the item disappears, the item also necessary for crafting inventory disappears. 
One question I have is whether brands HeliH only be put down or if you can put on the roof of my home, trying craftearla instead of going out on the roof goes on the floor and I can not climb . 
 
Note: sorry for my English, I use google translator. 
 
Hope you can help me greetings to all.
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...