BigEgg Posted March 31, 2017 Report Share Posted March 31, 2017 I needed a nice deploy script that was minimal but did everything I needed it to do. So I made my own :) I need to do some optimizing with this code (change the config into arrays - other small things) but it works great :) What it does: Allows players to deploy a Bike, ATV, or a Mozzie (by default). Compatible with almost all (if not all) vehicles. Required parts can include both magazines and toolbelt items (or weapons in general if needed). Vehicles can be deployed on high buildings, bases, or bridges without issue. The server owner can: Configure what vehicles players can deploy Decide if the player will go through an animation while deploying the vehicle Decide if the player can deploy the vehicle while within someone else's plot area Decide if the player can deploy the vehicle while in combat Decide if the vehicle can be sold at traders Decide if the player can deploy the vehicle while in a vehicle Decide if the vehicle should have it's ammo removed when deployed Decide if the player can deploy the vehicle on a ladder Decide what parts each vehicle needs to be deployed Decide what the display name of the vehicle will be on all messages that appear during the process I have made the files more configurable (I normally don't have all of the config options - I put them there for other people to be easily able to configure it in whatever way they like), so there might be a bug or two I am unaware of, so please post if you find one :) Download and install instructions on my github: https://github.com/BigEgg17/Vehicle-Deployment#installation Michal.esl94, Hooty, MG-Maximus and 4 others 7 Link to comment Share on other sites More sharing options...
BigEgg Posted March 31, 2017 Author Report Share Posted March 31, 2017 Reserved Link to comment Share on other sites More sharing options...
Michal.esl94 Posted March 31, 2017 Report Share Posted March 31, 2017 Thats what i am looking for ! Thank you BigEGG! Tested and Works great for me. :) BigEgg 1 Link to comment Share on other sites More sharing options...
BigEgg Posted March 31, 2017 Author Report Share Posted March 31, 2017 1 hour ago, Michal.esl94 said: Thats what i am looking for ! Thank you BigEGG! Tested and Works great for me. :) @Michal.esl94 - I have made a couple small fixes if you would like to re-download and apply the fixes :) Michal.esl94 1 Link to comment Share on other sites More sharing options...
juandayz Posted March 31, 2017 Report Share Posted March 31, 2017 The configs features that the script offers are great! well done.........................AGAIN! BigEgg 1 Link to comment Share on other sites More sharing options...
Anhor Posted April 1, 2017 Report Share Posted April 1, 2017 Is it not the same with DEPLOY ANYTHING? Bike and mozzie allready in. By myself added a old motorcycle (1 scrap meatl. 1 fuel tank, 1 engine parts and 2 wheels), a old tractor (2 scrap metal, 1 fuel tank, 1 engine parts and 4 wheels). Next I will add is a yellow pook ;) BigEgg 1 Link to comment Share on other sites More sharing options...
DieTanx Posted April 20, 2017 Report Share Posted April 20, 2017 Spoiler Error in expression <ernarus\vehicle_deploy\config.sqf" if !(_deployInCombat) then { if (player getVa> Error position: <_deployInCombat) then { if (player getVa> Error Undefined variable in expression: _deployincombat File mpmissions\__CUR_MP.Chernarus\vehicle_deploy\config.sqf, line 1 I get a Client side error with this. I am still able to craft/pack without issues even with error. _combat = false; is set like this for all vehicles i have for crafting. Link to comment Share on other sites More sharing options...
BigEgg Posted April 20, 2017 Author Report Share Posted April 20, 2017 20 hours ago, DieTanx said: Hide contents Error in expression <ernarus\vehicle_deploy\config.sqf" if !(_deployInCombat) then { if (player getVa> Error position: <_deployInCombat) then { if (player getVa> Error Undefined variable in expression: _deployincombat File mpmissions\__CUR_MP.Chernarus\vehicle_deploy\config.sqf, line 1 I get a Client side error with this. I am still able to craft/pack without issues even with error. _combat = false; is set like this for all vehicles i have for crafting. It appears that when I fixed this issue, it also pasted the fixed code at the top of the config file when I made the commit (I did it through github website so that might have messed up or I was just tired lol) - anyways the fix is located here: https://github.com/BigEgg17/Vehicle-Deployment/commit/7465feb33061322a907002ed693d622f5b767d25 Or you can simply re-download the files :) DieTanx 1 Link to comment Share on other sites More sharing options...
DieTanx Posted April 23, 2017 Report Share Posted April 23, 2017 Does this auto delete the vehicles at reset? Link to comment Share on other sites More sharing options...
BigEgg Posted April 23, 2017 Author Report Share Posted April 23, 2017 7 minutes ago, DieTanx said: Does this auto delete the vehicles at reset? Yes - the vehicles are not saved so they automatically delete. DieTanx 1 Link to comment Share on other sites More sharing options...
DieTanx Posted April 23, 2017 Report Share Posted April 23, 2017 Thank you sir Thank you for all your hard work on all the things :) BigEgg 1 Link to comment Share on other sites More sharing options...
DieTanx Posted April 28, 2017 Report Share Posted April 28, 2017 Question _deployOnOtherPlots = false; // Allow players to deploy vehicles within an enemy players plot area? _deployInVehicle = false; // Allow players to deploy vehicles while they are in a vehicle? _deployOnLadder = false; // Allow players to deploy vehicles while they are on a ladder? i have these all set to false, but i am still able to craft while being in enemy plot, any thoughts? Link to comment Share on other sites More sharing options...
BigEgg Posted April 29, 2017 Author Report Share Posted April 29, 2017 On 4/27/2017 at 10:11 PM, DieTanx said: Question _deployOnOtherPlots = false; // Allow players to deploy vehicles within an enemy players plot area? _deployInVehicle = false; // Allow players to deploy vehicles while they are in a vehicle? _deployOnLadder = false; // Allow players to deploy vehicles while they are on a ladder? i have these all set to false, but i am still able to craft while being in enemy plot, any thoughts? I am not being able to repeat this issue. The number of meters away is dependent upon the first number in DZE_PlotPole. So, if you had DZE_PlotPole set like this: DZE_PlotPole = [30,90]; The player wouldn't be able to build 30 meters from another person's plot pole. 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