Difference between revisions of "User:DnaGonite/sandbox"

From War Thunder Wiki
Jump to: navigation, search
(Test)
m (Jet "compressor" table revamp)
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Tree-Start|7}}
+
Hey, just putting this comment here. I've been twisting the HTML allowed here on the wiki for the past couple of years and so far, this is the work I've made thus far. https://wiki.warthunder.com/index.php?title=User:U16697154&oldid=16302 If you take a look through the history tab on my page, you can also find all the other nonsense I've been up to. None of which are allowed on the main wiki for the foreseeable future unfortunately.
{{Tree-Line|I Rank}}
+
 
|
+
That being said, feel free to keep experimenting. - [[User:U16697154|U16697154]] ([[User talk:U16697154|talk]]) 17:15, 17 April 2019 (UTC)
{{Tree-Unit|us_m2a4}}
+
 
{{Tree-Arrow}}
+
 
{{Tree-Group-Start}}
+
== Visual Editor breaks table for some reason ==
{{Tree-Unit|us_m3_stuart}}
+
{{Navigation-Start|Vehicles equipped with this weapon}}
{{Tree-Arrow}}
+
{{Navigation-First-Line|Fighters}}Bf 109 F: {{Specs-Link|bf-109f-4}}{{-}}{{Specs-Link|bf-109f-4_trop}}{{-}}{{Specs-Link|bf-109f-4_usa}}
{{Tree-Unit|us_m3a1_stuart}}
+
{{Navigation-Line|}}Bf 109 G: {{Specs-Link|bf-109g-2}}{{-}}{{Specs-Link|bf-109g-2_romania}}{{-}}{{Specs-Link|bf-109g-6}}{{-}}{{Specs-Link|bf-109g-10}}{{-}}{{Specs-Link|bf-109g-14}}{{-}}{{Specs-Link|bf-109g-14as}}
{{Tree-Arrow}}
+
{{Navigation-Line|}}Bf 109 K: {{Specs-Link|bf-109k-4}}
{{Tree-Group-End|m3_light_group|}}
+
{{Navigation-Line|}}C.205: {{Specs-Link|mc-205_n2}}{{-}}{{Specs-Link|mc-205_serie3}}
{{Tree-Arrow|0}}
+
{{Navigation-Line|}}Fw 190 A: {{Specs-Link|fw-190a-4}}{{-}}{{Specs-Link|fw-190a-5}}{{-}}{{Specs-Link|fw-190a-5_cannons}}{{-}}{{Specs-Link|fw-190a-5_japan}}{{-}}{{Specs-Link|fw-190a-5_u2}}{{-}}{{Specs-Link|fw-190a-8}}{{-}}{{Specs-Link|fw-190a-8_usa}}{{-}}{{Specs-Link|fw-190a-8_france}}
|
+
{{Navigation-Line|}}Fw 190 C: {{Specs-Link|fw-190c}}
{{Tree-Unit|us_m2_medium}}
+
{{Navigation-Line|}}Fw 190 D: {{Specs-Link|fw-190d-9}}{{-}}{{Specs-Link|fw-190d-9_ussr}}{{-}}{{Specs-Link|fw-190d-12}}{{-}}{{Specs-Link|fw-190d-13}}
{{Tree-Arrow|1}}
+
{{Navigation-Line|}}Fw 190 F: {{Specs-Link|fw-190f-8}}
|
+
{{Navigation-Line|}}G.55: {{Specs-Link|g_55_serie1}}{{-}}{{Specs-Link|g_55_serie1_ss0}}{{-}}{{Specs-Link|g_55s}}
{{Tree-Unit|us_lvt_a_1}}
+
{{Navigation-Line|}}Ta 152: {{Specs-Link|ta-152c}}{{-}}{{Specs-Link|ta-152h-1}}
{{Tree-Arrow}}
+
{{Navigation-Line|}}Other: {{Specs-Link|mc-202_ec}}{{-}}{{Specs-Link|g_56}}{{-}}{{Specs-Link|iar_81c}}{{-}}{{Specs-Link|ki_61_1a_hei}}{{-}}{{Specs-Link|re_2001_cn}}{{-}}{{Specs-Link|so_8000_narval}}
{{Tree-Unit|us_m22_locust}}
+
{{Navigation-Line|Twin-engine fighters}}Bf 110: {{Specs-Link|bf-110f-2}} (Suspended){{-}}{{Specs-Link|bf-110g-2}} (Suspended)
{{Tree-Arrow|0}}
+
{{Navigation-Line|}}Do 217: {{Specs-Link|do_217n_1}}{{-}}{{Specs-Link|do_217n_2}}
|
+
{{Navigation-Line|}}Do 335: {{Specs-Link|do_335a_0}}{{-}}{{Specs-Link|do_335b_2}}
{{Tree-Unit|us_halftrack_m13}}
+
{{Navigation-Line|}}Me 410 A: {{Specs-Link|me-410a-1}}{{-}}{{Specs-Link|me-410a-1_u2}}{{-}}{{Specs-Link|me-410a-1_u4}}
{{Tree-Arrow|1}}
+
{{Navigation-Line|}}Me 410 B: {{Specs-Link|me-410b-1}}{{-}}{{Specs-Link|me-410b-1_u2}}{{-}}{{Specs-Link|me-410b-2_u4}}{{-}}{{Specs-Link|me-410b-6_r3}}
|
+
{{Navigation-Line|}}Others: {{Specs-Link|do_17z_7}}{{-}}{{Specs-Link|ta_154a_1}}{{-}}{{Specs-Link|he_219a_7}}
{{Tree-Unit|us_m2a2}}
+
{{Navigation-Line|Jet fighters}}{{Specs-Link|he-162a-2}}{{-}}{{Specs-Link|me-163b-0}}
{{Tree-Arrow}}
+
{{Navigation-Line|Attackers}}{{Specs-Link|hs-129b-2}}{{-}}{{Specs-Link|hs-129b-2_romania}}{{-}}{{Specs-Link|hs-129b-2_romania_italy|Hs 129 B-2 (Romania) (Italy)}}{{-}}{{Specs-Link|sm_91}}{{-}}{{Specs-Link|sm_92}}
{{Tree-Unit|us_halftrack_m3_75mm_gmc}}
+
{{Navigation-Line|Bombers}}{{Specs-Link|bv-238}} (Defensive){{-}}{{Specs-Link|do_217e_2}}{{-}}{{Specs-Link|do_217e_4}}{{-}}{{Specs-Link|he-177a-5}} (Defensive){{-}}{{Specs-Link|ju-87d-5}}{{-}}{{Specs-Link|ju-288c}} (Defensive){{-}}{{Specs-Link|ju-288c}} (Defensive){{-}}{{Specs-Link|ju-288c}} (Defensive){{-}}{{Specs-Link|ju-288c}} (Defensive)
|
+
{{Navigation-Line|Jet bombers}}{{Specs-Link|arado-234c-3}}
{{Tree-Unit-Prem|us_m8_greyhound}}
+
{{Navigation-Line|Tanks}}{{Specs-Link|fr_lorraine_155}}
{{Tree-Skip}}
+
{{Navigation-Line|Ships}}{{Specs-Link|germ_ls4_class}}
{{Tree-Unit-Prem|us_m8a1}}
+
{{Navigation-End}}
|
+
 
{{Tree-Unit-Prem|us_m2a4_1st_armor_div}}
+
No idea what the cause is, but Visual Editor seems to randomly add a breakpoint at a random space. Current work-around is to use nbsp as space in table to prevent this.
{{Tree-Skip}}
+
 
{{Tree-Unit-Prem|us_m3a1_stuart_usmc}}
+
May be unrelated, but VE didn't insert a return char between Attacker and Bomber nav-lines in cases where table broke.
{{Tree-Line|II Rank}}
+
 
|
+
== For reference ==
{{Tree-Unit|us_m5a1_stuart}}
+
I think it is possible to data-mine the tank optics zoom. In a tank BLK file if you divide 74 by the "zoomOutFov" or "zoomInFov" field that gives you the default and zoomed in magnification (it has a load of decimal points after it but when you round it to 1 d.p it is nearly always accurate, sometimes you will be out by 0.1 x though). Not sure the significance of 74, presumably it is the FoV of a 1x zoom or something. I worked this out by taking the standard zoom of the Challenger 2 (stated as x 4 in game), then multiplying it by the "zoomOutFov" field in the challenger 2 blk file to get 74. If I then pick other tanks in game which have a zoom specified and divide 74 by the "zoomOutFov" & "zoomInFoV" fields in their files the number you get nearly always rounds to what the zoom level was stated at in game. --[[User:U13682523|U13682523]] ([[User talk:U13682523|talk]]) 12:32, 28 April 2019 (UTC) <ref>https://wiki.warthunder.com/index.php?title=User:U42773747&curid=5143&diff=22607&oldid=22554&diffmode=source</ref>
{{Tree-Arrow|2}}
+
 
|
+
<references />
{{Tree-Unit|us_m3_lee}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m4a1_1942_sherman}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m4_sherman}}
 
|
 
{{Tree-Unit|us_m8_scott}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m4a3_105_sherman}}
 
|
 
{{Tree-Unit|us_halftrack_m16}}
 
{{Tree-Arrow|2}}
 
|
 
{{Tree-Unit|us_m10}}
 
{{Tree-Arrow|2}}
 
|
 
{{Tree-Unit-Prem|us_mk1_grant}}
 
{{Tree-Skip}}
 
{{Tree-Unit|us_lvt_4_zis_2}}
 
{{Tree-Skip}}
 
{{Tree-Unit-Prem|us_m4a5_ram_2}}
 
|
 
{{Tree-Unit-Prem|us_m5a1_stuart_canadian_5st_arm}}
 
{{Tree-Skip}}
 
{{Tree-Unit-Prem|us_t18_e2}}
 
{{Tree-Skip}}
 
{{Tree-Unit-Prem|us_t14}}
 
{{Tree-Line|III Rank}}
 
|
 
{{Tree-Unit|us_m24_chaffee}}
 
{{Tree-Arrow|2}}
 
|
 
{{Tree-Unit|us_m4a2_sherman}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m4a1_76w_sherman}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m4a2_76w_sherman}}
 
{{Tree-Arrow|0}}
 
|
 
{{Tree-Unit|us_m6a1}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m4a3e2_sherman_jumbo}}
 
{{Tree-Arrow|1}}
 
|
 
{{Tree-Unit|us_halftrack_m15}}
 
{{Tree-Arrow|2}}
 
|
 
{{Tree-Unit|us_m18_hellcat}}
 
{{Tree-Arrow|2}}
 
|
 
{{Tree-Unit|us_m24_chaffee_tl}}
 
{{Tree-Skip}}
 
{{Tree-Unit-Prem|us_m18_hellcat_black_cat}}
 
{{Tree-Skip}}
 
{{Tree-Unit-Prem|us_m4_sherman_calliope}}
 
{{Tree-Arrow|0}}
 
|
 
{{Tree-Unit-Prem|us_t20}}
 
{{Tree-Skip}}
 
{{Tree-Unit-Prem|us_m4a3e2_sherman_jumbo_cobra_king}}
 
{{Tree-Line|IV Rank}}
 
|
 
{{Tree-Unit|us_m41_walker_bulldog}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m56_scorpion}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_t92}}
 
{{Tree-Arrow|1}}
 
|
 
{{Tree-Unit|us_m4a3e8_76w_sherman}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_t25}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m26_pershing}}
 
{{Tree-Arrow|1}}
 
|
 
{{Tree-Unit|us_m4a3e2_76w_sherman_jumbo}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_t26e4_superpershing}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_t34}}
 
{{Tree-Arrow|1}}
 
|
 
{{Tree-Unit|us_m19}}
 
{{Tree-Arrow|3}}
 
|
 
{{Tree-Unit|us_m36}}
 
{{Tree-Arrow|3}}
 
|
 
{{Tree-Unit-Prem|us_m26_t99}}
 
{{Tree-Skip}}
 
{{Tree-Unit-Prem|us_m18_super_hellcat}}
 
{{Tree-Skip}}
 
{{Tree-Unit-Prem|us_t29}}
 
{{Tree-Skip}}
 
{{Tree-Unit-Prem|us_t30}}
 
|
 
{{Tree-Unit-Prem|us_t28}}
 
{{Tree-Skip}}
 
{{Tree-Unit-Prem|us_m26e1_pershing}}
 
{{Tree-Skip}}
 
{{Tree-Unit-Prem|us_m46_patton_73_armor_bat}}
 
{{Tree-Line|V Rank}}
 
|
 
{{Tree-Unit|us_m50_ontos}}
 
{{Tree-Arrow|1}}
 
|
 
{{Tree-Group-Start}}
 
{{Tree-Unit|us_m46_patton}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m47_patton_II}}
 
{{Tree-Arrow}}
 
{{Tree-Group-End|us_m46_m47_group|}}
 
{{Tree-Arrow}}
 
{{Tree-Group-Start}}
 
{{Tree-Unit|us_m48a1_patton_III}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m60}}
 
{{Tree-Arrow}}
 
{{Tree-Group-End|us_m48_m60_group|}}
 
{{Tree-Arrow|0}}
 
|
 
{{Tree-Group-Start}}
 
{{Tree-Unit|us_t32}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_t32e1}}
 
{{Tree-Arrow}}
 
{{Tree-Group-End|us_t32_group|}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m103}}
 
{{Tree-Arrow|0}}
 
|
 
{{Tree-Unit|us_m42_duster}}
 
{{Tree-Arrow|1}}
 
|
 
{{Tree-Unit|us_t95}}
 
{{Tree-Arrow|1}}
 
|
 
{{Tree-Unit-Prem|us_t114}}
 
{{Tree-Skip}}
 
{{Tree-Unit-Prem|us_t54e1}}
 
|
 
{{Tree-Unit-Prem|us_magach_3}}
 
{{Tree-Line|VI Rank}}
 
|
 
{{Tree-Unit|us_m551}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m3_bradley}}
 
|
 
{{Tree-Unit|us_m60a1}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m60a1_rise_passive_era}}
 
|
 
{{Tree-Unit|us_t95e1}}
 
{{Tree-Arrow}}
 
{{Tree-Group-Start}}
 
{{Tree-Unit|us_xm_803}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_mbt_70}}
 
{{Tree-Arrow}}
 
{{Tree-Group-End|us_mbt_xm_group|}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m1_abrams}}
 
{{Tree-Arrow}}
 
{{Tree-Arrow}}
 
|
 
{{Tree-Unit|us_m163_vulcan}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|us_m247}}
 
{{Tree-Arrow|1}}
 
|
 
{{Tree-Unit|us_m60a2}}
 
|
 
{{Tree-Unit-Prem|us_xm1_gm}}
 
{{Tree-Skip}}
 
{{Tree-Unit-Prem|us_xm1_chrysler}}
 
{{Tree-Skip}}
 
{{Tree-Unit-Squad|us_m901_itv}}
 
|
 
{{Tree-Unit|us_merkava_mk_1}}
 
{{Tree-Line|VII Rank}}
 
|
 
|
 
|
 
{{Tree-Unit|us_m1a1_abrams}}
 
|
 
{{Tree-Unit|us_adats_bradley}}
 
|
 
|
 
|
 
{{Tree-End}}
 

Revision as of 20:45, 1 January 2020

Hey, just putting this comment here. I've been twisting the HTML allowed here on the wiki for the past couple of years and so far, this is the work I've made thus far. https://wiki.warthunder.com/index.php?title=User:U16697154&oldid=16302 If you take a look through the history tab on my page, you can also find all the other nonsense I've been up to. None of which are allowed on the main wiki for the foreseeable future unfortunately.

That being said, feel free to keep experimenting. - KornFlaks (talk) 17:15, 17 April 2019 (UTC)


Visual Editor breaks table for some reason

Vehicles equipped with this weapon
Fighters  Bf 109 F: Bf 109 F-4 · Bf 109 F-4/trop · ▃Bf 109 F-4
  Bf 109 G: Bf 109 G-2/trop · Bf 109 G-2 · Bf 109 G-6 · Bf 109 G-10 · Bf 109 G-14 · ▄Bf 109 G-14/AS
  Bf 109 K: Bf 109 K-4
  C.205: C. 205N2 · C. 205 serie 3
  Fw 190 A: Fw 190 A-4 · Fw 190 A-5 · Fw 190 A-5 · ▅Fw 190 A-5 · Fw 190 A-5/U2 · Fw 190 A-8 · ▃Fw 190 A-8 · NC.900
  Fw 190 C: Fw 190 C
  Fw 190 D: Fw 190 D-9 · ▂Fw 190 D-9 · Fw 190 D-12 · Fw 190 D-13
  Fw 190 F: Fw 190 F-8
  G.55: G.55 serie 1 · G.55 sottoserie 0 · G.55S
  Ta 152: Ta 152 C-3 · Ta 152 H-1
  Other: C. 202EC · G.56 · IAR-81C · Ki-61-I hei · Re.2001 CN · S.O.8000 Narval
Twin-engine fighters  Bf 110: Bf 110 F-2 (Suspended) · Bf 110 G-2 (Suspended)
  Do 217: Do 217 N-1 · Do 217 N-2
  Do 335: Do 335 A-0 · Do 335 B-2
  Me 410 A: Me 410 A-1 · Me 410 A-1/U2 · Me 410 A-1/U4
  Me 410 B: Me 410 B-1 · Me 410 B-1/U2 · Me 410 B-2/U4 · Me 410 B-6/R3
  Others: Do 17 Z-7 · Ta 154 A-1 · He 219 A-7
Jet fighters  He 162 A-2 · Me 163 B-0
Attackers  Hs 129 B-2 · Hs 129 B-2 (Romania) · Hs 129 B-2 (Romania) (Italy) · SM.91 · SM.92
Bombers  BV 238 (Defensive) · Do 217 E-2 · Do 217 E-4 · He 177 A-5 (Defensive) · Ju 87 D-5 · Ju 288 C (Defensive) · Ju 288 C (Defensive) · Ju 288 C (Defensive) · Ju 288 C (Defensive)
Jet bombers  Ar 234 C-3
Tanks  Lorraine 155 Mle.50
Ships  LS 4 Esau

No idea what the cause is, but Visual Editor seems to randomly add a breakpoint at a random space. Current work-around is to use nbsp as space in table to prevent this.

May be unrelated, but VE didn't insert a return char between Attacker and Bomber nav-lines in cases where table broke.

For reference

I think it is possible to data-mine the tank optics zoom. In a tank BLK file if you divide 74 by the "zoomOutFov" or "zoomInFov" field that gives you the default and zoomed in magnification (it has a load of decimal points after it but when you round it to 1 d.p it is nearly always accurate, sometimes you will be out by 0.1 x though). Not sure the significance of 74, presumably it is the FoV of a 1x zoom or something. I worked this out by taking the standard zoom of the Challenger 2 (stated as x 4 in game), then multiplying it by the "zoomOutFov" field in the challenger 2 blk file to get 74. If I then pick other tanks in game which have a zoom specified and divide 74 by the "zoomOutFov" & "zoomInFoV" fields in their files the number you get nearly always rounds to what the zoom level was stated at in game. --Flame2512 (talk) 12:32, 28 April 2019 (UTC) [1]