How To Add Repair Points

by toolazy2p

In some of the maps, the hangars don't repair like they are supposed to. To fix this, you need to add a repair point to the location of the hangar.

First, find the coordinates for the hangar. This can be done using BC42 or searching the StaticObjects.con in the map rfa. Once you have found them, all you nee to do is create a new object spawn in the ObjectSpawns.con file with the hangar's coordinates. Here are the names of the objects you can add:

rem *** repairs all air vehicles ***
Object.create AirplaneRepairpoint
Object.absolutePosition x/z/y
Object.rotation 0/0/0

rem *** repairs opposition air vehicles ***
Object.create Airplane1Repairpoint
Object.absolutePosition x/z/y
Object.rotation 0/0/0

rem *** repairs coalition air vehicles ***
Object.create Airplane2Repairpoint
Object.absolutePosition x/z/y
Object.rotation 0/0/0

This worked fine on the server without adding the repairpoint object to the ObjectSpawnTemplates.con. However, while repairing at an added repair point in-game, the wrench icon doesn't show up. There may be a way to fix this, but as long as the hangar does what it's supposed to then I don't care if there is an icon or not.