#72: The packet ship, the lifeline mortar and the gull-kite

Eric chose option B on #72. The drop is now the GDD's launch:

- A packet ship sails a seeded straight line past the island, offshore,
  as close in as it can while keeping 45 m of open water from any land
  (eight-way probes; up to 32 headings, then the four world sides).
- Jump fires the lifeline mortar along the look heading. How high the
  player aims sets the charge (-10 to 45 degrees: 16 to 110 m/s over
  the ground; every shot climbs at 75 m/s). The climb can't be steered
  and the kite can't open until the arc tops out. Riders still aboard at
  the end are fired towards the middle of the island.
- Drop.reach() mirrors the fall for both ways down (kite at the top, or
  a fall with the kite opening by itself); bots, the soak and autoplay
  clients and the tutorial pilot aim with Drop.aim_charge().
- Bots fire at their landing spot once abeam of it, when in easy reach
  at their own staggered moment, or just before the route ends, and open
  the kite early only when the spot is beyond the rest of a fall.
- Art: VesselModels.ship() (two-masted packet, tanned square sails, a
  salt-white boot-top, a bowsprit and the mortar on its bed, mirrored to
  face the island), the figure's gull-kite (figure.py), and a lifeline
  cord from the muzzle to each player still climbing.
- Renamed barge to ship and wing-sail to gull-kite throughout code,
  tests, captures, docs and the tutorial text. make match now defaults to
  seed 2, where the scripted player still harvests and builds.

Closes #72

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 12:49:21 -05:00
co-authored by Claude Opus 5.5
parent 4357861bd4
commit aa797580a7
69 changed files with 1753 additions and 847 deletions
+18 -11
View File
@@ -47,7 +47,7 @@ The server runs matches back to back, in [`src/sim/match.gd`](../src/sim/match.g
1. **Lobby.** Players join. Once `MATCH_MIN_PLAYERS` are in, it waits
`MATCH_LOBBY_SECONDS` for more, or counts down at once when full.
2. **Countdown.** `MATCH_COUNTDOWN_SECONDS`. If too many leave, it goes back to the lobby.
3. **Drop.** Bots fill the empty places, everyone boards the barge and loot is placed.
3. **Drop.** Bots fill the empty places, everyone boards the packet ship and loot is placed.
4. **Play.** Ends when at most one team has anyone standing.
5. **Results.** Finishing places and the winners stay up for `MATCH_RESULTS_SECONDS`,
then bots leave and the server goes back to the lobby with a new island.
@@ -144,14 +144,21 @@ seed, so only damage is match state.
### The drop
Every match starts with the drop, simulated in [`src/sim/drop.gd`](../src/sim/drop.gd).
A carrier crosses the island at `BARGE_ALTITUDE` on a straight route drawn from the seed.
The route passes within `BARGE_CENTRE_JITTER` of the middle and always crosses at least
`BARGE_MIN_LAND_METRES` of dry land. Players ride it until they press jump, then fall,
steering at `FREEFALL_STEER_SPEED`, up to `FREEFALL_MAX_SPEED`. Jump opens the sail, and
it opens by itself `WING_AUTO_DEPLOY_HEIGHT` above the ground or water. Under the sail
they sink at `GLIDE_FALL_SPEED` and steer at `GLIDE_SPEED`, and touch down without damage.
Anyone still aboard at the end of the route is thrown off. The carrier's name and look,
sky barge or the packet ship and mortar of the core loop above, are open in #72.
A packet ship sails past the island on a straight route drawn from the seed, its deck
`SHIP_DECK_HEIGHT` above the sea. The route runs as close in as it can while keeping
`SHIP_COAST_CLEARANCE` of open water between itself and any land, so it never crosses
the island. Players ride it until they press jump, which fires them inland by lifeline
mortar along the way they face. How high they aim sets the charge: from
`MORTAR_PITCH_LOW_DEGREES` (or lower) to `MORTAR_PITCH_HIGH_DEGREES` (or higher) the shot's
speed over the ground runs from `MORTAR_MIN_SPEED` to `MORTAR_MAX_SPEED`, and every shot
climbs at `MORTAR_RISE_SPEED`. Nothing steers the climb. Over the top of the arc they
fall, steering at `FREEFALL_STEER_SPEED`, up to `FREEFALL_MAX_SPEED`. Jump opens the
gull-kite, and it opens by itself `KITE_AUTO_DEPLOY_HEIGHT` above the ground or water.
Under the kite they sink at `GLIDE_FALL_SPEED` and steer at `GLIDE_SPEED`, and touch down
without damage. A full charge with the kite opened at the top carries about a kilometre,
further than any land lies from any route (`test_drop` checks 60 seeds). Anyone still
aboard at the end of the route is fired towards the middle of the island. Eric chose
this launch in #72 over the sky barge first built for W7.
## Tide phases
@@ -331,7 +338,7 @@ each weapon's headshot multiplier.
The balance targets are checked by `make balance` over at least `BALANCE_MIN_MATCHES`
bot-only matches of `SOLO_PLAYERS` players (H3):
- the median match, from the barge leaving to the last player standing, lasts between
- the median match, from the ship sailing to the last player standing, lasts between
`BALANCE_MEDIAN_MINUTES_MIN` and `BALANCE_MEDIAN_MINUTES_MAX` minutes;
- no one weapon takes more than `BALANCE_MAX_WEAPON_SHARE` of the eliminations made with
weapons, the boathook included.
@@ -348,7 +355,7 @@ Keys are matched by position. Defaults for keyboard and mouse:
| Action | Default |
|---|---|
| Move | W A S D |
| Jump; leap from the barge; open the wing-sail | Space |
| Jump; fire the mortar from the ship; open the gull-kite | Space |
| Crouch; dive when swimming | Left Ctrl |
| Sprint | Left Shift |
| Use, fire, harvest or place | Left mouse |