Difference between revisions of "Cockpit"
Line 105: | Line 105: | ||
== Programming == | == Programming == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[Programming Guide|Programming]] in the [[Programmable Block|program block]].<br> | |
+ | |||
+ | '''Interface name:''' IMyCockpit | ||
+ | '''Parent:''' IMyShipController | ||
+ | '''Fields:''' | ||
+ | bool ControlWheels | ||
+ | bool ControlThrusters | ||
+ | bool HandBrake | ||
+ | bool DampenersOverride | ||
+ | |||
+ | '''Actions:''' | ||
+ | ControlThrusters -> '''Control thrusters On/Off''' | ||
+ | ControlWheels -> '''Control wheels On/Off''' | ||
+ | HandBrake -> '''Handbrake On/Off''' | ||
+ | DampenersOverride -> '''Inertia dampeners On/Off''' | ||
== Update History == | == Update History == |
Revision as of 17:52, 10 August 2015
Contents
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 automaticly supply the player with oxygen and refill the internal O2 tank of the players spacesuit. (starting with version 01.074)
Game version: 1.079
Cockpit O2 capacity | 60 O2 | About 15.9 minutes worth of breathing |
Game version: 1.078.009
Cockpit O2 capacity | 10,000 O2 | About 1.8 days worth of breathing |
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 way to halt the vehicle to a complete stop is by using the hand break feature in the control panel.
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
Tips
- If you're using wheels, you can place the hand break function on the toolbar for easy-access!
Known Issues
Related Items
Programming
Programming in the program block.
Interface name: IMyCockpit Parent: IMyShipController Fields: bool ControlWheels bool ControlThrusters bool HandBrake bool DampenersOverride Actions: ControlThrusters -> Control thrusters On/Off ControlWheels -> Control wheels On/Off HandBrake -> Handbrake On/Off DampenersOverride -> Inertia dampeners On/Off
Update History
Update 01.002.014 |
|
Update 01.001.007 |
|