Difference between revisions of "Template:NavalMobility"

From War Thunder Wiki
Jump to: navigation, search
(Added ≈ character for turn columns)
(Adjusted to allow placeholder parameters)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:isTurn|{{#if:{{{TurnTimeStockAB|}}}{{{TurnSpeedStockAB|}}}{{{TurnTimeSpadedAB|}}}{{{TurnSpeedSpadedAB|}}}{{{TurnTimeStockRB|}}}{{{TurnSpeedStockRB|}}}{{{TurnTimeSpadedRB|}}}{{{TurnSpeedSpadedRB|}}}|1|}}}}{{#vardefine:isStockAB|{{#ifeq:{{{SpeedForwardStockAB|}}}{{{SpeedBackStockAB|}}}|{{{SpeedForwardStockAB}}}{{{SpeedBackStockAB}}}|1|}}}}{{#vardefine:isStockRB|{{#ifeq:{{{SpeedForwardStockRB|}}}{{{SpeedBackStockRB|}}}|{{{SpeedForwardStockRB}}}{{{SpeedBackStockRB}}}|1|}}}}{{#vardefine:isStockIntroAB|{{#ifexpr:0{{#var:isStockAB}}=1 or (0{{#var:isStockAB}}!=1 and {{{TurnTimeStockAB|0}}}!=0)|1|}}}}{{#vardefine:isStockIntroRB|{{#ifexpr:0{{#var:isStockRB}}=1 or (0{{#var:isStockRB}}!=1 and {{{TurnTimeStockRB|0}}}!=0)|1|}}}}<!--
+
<includeonly>{{#vardefine:isTurn|{{#if:{{{TurnTimeStockAB|}}}{{{TurnSpeedStockAB|}}}{{{TurnTimeSpadedAB|}}}{{{TurnSpeedSpadedAB|}}}{{{TurnTimeStockRB|}}}{{{TurnSpeedStockRB|}}}{{{TurnTimeSpadedRB|}}}{{{TurnSpeedSpadedRB|}}}|1|}}}}{{#vardefine:isStockAB|{{#if:{{{SpeedForwardStockAB|}}}{{{SpeedBackStockAB|}}}|1|}}}}{{#vardefine:isStockRB|{{#if:{{{SpeedForwardStockRB|}}}{{{SpeedBackStockRB|}}}|1|}}}}{{#vardefine:isStockIntroAB|{{#ifexpr:0{{#var:isStockAB}}=1 or (0{{#var:isStockAB}}!=1 and 0{{{TurnTimeStockAB|0}}}!=0)|1|}}}}{{#vardefine:isStockIntroRB|{{#ifexpr:0{{#var:isStockRB}}=1 or (0{{#var:isStockRB}}!=1 and 0{{{TurnTimeStockRB|0}}}!=0)|1|}}}}<!--
 
--> {| class="wikitable" style="text-align:center"
 
--> {| class="wikitable" style="text-align:center"
 
! colspan="{{#if:{{#var:isTurn}}|6|4}}" | '''Mobility Characteristics'''
 
! colspan="{{#if:{{#var:isTurn}}|6|4}}" | '''Mobility Characteristics'''
Line 6: Line 6:
 
! rowspan="2" | Upgrade Status
 
! rowspan="2" | Upgrade Status
 
! colspan="2" | Maximum Speed (km/h)
 
! colspan="2" | Maximum Speed (km/h)
! rowspan="2" {{#if:{{#var:isTurn}}||style="display:none;"}}| {{Annotation|360° Turn Time (s) |Time needed to complete a 360° turn at maximum speed}}
+
! rowspan="2" {{#if:{{#var:isTurn}}||style="display:none;"}}| {{Annotation|Turn Time (s) |Time needed to complete a 360° turn at maximum speed}}
! rowspan="2" {{#if:{{#var:isTurn}}||style="display:none;"}}| {{Annotation|360° Turn Radius (m)|At maximum speed}}
+
! rowspan="2" {{#if:{{#var:isTurn}}||style="display:none;"}}| {{Annotation|Turn Radius (m)|At maximum speed}}
 
|-
 
|-
 
! Forward
 
! Forward
Line 14: Line 14:
 
| rowspan="2" | {{Annotation|AB|Arcade Battles}}
 
| rowspan="2" | {{Annotation|AB|Arcade Battles}}
 
| {{#if:{{#var:isStockIntroAB}}||style="display:none;"}}| {{Annotation|Stock|All modifications removed}}
 
| {{#if:{{#var:isStockIntroAB}}||style="display:none;"}}| {{Annotation|Stock|All modifications removed}}
| {{#if:{{#var:isStockIntroAB}}||style="display:none;"}}| {{{SpeedForwardStockAB|___}}}
+
| {{#if:{{#var:isStockIntroAB}}||style="display:none;"}}| {{#if:{{{SpeedForwardStockAB|}}}|{{{SpeedForwardStockAB}}}|___}}
| {{#if:{{#var:isStockIntroAB}}||style="display:none;"}}| {{{SpeedBackStockAB|___}}}
+
| {{#if:{{#var:isStockIntroAB}}||style="display:none;"}}| {{#if:{{{SpeedBackStockAB|}}}|{{{SpeedBackStockAB}}}|___}}
| {{#ifexpr: 0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1)=0 and {{{TurnTimeStockAB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeStockAB|}}}| {{#expr:{{{TurnTimeStockAB}}} round 2}}|___}}|}}
+
| {{#ifexpr: 0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1)=0 and 0{{{TurnTimeStockAB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeStockAB|}}}| ~{{#expr:{{{TurnTimeStockAB}}} round 2}}|___}}|}}
| {{#ifexpr: 0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1)=0 and {{{TurnTimeStockAB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifeq:{{{TurnSpeedStockAB|}}}{{{TurnTimeStockAB|}}}|{{{TurnSpeedStockAB}}}{{{TurnTimeStockAB}}}| ≈{{#expr:({{{TurnSpeedStockAB}}} * 1000 / 3600) * {{{TurnTimeStockAB}}} / (2 * pi) round 2}}|___}}|}}
+
| {{#ifexpr: 0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1)=0 and 0{{{TurnTimeStockAB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifexpr:0{{{TurnSpeedStockAB|}}} and 0{{{TurnTimeStockAB|}}}| ~{{#expr:({{{TurnSpeedStockAB}}} * 1000 / 3600) * {{{TurnTimeStockAB}}} / (2 * pi) round 2}}|___}}|}}
 
|-
 
|-
 
| {{Annotation|Upgraded|All modifications installed}} || {{{SpeedForwardSpadedAB|{{Specs|speed|forward|ab}}}}} || {{{SpeedBackSpadedAB|{{Specs|speed|back|ab}}}}}
 
| {{Annotation|Upgraded|All modifications installed}} || {{{SpeedForwardSpadedAB|{{Specs|speed|forward|ab}}}}} || {{{SpeedBackSpadedAB|{{Specs|speed|back|ab}}}}}
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeSpadedAB|}}}| {{#expr:{{{TurnTimeSpadedAB}}} round 2}}|___}}|}}
+
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeSpadedAB|}}}| ~{{#expr:{{{TurnTimeSpadedAB}}} round 2}}|___}}|}}
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifeq:{{{TurnSpeedSpadedAB|}}}{{{TurnTimeSpadedAB|}}}|{{{TurnSpeedSpadedAB}}}{{{TurnTimeSpadedAB}}}| ≈{{#expr:({{{TurnSpeedSpadedAB}}} * 1000 / 3600) * {{{TurnTimeSpadedAB}}} / (2 * pi) round 2}}|___}}|}}
+
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifexpr:0{{{TurnSpeedSpadedAB|}}} and 0{{{TurnTimeSpadedAB|}}}| ~{{#expr:({{{TurnSpeedSpadedAB}}} * 1000 / 3600) * {{{TurnTimeSpadedAB}}} / (2 * pi) round 2}}|___}}|}}
 
|-
 
|-
 
| rowspan="2" | {{Annotation|RB|Realistic Battles}}/{{Annotation|SB|Simulator Battles}}
 
| rowspan="2" | {{Annotation|RB|Realistic Battles}}/{{Annotation|SB|Simulator Battles}}
 
| {{#if:{{#var:isStockIntroRB}}||style="display:none;"}}| {{Annotation|Stock|All modifications removed}}
 
| {{#if:{{#var:isStockIntroRB}}||style="display:none;"}}| {{Annotation|Stock|All modifications removed}}
| {{#if:{{#var:isStockIntroRB}}||style="display:none;"}}| {{{SpeedForwardStockRB|___}}}
+
| {{#if:{{#var:isStockIntroRB}}||style="display:none;"}}| {{#if:{{{SpeedForwardStockRB|}}}|{{{SpeedForwardStockRB}}}|___}}
| {{#if:{{#var:isStockIntroRB}}||style="display:none;"}}| {{{SpeedBackStockRB|___}}}
+
| {{#if:{{#var:isStockIntroRB}}||style="display:none;"}}| {{#if:{{{SpeedBackStockRB|}}}|{{{SpeedBackStockRB}}}|___}}
| {{#ifexpr: 0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1)=0 and {{{TurnTimeStockRB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeStockRB|}}}| {{#expr:{{{TurnTimeStockRB}}} round 2}}|___}}|}}
+
| {{#ifexpr: 0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1)=0 and 0{{{TurnTimeStockRB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeStockRB|}}}| ~{{#expr:{{{TurnTimeStockRB}}} round 2}}|___}}|}}
| {{#ifexpr: 0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1)=0 and {{{TurnTimeStockRB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifeq:{{{TurnSpeedStockRB|}}}{{{TurnTimeStockRB|}}}|{{{TurnSpeedStockRB}}}{{{TurnTimeStockRB}}}| ≈{{#expr:({{{TurnSpeedStockRB}}} * 1000 / 3600) * {{{TurnTimeStockRB}}} / (2 * pi) round 2}}|___}}|}}
+
| {{#ifexpr: 0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1)=0 and 0{{{TurnTimeStockRB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifexpr:0{{{TurnSpeedStockRB|}}} and 0{{{TurnTimeStockRB|}}}| ~{{#expr:({{{TurnSpeedStockRB}}} * 1000 / 3600) * {{{TurnTimeStockRB}}} / (2 * pi) round 2}}|___}}|}}
 
|-
 
|-
 
| {{Annotation|Upgraded|All modifications installed}} || {{{SpeedForwardSpadedRB|{{Specs|speed|forward|rb}}}}} || {{{SpeedBackSpadedRB|{{Specs|speed|back|rb}}}}}
 
| {{Annotation|Upgraded|All modifications installed}} || {{{SpeedForwardSpadedRB|{{Specs|speed|forward|rb}}}}} || {{{SpeedBackSpadedRB|{{Specs|speed|back|rb}}}}}
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeSpadedRB|}}}| {{#expr:{{{TurnTimeSpadedRB}}} round 2}}|___}}|}}
+
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeSpadedRB|}}}| ~{{#expr:{{{TurnTimeSpadedRB}}} round 2}}|___}}|}}
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifeq:{{{TurnSpeedSpadedRB|}}}{{{TurnTimeSpadedRB|}}}|{{{TurnSpeedSpadedRB}}}{{{TurnTimeSpadedRB}}}| ≈{{#expr:({{{TurnSpeedSpadedRB}}} * 1000 / 3600) * {{{TurnTimeSpadedRB}}} / (2 * pi) round 2}}|___}}|}}
+
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifexpr:0{{{TurnSpeedSpadedRB|}}} and 0{{{TurnTimeSpadedRB|}}}| ~{{#expr:({{{TurnSpeedSpadedRB}}} * 1000 / 3600) * {{{TurnTimeSpadedRB}}} / (2 * pi) round 2}}|___}}|}}
 
|-
 
|-
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>

Latest revision as of 18:25, 18 September 2020

Description

This template inserts a standardised naval vessel mobility table using values from Template:Specs. Additional values have to be measured, it's recommended to always use the fully-featured table. Note that all measured values should be done in Test Sail, with Secondary weapons set to No offensive armament.

Parameters

  • SpeedForwardStockAB - Measured sustained speed flanking ahead (FLK AHEAD) in Arcade mode. If the speed flickers between two values in-game - pick the one that shows most of the time, if both show about as often - the higher one.
  • SpeedBackStockAB - Same as above, only at full reverse. Do not add minus before the value (eg. instead of -20 just write 20).
  • TurnTimeStockAB - Measured average time in seconds after at least 2 full 360° turns at constant speed (recommended average of 3 turns after the speed stabilizes). Table template will automatically round the displayed value if needed, but the template will still use a number in a provided precision for the calculations (eg. providing 18.433 over 18.43 is fine). Step-by-step guide:
  1. Open the game, select the vessel, edit modifications to uncheck all of them for stock (or select all for Upgraded - if you don't have all modifications researched yet, you cannot measure the Upgraded value)
  2. Right-click on the boat, choose Test Sail.
  3. Remove all additional weaponry (torpedoes, depth charges, etc. - Secondary weapons selected to No offensive armament)
  4. Select Difficulty to appropriate mode - either Arcade Battles or Realistic Battles - select Vehicle Modification to Current, Time of Day 12:00, Weather: Clear.
  5. Enter a full rudder deflection turn (either starboard or port, shouldn't matter) at flank speed (FLK AHEAD)
  6. Wait for the speed to stabilize (turns should be completed at constant speeds), note the speed here - it's inputted in the TurnSpeed (eg. TurnSpeedStockAB) parameter.
  7. Complete several turns (>2; the more, the better), stop-watch the times to complete each turn
  8. Take the average of the times
Alternatively you can use a video recorder, then measure time in a video-editing tool. 60 FPS video is recommended
  • TurnSpeedStockAB - Measured average sustained speed when turning. If the speed flickers between two values in-game - pick the one that shows most of the time, if both show about as often - the higher one.
  • TurnTimeSpadedAB - As above, only with all modifications installed.
  • TurnSpeedSpadedAB - As above, only with all modifications installed.
  • SpeedForwardStockRB - As above, only in Realistic Battles.
  • SpeedBackStockRB - As above.
  • TurnTimeStockRB - As above.
  • TurnSpeedStockRB - As above.
  • TurnTimeSpadedRB - As above.
  • TurnSpeedSpadedRB - As above.
  • (automatic) SpeedForwardSpadedAB - Measured sustained speed flanking ahead (FLK AHEAD) in Arcade mode, with all modifications installed. Do not use unless the default value is incorrect.
  • (automatic) SpeedBackSpadedAB - As above, but when reversing.
  • (automatic) SpeedForwardSpadedRB - As above, in Realistic mode.
  • (automatic) SpeedBackSpadedRB - As above.

Examples of use

The default table filled automatically from data of the Type T-14
Mobility Characteristics
Game Mode Upgrade Status Maximum Speed (km/h) Turn Time (s) Turn Radius (m)
Forward Reverse
AB Stock ___ ___
Upgraded 86 28
RB/SB Stock ___ ___
Upgraded 61 20
{{NavalMobility}}
Version with only the stock speed measured
Mobility Characteristics
Game Mode Upgrade Status Maximum Speed (km/h) Turn Time (s) Turn Radius (m)
Forward Reverse
AB Stock 83 20
Upgraded 86 28
RB/SB Stock 53 17
Upgraded 61 20
{{NavalMobility
|SpeedForwardStockAB = 83
|SpeedBackStockAB = 20
|SpeedForwardStockRB = 53
|SpeedBackStockRB = 17
}}
Recommended, fully-featured example. Note that turn time of 18.433 was rounded to 18.43.
Mobility Characteristics
Game Mode Upgrade Status Maximum Speed (km/h) Turn Time (s) Turn Radius (m)
Forward Reverse
AB Stock 83 20 ~16.43 ~25.42
Upgraded 86 28 ~11.1 ~16.19
RB/SB Stock 53 17 ~18.43 ~28.52
Upgraded 61 20 ~16.6 ~25.69
{{NavalMobility
|SpeedForwardStockAB = 83
|SpeedBackStockAB = 20
|TurnTimeStockAB = 16.43
|TurnSpeedStockAB = 35
|TurnTimeSpadedAB = 11.1
|TurnSpeedSpadedAB = 33

|SpeedForwardStockRB = 53
|SpeedBackStockRB = 17
|TurnTimeStockRB = 18.433
|TurnSpeedStockRB = 35
|TurnTimeSpadedRB = 16.6
|TurnSpeedSpadedRB = 35
}}
Version with only partial measurements. Note that the table can accept just speed, or just turn speed, or just turn speed and time, without maximum speed. However, it is still highly recommended to provide all missing values.
Mobility Characteristics
Game Mode Upgrade Status Maximum Speed (km/h) Turn Time (s) Turn Radius (m)
Forward Reverse
AB Stock 83 20 ___ ___
Upgraded 86 28 ~11.1 ___
RB/SB Stock ___ ___ ~18.43 ~28.52
Upgraded 61 20 ~16.6 ~25.69
{{NavalMobility
|SpeedForwardStockAB = 83
|SpeedBackStockAB = 20
|TurnSpeedStockAB = 35
|TurnTimeSpadedAB = 11.1

|TurnTimeStockRB = 18.433
|TurnSpeedStockRB = 35
|TurnTimeSpadedRB = 16.6
|TurnSpeedSpadedRB = 35
}}