Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Difference between revisions of "ETW files:db/unit stats naval tables/unit stats naval"

From TWC Wiki
Jump to navigationJump to search
m (Added Category)
m (Minor Change in Record Naming)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=== Header ===
+
== Header ==
 
* "<span style="color:black">01</span>", 1 BYTE - <span style="color:gray"># Currently unknown</span>
 
* "<span style="color:black">01</span>", 1 BYTE - <span style="color:gray"># Currently unknown</span>
 
* "<span style="color:red">Count</span>", INTEGER (4 byte) - <span style="color:gray"># Number of entries in the file</span>
 
* "<span style="color:red">Count</span>", INTEGER (4 byte) - <span style="color:gray"># Number of entries in the file</span>
  
=== Record ===
+
== Record ==
 
* "<span style="color:#009ACD">Identifier</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
 
* "<span style="color:#009ACD">Identifier</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
 
* "<span style="color:gray">Unknown</span>", INTEGER (4 byte)
 
* "<span style="color:gray">Unknown</span>", INTEGER (4 byte)
 
* "<span style="color:gray">Unknown</span>", INTEGER (4 byte)
 
* "<span style="color:gray">Unknown</span>", INTEGER (4 byte)
 
* "<span style="color:gray">Unknown</span>", INTEGER (4 byte)
 
* "<span style="color:gray">Unknown</span>", INTEGER (4 byte)
* "<span style="color:gray">Unknown</span>", BOOLEAN (1 byte)
+
* "<span style="color:#FF0000">Has Admiral Variant</span>", BOOLEAN (1 byte)
* "<span style="color:gray">Unknown</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
+
* "<span style="color:#8B864E">Admiral Variant Identifier</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
* "<span style="color:gray">Unknown</span>", BOOLEAN (1 byte)
+
* "<span style="color:#27408B">Has Cannon Type 1</span>", BOOLEAN (1 byte)
 
* "<span style="color:#00CD66">Cannon Type 1</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
 
* "<span style="color:#00CD66">Cannon Type 1</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
* "<span style="color:gray">Unknown</span>", SOME 2 BYTES
+
* "<span style="color:#27408B">Has Cannon Type 2</span>", BOOLEAN (1 byte)
* "<span style="color:gray">Unknown</span>", BOOLEAN (1 byte)
+
* "<span style="color:#00CD66">Cannon Type 2</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
* "<span style="color:#EE2C2C">Cannon Type 2</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
+
* "<span style="color:#27408B">Has Cannon Type 3</span>", BOOLEAN (1 byte)
* "<span style="color:gray">Unknown</span>", BOOLEAN (1 byte)
+
* "<span style="color:#00CD66">Cannon Type 3</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
* "<span style="color:#CD69C9">Cannon Type 3</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
+
* "<span style="color:#27408B">Has Cannon Type 4</span>", BOOLEAN (1 byte)
* "<span style="color:gray">Unknown</span>", SOME 2 BYTES
+
* "<span style="color:#00CD66">Cannon Type 4</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
* "<span style="color:#008B45">Ship Type</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
+
* "<span style="color:#27408B">Has Cannon Type 5</span>", BOOLEAN (1 byte)
* "<span style="color:gray">Unknown</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
+
* "<span style="color:#00CD66">Cannon Type 5</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
* "<span style="color:gray">Unknown</span>", BOOLEAN (1 byte)
+
* "<span style="color:#27408B">Has Cannon Type 6</span>", BOOLEAN (1 byte)
* "<span style="color:gray">Unknown</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
+
* "<span style="color:#00CD66">Cannon Type 6</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
* "<span style="color:gray">Unknown</span>", BOOLEAN (1 byte)
+
* "<span style="color:#27408B">Has Cannon Type 7</span>", BOOLEAN (1 byte)
* "<span style="color:gray">Unknown</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
+
* "<span style="color:#00CD66">Cannon Type 7</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
* "<span style="color:gray">Unknown</span>", BOOLEAN (1 byte)
+
* "<span style="color:#CDAD00">Ship Type</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
* "<span style="color:gray">Unknown</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
+
* "<span style="color:#8B795E">Admiral's Model Identifier</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
* "<span style="color:gray">Unknown</span>", INTEGER (4 byte)
+
* "<span style="color:#00CD66">Has Admiral aboard</span>", BOOLEAN (1 byte)
* "<span style="color:gray">Unknown</span>", INTEGER (4 byte)
+
* "<span style="color:#8B795E">Captain's Model Identifier</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
* "<span style="color:gray">Unknown</span>", INTEGER (4 byte)
+
* "<span style="color:#00CD66">Has Captain aboard</span>", BOOLEAN (1 byte)
 +
* "<span style="color:#8B795E">Lieutenant's Model Identifier</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
 +
* "<span style="color:#00CD66">Has Lieutenant aboard</span>", BOOLEAN (1 byte)
 +
* "<span style="color:#8B795E">Bosun's Model Identifier</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
 +
* "<span style="color:#00CD66">Number of Bosuns aboard</span>", INTEGER (4 byte)
 +
* "<span style="color:#00CD66">Number of Upper Deck Crew</span>", INTEGER (4 byte)
 +
* "<span style="color:#00CD66">Number of Lower Deck Crew</span>", INTEGER (4 byte)
 
* "<span style="color:#FF3030">Accuracy</span>", INTEGER (4 byte)
 
* "<span style="color:#FF3030">Accuracy</span>", INTEGER (4 byte)
 
* "<span style="color:#00008B">Rolading Skill</span>", INTEGER (4 byte)
 
* "<span style="color:#00008B">Rolading Skill</span>", INTEGER (4 byte)
Line 128: Line 134:
  
  
=== Example ===
+
== Example ==
 
''To follow''
 
''To follow''
  
 
[[Category:ETW Modding]]
 
[[Category:ETW Modding]]

Latest revision as of 16:45, 14 March 2009

Header

  • "01", 1 BYTE - # Currently unknown
  • "Count", INTEGER (4 byte) - # Number of entries in the file

Record

  • "Identifier", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Has Admiral Variant", BOOLEAN (1 byte)
  • "Admiral Variant Identifier", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Has Cannon Type 1", BOOLEAN (1 byte)
  • "Cannon Type 1", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Has Cannon Type 2", BOOLEAN (1 byte)
  • "Cannon Type 2", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Has Cannon Type 3", BOOLEAN (1 byte)
  • "Cannon Type 3", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Has Cannon Type 4", BOOLEAN (1 byte)
  • "Cannon Type 4", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Has Cannon Type 5", BOOLEAN (1 byte)
  • "Cannon Type 5", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Has Cannon Type 6", BOOLEAN (1 byte)
  • "Cannon Type 6", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Has Cannon Type 7", BOOLEAN (1 byte)
  • "Cannon Type 7", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Ship Type", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Admiral's Model Identifier", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Has Admiral aboard", BOOLEAN (1 byte)
  • "Captain's Model Identifier", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Has Captain aboard", BOOLEAN (1 byte)
  • "Lieutenant's Model Identifier", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Has Lieutenant aboard", BOOLEAN (1 byte)
  • "Bosun's Model Identifier", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Number of Bosuns aboard", INTEGER (4 byte)
  • "Number of Upper Deck Crew", INTEGER (4 byte)
  • "Number of Lower Deck Crew", INTEGER (4 byte)
  • "Accuracy", INTEGER (4 byte)
  • "Rolading Skill", INTEGER (4 byte)
  • "Technology", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Speed", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", BOOLEAN (1 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", INTEGER (4 byte)
  • "Unknown", FLOAT (4 byte)
  • "Unknown", SOME 3 BYTES
  • "Manoeuvrability", UTF-16 STRING: 2 bytes size + pairs of bytes


Example

To follow