X-Wing Spaceship

Мод X-Wing Spaceship для DayZ (дейз). Установлен на 3 серверах RiseOfServers. Ниже: серверы с модом и описание Workshop.

Мод X-Wing Spaceship для DayZ (дейз). Установлен на 3 серверах RiseOfServers. Ниже: серверы с модом и описание Workshop.

X-Wing Spaceship — 1.3.0
X-Wing Spaceship is a single-seat flying vehicle for DayZ. Physical inventory: 10 × 60 (600 cells). Server owners can tune speed, acceleration, braking, turning, vertical movement and the permitted occupied cargo cells.

Installation
Subscribe and load this mod on both client and server. Add its folder to the server -mod list, copy the supplied keys/*.bikey into the server keys folder, and use the identical Workshop release on both sides. Preserve existing mission persistence when upgrading.
Spawn class: DF_Spectre_Spaceship
The mod does not add trader entries or automatic economy spawns; configure your admin spawn tool, trader or economy separately using that class.
Load this public release OR its test branch, never both: they share vehicle classes. Remove the test entry from the launch list when switching; do not delete stored vehicles.

Controls
Use your DayZ vehicle bindings: select a forward gear and use throttle to travel forward, reverse gear plus throttle to reverse, steering to turn, and brake to slow down. Vehicle Turbo raises the craft; Vehicle Slow lowers it (normally Left Shift / Left Ctrl; check your own bindings). Start and stop the engine with the normal vehicle action. Land and stop the engine before leaving. Terrain protection limits descent near the ground.
Open the canopy, stand on the upper hull beside the cockpit and aim at the cockpit entry area to enter. Board from above, not from the ground beside an engine. Close the canopy for flight. To leave, stop, open the canopy and use Exit; the intended exit position is on the upper hull. Gun barrels are model/collision parts; this release does not add a firing weapon system.

Optional CarLock
TraderPlus CarLock is optional. With that system enabled, use its normal lock/code actions. This mod enforces the locked state for cargo, attachments, entry and engine start; X-Wing also protects the canopy. Unlock before use. Locking a running craft stops its engine and invokes its existing engine-off landing behavior. The mod does not include or replace TraderPlus itself.

Server JSON configuration
The server generates this file on its first startup with the mod:
$profile:DigitalFrontier/Flight/XWingSpaceship.json
$profile means the directory selected by the server's -profiles argument, not the mod folder or your client profile. For example, with -profiles=/srv/dayz/profiles the file is /srv/dayz/profiles/DigitalFrontier/Flight/XWingSpaceship.json. Every server instance has its own profile/settings.

1. Start the server once to generate the file, then stop it gracefully.
2. Back up the JSON and open it in a plain-text editor. Keep SchemaVersion at 1.
3. Edit the numeric values below. Use decimal points, quoted field names and valid JSON; do not add comments or trailing commas.
4. Save and restart the server. Settings load once per process and synchronize to clients. Client-side JSON edits have no effect.

Defaults:
{
"SchemaVersion": 1,
"InventoryCapacitySlots": 600,
"BreakTreesOnImpact": true,
"TreeBreakMinimumSpeedKmh": 5.0,
"TopSpeedKmh": 320,
"ReverseSpeedKmh": 60,
"AccelerationMps2": 12.5,
"ReverseAccelerationMps2": 8,
"DirectionBrakeMps2": 30,
"ServiceBrakeMps2": 30,
"CoastBrakeMps2": 4,
"VerticalAccelerationMps2": 18,
"TurnRateRadiansPerSecond": 1.15,
"AscendSpeedMps": 20,
"DescendSpeedMps": 18
}

Fields (default; accepted range):
- InventoryCapacitySlots: maximum occupied inventory grid cells; default 600; 0..600.
- BreakTreesOnImpact: enable tree breaking on actual tree collisions; default true; true / false.
- TreeBreakMinimumSpeedKmh: minimum speed for tree-impact breaking (km/h); default 5.0; 0.1..100.0.
- TopSpeedKmh: maximum forward speed (km/h); default 320; 1..600.
- ReverseSpeedKmh: maximum reverse speed (km/h); default 60; 0..100.
- AccelerationMps2: forward acceleration (m/s²); default 12.5; 0.1..60.
- ReverseAccelerationMps2: reverse acceleration (m/s²); default 8; 0.1..60.
- DirectionBrakeMps2: braking when changing travel direction (m/s²); default 30; 0.1..80.
- ServiceBrakeMps2: brake-input deceleration (m/s²); default 30; 0.1..80.
- CoastBrakeMps2: deceleration with no throttle (m/s²); default 4; 0.1..30.
- VerticalAccelerationMps2: vertical acceleration response (m/s²); default 18; 0.1..60.
- TurnRateRadiansPerSecond: maximum yaw rate (radians/second); default 1.15; 0.1..3.
- AscendSpeedMps: maximum upward speed (m/s); default 20; 0.1..30.
- DescendSpeedMps: maximum downward speed (m/s); default 18; 0.1..25.

InventoryCapacitySlots is an occupied-cell limit, not an item count and not a live grid resize. The physical grid stays 10 × 60. Lowering the limit does not delete existing cargo; removal, rearrangement and swaps that reduce occupied space remain possible. New additions above the limit are refused. To use the full grid, set InventoryCapacitySlots to 600.
Larger brake values mean stronger braking. Invalid JSON or SchemaVersion uses defaults and preserves the file; invalid individual values fall back to their defaults and produce a server-log message.

Migrating from a test branch: while the server is stopped, copy your previous SpaceshipTest.json to XWingSpaceship.json if you want to retain tuned values. Keep the old file as a backup. Set InventoryCapacitySlots to 600 to enable the new capacity; the previous test default was 48. Switch the launch-list entry to this public mod and restart. Class names are unchanged.

This release
Initial public release from the verified Spaceship test branch.
- 10 x 60 inventory grid (600 cells), with configurable occupied-cell limit.
- Detailed X-Wing model, top-canopy boarding, animated wings and thruster effects.
- Hydraulic canopy opening/closing and reactor startup, shutdown and failed-start audio.
- Optional TraderPlus CarLock blocks locked inventory, canopy, boarding and engine start.
- Corrected gun collision-body cleanup to prevent the diagnosed teardown crash.
- Server JSON flight, braking, cargo and tree-impact settings with setup instructions.

Credits
X-Wing model by Chris Warstat (chris_warstat), CC BY 4.0: https://sketchfab.com/3d-models/x-wing-a185c8bb6e9d43e4b597b856b176d768 — https://creativecommons.org/licenses/by/4.0/ . Converted and adapted for DayZ with vehicle rigging, collision LODs and cockpit anchors. Rocket Engine loop by theMinesAreShakin, CC0: https://opengameart.org/content/rocket-engine . Additional hydraulic/reactor transition sounds synthesized for this mod. Full notices included in THIRD_PARTY_NOTICES.md.

Known observation from testing: one player reported disappearing after exit; it did not repeat after reconnecting, and no server crash or death was logged. Its cause remains unconfirmed.

Latest flight update
- Added smooth server-authoritative mouse-wheel nose pitch with an angle limit and gradual stabilization.
- Nose pitch now changes the actual flight direction and thrust vector.
- Improved pitch synchronization, ground stance, landing stability and descent protection.
- Added gasoline fuel use/refueling and a standard FuelTank damage zone for storage compatibility.
- Added server JSON controls for pitch, fuel and landing behavior.

Repacking is allowed as long as the original author is credited. However, please be aware that you may miss important updates.

NEW MOD RELEASED
Check out my newest spaceship here:
https://steamcommunity.com/sharedfiles/filedetails/?id=3805759714

Support Digital Frontier
Donations: https://paypal.me/DFrontier

Источник: Steam Workshop

Сервера с этим модом