Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
e873459
feat: add the Vashar Gate galaxy gate
Timerk Oct 21, 2026
949507a
docs: describe the Vashar Gate
Timerk Oct 21, 2026
6fe41e7
test: count the gate arena in the server export check
Timerk Oct 21, 2026
7712603
feat: add x4 shots and an LF-4 chance to Vashar Gate victories
Timerk Oct 21, 2026
bc59c6a
feat: add Blender models for the Vashar aliens
Timerk Oct 21, 2026
ef04f4f
docs: note the Vashar alien models
Timerk Oct 21, 2026
ff77297
feat: add detail to the Vashar alien models
Timerk Oct 21, 2026
0429245
chore: add a Vashar option to the alien preview renderer
Timerk Oct 21, 2026
7aff121
feat: darken the Vashar alien hulls
Timerk Oct 21, 2026
ce5d0f9
feat: give the Vashar aliens a hard metallic finish
Timerk Oct 21, 2026
6c990cc
feat: add a wave countdown and keep gate aliens on the attack
Timerk Oct 21, 2026
ad3fb09
test: expect no protected zone at the gate arena exit
Timerk Oct 21, 2026
a194b13
feat: add the Korrath Gate
Timerk Oct 22, 2026
3a39ce0
docs: describe the Korrath Gate
Timerk Oct 22, 2026
f0a8ff1
fix: keep mothership escorts available and out-ranged
Timerk Oct 22, 2026
1f5e84f
Merge feat/galaxy-gates into feat/korrath-gate
Timerk Oct 22, 2026
5c69699
fix: bump the network schema for the Korrath Gate
Timerk Oct 22, 2026
14f7793
feat: replace Korrath placeholders with authored Blender models
Timerk Oct 22, 2026
e7d6f81
fix: address gate review findings
Timerk Oct 22, 2026
dd57464
Merge feat/galaxy-gates into feat/korrath-gate
Timerk Oct 22, 2026
4451de9
fix: close remaining gate run loopholes
Timerk Oct 22, 2026
c2a811c
Merge feat/galaxy-gates into feat/korrath-gate
Timerk Oct 22, 2026
651e5bb
fix: distinguish story protocols and mark only gate-part loot
Timerk Nov 17, 2026
bb73532
fix: migrate single-gate pilot saves on load and provisioning
Timerk Nov 17, 2026
985c100
fix: integrate Vashar gate markers with per-gate loot
Timerk Nov 17, 2026
c5ccecf
ci: allow cold Windows validation and preview builds to finish
Timerk Nov 17, 2026
9962ed5
ci: integrate the Windows job timeout from the Vashar branch
Timerk Nov 17, 2026
9a53760
fix: keep gate parts that a full stock cannot hold
xxxxxxxxxxxxx Nov 25, 2026
dbe97cf
fix: accept whole-valued float gate counters in pilots.py
xxxxxxxxxxxxx Nov 25, 2026
23d78e7
fix: clear arena loot when a gate run closes
xxxxxxxxxxxxx Nov 25, 2026
8e6da6c
Merge feat/galaxy-gates into feat/korrath-gate
xxxxxxxxxxxxx Nov 25, 2026
2d96d2a
fix: keep the selected gate tab highlighted
xxxxxxxxxxxxx Nov 25, 2026
61cc678
Merge commit 'b1680b8^' into HEAD
Timerk Nov 25, 2026
bd97a96
Merge main after #138 squash
Timerk Nov 25, 2026
e2b59e5
Merge remote-tracking branch 'origin/main' into HEAD
Timerk Nov 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 45 additions & 2 deletions GAME_PLAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -1598,8 +1598,10 @@ two ways:
12–16% in M3, 16–20% in M4). Home-map and arena aliens carry none.

Parts sit in the normal loot box and take no cargo space. A living pilot within
pickup range collects a box's parts, even with a full hold: pilots running
the operation come first, otherwise the nearest pilot. A pilot takes only what fits
pickup range collects a box's parts, even with a full hold. Each gate's parts go
first to pilots running that gate's operation when the box is on its operation map,
otherwise to the nearest pilot; a box holding several gates' parts splits them this
way. A pilot takes only what fits
under the 999-part limit; the rest passes to the next pilot in range or stays in the
box. Only parts recovered on
the operation's map advance it; boxes remain shared, as with resources. Gate runs
Expand Down Expand Up @@ -1665,6 +1667,47 @@ archive. All counts, chances, stats, lives,
timings and rewards above are provisional until playtested. Further gates,
other equipment rewards, personal gate instances and the on-map invasion event are future work.

#### Galaxy gates: the Korrath Gate

On 2026-10-22 the user asked for a second gate; final models and renders can
follow later. Each gate is now a data definition (`GalaxyGates.GATES`): faction,
arena map, Outpost 01 portal, part count and chances, parts operation, alien pool,
waves, boss, escorts and rewards. Saved progress is per gate. One gate run is open
on the server at a time, and only its portal appears near Outpost 01. Network schema 22
adds the Korrath arena and aliens.

The **Korrath** are siege engineers. The occupying aliens drag Korrath gate
segments through the deeper sectors; the gate leads into the *Korrath Bastion*,
where a Siegebreaker battlestation is being readied against Outpost 01.

- **Parts:** 24. *Siege Manifest* (Chief Engineer Brell) guarantees a part for
each contributed M3 kill; 10 parts complete it for +5 parts, 25,000 CR and 3 RP.
Random drops come only from M3 and M4 (8–16%).
- **Waves:** eight, with Husks (fast) and Bulwarks (heavy). The final wave adds
the slow Siegebreaker, which launches two Husks every 25 s; boss waves keep two
escorts in reserve for this at every group size.

| Type | Hull / shield | Damage / interval | Credit pool |
| --- | --- | --- | --- |
| Husk | 8,000 / 4,000 | 4,000 / 0.8 s | 3,000 |
| Bulwark | 36,000 / 18,000 | 14,000 / 0.85 s | 15,000 |
| Siegebreaker | 500,000 / 250,000 | 30,000 / 0.5 s, 270 m | 300,000 |

- **Rewards:** 300,000 CR, 10 research points and 25,000 x4 shots per
participant, with a 20% chance of the shop-unavailable SG3N-B00 shield.
- Lives, countdown, sealed exit, scaling, escorts, preview tools and collapse
follow the Vashar rules. The arena is map 5 with a forge-orange backdrop.

The user approved the Korrath concepts and requested Blender models matching
them on 2026-10-22. Husk, Bulwark and Siegebreaker now use authored gunmetal and
copper siege hulls with orange furnace cores. The runtime GLBs share 2K PBR maps
and generate distance LODs on import; their visible diagonals are 12.35 m,
28.8 m and 108 m respectively. Combat statistics, colliders and waves are
unchanged. Editable Blender files with packed 4K maps, the concepts, build script,
construction views and Godot captures live in `korrath-review/README.md` in the
art archive. Fine details and hidden surfaces interpret the concepts for game
geometry. All values remain provisional until playtested.

#### First campaign implementation scope

Begin with the pilot prologue and the clearance operation that establishes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ equip it, **Quests** to accept hunting contracts, or **Cargo trade** to sell sav
resources. **Skylab** manages persistent collectors, refining, upgrades, robots
and shipments to ship cargo; see [Skylab rules and balance](docs/skylab.md).
**Settings** and **Connection** are also available. **Galaxy Gates** shows your
gate parts, the Signal Anomaly operation and the Vashar Gate; see
parts and operations for the Vashar and Korrath gates; see
[Galaxy gates](GAME_PLAN.md#galaxy-gates-the-vashar-gate). Choose the amber **START** button on Overview
to spawn at Outpost 01 with your selected ship and fitting. Esc or Back returns to
the overview; these actions do not launch. Docked ships are hidden from other
Expand Down
Binary file added assets/aliens/bulwark.glb
Binary file not shown.
45 changes: 45 additions & 0 deletions assets/aliens/bulwark.glb.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[remap]

importer="scene"
importer_version=1
type="PackedScene"
uid="uid://lf06emuac122"
path="res://.godot/imported/bulwark.glb-60b1edc6a4fba70df4a8dca444aa7a56.scn"

[deps]

source_file="res://assets/aliens/bulwark.glb"
dest_files=["res://.godot/imported/bulwark.glb-60b1edc6a4fba70df4a8dca444aa7a56.scn"]

[params]

nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
mesh_library/use_node_names_as_mesh_names=false
array_mesh/deduplicate_surfaces=true
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=false
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path="res://tools/import_alien_materials.gd"
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={}
gltf/naming_version=2
gltf/embedded_image_handling=2
gltf/texture_map_mode=1
45 changes: 45 additions & 0 deletions assets/aliens/export-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,50 @@
"forward": "-Z",
"up": "+Y",
"atlas_size": 2048
},
"Husk": {
"triangles": 27972,
"materials": 6,
"bytes": 12785120,
"omitted_degenerate_triangles": 0,
"visual_diameter": 9.5,
"bounds_godot": [
5.479079,
1.28553,
7.653568
],
"forward": "-Z",
"up": "+Y",
"atlas_size": 2048
},
"Bulwark": {
"triangles": 34452,
"materials": 6,
"bytes": 13926740,
"omitted_degenerate_triangles": 0,
"visual_diameter": 12.0,
"bounds_godot": [
7.080173,
2.547897,
9.347694
],
"forward": "-Z",
"up": "+Y",
"atlas_size": 2048
},
"Siegebreaker": {
"triangles": 62324,
"materials": 6,
"bytes": 15721328,
"omitted_degenerate_triangles": 0,
"visual_diameter": 12.0,
"bounds_godot": [
7.258338,
2.373378,
9.256544
],
"forward": "-Z",
"up": "+Y",
"atlas_size": 2048
}
}
Binary file added assets/aliens/husk.glb
Binary file not shown.
45 changes: 45 additions & 0 deletions assets/aliens/husk.glb.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[remap]

importer="scene"
importer_version=1
type="PackedScene"
uid="uid://p33il7b0bbkc"
path="res://.godot/imported/husk.glb-9c18c5f737a88eefdda4f241e64d7cd6.scn"

[deps]

source_file="res://assets/aliens/husk.glb"
dest_files=["res://.godot/imported/husk.glb-9c18c5f737a88eefdda4f241e64d7cd6.scn"]

[params]

nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
mesh_library/use_node_names_as_mesh_names=false
array_mesh/deduplicate_surfaces=true
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=false
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path="res://tools/import_alien_materials.gd"
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={}
gltf/naming_version=2
gltf/embedded_image_handling=2
gltf/texture_map_mode=1
Binary file added assets/aliens/siegebreaker.glb
Binary file not shown.
45 changes: 45 additions & 0 deletions assets/aliens/siegebreaker.glb.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[remap]

importer="scene"
importer_version=1
type="PackedScene"
uid="uid://bkbgnfnumcqws"
path="res://.godot/imported/siegebreaker.glb-91cc13092079e600a9ec4f59eb80066b.scn"

[deps]

source_file="res://assets/aliens/siegebreaker.glb"
dest_files=["res://.godot/imported/siegebreaker.glb-91cc13092079e600a9ec4f59eb80066b.scn"]

[params]

nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
mesh_library/use_node_names_as_mesh_names=false
array_mesh/deduplicate_surfaces=true
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=false
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path="res://tools/import_alien_materials.gd"
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={}
gltf/naming_version=2
gltf/embedded_image_handling=2
gltf/texture_map_mode=1
22 changes: 21 additions & 1 deletion scripts/alien.gd
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ const VISUAL_DIAMETERS := {
"Shardling": 9.5,
"Spireguard": 9.5,
"Mothership": 16.0,
"Husk": 9.5,
"Bulwark": 12.0,
"Siegebreaker": 12.0,
}
# Stronger encounters should remain easy to track among cooperating pilots.
const VISUAL_SCALE := {
Expand All @@ -34,6 +37,9 @@ const VISUAL_SCALE := {
"Shardling": 1.0,
"Spireguard": 2.0,
"Mothership": 4.0,
"Husk": 1.3,
"Bulwark": 2.4,
"Siegebreaker": 9.0,
}
const TYPES := {
"Scout": {"hull": 1000.0, "shield": 500.0, "damage": 1500.0, "interval": 0.85, "range": 205.0, "speed": 29.0, "detection": 230.0, "leash": 210.0, "reward": 300, "respawn": 10.0, "scale": Vector3(0.7, 0.7, 0.85), "color": Color("ffc875")},
Expand All @@ -49,6 +55,10 @@ const TYPES := {
"Shardling": {"hull": 4000.0, "shield": 2000.0, "damage": 2200.0, "interval": 0.85, "range": 220.0, "speed": 30.0, "detection": 2400.0, "leash": 5000.0, "reward": 1500, "respawn": 0.0, "scale": Vector3.ONE, "color": Color("c86bff")},
"Spireguard": {"hull": 16000.0, "shield": 8000.0, "damage": 7500.0, "interval": 0.8, "range": 250.0, "speed": 17.0, "detection": 2400.0, "leash": 5000.0, "reward": 7000, "respawn": 0.0, "scale": Vector3.ONE, "color": Color("ff5fa8")},
"Mothership": {"hull": 200000.0, "shield": 100000.0, "damage": 18000.0, "interval": 0.55, "range": 270.0, "speed": 5.0, "detection": 2400.0, "leash": 5000.0, "reward": 120000, "respawn": 0.0, "scale": Vector3.ONE, "color": Color("9b5cff"), "radius": 16.0},
# Korrath Gate arena only; authored siege-engineer hulls use orange furnace cores.
"Husk": {"hull": 8000.0, "shield": 4000.0, "damage": 4000.0, "interval": 0.8, "range": 230.0, "speed": 34.0, "detection": 2400.0, "leash": 5000.0, "reward": 3000, "respawn": 0.0, "scale": Vector3(0.9, 0.7, 1.2), "color": Color("ff8a3d")},
"Bulwark": {"hull": 36000.0, "shield": 18000.0, "damage": 14000.0, "interval": 0.85, "range": 260.0, "speed": 15.0, "detection": 2400.0, "leash": 5000.0, "reward": 15000, "respawn": 0.0, "scale": Vector3(1.4, 1.2, 1.3), "color": Color("d0562a")},
"Siegebreaker": {"hull": 500000.0, "shield": 250000.0, "damage": 30000.0, "interval": 0.5, "range": 270.0, "speed": 3.0, "detection": 2400.0, "leash": 5000.0, "reward": 300000, "respawn": 0.0, "scale": Vector3(1.6, 0.8, 1.6), "color": Color("ffb35c"), "radius": 22.0},
}

var alien_id: int = 0
Expand Down Expand Up @@ -83,6 +93,7 @@ static func model_scene(alien_kind: String) -> Node3D:
var scene: PackedScene = load("res://assets/aliens/%s.glb" % alien_kind.to_lower())
var instance := scene.instantiate() as Node3D
instance.scale *= float(VISUAL_SCALE[alien_kind])
var korrath: bool = alien_kind in GalaxyGates.info("korrath")["pool"]
# Apply to shared materials at load time so existing imported assets also
# receive the visibility finish. Keep dark machinery and recesses distinct.
for node: MeshInstance3D in instance.find_children("*", "MeshInstance3D", true, false):
Expand All @@ -94,7 +105,16 @@ static func model_scene(alien_kind: String) -> Node3D:
material.emission_operator = BaseMaterial3D.EMISSION_OP_MULTIPLY
material.emission_texture = material.albedo_texture
# Vashar armor stays dark so its violet seams carry the contrast.
material.emission_energy_multiplier = 2.0 if alien_kind in ["Scout", "Sentinel", "Heavy"] else (0.12 if GalaxyGates.POOL.has(alien_kind) else 0.35)
material.emission_energy_multiplier = 2.0 if alien_kind in ["Scout", "Sentinel", "Heavy"] else (0.12 if alien_kind in GalaxyGates.arena_kinds() else 0.35)
if korrath:
# Scorched iron has a broad dull finish under the strong sector sun.
material.metallic_specular = 0.2
material.clearcoat = 0.04
elif korrath and material.resource_name.ends_with("sensor emission"):
# Unlit furnace apertures retain orange instead of picking up white sun specular.
material.shading_mode = BaseMaterial3D.SHADING_MODE_UNSHADED
material.emission = Color("ff6508")
material.emission_energy_multiplier = 0.4
return instance


Expand Down
3 changes: 3 additions & 0 deletions scripts/cargo_resources.gd
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ const LOOT := {
"Shardling": {"prometid": Vector2i(4, 8), "duranium": Vector2i(2, 4), "xenomit": Vector2i(1, 2)},
"Spireguard": {"duranium": Vector2i(8, 12), "xenomit": Vector2i(3, 5), "promerium": Vector2i(4, 6)},
"Mothership": {"xenomit": Vector2i(20, 30), "promerium": Vector2i(30, 40), "seprom": Vector2i(15, 20)},
"Husk": {"duranium": Vector2i(6, 10), "xenomit": Vector2i(2, 4), "promerium": Vector2i(2, 4)},
"Bulwark": {"xenomit": Vector2i(6, 10), "promerium": Vector2i(10, 14), "seprom": Vector2i(4, 6)},
"Siegebreaker": {"xenomit": Vector2i(30, 40), "promerium": Vector2i(40, 50), "seprom": Vector2i(25, 35)},
"Heavy": {"prometium": Vector2i(18, 24), "endurium": Vector2i(12, 18), "terbium": Vector2i(8, 12), "prometid": Vector2i(6, 10), "duranium": Vector2i(4, 6), "xenomit": Vector2i(1, 3), "promerium": Vector2i(2, 4), "seprom": Vector2i(1, 2)},
}

Expand Down
4 changes: 2 additions & 2 deletions scripts/equipment.gd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const MODELS := {
"sg3n-a02": {"name": "SG3N-A02", "kind": "generator", "price": 16000, "damage": 0.0, "shield": 2000.0, "absorption": 0.5, "speed": 0.0},
"fs-01": {"name": "FS-01", "kind": "generator", "price": 256000, "damage": 0.0, "shield": 3200.0, "absorption": 0.7, "regen_bonus": 0.0625, "speed": 0.0},
"sg3n-a03": {"name": "SG3N-A03", "kind": "generator", "price": 128000, "damage": 0.0, "shield": 5000.0, "absorption": 0.6, "speed": 0.0},
"sg3n-b00": {"name": "SG3N-B00", "kind": "generator", "price": 0, "unavailable": "Unavailable until assembly is added.", "damage": 0.0, "shield": 9000.0, "absorption": 0.7, "speed": 0.0},
"sg3n-b00": {"name": "SG3N-B00", "kind": "generator", "price": 0, "unavailable": "Unavailable in the shop. Korrath Gate victories can award one.", "damage": 0.0, "shield": 9000.0, "absorption": 0.7, "speed": 0.0},
"sg3n-b01": {"name": "SG3N-B01", "kind": "generator", "price": 2500 * URIDIUM_TO_CREDITS, "damage": 0.0, "shield": 9500.0, "absorption": 0.7, "speed": 0.0},
"sg3n-b02": {"name": "SG3N-B02", "kind": "generator", "price": 10000 * URIDIUM_TO_CREDITS, "damage": 0.0, "shield": 10000.0, "absorption": 0.8, "speed": 0.0},
"g3n-1010": {"name": "G3N-1010", "kind": "generator", "price": 2000, "damage": 0.0, "shield": 0.0, "speed": 2.0},
Expand Down Expand Up @@ -101,7 +101,7 @@ static func valid(data: Variant) -> bool:
return false
if data.has("story") and not Story.valid(data["story"]):
return false
if data.has("gates") and not GalaxyGates.valid(data["gates"]):
if data.has("gates") and not GalaxyGates.valid_collection(data["gates"]):
return false
for id: Variant in data["ships"]:
if not id is String or not PilotStore.valid_id(id) or not data["ships"][id] is String or not ShipCatalog.MODELS.has(ShipCatalog.canonical(data["ships"][id])):
Expand Down
2 changes: 1 addition & 1 deletion scripts/flight_navigation.gd
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ func build_contacts() -> Array[Dictionary]:
if sector.map_id == 0:
result.append({"key": "station", "name": "Outpost 01", "position": Sector.STATION_POSITION, "color": FlightHud.GREEN, "ship": null})
for map: int in SectorMaps.links(sector.map_id):
result.append({"key": "gate%d" % map, "name": SectorMaps.gate_label(map).capitalize() if map == GalaxyGates.MAP else "Gate to " + SectorMaps.code(map), "position": SectorMaps.gate_position(sector.map_id, map), "color": SectorMaps.MAPS[map]["color"], "ship": null})
result.append({"key": "gate%d" % map, "name": SectorMaps.gate_label(map).capitalize() if GalaxyGates.is_arena(map) else "Gate to " + SectorMaps.code(map), "position": SectorMaps.gate_position(sector.map_id, map), "color": SectorMaps.MAPS[map]["color"], "ship": null})
var site := Story.site(sector.story_state(), sector.map_id)
if not site.is_empty():
result.append({"key": "story_" + site["id"], "name": "Objective: " + site["site"], "position": Story.site_position(site), "color": StorySites.GOLD, "ship": null})
Expand Down
Loading
Loading