Jump to content
Sign in to follow this  
theopolus

Battleboys Port of HOG Mechanic for ArmA 3 - Repair and Refuel Script

Recommended Posts

Battleboys Port of HOG Mechanic for ArmA 3 - Repair and Refuel Script

hog_mechanic.jpg


DOWNLOAD:
Scripts and Example mission are available here;

http://www.mediafire.com/download/139jm8a3aljl8il/BB_JC_RSRC_HOG_Mechanic.Stratis.7z

RATIONALE:
An excellent script for small groups that don't have lots of players willing to play the role of Logistics.

This set of scripts allows players to pick up and later use 'Repair Kits' to repair and refuel vehicles in ArmA 3. Kits are assigned to the players UID so they are persistent between revives if that's your style of play. Once the action is selected from the vehicles action menu, "Service Vehicle", the player will enter an animation during which the vehicle is being serviced. After about 30 seconds the vehicle will be fully repaired and refueled.

Works in single player as well as multiplayer and dedicated server environment. By default the array of classnames that may take and use repair kits is limited to the engineers in the vanilla game - WESTl, EAST and GUERILLA units. )

The Battleboys ArmA group has been using this version, as well as the original ArmA 2 version, for many years. I only recently decided to release this as a tool other groups could use. As a point of clarity, the note on =MASON='s original release thread under the "Distributing" section - use and distribution is AOK as long as credit is given. As well, about a year ago I did PM him to see that he was ok with my group porting it over to ArmA 3 but I did not hear back from him.

USAGE:
1) Copy the provided sample mission to the following directory;

C:\Users\YourName\Documents\Arma 3 - Other Profiles\YourNick\mpmissions

2) open it in the multiplayer mission editor to have a look and copy the required objects to your own missions

3) Place the scripts into your own mission directory - by default these files assume that you store your scrips in a directory labelled 'scripts' in your mission folder

4) Place the following in your init.sqf
 

/////Init HOG Mechanic & Public Variable/////
if ! isdedicated then {
[player] execVM "scripts\HOG_mechanic\common.sqf";
/////Repair
[player] execVM "scripts\HOG_mechanic\Repair\add_repair_TOvehicle.sqf";
[player] execVM "scripts\HOG_mechanic\repair_functions.sqf";
[player] execVM "scripts\HOG_mechanic\Repair\tyre_count.sqf";
};
/////End of Resource/////

MEDIA:
 

FINAL THOUGHTS:
Enjoy and go ahead and use this if it meets your needs. Thanks again to everyone in this community and on the forums for providing such great support and resources. Thanks and credit to =MASON= for his original ArmA 2 version and thanks to BANSHEE at Battleboys ArmA for help with the animations.

Theoplus AKA JESTER at Battleboys Gaming

  • Like 1

Share this post


Link to post
Share on other sites

Sounds interesting will have to take a look. Thanks bud for your share

Share this post


Link to post
Share on other sites

Hah, talk about timing. Been looking for something like this :D

Share this post


Link to post
Share on other sites

Yo thanks for this amazing feature. We've been using ACE3 but the repair option isn't working atm. Does it repair broken wheels too?

Share this post


Link to post
Share on other sites
Yo thanks for this amazing feature. We've been using ACE3 but the repair option isn't working atm. Does it repair broken wheels too?

In a word, yes.

The script is kind of 'whole deal' kind of thing, once you select "Service Vehicle" the vehicle is repaired fully and fully refueled, ie. setDamage = 0 and Fuel = 1. So wrecked tires and all will be fully repaired.

Hope that helps.

Theopolus

Share this post


Link to post
Share on other sites
In a word, yes.

The script is kind of 'whole deal' kind of thing, once you select "Service Vehicle" the vehicle is repaired fully and fully refueled, ie. setDamage = 0 and Fuel = 1. So wrecked tires and all will be fully repaired.

Hope that helps.

Theopolus

THANK YOU Theopolus for releasing this. My group really really needs this right now. Especially with no repair in ACE right now. Thanks again !!!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×