spring1944/spring1944 — pull request #47 by ashdnazg (2014-09-04 00:03:01+00:00)
Title: Tdf2lua conversion

First of all, I now understand why it's better to do this by hand.
As a rule of thumb, everything stated below using past tense was changed/fixed.

Be warned: Don't merge without reading the below issues. There's some work left which doesn't belong to monkey dept. (me) but to the balancing dept. (Nemo).

* Berreta M38 and Type 100 had the damage of Thompson.
Reverted it to regular (as it uses same cartridge as Sten).
I kept it for FNAB because they are elite.
* Japanese Type 99 MGs use the Type 97 weapon, I suppose it's because the two are similar
* Japanese Type 93 AA used to have fearaoe=1, which is rather small and I don't think it was intended. It also used to do 25 damage instead of 50.
Currently it's not used by any unit, should it be added to Type 4 Ka-Tsu which has the normal version?
* Noticed Ka-Tsu moves forward when attacking and doesn't want to fire on ground. It should also be able to target LARGESHIP
* A few units had the tag transportRadius instead of loadingRadius and no unloadSpread.

* Japanese and Italian heavy (13mm) MGs (Type 93 and Breda M1931) had armour penetration for some reason.
* There should be a consistent targetting agenda for 13mm and .50 cal weapons. I currently left it at INFANTRY OPENVEH SOFTVEH DEPLOYED SHIP LARGESHIP
* USPT103 had commented out onlyTargetCategory in her guns.

* In general both Italy and Japan Auto Cannon stats should be recalculated.

* Italy Semovente 47 doesn't seem to actually use the HEAT rounds (perhaps that's why it sucks so badly?)
* Italy and Japan light guns have movingAccuracy of 600 while others have 500.
* There was some mess with Japan 37mm gun names
* Japan ki102 air cannon (Ho 401) had movingAccuracy while no other air weapon does.
* Consider removing armor_hit_side = [[top]] from ki102 because it seems a bit strong at the moment.
* Ho-5 had an AP version in use and an HE version which wasn't in use, so I dropped the weapon because it messes the current lua structure.
* Japan and Italy Air MGs had a different damage compared to others, I removed it.
* I renamed Italian guns from "Breda" to "Ansaldo". Couldn't find any reliable indications any bigger guns were manufactured by Breda.
* Italian 105mm HEAT round had an aoe and fear which I thought wasn't needed. I also dropped its unused smoke round.
* Dropped it533mmtorpedo as it's unused.
* For some reason Italy's Flamethrower doesn't have the same damage as other flamethrowers.
* Italian bombs had lots of interesting fields with velocities, gravity etc. which didn't seem to be in line with the existing bomb, so I ignored them. Ranges might also need changing.

Lovely!