Jump to content

Andre Refuel and Individual Parts Repair


Recommended Posts

Hi,

 

WHAT IS THAT

Refuel & Repair Vehicle.

 

WHAT NEW ON REFUEL

Not much, but the script is all new.

 

WHAT NEW ON REPAIR

Prices varies. Each damaged part cost $400 when fully damaged and $0 when there is no damage.

A car have 10 parts, so a fully damaged car will cost $4000 to repair.

 

HELI PRICES

For heli the price is $800 for each fully damaged part. Helis also have 10 parts, so a total repair is $8000.

 

WHAT CURRENCY

Coins, you need the coins 3.0 without bank from Zupa.

 

HALF REPAIR

If you dont have the money to do a full repair, you can repair the cheaper parts (the ones less damaged). The repair process will allways start with the cheap parts.

 

CAN I CHOOSE WICH PART TO REPAIR

No. But the repair process will allways start with the cheaper parts.

 

THE SCRIPT

https://www.dropbox.com/s/30il3g30g2jjns6/arma2_andre_service_refuel_repair_v1.7z?dl=0

 

INSTALLATION

Put those files in your mission file. Open init (example).sqf to see how to run the script from your init.sqf.

 

BE FILTER

There is no need for BE filters.

 

A WORD OF THANKYOU

A word of thankyou to the creators of the Service Point Script, used as a fountain of knowledge, and of the Coins System.

Link to comment
Share on other sites

Adding vehicle armor to the price mix.

 

PART PRICE

Light Land Vehicle Part = 400

Armored Land Vehicle Part = 800

Light Air Vehicle Part = 800

Armored Air Vehicle Part = 1600

 

I'm trying to get vehicle armour with:

_armor = getNumber (configFile >> "cfgVehicles" >> _vehicleType >> "armor");

 

Vehicle size is also to be used. WIP.

 

May be a menu with all the parts, so you can bypass glass fixes.

Link to comment
Share on other sites

NEXT UPDATE (SOON)

 

CAR MENU:

REFUEL FOR 5 COINS

TOTAL REPAIR BUDGETING

REPAIR ALL

REPAIR MOTOR

REPAIR WHEELS

REPAIR BODY

 

HELI MENU:

REFUEL FOR 5 COINS

TOTAL REPAIR BUDGETING

REPAIR ALL

REPAIR MOTOR

REPAIR V AND H ROTORS

REPAIR BODY

 

PRICES:

Based on part cost ($500 for a car part, $1000 for a heli part), amount of damage and number of damaged parts.

 

CAR PRICE INCREASE:

Price increases if car armor is above 30.

 

HELI PRICE INCREASE:

Price increases if heli size is above 10 m.

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...