calamity Posted October 27, 2014 Report Share Posted October 27, 2014 I am trying to allow page up higher than 5 meters when building... I set this in snap_pro\player_build.sqf but it still gives same message "Cannot move up or down more than 5 meters"; if(abs(_objHDiff) > 30) exitWith {_isOk = false; _cancel = true; _reason = "Cannot move up or down more than 30 meters"; detach _object; deleteVehicle _object; detach _objectHelper; deleteVehicle _objectHelper; }; so if it's now here where I st height where is it ???? basically i have a building as a deployable but it deploys in the ground so it needs raised more than its allowing..... Link to comment Share on other sites More sharing options...
0 Crude Posted October 27, 2014 Report Share Posted October 27, 2014 look in your complies.sqf and see which file its compiling for : player_build Default player_build = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build.sqf"; if its set as default you need to change it to the one you want player_build = compile preprocessFileLineNumbers "CUSTOMFOLDER\snap_pro\player_build.sqf"; Link to comment Share on other sites More sharing options...
0 calamity Posted October 27, 2014 Author Report Share Posted October 27, 2014 look in your complies.sqf and see which file its compiling for : player_build Default player_build = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build.sqf"; if its set as default you need to change it to the one you want player_build = compile preprocessFileLineNumbers "CUSTOMFOLDER\snap_pro\player_build.sqf"; I had checked that and somehow it was set to default player_build = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build.sqf"; not sure how that was not set to snap_pro\player_build.sqf I changed it to the snap_pro\playerbuild.sqf and still says 5 meters Im at a loss here.... edit.... I just noticed I have another compiles in vasp folder calling it in the default location.. I just changed path to snap_pro.... not sure HOW I have over 50 scripts working with multiple compiles redirecting path of files that I changed paths .... not sure how snap pro is even working since its calling the default player_build.sqf Link to comment Share on other sites More sharing options...
0 Crude Posted October 27, 2014 Report Share Posted October 27, 2014 if its still saying 5 meters then you still calling the default player_build as your _reason stays 30 meters check you init.sqf and check which compliles your calling Default call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; Link to comment Share on other sites More sharing options...
0 calamity Posted October 27, 2014 Author Report Share Posted October 27, 2014 if its still saying 5 meters then you still calling the default player_build as your _reason stays 30 meters check you init.sqf and check which compliles your calling Default call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; upon further testing this is only an issue when I use deploy so I just need to find its playerbuild my normal epoch buildables can go higher than 5 meters.... Link to comment Share on other sites More sharing options...
0 Crude Posted October 27, 2014 Report Share Posted October 27, 2014 if your meaning the Bike deploy script then check player_deploy.sqf around Line 382 / 392 calamity 1 Link to comment Share on other sites More sharing options...
0 calamity Posted October 27, 2014 Author Report Share Posted October 27, 2014 if your meaning the Bike deploy script then check player_deploy.sqf around Line 382 / 392 yup that was it, I just happend to notice the player_deploy when I did a search for player_build and looked in it and there it was.... thankz for your help.... I got it before reading your suggestion but I still appreciate the help.... Link to comment Share on other sites More sharing options...
Question
calamity
I am trying to allow page up higher than 5 meters when building...
I set this in snap_pro\player_build.sqf but it still gives same message "Cannot move up or down more than 5 meters";
so if it's now here where I st height where is it ????
basically i have a building as a deployable but it deploys in the ground so it needs raised more than its allowing.....
Link to comment
Share on other sites
6 answers to this question
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