Difference between revisions of "Template:NavalMobility"
Jareel_Skaj (talk | contribs) (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|{{# | + | <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| | + | ! 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| | + | ! 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|}}}| | + | | {{#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}}|{{# | + | | {{#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|}}}| | + | | {{#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:{{#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|}}}| | + | | {{#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}}|{{# | + | | {{#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|}}}| | + | | {{#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:{{#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
Contents
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:
- 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)
- Right-click on the boat, choose Test Sail.
- Remove all additional weaponry (torpedoes, depth charges, etc. - Secondary weapons selected to No offensive armament)
- Select Difficulty to appropriate mode - either Arcade Battles or Realistic Battles - select Vehicle Modification to Current, Time of Day 12:00, Weather: Clear.
- Enter a full rudder deflection turn (either starboard or port, shouldn't matter) at flank speed (FLK AHEAD)
- 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.
- Complete several turns (>2; the more, the better), stop-watch the times to complete each turn
- 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
{{NavalMobility}} |
Version with only the stock speed measured
{{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.
{{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.
{{NavalMobility |SpeedForwardStockAB = 83 |SpeedBackStockAB = 20 |TurnSpeedStockAB = 35 |TurnTimeSpadedAB = 11.1 |TurnTimeStockRB = 18.433 |TurnSpeedStockRB = 35 |TurnTimeSpadedRB = 16.6 |TurnSpeedSpadedRB = 35 }} |
Mobility characteristics table for naval units. All measured values should be done in Test Sail, with Secondary weapons set to 'No offensive armament'.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Speed forward - stock in AB | SpeedForwardStockAB | Measured sustained speed flanking forwards. 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.
| Number | optional |
Speed back - stock in AB | SpeedBackStockAB | Measured sustained speed full reverse. 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.
| Number | optional |
Turn time - stock in AB | TurnTimeStockAB | Measured average time in seconds after at least 2 full 360° turns (recommended average of 3 turns). Table will round the displayed value if needed, but use the number in the provided precision for calculations.
| String | optional |
Turn speed - stock in AB | TurnSpeedStockAB | Measured average sustained speed while 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.
| Number | optional |
Turn time - fully upgraded in AB | TurnTimeSpadedAB | Measured average time in seconds after at least 2 full 360° turns (recommended average of 3 turns). Table will round the displayed value if needed, but use the number in the provided precision for calculations.
| String | optional |
Turn speed - fully upgraded in AB | TurnSpeedSpadedAB | Measured average sustained speed while 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.
| Number | optional |
Speed forward - stock in RB | SpeedForwardStockRB | Measured sustained speed flanking forward. 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.
| Number | optional |
Speed back - stock in RB | SpeedBackStockRB | Measured sustained speed full reverse. 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.
| Number | optional |
Turn time - stock in RB | TurnTimeStockRB | Measured average time in seconds after at least 2 full 360° turns (recommended average of 3 turns). Table will round the displayed value if needed, but use the number in the provided precision for calculations.
| String | optional |
Turn speed - stock in RB | TurnSpeedStockRB | Measured average sustained speed while 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.
| Number | optional |
Turn time - fully upgraded in RB | TurnTimeSpadedRB | Measured average time in seconds after at least 2 full 360° turns (recommended average of 3 turns). Table will round the displayed value if needed, but use the number in the provided precision for calculations.
| String | optional |
Turn speed - fully upgraded in RB | TurnSpeedSpadedRB | Measured average sustained speed while 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.
| Number | optional |