Мод Submarine для DayZ (дейз). Установлен на 1 серверах RiseOfServers. Ниже: серверы с модом и описание Workshop.
Submarine - a drivable submarine for DayZ
A full-size, walk-around submarine to pilot on the surface or dive with. Inside the hull you walk, breathe and see as on dry land, even when the whole boat is under water.
Version 0.1.0. Stand-alone: no other mod required. Own flight library, so it runs side by side with Airship-Survive / Carrier without conflict.
IMPORTANT - Admirals Diving Mod: if it is installed on your server, you must also install the companion add-on Submarine-Admirals (published separately). On Deer Isle (built-in copy of Admirals) install Submarine-Admirals-DeerIsle instead. Without it a player can drown inside the submarine. If you do not use Admirals, ignore this.
1. What you get
[*] Pilotable submarine (class Submarine): throttle, rudders, diving planes, ballast, depth hold and position hold, instrument panel.
[*] Walkable interior: control room, machinery room, conning tower and bridge, decompression chamber with dive hatch, two elevators, cabinets, storage chest. No swimming or drowning inside the hull, and the water haze is removed for a clear view.
[*] Power and life support: diesel or battery propulsion, fuel, engine and crew air tanks, batteries, HUD gauges.
[*] Periscope (mouse aim, wheel zoom), sonar and map screens, headlights (L), underwater lights, interior lights, air conditioning. Pilot seat plus 6 passenger seats; the engine keeps running when the pilot leaves the seat.
[*] Two in-game user guides (tablets in the control room and the dive chamber): walk up, press F. English, French, Polish.
[*] Remote control (SubmarineRemote): pair it to lock / unlock doors, hatches and storage. Each submarine keeps fuel, air, batteries, ballast, sleep state, lock and owner in one JSON file on the server.
[*] Reconnection safety: a player disconnected on board is put back in the control room, protected for a few seconds. Safety mode: nobody at the helm and no player within 150 m for 5 minutes: it surfaces by itself, then sleeps.
[*] Optional damage system (off by default, section 4), propeller wake and bow waves.
2. Installation
[*] Add Submarine to the server's -mod= list and copy its keys folder to the server's keys folder.
[*] Admirals Diving Mod? Also add Submarine-Admirals (after Admirals and Submarine, with its keys); on Deer Isle use Submarine-Admirals-DeerIsle. Only one of the two.
[*] Spawn it like any vehicle: class Submarine. The remote is the item SubmarineRemote.
[*] First start creates profiles\Submarine\submarine_power.json (consumption, capacities, roof limit, coupsAuxJoueurs) and one state file per submarine in profiles\Submarine\sous-marins\.
[*] Important - types.xml. Without entries, the Central Economy deletes the submarine (and its plate, cabinets, remote). Paste this entry just before the final of your mission's db/types.xml, then restart:
0388800000-1-1100
Add the same entry for SubmarinePlate and SubmarineCabinet with count_in_cargo="1", and for SubmarineRemote with count_in_cargo="1" count_in_player="1".
3. Controls (rebindable)
[*] F (by proximity, also underwater): take the helm / sit, doors and hatches, levers, refuel, periscope, tablets.
[*] Numpad 8 camera screen, 5 dashboard / sleep, 7 / 1 depth setpoint, X position hold, 9 / 3 / 6 map zoom. L headlights. Periscope: wheel zoom, Backspace to leave. All under Submarine in Options > Controls.
4. Damage system (optional)
In each submarine's JSON file in profiles\Submarine\sous-marins\, section "degats": set "actifs": true to enable it (default false = invulnerable).
[*] Hull and engine have their own health; the submarine is never destroyed (floor 1 %), but a damaged boat is slow, its engine runs rough, and a badly damaged hull leaks ballast.
[*] Collisions are weak (at most 2 % per hit at 90 km/h). Explosives: 20 plastic charges on the hull reach the floor, 10 on the engine. Firearms do no damage. Below the maximum depth (400 m) the hull is crushed progressively.
[*] Repair with a blowtorch fitted with a large gas canister, on the hull or near the engine. All values are editable in the JSON.
5. Good to know
[*] To climb back aboard through the dive-chamber hatch, stop the submarine first. The hull never hurts players (setting coupsAuxJoueurs, false by default), but a swimmer clinging to a moving hull is dragged along.
[*] The engine can be stopped at any speed. The roof stays just under the surface and cannot rise out of the water while diving.
[*] Outside the submarine the underwater view is the normal vanilla one.
6. Credits & Permissions
[*] Author(s): Labidouille007. 3D model, scripts, textures: Labidouille007.
[*] Public use, no modification or copying permitted. This mod is made freely available to download and use as-is on your server. Its content (scripts, 3D model, textures, configuration) remains the property of the author: any modification, copying, decompiling, repacking, or reuploading, in whole or in part, on the Workshop or elsewhere, is prohibited without the author's prior explicit written permission.
[*] Bug reports & suggestions: Discord - Labidouille007_51416