Results 1 to 7 of 7

Thread: HOG Mechanic v2.0

  1. #1
    Gunnery Sergeant hogmason's Avatar
    Join Date
    Mar 30 2012
    Location
    Newcastle, Australia
    Posts
    405

    HOG Mechanic v2.0

    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.
    Last edited by hogmason; Nov 29 2012 at 21:08.

    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

  2. #2
    Retired Moderator Foxhound's Avatar
    Join Date
    Jun 7 2005
    Location
    The Netherlands
    Posts
    9,365
    Release frontpaged on the Armaholic homepage.

    Last edited by Foxhound; Nov 30 2012 at 08:11. Reason: updated with fixed version

  3. #3
    Gunnery Sergeant hogmason's Avatar
    Join Date
    Mar 30 2012
    Location
    Newcastle, Australia
    Posts
    405
    Author of the Thread
    thanks foxhound much appreciated mate.

  4. #4
    Gunnery Sergeant hogmason's Avatar
    Join Date
    Mar 30 2012
    Location
    Newcastle, Australia
    Posts
    405
    Author of the Thread

    HOG mechanic v2 major Update

    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.

  5. #5
    Gunnery Sergeant hogmason's Avatar
    Join Date
    Mar 30 2012
    Location
    Newcastle, Australia
    Posts
    405
    Author of the Thread
    UPDATE.

    *fixed a missing error 30/11/2012
    PLEASE REDOWNLOAD THE FILE

  6. #6
    Chief Warrant Officer Iceman77's Avatar
    Join Date
    Jul 13 2007
    Location
    Fairbanks Alaska
    Posts
    3,225
    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.

  7. #7
    Gunnery Sergeant hogmason's Avatar
    Join Date
    Mar 30 2012
    Location
    Newcastle, Australia
    Posts
    405
    Author of the Thread
    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

Similar Threads

  1. HOG MHQ v1.0
    By hogmason in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 8
    Last Post: Apr 9 2013, 06:47
  2. Operation HOG SOCOMD Command 2 team v1.0
    By hogmason in forum ARMA 2 & OA - USER MISSIONS
    Replies: 15
    Last Post: Jun 3 2012, 03:50
  3. Armed Assault - Horsepower Hog?
    By LtUlrich in forum ARMA - GENERAL
    Replies: 24
    Last Post: May 21 2005, 06:11
  4. Mechanic are u out there?
    By #### in forum ADDONS & MODS: DISCUSSION
    Replies: 6
    Last Post: Jan 28 2003, 13:46
  5. Mechanic
    By TaNK_Em in forum ADDONS & MODS: DISCUSSION
    Replies: 1
    Last Post: Jan 3 2003, 22:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •