Difference between revisions of "Cockpit"

From Space Engineers Wiki
Jump to: navigation, search
m (fixed some typos and added information about braking)
m (Display the DeformationRatio for sg cockpit)
 
(12 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<!-- Completely moved the page location as to better reflect current in-game references
+
{{SimpleItembox|Mod:Vanilla/CubeBlock/LargeBlockCockpitSeat
-Will also come back at some point to add a creative page for usage of cockpits
+
|Size
-Also will upload new Icon name
+
|Mass
-->
+
|Integrity
 
+
|BuildTimeSeconds
{{itembox
+
|OxygenCapacity
| item = Cockpit
+
|InventoryVolume#L
| description = Used to control a vessel.
+
|IsAirTight
| tool = no
+
|PCU
| largeship = yes
+
}}{{SimpleItembox|Mod:Vanilla/CubeBlock/SmallBlockCockpit
| smallship = yes
+
|Size
| component = no
+
|Mass
| rawmaterial = no
+
|Integrity
| material = no
+
|DeformationRatio
 
+
|BuildTimeSeconds
| lbuildtime = 50
+
|OxygenCapacity
| lcomponentstructure = 3
+
|InventoryVolume#L
| lcomponent1 = Bulletproof Glass
+
|IsAirTight
| lcomponent1amt = 10
+
|PCU
| lcomponent2 = Interior Plate
+
}}
| lcomponent2amt = 10
+
{{CategorizeComponents|Mod:Vanilla/CubeBlock/LargeBlockCockpitSeat}}
| lcomponent3 = Computer
 
| lcomponent3amt = 100
 
| lcomponent4 = Display
 
| lcomponent4amt = 8
 
| lcomponent5 = Motor
 
| lcomponent5amt = 1
 
| lcomponent6 = Construction Component
 
| lcomponent6amt = 20
 
| lcomponent7 = Interior Plate
 
| lcomponent7amt = 20
 
| lwidth = 1
 
| lheight = 1
 
| ldepth = 1
 
  
| sbuildtime = 30
 
| scomponentstructure = 3
 
| scomponent1 = Bulletproof Glass
 
| scomponent1amt = 30
 
| scomponent2 = Interior Plate
 
| scomponent2amt = 5
 
| scomponent3 = Computer
 
| scomponent3amt = 15
 
| scomponent4 = Display
 
| scomponent4amt = 5
 
| scomponent5 = Motor
 
| scomponent5amt = 1
 
| scomponent6 = Construction Component
 
| scomponent6amt = 10
 
| scomponent7 = Interior Plate
 
| scomponent7amt = 5
 
| swidth = 3
 
| sheight = 3
 
| sdepth = 3
 
 
| version = 01.095
 
}}
 
 
== Overview ==
 
== Overview ==
 
The cockpit is a block that allows the player to control a craft. It allows the user to manually control movement, rotation, tools, and weapons.
 
The cockpit is a block that allows the player to control a craft. It allows the user to manually control movement, rotation, tools, and weapons.
Line 65: Line 30:
  
 
=== Oxygen system ===
 
=== Oxygen system ===
If a cockpit is connected to a source of [[Oxygen]] through it's conveyor ports, it will automatically supply the player with oxygen and refill the internal O2 tank of the players spacesuit. (starting with version 01.074)
+
If a cockpit is connected to a source of [[Oxygen]] through it's conveyor ports, it will automatically supply the player with oxygen and refill the internal O2 tank of the players spacesuit.  
 
 
Game version: 1.079
 
{| class="wikitable"
 
|-
 
|'''Cockpit O2 capacity'''||60 O2||About 15.9 minutes worth of breathing
 
|}
 
  
Game version: 1.078.009
 
{| class="wikitable"
 
|-
 
|'''Cockpit O2 capacity'''||10,000 O2||About 1.8 days worth of breathing
 
|}
 
 
=== Wheel control ===
 
=== Wheel control ===
 
Every cockpit can be set to control wheels placed on the grid. When a cockpit is set to control wheels, it will instead attempt to move & turn in the directions using the wheels to propel it forward or backwards. Keep in the mind, currently the only ways to halt the vehicle to a complete stop are by using the '''hand brake''' feature in the control panel, or by holding the key assigned to upwards movement (default: spacebar). Toggling the handbrake acts as a parking brake preventing the wheels from rotating - always useful when leaving your vehicle for extended periods of time.
 
Every cockpit can be set to control wheels placed on the grid. When a cockpit is set to control wheels, it will instead attempt to move & turn in the directions using the wheels to propel it forward or backwards. Keep in the mind, currently the only ways to halt the vehicle to a complete stop are by using the '''hand brake''' feature in the control panel, or by holding the key assigned to upwards movement (default: spacebar). Toggling the handbrake acts as a parking brake preventing the wheels from rotating - always useful when leaving your vehicle for extended periods of time.
Line 95: Line 49:
 
== Tips ==
 
== Tips ==
 
*If you're using wheels, you can place the hand brake function on the toolbar for easy-access!
 
*If you're using wheels, you can place the hand brake function on the toolbar for easy-access!
 +
*When in a cockpit, P can be used to toggle the locks of all landing gear and connectors, as well as toggle the handbrake. Be careful when carrying objects as you may drop it.
  
 
== Known Issues ==
 
== Known Issues ==
Line 105: Line 60:
 
== Programming ==
 
== Programming ==
  
[[Programming Guide|Programming]] in the [[Programmable Block|program block]].<br>
+
* [[Programming_Guide/Action_List#Cockpit|Action List - Cockpit]]
 
 
'''Interface name:''' IMyCockpit
 
'''Parent:''' IMyShipController
 
'''Fields:'''
 
bool ControlWheels
 
bool ControlThrusters
 
bool HandBrake
 
bool DampenersOverride
 
 
'''Actions from Cockpit:'''
 
ControlThrusters -> '''Control thrusters On/Off'''
 
ControlWheels -> '''Control wheels On/Off'''
 
HandBrake -> '''Handbrake On/Off'''
 
DampenersOverride -> '''Inertia dampeners On/Off'''
 
  
 
== Update History ==
 
== Update History ==
 
<div style="-webkit-border-image: none;-webkit-box-shadow: rgba(0, 0, 0, 0.046875) 0px 1px 1px 0px inset;background-color: #eeeeee;border-bottom-color: #AFAFAF;border-bottom-left-radius: 3px;border-bottom-right-radius: 3px;border-bottom-style: solid;border-bottom-width: 1px;border-left-color: #AFAFAF;border-left-style: solid;border-left-width: 1px;border-right-color: #AFAFAF;border-right-style: solid;border-right-width: 1px;border-top-color: #AFAFAF;border-top-left-radius: 3px;border-top-right-radius: 3px;border-top-style: solid;border-top-width: 1px;box-shadow: rgba(0, 0, 0, 0.046875) 0px 1px 1px 0px inset;color: #333;display: block;font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size: 1em;height: auto;line-height: 20px;margin-bottom: 5px;margin-left: 8px;margin-right: 8px;margin-top: 0px;min-height: 20px;padding-bottom: 4px;padding-left: 4px;padding-right: 4px;padding-top: 4px;width: auto;">
 
<div style="-webkit-border-image: none;-webkit-box-shadow: rgba(0, 0, 0, 0.046875) 0px 1px 1px 0px inset;background-color: #eeeeee;border-bottom-color: #AFAFAF;border-bottom-left-radius: 3px;border-bottom-right-radius: 3px;border-bottom-style: solid;border-bottom-width: 1px;border-left-color: #AFAFAF;border-left-style: solid;border-left-width: 1px;border-right-color: #AFAFAF;border-right-style: solid;border-right-width: 1px;border-top-color: #AFAFAF;border-top-left-radius: 3px;border-top-right-radius: 3px;border-top-style: solid;border-top-width: 1px;box-shadow: rgba(0, 0, 0, 0.046875) 0px 1px 1px 0px inset;color: #333;display: block;font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size: 1em;height: auto;line-height: 20px;margin-bottom: 5px;margin-left: 8px;margin-right: 8px;margin-top: 0px;min-height: 20px;padding-bottom: 4px;padding-left: 4px;padding-right: 4px;padding-top: 4px;width: auto;">
 
{| class="wikitable" style="width: 100%"
 
{| class="wikitable" style="width: 100%"
 +
|style="text-align: left;width: 8%"| [[Update 01.074]] ||style="padding-left: 10px;padding-right: 10px;"|
 +
*Has an internal oxygen capacity
 +
|-
 
|style="text-align: left;width: 8%"| [[Update 01.002.014]] ||style="padding-left: 10px;padding-right: 10px;"|
 
|style="text-align: left;width: 8%"| [[Update 01.002.014]] ||style="padding-left: 10px;padding-right: 10px;"|
 
*fixed leaving cockpit during crashes
 
*fixed leaving cockpit during crashes
Line 131: Line 75:
 
|}
 
|}
 
[[Category:Cockpits]]
 
[[Category:Cockpits]]
 +
[[Category:Functional_Blocks]]

Latest revision as of 20:05, 16 November 2020

Cockpit Icon.png
Large Ship / Station
Cockpit
Large Ship Icon.png

ComponentsRequired

 Functional 

 Hack 

Dimensions (W,H,L)1,1,1
Mass1,768 kg
1,768,000 g
1,768,000,000 mg
1.768 t
Integrity7,380
Build time40 s
Oxygen Capacity60
Inventory Volume1,000 L
1 m³
100 hL
Is AirtightPartially
PCU Cost150
BrowseLast edit: 2020-10-27
Cockpit Icon.png
Small Ship
Cockpit
Small Ship Icon.png

ComponentsRequired

 Functional 

 Hack 

Dimensions (W,H,L)3,3,3
Mass797 kg
797,000 g
797,000,000 mg
0.797 t
Integrity3,180
Deformation Ratio20 %
0.2
Build time30 s
Oxygen Capacity60
Inventory Volume1,000 L
1 m³
100 hL
Is AirtightPartially
PCU Cost150
BrowseLast edit: 2020-10-27

Overview

The cockpit is a block that allows the player to control a craft. It allows the user to manually control movement, rotation, tools, and weapons.

Usage

The cockpit block is very simple to use. While the player may place as many as they like, only one is needed. Cockpits will take up 3x3x3 small blocks on a small ship grid, while only 1 block on a large ship or station.

Note
  • The direction the cockpit is facing determines which is "forward, reverse, left, right, up and down".

Oxygen system

If a cockpit is connected to a source of Oxygen through it's conveyor ports, it will automatically supply the player with oxygen and refill the internal O2 tank of the players spacesuit.

Wheel control

Every cockpit can be set to control wheels placed on the grid. When a cockpit is set to control wheels, it will instead attempt to move & turn in the directions using the wheels to propel it forward or backwards. Keep in the mind, currently the only ways to halt the vehicle to a complete stop are by using the hand brake feature in the control panel, or by holding the key assigned to upwards movement (default: spacebar). Toggling the handbrake acts as a parking brake preventing the wheels from rotating - always useful when leaving your vehicle for extended periods of time.

Main cockpit

As of Update 01.078 the player can set one of the various cockpits on the ship/station grid to act as the primary. The main cockpit restricts all access to the ships movement, dampener, power, and other system control from the others and makes the selected cockpit the only one able to use these functions. This may be used as a security feature to prevent another player to building one and stealing the ship, or as a safeguard against accidental movement or use of the other functions. If the selected cockpit is destroyed, access is restored to other cockpits on the grid.

Media

Example of a cockpit being used to control a small ship
View of the cockpit block
View of the cockpit interior
Position 2 Small and 1 large conveyor doors, on a small ship cockpit

Tips

  • If you're using wheels, you can place the hand brake function on the toolbar for easy-access!
  • When in a cockpit, P can be used to toggle the locks of all landing gear and connectors, as well as toggle the handbrake. Be careful when carrying objects as you may drop it.

Known Issues

Related Items

Programming

Update History

Update 01.074
  • Has an internal oxygen capacity
Update 01.002.014
  • fixed leaving cockpit during crashes
Update 01.001.007
  • fixed many cockpit crashes