Server guide
Custom paint and skin packs
Players repaint helicopters with spray cans. RotorCraft_Skins.json in the RotorCraft/ subfolder of the profile directory decides which of the ten preset finishes can be painted and adds your own liveries. Custom liveries are textures shipped in a small skin-pack mod that the server and every player load.
[RCEDATA] lines in the server log show anything rejected and why.How painting works
- Preset cans (
RotorCraft_SprayCan_Stock,_Oliveand so on) each paint one fixed finish. - The custom can (
RotorCraft_SprayCan_Custom, "Aircraft spray can (custom finish)") opens a picture menu with every finish your server offers for the aircraft in front of the player. Finishes you switch off are shown crossed out and can't be chosen. - Either way, a coat takes 12 seconds and half a full can by default, and only works on an aircraft with its engine off. The custom can also needs it unlocked.
The player's side is in Painting your helicopter.
The file
On first start the server writes RotorCraft_Skins.json with all ten presets enabled and one disabled texture example. If the file is missing or can't be read, players can still use the presets.
version | Always 1. Missing means 1; any other value is rejected. |
presets | List of the built-in finishes you want to change, each {"name": ..., "enabled": ...}. |
finishes | Your own liveries. Each has a name, an optional enabled and a list of aircraft rows. |
Anything you leave out of a preset, finish or aircraft row is enabled. Only an explicit "enabled": false switches it off. Missing lists count as empty.
Switching presets on and off
The preset names are Stock, Olive, Tan, Grey, Black, White, Woodland, Desert, Urban and Winter. To stop Winter camo being painted:
"presets": [{"name": "Winter", "enabled": false}]
A disabled preset can't be painted with its own can or picked with the custom can, and shows crossed out in the picture menu. Aircraft already wearing it keep it. To stop a can spawning as loot, change the loot file instead (below).
Adding a livery
A finish is a set of textures, one per aircraft it supports. Each aircraft row has:
key | The shared paint key for that aircraft (table below), not necessarily its spawn class. |
texture | Path to the .paa paint sheet inside your skin pack. Double every backslash in JSON. |
preview | Optional. Path to a picture of that aircraft wearing the finish, for the menu. |
enabled | Optional. false shows this aircraft's picture crossed out. |
The aircraft list is an allow-list: the finish appears only on the aircraft you list. Leave out aircraft you have no texture for.
A complete example
Winter camo switched off, and a rescue livery for the Little Birds and the Chinook, with a picture for each:
{ "version": 1, "presets": [ {"name": "Winter", "enabled": false} ], "finishes": [ { "name": "Server rescue livery", "aircraft": [ {"key": "RotorCraft_MH6", "texture": "MyServer_RotorCraftSkins\\data\\rescue_mh6_co.paa", "preview": "MyServer_RotorCraftSkins\\data\\rescue_mh6_preview.paa"}, {"key": "RotorCraft_Chinook", "texture": "MyServer_RotorCraftSkins\\data\\rescue_chinook_ca.paa", "preview": "MyServer_RotorCraftSkins\\data\\rescue_chinook_preview.paa"} ] } ] }
Rules
- Textures only. Typed colours aren't supported: a flat colour would wipe out panel lines and markings. An old
colorfield is ignored with a warning. A finish with only colours has no aircraft. - Every texture must exist in a mod loaded on the server, or the whole finish is rejected with the reason in
[RCEDATA]. This applies to disabled finishes and rows too. - Names: 1 to 48 letters, digits, spaces,
_,-or., with no space at either end. Names are case-sensitive, and two names that differ only in case are rejected. - The name is what saved aircraft store. Keep it unchanged when you replace the art. Removing, disabling or renaming a finish makes aircraft painted with it load as Stock, with a log line.
- Up to 32 finishes are read, with up to six aircraft rows each. Disabled finishes count.
- The file is limited to 60,000 characters.
- JSON can't change models, selections or materials. Each aircraft's existing paint area is used automatically.
Which aircraft share paint
Variants of the same airframe share one paint sheet and one key. A finish for the key appears on all of them.
RotorCraft_Mosquito | Mosquito. Stock sheet 2048 x 2048, _co. |
RotorCraft_MH6 | MH-6 and AH-6. Stock sheet 1024 x 1024, _co. |
RotorCraft_Gazelle | Gazelle and cannon Gazelle. Stock sheet 4096 x 4096, _co. |
RotorCraft_BlackHawk | Black Hawk, door-gun Black Hawk and open-cabin Black Hawk. Stock sheet 1024 x 1024, _co. |
RotorCraft_Chinook | CH-47 Chinook. Stock sheet 4096 x 4096, _ca: keep its alpha channel. |
RotorCraft_AB212 | AB 212 and AB 212 Armed. Stock sheet 2048 x 2048, _co. |
Keep your sheet at the stock size or smaller, a power of two, with the same suffix. These are the only keys a server accepts; any other key, or a key with different capitalisation, rejects the whole finish.
Preview pictures
The menu shows a picture of the targeted aircraft wearing each finish. The built-in finishes come with pictures. For your own, put a picture in each aircraft row's preview:
- A
.paaor.eddsfile inside your skin pack. Players can't load files from the server's profile folder, so the picture has to be in the mod they load. - A side view of that aircraft on a plain background, twice as wide as high. 1024 x 512 is recommended.
- One picture per aircraft row. A finish-wide
previewfrom older files is ignored with a warning. - No picture, or one that can't be read, shows a plain neutral panel. Painting still works.
Making a skin pack
A skin pack is a small signed mod with textures and a config, no scripts. The mod's release/skin-pack-template folder has a ready-made one, MyServer_RotorCraftSkins, and an example RotorCraft_Skins.json.
- Copy
MyServer_RotorCraftSkins/to your mod workspace. If you rename it, change the folder, theCfgPatchesclass, the PBO prefix and the JSON paths together. KeeprequiredAddons[] = {"RotorCraftEvolution"}. - Put your finished
.paapaint sheets and preview pictures in itsdata/folder. - Pack only that folder into
@MyServer_RotorCraftSkins/addons/MyServer_RotorCraftSkins.pbowith the prefixMyServer_RotorCraftSkins. In DayZ Tools Addon Builder, add*.paa(and*.eddsif used) to the files copied directly: the config doesn't reference the textures, so they're left out otherwise. Open the PBO afterwards and check they're there. - Make your own signing key, sign the PBO, ship the
.bisignbeside it and the.bikeyin the mod'skeys/. Copy the.bikeyto the server's top-levelkeys/. Keep the private key out of the mod. - Load the pack on the server and every client, after RotorCraft:
"-mod=@CF;@RotorCraftEvolution;@MyServer_RotorCraftSkins".-serverModalone can't get the pictures to players. - Merge your finish into
RotorCraft_Skins.json, keeping your existing presets and finishes, and restart. - Check
[RCEDATA]for rejections. Then spawn a custom can, use Paint aircraft... on each aircraft the finish supports, and look at it from both sides, close up and far away.
To remove a pack, take its finishes out of the JSON first, then unload the mod. Aircraft that wore them load as Stock.
Skin packs and spawn paint
Finish names in RotorCraft_Skins.json are for the custom spray can only. They are case-sensitive and are not spawn keys: skin and spawnSkins (see Spawn paint) don't accept them.
A config-based pack adds classes under CfgRotorCraftSkins instead. Those class names automatically become spawn keys for the aircraft the pack supports and appear in $profile:RotorCraft/RotorCraft_SkinKeys.txt, which the server rewrites at every start. A pack that supports the MH-6 also supports the AH-6 through their shared paint key, but not the Gazelle. Load the same pack on the server and every client.
The Skin Kit, for painters
The Skin Kit is a separate download on the GitHub release page. It isn't part of the Workshop mod. For each aircraft key, the AB 212 included, it has:
- the stock paint sheet as a PNG at full size;
uv_overlay.png, cyan outlines of the faces that take paint;mirror_overlap.png: amber where the same texels are used on both sides of the aircraft, red where they're repeated elsewhere, green where no overlap was found;preview_stock.png, the Stock picker picture, as a framing reference for your own picture;- notes on the model, paint area and measured overlap.
It also has the skin-pack template with a working example (a red and white rescue livery for the MH-6/AH-6 and the Chinook) and the PNG masters of that example. Pack, sign and load the template as-is to see a custom livery in game, then replace it with your own.
- Open the stock PNG and save a layered working copy.
- Put
uv_overlay.pngandmirror_overlap.pngon top as guide layers, at the same size and position. Don't crop, scale or flip them. - Paint on your own layers. Keep panel lines, rivets and shading, and leave glass, grilles and cutouts alone.
- Hide the guides and export at the original size. The Chinook must stay RGBA with its original alpha.
- Convert to
.paawith DayZ Tools ImageToPAA or TexView2, keeping the same_coor_casuffix, and check the size and alpha in TexView2. - Send the
.paafiles and their aircraft keys to the server admin.
Mirrored UVs: lettering comes out backwards
Some paint sheets are used on both sides of the aircraft. Text, numbers or nose art painted there reads correctly on one side and backwards on the other, and shared areas repeat the image elsewhere. Measured on the main model:
| Little Bird (MH-6, AH-6) | About 66% mirrored, 22% shared |
| Black Hawk | About 62% mirrored, 16% shared |
| Chinook | About 4% mirrored, 1% shared |
| AB 212 | About 1% mirrored, 5% shared |
| Mosquito, Gazelle | Practically none |
Use symmetric artwork in amber areas, or use the flag panels for anything that has to read. Skin packs can't change the UV layout or add new surfaces. Check far-away views in game too.
Keep the bundled credits and licence terms when you distribute artwork made from the stock sheets.
Loot
The preset cans spawn as loot by default: nominal 2, min 1 each, Military and Industrial, 50 to 100% full. The custom can, RotorCraft_SprayCan_Custom, is nominal 0 and min 0, so it doesn't spawn unless you raise both in types_custom_items.xml. Admin tools can always spawn it. See Loot and economy.
Flags
Every helicopter has a Flag slot that takes the same flags as a territory flagpole: any vanilla flag, the RotorCraft Evolution flag (RotorCraft_Flag) and any flag your server already adds. A server flag is a Flag_Base subclass with its own texture, 512 x 256, upright, opaque _co, shipped in a mod every player loads. Flags never mirror, so they're the place for text and logos.
Something missing or wrong? Ask in the Discord.