Author: Grumpy Old Man
Author Website:

Requirements: No addons required

Version: 1.0

Short description: Gives certain players the ability to upgrade cars.

Date: 2018-05-13 13:10


Comments: (1)
Rating:



 



GOM fnc vehicleTuning

by
Grumpy Old Man


Description:
Gives certain players the ability to upgrade cars.
This one was fun to work on, did it in roughly 2 afternoons, turned out ok.
The dialog has improved quite a bit in the last few hours, the video doesn't show all features.


Features:
Allows specified players to upgrade cars within 25m
Action can be added to players or objects
RPM and Traction dependent performance increase
Customization of performance related upgrades, as seen below
Chassis Tuning
Brake Tuning
Repair and Refuel/Refill options
0-100km/h / 0-60mph, eighth and quarter mile times measured in diary
GPS Tracker
Bulletproof Tires
Ejection Seats
F.O.G. Machine
Cruise Control
Change Vehicle Paint
Modify Accessories (Backpacks, Bumpers, Lightbars) where available
Adjust custom license plate/kart numbers


Installation / Usage:
How to use this script:
Unpack the downloaded .rar and copy the files except mission.sqm in any mission folder.
In the editor place:
Player unit
Car
In the players init field put: nul = [player] call GOM_fnc_vehicleTuning;
in initPlayerLocal.sqf put: player setVariable ["GOM_fnc_qualifiedMechanic",true];

You can also tweak the default upgrade settings inside "scripts\GOM\functions\VehicleTuning\GOM_fnc_initParams.sqf" as follows:
//add custom entries here, containing [upgradename,multiplier,price,description]
_engineBoostParams = [
//stock multi should be 0, so no boost is applied
["Stock Engine",0,5000,"Run of the mill engine that comes with the vehicle."],
["Engine Kit 1",1.1,15000,"Custom exhaust and air intake."],
["Engine Kit 2",1.2,30000,"Same as Engine Kit 1 + custom ECM and valve timings."]
];


Media:


Armaholic.com has its own Youtube channel where we will cover the Community made releases.
Subscribe to the Armaholic.com Youtube channel


Known issues:
Vehicles tend to get a bit unstable at times, simply get off the gas or countersteer to avoid these issues.
Stabilize the vehicle before applying further nitro boost.


Future plans:
Add cost functionality
Add Neon Kits
Add Hydraulics
Add a variety of car bombs (scripts are done, still working on GUI)
Add ability to give the car bomb trigger to other players
Add remote control for various functions, so you can use the ejection seat on passengers without being in the car


Changelog:
V1.0
MP and dedi compatible
reworked GUI
greatly improved vehicle handling while boost is applied
greatly improved default templates to reflect various upgrade stages, from a mere +50hp upgrade to a full dragster overhaul of the vehicle
boost is now traction and RPM dependent
boost will be reduced at higher speeds to emulate air resistance
Changed: Boost is now active all the time when using "VehicleForward" and "VehicleFastForward" keys, "VehicleSlowForward" will enable vanilla vehicle behavior
Removed: Nitro mechanic, might be re-added at a later point once reworked
Added: fully customizable license plates with vanilla plate generator and kart number plate handling
Added: blow off sound to emulate turbo chargers
Added: restriction as to what players are allowed to use the menu
Added: full customization as to what upgrades can be installed

v0.9
GPS Tracker
Bulletproof Tires
Ejection Seats
F.O.G. Machine
Cruise Control
Change Vehicle Paint
Modify Accessories (Backpacks, Bumpers, Lightbars) where available

v0.8
- first release


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: Script,   Action,   Modern,   Tune,   Upgrade,   Car