HOG Mechanic v2
By =Mason=
/////////////////////////////////
======================>>>>DOWNLOAD<<<<<=======================
=============
ABOUT
=============
This script gives the player the ability to repair vehicles if a few requirments are met.
=================
HOW THIS WORKS
=================
At base there is a pile of tyres and fuel cans from each pile an engineer can pickup a spare tyre for Vehicle Repairs or a
Fuel can to refuel a Vehicle.
To check how many tyres you have or fuel cans you have open your map and you will find a radio with 2 options
1 to check spare tyres and 1 to check Fuel cans.
=============
Requirments
=============
1) player is an engineer.
2) player has at least 1 spare tyre to repair a vehicle.
3) player at least 1 fuel can to refuel a vehicle.
=============
HOW TO USE
=============
1) drag the demo to your missions folder
C:\Users\yourname\Documents\ArmA 2 Other Profiles\yournick\missions
2) then open it in the editor to view what you need on the map for the script to run
you can simpy select merger in the editor to merge all objects on the map over to your mission.
3) transfer the HOG_scripts folder over to your mission folder
and place the following in your init.sqf
Code:// HOG_mechanic start and Public Variable if ! isdedicated then { [player] execVM "HOG_scripts\HOG_mechanic\common.sqf"; //Repair [player] execVM "HOG_scripts\HOG_mechanic\Repair\add_repair_TOvehicle.sqf"; [player] execVM "HOG_scripts\HOG_mechanic\repair_functions.sqf"; [player] execVM "HOG_scripts\HOG_mechanic\Repair\tyre_count.sqf"; //Refuel [player] execVM "HOG_scripts\HOG_mechanic\Refuel\add_refuel_TOvehicle.sqf"; [player] execVM "HOG_scripts\HOG_mechanic\refuel_functions.sqf"; [player] execVM "HOG_scripts\HOG_mechanic\Refuel\fuelcan_count.sqf"; };
================================================== =
SETTING UP LIST OF ENGINEERS / USING WITH UNIT MODS
================================================== =
TO add different engineer classnames simply open up
HOG_scripts\HOG_mechanic\common.sqf
and at the top you will find
Code:crewType = ["USMC_SoldierS_Engineer","US_Soldier_Engineer_EP1","BAF_Soldier_EN_W","BAF_Soldier_EN_DDPM", "BAF_Soldier_EN_MTP","Soldier_Engineer_PMC","CDF_Soldier_Engineer"];
now this has all standalone engineer classnames but if you need more just add them in to the _crewType array.
===================
UPDATES
===================
V2
* Changed from player needing a laserdesignator to use repair and refuel
to player needing a spare tyre to repair and a Fuel can to refuel.
* Fixed a variable issue
* Sepperated Repair and Refuel to 2 seperate events.
===================
COPYRIGHT STATEMENT
===================
HOG Mechanic is (c) 2012 All rights reserved.
================
LEGAL DISCLAIMER
================
The Software is distributed without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
The Software is not an official addon or tool. Use of the Software (in whole or in part) is entirely at your own risk.
================================================== =======
DISTRIBUTING SIMULATION CONTENT CREATED WITH THE SOFTWARE
================================================== =======
Please note that you do NOT require permission from The Contributors to distribute simulation content (e.g. missions) created with the Software.
However, The Contributors do ask that you credit the Software in any release documentation.
=======
CREDITS
=======
thanks to the community on BIS Forums for helping me to get my knowledge of Arma 2 scripting.
HOME 
Reply With Quote
Foxhound




