Jump to content

Photo
- - - - -

HOG Mechanic v2.0


  • Please log in to reply
6 replies to this topic
Thread Starter
hogmason
hogmason

    Gunnery Sergeant

  • Members
  • 405 posts

  • Joined: 30-March 2012

Posted 28 November 2012 - 12:26 #1

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

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


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

Edited by hogmason, 29 November 2012 - 21:08.

Posted Image
Operation HOG TaskForce 66 Combat Ops COMING SOON!!! -- CooP x dynamic mission with over 50 different random tasks
HOG MHQ v1.0
HOG Mechanic v1.0

foxhound
foxhound

    Retired Moderator

  • Members
  • 11384 posts

  • Joined: 06-June 2005

Posted 28 November 2012 - 13:21 #2

Release frontpaged on the Armaholic homepage.

Posted Image
HOG Mechanic v2.0


Edited by Foxhound, 30 November 2012 - 08:11.
updated with fixed version

Visit Armaholic.com | Visit Carriercommandaholic.com
Posted Image
Public FTP available, just check the Armaholic.com FAQ.

HMM........wonder what it is huh?

Thread Starter
hogmason
hogmason

    Gunnery Sergeant

  • Members
  • 405 posts

  • Joined: 30-March 2012

Posted 28 November 2012 - 21:04 #3

thanks foxhound much appreciated mate. ;)
Posted Image
Operation HOG TaskForce 66 Combat Ops COMING SOON!!! -- CooP x dynamic mission with over 50 different random tasks
HOG MHQ v1.0
HOG Mechanic v1.0

Thread Starter
hogmason
hogmason

    Gunnery Sergeant

  • Members
  • 405 posts

  • Joined: 30-March 2012

Posted 29 November 2012 - 09:16 #4

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

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


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 © 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.
Posted Image
Operation HOG TaskForce 66 Combat Ops COMING SOON!!! -- CooP x dynamic mission with over 50 different random tasks
HOG MHQ v1.0
HOG Mechanic v1.0

Thread Starter
hogmason
hogmason

    Gunnery Sergeant

  • Members
  • 405 posts

  • Joined: 30-March 2012

Posted 29 November 2012 - 21:11 #5

UPDATE.

*fixed a missing error 30/11/2012
PLEASE REDOWNLOAD THE FILE
Posted Image
Operation HOG TaskForce 66 Combat Ops COMING SOON!!! -- CooP x dynamic mission with over 50 different random tasks
HOG MHQ v1.0
HOG Mechanic v1.0

Iceman77
Iceman77

    Chief Warrant Officer

  • Members
  • 3580 posts

  • Joined: 13-July 2007

Posted 18 December 2012 - 16:42 #6

Is there anyway to limit the number of tires and fuel cans a unit can carry? From the test mission, through the editor, I was able to obtain as many as I wanted, granting unlimited refuels / repairs. Well... I obtained 6 of each in any case.

Thread Starter
hogmason
hogmason

    Gunnery Sergeant

  • Members
  • 405 posts

  • Joined: 30-March 2012

Posted 20 December 2012 - 03:21 #7

yeah there is a way to do this i just havent got around to it as yet ;).

IMPORTANT

thanks to Iceman77 HOG Mechanic v2 will be updated tomorrow with some excellent new features added by Iceman77 ill post details later when i get home.

Huge thanks to Iceman77 ;)
Posted Image
Operation HOG TaskForce 66 Combat Ops COMING SOON!!! -- CooP x dynamic mission with over 50 different random tasks
HOG MHQ v1.0
HOG Mechanic v1.0