Monkeynutz

Vehicle Salvage

21 posts in this topic

Hello,

It's been a while so here is something simple...
I was going to make this a default part of ExAd originally but i decided to close ExAd for the greater good and made this and forgot to release it.

Scroll wheel on a blown up vehicle to start salvaging it. It gives a progress bar on the screen and Junk metal arrives at your feet along with the body/bodies of the people in the wreck of the vehicle!

It is a very simple, very lightweight script that does what it says on the tin!

Link: https://github.com/GamingAtDeathsDoor/Vehicle_Salvage

Update v1.0.0:
Added, an option to require a tool to salvage the vehicle.
Added, an array to define multiple tools.
Added, an option to define whether junk is given in return.
Added, an option to set the percentage chance for each junk item to drop.
Added, Junk given array for you to define.
Added, a few if functions to state different things depending on your settings.
Added, The script will check for the vehicle's name and tell you it in the Exile toast.
Thanks to @El Rabito For the testing help and suggestions to the script. More to come!

Update v1.0.1
Added, Option to require different tool sets depending on the type of vehicle. (Car, Tank, Air, Boat.)
Added, Option for different junk to drop depending on type of vehicle.
Changed, Configs for the script moved into separate file now called "Customize.sqf"

Update v1.0.2
Fixed a spelling error. Capital letters matter!
Changed a couple if funtions to work better.
More stuff i forgot about or CBA to explain.

Enjoy!

Edited by Monkeynutz
Update v1.0.2
  • Like 7

Share this post


Link to post
Share on other sites
Advertisement
18 hours ago, Leonid_Manylov said:

Not working for me. Maybe put to init this thread - [] execVM "GADD_Apps\VehicleSalvage\Customize.sqf";

My bad, spelling error in the initPlayerLocal.sqf

Please update to the latest.

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.