Difference between revisions of "User:DnaGonite/sandbox"

From War Thunder Wiki
Jump to: navigation, search
(Undo revision 55515 by U38088265 (talk))
(Test)
Line 1: Line 1:
 +
{{Tree-Arrow-Right|1}}
 +
 
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.
 
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.
  

Revision as of 21:22, 12 May 2020

Arrow-left-1.png

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]

Tech-tree fiddling

Researchable vehicles Premium vehicles
USA flag.png
Germany flag.png
USSR flag.png
Britain flag.png
Japan flag.png
China flag.png
Italy flag.png
France flag.png
Sweden flag.png
II Rank
Item own.png
M10 GMC
us_m10.png
Item own.png
StuH 42 G
germ_stuh_iii_ausf_g.png
Item own.png
Pz.IV F2
germ_pzkpfw_iv_ausf_f2.png
Item prem.png
▀M4 748 (a)
us_m4a2_1944_germ.png
Item own.png
StuG III G
germ_stug_iii_ausf_g.png
Item own.png
T-34 (1941)
ussr_t_34_1941.png
Item own.png
T-34 (1942)
ussr_t_34_1942.png
Item own.png
␗T-34 (1943)
cn_t_34_1942.png
Item own.png
▄M10 GMC
fr_m10.png

Inserting codeblocks in numbered lists

  1. Create a new file with *.blk extension
  2. Copy all this code below to the BLK file and use it as a template:
className:t="composit"
node{
  type:t=""
  name:t=""
  tm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [0.0, 0.0, 0.0]]
}
  1. Step 3