
You are viewing a potentially older version of this package. View Latest Version
Corvette
Buildable age-of-sail Corvette with its own three-masted hull and 20 auto-firing cannons, plus a placeable defense cannon and a towable cannon cart. Shells use the Staff of Fracturing blast.Corvette
Adds an age-of-sail Corvette and its cannons to Valheim.
What you get
| Piece | What it is |
|---|---|
| Corvette | Three-masted warship with its own hull model: 8 guns per broadside, 2 bow chasers, 2 stern chasers. Sails and handles like the Drakkar, with the Drakkar's storage. |
| Cannon | Placeable defense cannon, built and removed at a workbench. Wears out after 10000 shots and must then be repaired with the hammer. |
| Cannon cart | A cannon on a cart. Pull it like a normal cart; the gun points to the rear. It only fires while parked (not being pulled, not moving) with a player within 5 m. |
All cannons aim and fire automatically at hostile creatures inside their arc, with target lead and ballistic drop compensation. Shells explode like the Staff of Fracturing (cluster blast + splinters). Cannons need no ammunition.
Building (Hammer, at a workbench)
Everything unlocks in the black-metal age (Plains): no Mistlands or Ashlands materials are needed.
| Piece | Materials |
|---|---|
| Corvette | Fine wood 80, Iron nails 200, Black metal 40, Linen thread 40, Tar 20 |
| Cannon | Iron 15, Black metal 10, Fine wood 10 |
| Cannon cart | Iron 15, Black metal 10, Fine wood 10, Wood 30, Bronze nails 10 |
Admins can also spawn them: spawn VVLEE_Corvette, spawn VVLEE_Cannon, spawn VVLEE_CannonCart.
Configuration
BepInEx/config/com.vvlee.corvette.cfg (server-synced, admin only):
| Setting | Default | Description |
|---|---|---|
| Cooldown | 5 | Seconds between shots per gun |
| BurstSize | 10 | Each gun takes an extra pause after this many shots (0 = never) |
| BurstCooldown | 5 | Length of that extra pause in seconds |
| MaxRange | 200 | Maximum targeting range (m) of the placed Cannon and Cannon cart. Creatures outside the loaded area cannot be targeted |
| ShipMaxRange | 100 | Maximum targeting range (m) of the Corvette's guns |
| MinRange | 6 | Guns hold fire on targets closer than this |
| DamageMultiplier | 1 | Multiplier on top of the damage of a fully upgraded Staff of Fracturing at max skill |
| ShellSpeed | 70 | Muzzle velocity (m/s) |
| BroadsideArc | 35 | Traverse of the Corvette's broadside guns (degrees each side) |
| ChaserArc | 35 | Traverse of the Corvette's bow/stern chasers |
| CannonMaxShots | 10000 | Shots a placed Cannon fires before it needs a hammer repair (0 = unlimited) |
| ShipFreeShots | 10000 | Shots a Corvette fires before further shots wear the hull (0 = never) |
| ShipWearPerShot | 0.1 | Hull health lost per shot after that, in % of max hull health |
| ShipCeaseFireHealth | 30 | Ship guns stop firing below this hull health % |
| FieldArc | 60 | Traverse of the placed cannon and the cannon cart |
| CartCrewRange | 5 | The cannon cart only fires while parked with a player within this distance (m) |
| RequireCrew | true | Ship guns only work while someone is at the helm or in the captain's seat (off: any player aboard) |
| TargetPassiveAnimals | false | Also fire at deer, hares, etc. |
| WaterlineOffset | 0 | Raise or lower how high the Corvette floats |
| DownwindSpeed | 3 | Speed with the wind dead astern, as a multiple of the Drakkar's (fades toward a beam wind; upwind unchanged) |
| BowTrim | 1.5 | Fore-and-aft trim: positive lifts the bow, negative lowers it |
| FriendlyFireProtection | true | Ballistas never target players or tamed creatures; ballista, catapult, cannon and player projectiles and their blasts do not hurt players, tamed creatures, ships, carts or player-built pieces |
Notes
- Friendly-fire protection covers every friendly projectile in the game, including vanilla ballistas and catapults: they no longer hurt players, tamed creatures, ships, carts or your buildings. Monster attacks are unaffected.
- Everyone on a server (and the server itself) must have the mod installed.
- Models are generated procedurally by the mod; no asset bundles.
- Requires Jotunn.
中文說明
新增風帆時代 克爾維特艦(Corvette) 與 火炮:
- 克爾維特艦:專屬三桅船殼,兩舷各 8 門炮、艦首與艦尾各 2 門追擊炮;航行性能與貨艙沿用 Drakkar。
- 火炮:可建造的防禦物件;開火 10000 次後需用錘子修理,可在工作台範圍內拆除。
- 艦炮耐久:艦炮本身沒有耐久;全艦累計開火 10000 次後,每開一炮扣 0.1% 船體血量,船體低於 30% 時停火;修船後重新計算 10000 次。
- 拖曳火炮:架在板車上的火炮,像板車一樣拖著走,炮口朝後;放定且周圍 5 公尺內有人才會開火。
火炮會自動索敵開火(含提前量與彈道下墜),炮彈為 碎裂法杖 的爆炸效果,最遠射程 200 m,不需彈藥。
設定檔為 com.vvlee.corvette.cfg。