Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Corvette
Adds a buildable age-of-sail Corvette: 8 guns per broadside plus 2 bow and 2 stern chasers, all auto-firing Staff of Fracturing shells.
By VVLEE
| Date uploaded | 2 days ago |
| Version | 0.1.0 |
| Download link | VVLEE-Corvette-0.1.0.zip |
| Downloads | 9 |
| Dependency string | VVLEE-Corvette-0.1.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2333ValheimModding-Jotunn
Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.
Preferred version: 2.30.2README
Corvette
Adds a new buildable warship to Valheim: an age-of-sail Corvette armed with 20 guns.
- 8 guns on each broadside, 2 bow chasers and 2 stern chasers
- Guns use the ballista model and fire Staff of Fracturing shells (cluster blast + splinters)
- Guns aim and fire automatically at hostile creatures inside their firing arc, with target lead and ballistic drop compensation
- Hull, sailing and storage are based on the Drakkar
Building
Hammer → Misc (next to the other ships), near a workbench, on water.
| Material | Amount |
|---|---|
| Ashwood | 80 |
| Iron nails | 200 |
| Black metal | 40 |
| Mechanical spring | 20 |
| Ceramic plate | 30 |
Admins can also spawn it with spawn VVLEE_Corvette.
Configuration
BepInEx/config/com.vvlee.corvette.cfg (server-synced, admin only):
| Setting | Default | Description |
|---|---|---|
| Cooldown | 6 | Seconds between shots per gun |
| Range | 45 | Maximum targeting range (m) |
| MinRange | 6 | Guns hold fire on targets closer than this |
| DamageMultiplier | 1 | Multiplier on Staff of Fracturing damage |
| BroadsideArc | 50 | Traverse of broadside guns (degrees each side) |
| ChaserArc | 35 | Traverse of bow/stern chasers (degrees each side) |
| RequireCrew | true | Guns only work while a player is aboard |
| TargetPassiveAnimals | false | Also fire at deer, hares, etc. |
Notes
- Guns need no ammunition; balance them with
CooldownandDamageMultiplier. - Everyone on a server (and the server itself) must have the mod installed.
- Requires Jotunn.
中文說明
新增可建造的風帆時代 克爾維特艦(Corvette):兩舷各 8 門炮、艦首與艦尾各 2 門追擊炮,共 20 門。
火炮沿用弩炮外觀,發射 碎裂法杖 炮彈,會自動索敵、計算提前量與彈道下墜後開火。
船體、航行與貨艙以 Drakkar 為基礎。以錘子在「雜項」分類建造;設定檔為 com.vvlee.corvette.cfg。
CHANGELOG
Changelog
0.4.3
- New buildable: Thermite bomb (Ashlands; looks like a basalt bomb). Place it with the hammer: it counts down 10 s, warning everyone nearby every second, then destroys everything in a 10 x 10 m square around it (rocks, ore, trees, creatures) and flattens the ground in that square to the bomb's height. Players, tamed creatures, ships, carts and player-built pieces are immune. Config section
Bomb(fuse, size, damage). Flametal 2, Sulfur 10, Ashwood 5. - Fixed the bow on all three ships: the hull planking left a gap at the stem, now covered by a proper stem post. The odd brass figurehead on the airships is gone, and the bow lantern now hangs on the stem below the bowsprit instead of floating in the air.
- Airships no longer dig terrain when backing (they fly; reverse dredging stays on the Corvette).
- Earth Staff: hold the button to fire continuously, like the frost staff (both orbs). The yellow (dig) orb now also mines: it deals pickaxe damage to rocks and ore deposits of every tier (
EarthStaffPickaxe, default 60). Creatures, trees and buildings are still untouched; the red (raise) orb only shapes terrain.
0.4.2
- Cannons can now fell trees: shells, canister bolts and their blasts also deal chop damage to trees, logs, stumps and bushes, equal to the damage of the hit (
TreeDamage, percent). Creatures and buildings take the same damage as before. - Tracking range and firing range are now separate. Placed Cannon and Cannon cart: track out to 150 m (
MaxRange), open fire within 140 m (FireRange). Corvette and airship guns: track and fire within 100 m (ShipMaxRange,ShipFireRange). - Fixed canister shot never being used (cannons kept firing shells at close targets), it now starts at 30 m instead of 15 m (
CanisterRange), and a volley is 60 bolts instead of 48 (CanisterPellets). Existing config files keep their values. - Earth Staff: the orbs no longer look or act like fireballs - no fire explosion on impact, and damage, knockback and status effects are forced to zero. They now pass straight through rocks, ore, trees, buildings and creatures without touching them (they used to break rocks) and only act on the ground. Right mouse button now fires the red (raise) orb while the staff is held; before, the secondary attack was only on the game's secondary-attack key (middle mouse) and right click just blocked.
0.4.1
- Fixed reverse dredging: backing a grounded Corvette (or airship) now actually digs it free. It used to shave only a few centimetres per pass; it now cuts the ground to 1 m below the hull, across the full beam and past the bow and stern.
0.4.0
- Two new buildable airships, both on the Corvette hull with the same 20 guns: Airship (Zeppelin) - canvas envelope slung on shrouds - and Airship (Rotor) - four rotors on the yards. Ashlands technology (Ashwood, Flametal, Ceramic plates). Build them on water. At the helm hold Jump to climb and Crouch to descend (leave the helm with the Use key); everything else handles like the ship. Downwind top speed 150%.
- Airships run on steam: add coal to the boiler amidships (same prompt as a smelter) to light it. The boiler holds 50 coal and burns one per minute while the airship is off the water. With a cold boiler an airship cannot climb and sinks slowly (
RequireFuel,FuelCapacity,SecondsPerCoal). - Airship altitude rules (all in the new
Airshipconfig section): ceiling 800 m; warning above 500 m; slow durability loss above 600 m; below 50% durability it cannot climb; below 30% it sinks slowly to 100 m and moves at half speed. - New ammunition for every cannon (Corvette guns, placed Cannon, Cannon cart): canister shot. When the target is within 15 m the gun automatically fires a volley of 48 Dundr bolts instead of a shell. Each bolt deals the damage of a fully upgraded Dundr plus 200% of that as pierce damage, knocks back and staggers. Friendly-fire protection applies as usual. 5 s between volleys, plus 5 s more after three volleys in a row. Canister shot ignores
MinRange. NewCanisterconfig section. - Corvette top speed running downwind lowered from 300% to 200% (
DownwindSpeeddefault 2; existing config files keep their value).
0.3.0
- Backing the Corvette (reverse) now digs away any terrain touching the keel, so the ship can free itself when aground (
ReverseDredge). - New item: Earth Staff. It deals no damage and only shapes terrain: primary fire shoots a yellow orb that digs where it lands, secondary fire shoots a red orb that raises the ground. Crafted at a workbench (Fine wood 10, Stone 30, Surtling core 1).
0.2.9
- Direct hits now hurt more: a creature struck by the shell itself takes extra blunt (50% of the shell's total damage) and pierce (30%) damage, and is knocked back and staggered. Blast-only hits are unchanged.
0.2.8
- The Corvette can now be dismantled with the hammer (near a workbench) and returns its materials.
0.2.7
- Vanilla ballistas now refill themselves from the nearest chest within 10 m (
BallistaAutoReload,BallistaReloadRange). - Cannons no longer waste shots on tiny flying creatures such as Deathsquitos and bats (
IgnoreFlyersSmallerThan). - Mast lanterns now hang on the forward side of each mast.
- Fixed the captain's seat not being usable: you can now sit on the throne.
- Placed Cannon and Cannon cart range reduced from 200 m to 150 m (
MaxRange; existing installs keep their saved value). Corvette guns stay at 100 m.
0.2.6
- Captain's seat moved down to the main deck, against the quarterdeck bulkhead between the two stairs.
- Fixed ship guns firing with nobody at the helm or in the captain's seat: both seats are now checked by whether a player is actually sitting there.
- The bow no longer digs in at speed: sail thrust now acts at the centre of mass instead of high up the mast.
0.2.5
- Every cannon now takes an extra 5-second pause after each 10 shots (
BurstSize,BurstCooldown).
0.2.4
- The Corvette now sails three times as fast with the wind astern (
DownwindSpeed). Upwind speed is unchanged.
0.2.3
- New captain's seat: a Moose Throne at the front of the quarterdeck, facing the bow.
- Ship guns now fire only while someone is at the helm or in the captain's seat (previously any player aboard was enough).
- All cannons now hit as hard as a fully upgraded Staff of Fracturing at maximum Elemental Magic skill (previously the base, un-upgraded staff).
- Corvette guns now reach 100 m (
ShipMaxRange); the placed Cannon and Cannon cart keep 200 m (MaxRange). - Cannons hold fire when a friendly building, ship or cart is in the line of fire.
- Bow lantern moved: it now hangs under the bowsprit ahead of the stem instead of sitting on the foredeck.
0.2.2
- Vanilla ballistas no longer target players or tamed creatures (part of
FriendlyFireProtection). - Each mast now carries a Dvergr wall lantern; a hooded lantern on the bow shines ahead and two on the taffrail shine astern.
- Boarding ladders rebuilt as straight ladders flush against the hull (the borrowed rope ladder stuck out backwards); climbing puts you on the deck inside the bulwark.
- Gun-port band recoloured to a proper ochre (it rendered olive green).
- Fixed the placed Cannon staying behind as a dead object when removed; it now disappears and returns its materials like any other piece.
0.2.1
- Bowsprit now grows out of the stem instead of ending in a cut-off stub above the foredeck.
- Stern chasers moved aft so their muzzles clear the taffrail.
- Removed the built-in Shield Generator from the Corvette.
- Default gun cooldown raised from 3 to 5 seconds (existing installs keep their saved
Cooldownvalue). - Fixed the Corvette shimmering with flickering highlights: wood no longer has specular reflections and over-bright paint tints were toned down.
- Sails now belly downwind (they were filling the wrong way).
- The Corvette no longer sits bow-down; new
BowTrimsetting to fine-tune fore-and-aft trim.
0.2.0
- New Corvette hull: a purpose-built three-masted ship model replaces the Drakkar look (sailing performance is still the Drakkar's). Yards swing with the wind and sails furl with the speed setting.
- Ship guns are now proper cannons on naval carriages firing through gun ports.
- The Corvette carries a built-in Shield Generator on the main deck (vanilla behaviour: fuel it to raise the dome).
- Durability: a placed Cannon stops firing after 10000 shots until repaired with the hammer. Corvette guns have no durability of their own, but after 10000 shots every further shot wears the hull, and ship guns cease fire while the hull is below 30% health. Repairing the ship resets the count.
- The Cannon cart only fires while parked with a player within 5 m (
CartCrewRange). - Recipes moved to the black-metal age: Corvette, Cannon and Cannon cart now need only Plains-tier materials and a workbench.
- Hull, masts and cannons now use the game's own plank and metal materials (tinted), so they match vanilla buildings; the hull body uses form-fitting collision.
- New buildable Cannon (defense piece) and Cannon cart (towable cannon).
- Maximum range raised to 200 m (
MaxRange), newShellSpeed,FieldArcandWaterlineOffsetsettings. - Friendly-fire protection for every friendly projectile in the game - ballistas, catapults, cannons and player projectiles, plus the blasts they spawn: they no longer hurt players, tamed creatures, ships, carts or player-built pieces (
FriendlyFireProtection). - Fixed guns damaging their own ship: shells pass through the ship or gun that fired them.
0.1.1
- Default gun cooldown reduced from 6 to 3 seconds. Existing installs keep their saved value: edit
Cooldownincom.vvlee.corvette.cfg(or delete the file) to pick up the new default.
0.1.0
- Initial release: buildable Corvette with 16 broadside guns, 2 bow chasers and 2 stern chasers firing Staff of Fracturing shells.