Skip to content
Open
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
c61f3dc
Planet landing animation: blocking
Jackriip Nov 16, 2026
bb82842
Planet landing animation: full build
Jackriip Nov 16, 2026
d1d54c3
Planet landing animation: review fixes
Jackriip Nov 16, 2026
1174efa
Planet landing animation: shorter takeoff shadow, visible dust
Jackriip Nov 16, 2026
ac58d6c
Planet landing animation: hide the touchdown picture from ghosts aboa…
Jackriip Nov 16, 2026
09b3bc5
Planet landing animation: fewer dust puffs
Jackriip Nov 16, 2026
c0f0f4a
Planet landing animation: draw the hull picture plane by plane, so fl…
Jackriip Nov 16, 2026
33c42ee
Planet landing animation: keep a hard reference until the effects are…
Jackriip Nov 16, 2026
78fb619
Planet takeoff: lift on thrusters, pitch up and fly off toward the bow
Jackriip Nov 16, 2026
f4feaf0
Planet landing animation: takeoff shadow fades on its own curve, stro…
Jackriip Nov 16, 2026
e5b5280
Planet takeoff: tilt the whole hull as a rigid turn instead of skewin…
Jackriip Nov 16, 2026
69243cb
Planet landing seen from aboard: the planet, entry heat, clouds and t…
Jackriip Nov 16, 2026
c8681f5
Planet takeoff seen from aboard, finer planet and cloud art, a called…
Jackriip Nov 16, 2026
027d6e2
Landing view: the far ground is one small aerial image, close-up tile…
Jackriip Nov 16, 2026
0f605d5
Landing view: painted ground with real tiles only near the hull and o…
Jackriip Nov 16, 2026
d97df1b
Landing view: the ground's light arrives before the cloud clears; the…
Jackriip Nov 16, 2026
91776e1
Landing: the ground shadow and the falling hull's picture are only ev…
Jackriip Nov 16, 2026
9d6afc3
Landing view: one layer of cloud on the way down, a darker hull shado…
Jackriip Nov 16, 2026
2b30383
Landing view test: the ground under a lifting hull arrives a few tick…
Jackriip Nov 16, 2026
de54bc2
Landing view: one layer of cloud, lit by the open sky until it clears
Jackriip Nov 16, 2026
6f1c4c3
Landing view test: the cloud's own light is a piece of sky on the lig…
Jackriip Nov 16, 2026
348ca4b
Landing view: the ground is seen through an opening in the cloud that…
Jackriip Nov 17, 2026
04564db
Landing view: the site fades into the planet's own haze, coloured by …
Jackriip Nov 17, 2026
87b9dc5
Landing view: a chunk reaches as far as the biggest thing on it, what…
Jackriip Nov 17, 2026
4efe7dc
Landing view: an entry burn that shows on a bright sky, and a hull sh…
Jackriip Nov 17, 2026
34ca6c3
Landing view: each chunk is one picture for each world plane, so a tr…
Jackriip Nov 17, 2026
eb098be
Landing view: drop the cloud deck and grain art that nothing uses any…
Jackriip Nov 17, 2026
21ffe20
Landing view: hold the sampled icons only while a picture is being made
Jackriip Nov 17, 2026
0ed71f2
Landing: takeoff moves off level, forward and up, with no tilt; lava …
Jackriip Nov 17, 2026
6d30051
Landing view: a harder, longer shake through the entry burn
Jackriip Nov 17, 2026
864b9cd
Landing: new sounds for entry, cloud, thrusters, touchdown, engine sp…
Jackriip Nov 17, 2026
282b08c
Landing view: the sky comes back on a screen that was rebuilt (ghosti…
Jackriip Nov 17, 2026
ec08d74
Landing: sounds on the ground come from the nearest part of the hull …
Jackriip Nov 17, 2026
14b080a
Landing: engine spool, approach, touchdown and liftoff are heard by e…
Jackriip Nov 17, 2026
35462e2
Merge remote-tracking branch 'origin2/master' into feature/landing-in…
Jackriip Nov 17, 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
9 changes: 9 additions & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -6703,6 +6703,7 @@
#include "voidcrew\_DEFINES\human_npcs.dm"
#include "voidcrew\_DEFINES\job_categories.dm"
#include "voidcrew\_DEFINES\keybindings.dm"
#include "voidcrew\_DEFINES\landing_view.dm"
#include "voidcrew\_DEFINES\lich.dm"
#include "voidcrew\_DEFINES\lighting.dm"
#include "voidcrew\_DEFINES\loot.dm"
Expand Down Expand Up @@ -7383,6 +7384,14 @@
#include "voidcrew\modules\intents\intent_component.dm"
#include "voidcrew\modules\intents\keybindings.dm"
#include "voidcrew\modules\intents\preferences.dm"
#include "voidcrew\modules\landing_animation\landing_animation.dm"
#include "voidcrew\modules\landing_animation\landing_view.dm"
#include "voidcrew\modules\landing_animation\landing_view_ascent.dm"
#include "voidcrew\modules\landing_animation\landing_view_descent.dm"
#include "voidcrew\modules\landing_animation\landing_view_ground.dm"
#include "voidcrew\modules\landing_animation\landing_view_hover.dm"
#include "voidcrew\modules\landing_animation\landing_view_planes.dm"
#include "voidcrew\modules\landing_animation\landing_view_sky.dm"
#include "voidcrew\modules\lich\lich_abilities.dm"
#include "voidcrew\modules\lich\lich_loot.dm"
#include "voidcrew\modules\lich\lich_mob.dm"
Expand Down
61 changes: 61 additions & 0 deletions voidcrew/_DEFINES/landing_view.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
// Planet landing view (voidcrew/modules/landing_animation): what a crew sees around their hull while it lands
// on a planet or leaves one.

/// The plane the view draws on: over space and its parallax, under the whole world. Cut to
/// LANDING_VIEW_MASK_PLANE, so it only shows on tiles the viewer can really see.
#define LANDING_VIEW_PLANE -19
/// Draws nothing itself. Whatever is on it becomes the mask LANDING_VIEW_PLANE is cut to.
#define LANDING_VIEW_MASK_PLANE -44
#define LANDING_VIEW_MASK_RENDER_TARGET "*LANDING_VIEW_MASK"
/// A white tile on every turf of transit space around a landing hull, and none on the hull: what the ground's light is cut to
#define LANDING_VIEW_OUTSIDE_PLANE -43
#define LANDING_VIEW_OUTSIDE_RENDER_TARGET "*LANDING_VIEW_OUTSIDE"
/// The light on the ground in the landing view, laid over the lighting of the transit space around the hull
#define LANDING_VIEW_LIGHT_PLANE 18

/// The sky's textures, and their size in pixels
#define LANDING_VIEW_ICON 'voidcrew/icons/effects/landing_view.dmi'
#define LANDING_VIEW_ICON_SIZE 480

// Layers on LANDING_VIEW_PLANE, back to front. Pictures locked to the world are images; BYOND draws those
// under every screen object on the same plane, whatever their layers.
/// The real ground, far below
#define LANDING_VIEW_LAYER_GROUND 10
/// The hull's shadow on that ground
#define LANDING_VIEW_LAYER_SHADOW 11
/// Deep space, covering the starfield
#define LANDING_VIEW_LAYER_SPACE 20
/// The planet seen whole
#define LANDING_VIEW_LAYER_PLANET 22
/// Its glow of air
#define LANDING_VIEW_LAYER_AIR 23
/// The sky inside its air: one colour, over the planet and under the ground's haze
#define LANDING_VIEW_LAYER_SKY 24
/// Haze between the ship and the ground
#define LANDING_VIEW_LAYER_HAZE 30
/// Cloud deck and the clouds rushing past
#define LANDING_VIEW_LAYER_CLOUD 32
/// Heat of entry over everything
#define LANDING_VIEW_LAYER_HEAT 40

// How a landing view track gets from one key to the next
#define LANDING_CURVE_LINEAR 0
/// Fast, then settling
#define LANDING_CURVE_OUT 1
/// Slow, then rushing
#define LANDING_CURVE_IN 2
/// Slow at both ends
#define LANDING_CURVE_BOTH 3

/// The sizes of the whole planet between which its closer-up texture takes over (see chain_detail())
#define LANDING_PLANET_DETAIL list(list(1.7, 3.3))
/// The size of the planet under a ship that is flying over it, and the size it comes up from and falls away to
#define LANDING_HOVER_SIZE 1.5
#define LANDING_HOVER_FAR 0.08

// Which part of the ground around a berth a call to bake_ground() draws
#define LANDING_GROUND_ALL 0
/// Everything but the chunks the hull's own box touches
#define LANDING_GROUND_AROUND 1
/// Only those
#define LANDING_GROUND_UNDER 2
Binary file added voidcrew/icons/effects/landing_view.dmi
Binary file not shown.
Binary file added voidcrew/icons/effects/landing_view_glow.dmi
Binary file not shown.
Loading
Loading