Airlock (modding)

From Cosmoteer Wiki
< Modding‎ | ComponentsModding/Components/Airlock
Jump to navigation Jump to search
Code location (what's this?): Cosmoteer.Ships.Parts.Crew.Airlock

A part sub-component that allows crew to enter and exit the ship.

This is the component that makes the airlock work.

Parameters (Complete list)
Name Type Required? Buffable? Default value Description
EnterExitPoint Vector2 Yes - - Where exactly the crew exits or enters compared to the component's location.
NuggetEjectVelocity Range<float> Yes - -
NuggetEjectDirection Range<Angle> Yes - -
NuggetEjectDoorOpenDuration Time Yes - -
UITileRect Rect? No - -
EntryToggle ID<PartComponentRules>? No - - A toggle can be specified here. Presumably to allow entering the ship via this airlock.
ExitToggle ID<PartComponentRules>? No - - A toggle can be specified here. Presumably to allow leaving the ship via this airlock.
CrewLeaveEffects MultiMediaEffectRules? No - - Any sounds or visuals to be played when a crew leaves.
CrewEnterEffects MultiMediaEffectRules? No - - Any sounds or visuals to be played when a crew enters.