TCockpits file (X3)

From X-Wiki

(Redirected from TCockpits (X3))
Jump to: navigation, search

Description

TCockpits T file holds data about cockpits. A cockpit in X2 and X3 is almost exclusively a turret viewport. Among others, it defines:

  • Scene file with graphics displayed when you are inside the cockpit
  • Weapons compatible with the cockpit (or better a turret)
  • Turning speed of the cockpit (again better would be turret speed)

This is the file you should edit if you want to change the compatible lasers for certain turret on some ship. Note that because the cockpits (turrets) can be shared be several ships, changing the cockpit data may have unpredictable result (for example some other ship may become too powerfull).

You can see list of cockpit IDs used by a ship in X3 Editor by looking at the bottom list in Cokpits (turrets) tab.

Structure

Field Description
0. Body file Not used
Template:Expr:0 + 1. Picture ID Not used
Template:Expr:0 + 2. Rotation X
Template:Expr:0 + 3. Rotation Y
Template:Expr:0 + 4. Rotation Z
Template:Expr:0 + 5. Galaxy subtype Not used
Template:Expr:0 + 6. Description Not used
7. Scene file Scene containing the graphics of the object
8. Laser mask Bit mask defining which lasers can be equipped
9. Volume
10. Production RelVal (NPC) Price for NPCs (it's not really a price)
Template:Expr:10 + 1. Price modifier PRI Primary Price Modifier
Template:Expr:10 + 2. Price modifier SEC Secondary Price Modifier
Template:Expr:10 + 3. Ware class Class (size) of the object - affects which ships can carry it
Template:Expr:10 + 4. Production RelVal (player) Price for the player (it's not really a price)
Template:Expr:10 + 5. Min. Notoriety Minimal notoriety the player must have to be able to use this object
Template:Expr:10 + 6. Video ID Stream ID from Videos file containing the animation displayed in the Info screen
Template:Expr:10 + 7. Skin Index to Skins file
Template:Expr:10 + 8. Object ID Identifier of the object

See also

References

writing services

Personal tools
sections