Helicopter Battery
Behaviour
- Before the engine will start, a battery must be fitted in the
HelicopterBatteryslot, must not be ruined, and must have some charge left - Loses
battery.startDraincharge every time the engine is started. Stopping it costs nothing - Gains
battery.chargeRatecharge every second the engine is running - Loses
battery.lightDraincharge every second the lights are on while the engine is off - A new battery holds 500 charge. A damaged battery holds less, so a battered one runs flat sooner
Helicopter Repair Kit
What it Repairs
It repairs all six parts of the helicopter: the body, the engine, the landing gear (skids or wheels), the fuel tank, the main rotor and the tail rotor. Repair Windows fixes the glass too, the worst window first (smashed glass as well), with the same 5 m height limit. On the two Chinooks the rotor repairs read Repair Front Rotor and Repair Rear Rotor, and on the two Ospreys Repair Left Rotor and Repair Right Rotor. Repairs happen in stages — one hold moves a part up one damage level, so a badly damaged part takes several holds. A rotor is fully repaired in a single hold.Repair Kit Durability
One kit doesrepair.kitUses repairs before it is worn out, five by default. Change it in mod_config.json; set it to 0 and kits never wear out. How long each repair takes is set there too, by repair.rotorRepairTime and repair.zoneRepairTime.
Helicopter Flip Wrench
Stands a helicopter back on its gear after a crash leaves it lying on its side. The action shows when the aircraft is tipped past roughly 70°, has all but stopped and its lowest part is within about 3 m of something solid, so tall aircraft lying on their backs, such as the Ospreys and Chinooks, can be stood up too. It won’t stand up a destroyed wreck.
- It uses the same placement as the pilot’s
Xflip: the aircraft is stood up on whatever it is actually lying on — the ground, or a player-built floor — and if the upright helicopter would have no room there (a roof above, an overhang) it refuses and moves nothing, so a roof is never a way into a base - The engine is left as it is, and anyone still in a seat stays in it
- It is not tied to
groundFlipRecovery: the wrench is an item you choose to hand out. If crashes on your server should be final, leave it out of your loot and traders - Every use is written to the activity log as
FLIP_WRENCH
Helicopter Fuel Drum
A big fuel drum meant for helicopters. It holds five times as much as a jerry can. How much of the tank it fills and how fast it pours are both set in
mod_config.json, by refuel.drumPct and refuel.drumRate.
CZAutoz_HeliDrum is a second classname for the same drum, kept so existing drums, types.xml entries and trader files keep working. Use CZ_HeliDrum: the second name is due to be hidden in a later release.Barrel Helicopter Tools
Two tools exist only to build the Barrel Helicopter. Neither does anything to any other aircraft.
The torch runs on gas, so it needs a charged canister, and its flame is visible to everyone while it cuts. Both tools
spawn in Industrial alongside the thirteen build parts.
With
barrelHeli.allowBuild switched off in mod_config.json, players can’t cut a barrel into a frame, build its parts or assemble a Barrel Helicopter. Fitting parts, dismantling, stripping and flying still work.
Tracker and Radar Items
Four optional items. None of them is needed to fly.
Example
types.xml entries for all four are on the types.xml & events.xml page.
Helicopter Parts
A helicopter needs more than a battery. Four parts are fitted in the helicopter’s Engine attachments, next to the battery: the igniter plug, the hydraulic hoses, the avionics computer and the camera pod (on every helicopter with a chin camera; on the AW109 that is the Search and Rescue version only). Two fluids, turbine oil and hydraulic fluid, are poured in from their cans like fuel, and the helicopter keeps their level. The Barrel Helicopter and the Flying Carpet need none of them.Good to know
- Each part can be switched off. The
partssection ofmod_config.json(or the Helicopter Parts group in the Admin Panel) has one switch per part. A part that is switched off is never needed, and its slot is simply spare. See Global settings. - A helicopter saved without parts gets them once. The first time a helicopter whose save holds no part data loads, any part it is missing is fitted for free and both fluids are full, so nobody logs in to a dead aircraft. Turn
parts.fitExistingEnabledoff if you would rather players found the parts themselves. - Newly spawned helicopters arrive without parts, the same as the battery, but with both fluids full. Add the six items to your loot (examples on the types.xml & events.xml page), or give spawned helicopters their parts with
cfgspawnabletypes.xml. - Pouring: hold the can, stand at the helicopter’s refuel point with the rotor stopped, and hold Pour turbine oil or Pour hydraulic fluid. A can pours in about ten seconds, only as much as there is room for goes in, and the new level is shown when you finish.
- Checking: at the same refuel point, Check fluids and parts shows both fluid levels and the state of every fitted part (OK, worn, damaged, badly damaged, ruined or missing).
- Wear and repair: hits and crashes on the engine wear the igniter plug and the hoses, and hits on the body wear the avionics computer and the camera pod, at about the same rate as the part of the helicopter they sit in. Mend the hoses with duct tape, and the igniter plug, avionics computer and camera pod with an electronic repair kit.
- The Admin Panel’s Repair and Repair All also fit any missing part and fill both fluids.
- Parts come out only with the engine off, like the battery, and not while the helicopter is locked.
- The damage panel (top left) shows OIL and HYD levels in every panel style, and a caution line (for example “OIL LOW / NO HOSES / AVIONICS OUT”) whenever a part or fluid is missing, low or failed. On the UH-1H the cockpit oil pressure and temperature gauges follow the oil level too.
- The pilot sees which part is stopping a start on the left-hand key prompts (for example “Igniter plug missing — can’t start”), and gets a message the moment the hydraulics, the oil or the avionics fail in flight.
- The cans show how much is left in them, so a part-used can can be poured into another helicopter.
Adding Items to Your Server
Add these classnames to your server’stypes.xml to control how often they spawn. Ready-made entries for these four and every helicopter part are also on the types.xml & events.xml page. Example entries:
These numbers are examples only. Change
nominal, min and lifetime to suit your own server.