Arma 3
Not enough ratings
Service/Repair Depot
   
Award
Favorite
Favorited
Unfavorite
Data Type: Composition
Composition Type: Facility, Logistics, Parking, Storage
Meta: Dependency
File Size
Posted
Updated
6.432 KB
17 Jul, 2022 @ 5:11pm
23 Jul, 2022 @ 8:36pm
2 Change Notes ( view )

Subscribe to download
Service/Repair Depot

Description
An automatic repair, rearm and refuel facility controlled by triggers.

This composition has 4 triggers in it. As is, they will only trigger when a vehicle completely stops in it.

Over 12 seconds it will rearm, repair and then refuel the vehicle. If you exit the vehicle, the repairing stops. The triggers will probably occur if anyone stands in the trigger area, so preferably only keep vehicles there.

Work in MP.

-=-

This composition is made with the intent to mimic the Tiberian Sun Service Depot while we wait for Tiberian Genesis to update. If you would like to add sound effects to the repair depot, follow these instructions:

IF YOU WANT THE SOUND EFFECT WITHOUT GOING THROUGH THE WORK OF GETTING IT, ALONG WITH THE FOLDERS AND DESCRIPTION.EXT FILE, PLEASE GO TO

https://discord.gg/f7sNPpQPzy

AND I CAN SEND IT TO YOU OVER DISCORD.

-

You will need to get the sound effect you want. The sound effect must be made into an .ogg file.

You will then need to go to your mission folder located in:

C:\Users\(YOUR COMPUTER NAME)\Documents\Arma 3 - Other Profiles\(YOUR ARMA NAME)\missions

In this mission folder, you will need to add a "sounds" folder and a description.ext

Place the .ogg file in the sounds folder. I named mine "repairsound.ogg". Name is important, so use this name or replace all future names in the code below with that.

Inside the description.ext, write

class CfgSounds
{
sounds[] = {};
class repairsound
{
name = "repairsound";
sound[] = {"\sounds\repairsound.ogg", 300, 1};
titles[] = {0,""};
};
};


Save the text file.

In 3den editor, place this code into the 4 triggers (or any trigger you want to play the sound)

bay1 say3D ["repairsound",1000,1];

bay1 is the default name of the repair depot in the composition. Replace this with whatever you want the sound to come from if you desire. 1000 and 1 effects range and volume I believe. Mess with however you would like.

-=-

IF YOU WANT THE SOUND EFFECT WITHOUT GOING THROUGH THE WORK OF GETTING IT, ALONG WITH THE FOLDERS AND DESCRIPTION.EXT FILE, PLEASE GO TO

https://discord.gg/f7sNPpQPzy

AND I CAN SEND IT TO YOU OVER DISCORD.

---

Thank you to "Hello There" of the TG discord for some assistance in modifying the code so that the vehicle gets all its magazines filled and not just one. Also, thank you for the insite on making it vehicle only, although that function is still being worked on :)

Image belongs to EA and is only used to help those looking for a service depot stand in for the Tiberian Genesis mod find it easier.
1 Comments
twidjr1 17 Jul, 2022 @ 5:39pm 
10/10 made me squirm