Jump to content

[Release] Vehicle Deployment


BigEgg

Recommended Posts

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

 

Link to comment
Share on other sites

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 ;)

 

 

Link to comment
Share on other sites

  • 3 weeks later...
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

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 :)

Link to comment
Share on other sites

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...