Skip to content

Conversation

@Drulikar
Copy link
Contributor

@Drulikar Drulikar commented Dec 23, 2025

About the pull request

For a broad overview see design doc and change log below.

Hijack flow notes:

  • Old 50% progress is now the threshold to start a FTL jump
  • Death during pumping indefinitely extends progress (to just let round end rather than continue events)
  • Failure before FTL jump will result in a crash to the ground (groundside will get OB warnings, almayer will crack open in the middle); this prevents lifeboat evac but allows SD
  • Failure after FTL jump will result in a destructive hault (later this may have a chance to crash into a planet); this allows evac and SD (but a crash would prevent lifeboat evac)
  • FTL can cause hallucinations if not in a cryopod
  • 100% progress jumps to a station which will cause indefinite ERT spawns every 2.5 minutes.

Some additional notes:

  • Almayer has almost no temporary hull tiles expanding on Almayer - Dwarf Nerf #10642
  • Almayer hangar umbilical ports have been altered, and the southern (Port) dock supports even the big ert shuttle (but technically not all ships that it allows ought to fit there because of 3 wall tiles near the end of the pad)
  • Map template verb has more options and has been tgui inputified namely to support templates expanding into space (but that would still crop to maxx and maxy)
  • Unused, but projectors now support shifting Zs and can anchor to a marker (e.g. to determine the mainship Z)
  • There is a new template_noop/conditional that if it matches a existing area type can change the area (namely to convert only space area to a different area but is otherwise left alone)
  • Hallucinations inherently now have a 15s cooldown on a human mob and the proc was made a human proc instead of specifically a neurotoxin proc
  • In particular the crash onto ground sequence is expensive, primarily because of the expensive work needed for open_space turfs

Thank you Harry for doing the initial groundwork on this so long ago. Sorry it took me as long as it did to get around to finalizing it.

Explain why it's good for the game

Resolves cmss13-devs/cm-roadmap#45

https://hackmd.io/sR6JilGCSN2B1kVGfeyLvg

Ultimately this is to give more variety and interest to hijack.

Re resin holes: is_resin_allowed was already supposed to be blocking resin holes but wasn't:

var/is_resin_allowed = TRUE // can xenos weed, place resin holes or dig tunnels at said areas

But ultimately all this means is just they can't trap places where weeds would happen to overlap some spread into !is_resin_allowed areas.

Testing Photographs and Procedure

Screenshots & Videos

Weather testing for expanded zones:
weather testing

Various testing of all scenarios has already been performed in localhost:
image
image
image

Docking testing:
image
image
image

Burrower testing:
image

Crack open testing: https://youtu.be/qus-g0PjRYc
image

With more detailing:
image
example2

Changelog

🆑 Drathek Harry
add: FTL Hijack Evacuation: Old 50% threshold starts a FTL jump, 100% threshold arrives at a station that indefinitely spawns ERTs, failure allows SD (and lifeboat evac again if not crashed onto ground)
add: Multiz stairs and open_space now check if the destination is fully closed turfs to block travel (unless thrown in the case of open_space which will kill)
admin: Map template placement has new options namely a way to expand playable space into space
code: Projectors now support z shifts, can use a projector anchor to automatically detect a specific z, and initialize differently
code: open_space turfs now can override how they determine the turf below them and SSmapping can determine Z transitions by coordinate
code: Added /area/template_noop/conditional to act as a normal area noop unless the existing area matches a trigger
code: Space turfs update their icon differently (removes an istype(src) check
code: Weather subsystem can now support areas created after initialization
code: Various main ship z level checks were replaced with a slightly more performant version
code: Warheads now respect current name in cause_data, and can disable a tertiary explosion
code: Ship weapons code now handles cause_data better
code: ChangeTurf can now accept arbitrary arguments for Initialize of the new turf
maptweak: Changed umbilical cord docking ports on the Almayer with the south (port) dock allowing larger shuttles and removed a stray pipe on bottom Z
maptweak: All map borders that were a shuttle turf are converted to a cordon (UpdatePaths script provided)
mapadd: Added a crashed Almayer template and umbilical docks
soundadd: Added a reversed version of an existing supercapcitors_charging sound
balance: Neurotoxin hallucinations cannot occur more frequently than every 15s now
balance: Most temporary hulls on the Almayer are now internal hull to prevent mining during hijack
balance: Resin traps now properly respect is_resin_allowed as they should have
ui: Added FTL status to escape pods UI
/:cl:

hry-gh and others added 30 commits November 26, 2024 18:51
# Conflicts:
#	code/__DEFINES/hijack.dm
#	code/controllers/subsystem/hijack.dm
#	colonialmarines.dme
#	tgui/packages/tgui/interfaces/EscapePodConsole.tsx
@Drulikar Drulikar added the Needs Testing Need to test it on the guinea pigs (production server) label Dec 23, 2025
@github-project-automation github-project-automation bot moved this to Awaiting Review in Review Backlog Dec 23, 2025
@cmss13-ci cmss13-ci bot added Mapping did you remember to save in tgm format? Sound Blast 5 minutes of bass boosted music to our players UI deletes nanoui/html Feature Feature coder badge Admin Make things harder for admins Code Improvement Make the code longer Balance You need to be a professional veteran game maintainer to comprehend what is being done here. size/XL Denotes a PR that changes 799-1999 lines, ignoring generated files. labels Dec 23, 2025
@Drulikar Drulikar added the Testmerge Candidate we'll test this while you're asleep and the server has 10 players label Dec 24, 2025
@sippykot
Copy link
Contributor

almayer will crash onto the ground map?

@cm13-github
Copy link
Contributor

cm13-github commented Dec 25, 2025

Test merge deployment history:

Test Merge Deployed @ 12/25/2025 05:25:23 +00:00:
Server Instance

CM13 Live

Revision

Origin: a3e29fa
Pull Request: e9bf340
Server: 6436474

Test Merge Removed @ 12/25/2025 09:44:05 +00:00:
Server Instance

CM13 Live

Test Merge Deployed @ 12/26/2025 02:48:13 +00:00:
Server Instance

CM13 Live

Revision

Origin: a3e29fa
Pull Request: 5379f42
Server: ec4cdb9

Test Merge Updated @ 12/26/2025 07:38:04 +00:00:
Server Instance

CM13 Live

Revision

Origin: a3e29fa
Pull Request: 385ecbc
Server: 55af356

Test Merge Removed @ 12/26/2025 09:09:47 +00:00:
Server Instance

CM13 Live

@Diegoflores31
Copy link
Contributor

More holes into the almayer after it crashes would be great . only ghosts can really notice when the almayer has crashed . it would be nice to add maybe a couple windows of some sort ? so a player can "see" the planet underneat

@Drulikar
Copy link
Contributor Author

Drulikar commented Dec 26, 2025

More holes into the almayer after it crashes would be great . only ghosts can really notice when the almayer has crashed . it would be nice to add maybe a couple windows of some sort ? so a player can "see" the planet underneat

The crack location is where it is because it still allows using the middle Z to get to the other side (assuming you don't just get terrible RNG for the lattices) and it opens up the rather detailed lower cargo area. Further east also is very likely to be offmap in the expanded playzone so not anywhere as interesting to possibly drop down from.

As far as windows, I think the current quantity is sufficient. There are 144 external facing /obj/structure/window/framed/almayer/hull windows to the outside of the ship on the almayer; many of which are near the fuel pumps which hijack objectives encourages people to hold.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Admin Make things harder for admins Balance Approved This PR has had its balance and gameplay-affecting aspects approved. Cry to the Head-maint about it. Balance You need to be a professional veteran game maintainer to comprehend what is being done here. Code Improvement Make the code longer Feature Feature coder badge Mapping did you remember to save in tgm format? Needs Testing Need to test it on the guinea pigs (production server) size/XL Denotes a PR that changes 799-1999 lines, ignoring generated files. Sound Blast 5 minutes of bass boosted music to our players Testmerge Candidate we'll test this while you're asleep and the server has 10 players UI deletes nanoui/html

Projects

Status: Awaiting Review

Development

Successfully merging this pull request may close these issues.

FTL Hijack Objectives

5 participants