Realistic repair scriptbyzealot111 Description: I want to share field repair script which we using in our TvT games and which I believe adds additional realism to the game. It add every unit additional ability to field repair heavy damaged vehicle to "Yellow" state. Repair takes 40-400 seconds (depends on number of heavy damaged parts) and requires dispensable ToolKit in backpack or in vehicle cargo, this kit dissapears after the repair. But you can repair vehicle first time without ToolKit, this simulates spare parts set which always exists on every military vehicle. Repair trucks could repair 5 times and each repair lasts 180 sec. Installation / Usage: Just copy zlt_fieldrepair.sqf file into your mission folder in: Documents\Arma 3 - Other Profiles\{YOUR ARMA PROFILE NMAE}\MPMissionsPut in yoyr init.sqf string: [] execVM "zlt_fieldrepair.sqf";or if you use dynamically created repair trucks in your mission: [true] execVM "zlt_fieldrepair.sqf"; Current limitations:: You should not use Engineer or Repair Specialist classes when using this script, because it doesnt remove vanilla repair actions from their menus and they still will be able to repair vehicles for 1 second. Changelog: 27/01/2014 - Bugfixes, reduced repair times to 30 secs. for each damaged part and 120 secs. fr repair truck 25/12/2013 - Player respawn support. 24/12/2013 - "Repair interrupted" should be completely fixed now. 22/12/2013 - Hotfix for "Repair interrupted" problem. 15/12/2013 - Repair time depends now from vehicle damage level, repair lasts from (40 sec - 1 broken wheel) to 400 sec. Minor bugfixes. 12/12/2013 - Support for dynamically created vehicles but repair trucks. 09/12/2013 - Several bugfixes regarding working on dedicated MP server. 05/12/2013 - Added support for repair tracks. v1.2 - Fixed minor bugs - Added support for repair tracks v1.1 - All files integrated into one script. Installation and use greatly simplificated. - Now it repairs only wheels, Engine and Tracks. v1.0 - first release Forum topic: - BI forums Enable javascript to be able to download from Armaholic please! |
There are no problems with the script and it's very easy to use. A tip to make it more realistic, use a repair animation instead of using the medic animation. You could use one of the animations from the campaign section.
Hi, thanks for the review. There is special animation "inbasemoves_repairvehicleknl" but player playmovenow "inbasemoves_repairvehicleknl"; doesnt work, it just stucks player animation in one state. You can set this animation for the AI but not for players. If you know how to enable this animation for players please tell me and I will update this script.
Simplificated?.....
Thanks for a great script and a good belly laugh.... Although simplificated certainly gets the point across.
Good mod but, when you play as mechanic the "repair" option keeps popping up what kills the function of mod...
You should not place engineers in mission where you plan to use this script.
Total comments : 6, displayed on page: 6