Update 2.1v
added 1.57 vehicles, small reworks to weapons.
main thread
http://forum.warthunder.com/index.php?/topic/269326-custom-missions-units/
Many fixes, improvements (no more unit stop shooting for no reason) and other things.
of course new preview video showing some of changes, but not all.
main thing: this project is completely free to use by anyone for his mission.
im working to improve AI units for custom/user mission, mainly by changing unit code
changes to artillery units:
limited traverse - no more 360 degree traverse only from 120-100 degree.
replaced placeholder weapons - now they can destroy tanks
removed that annoying (at last for me) fires/explosions when shooting at artillery
bunkers
similar things like arty
improved damage model - removed "undamagedable by guns" tag HP adjustments
added bunkers for each nation with corresponding weapons (except for japan)
Air defense
-rebalanced traverse speed
-added ability to fire at ground units
-changed ammunition to proper ones
wheeled vehicles
-added armor
-replaced placeholder guns
-adjusted mobility
Ships
-rebalanced HP and armor
-replaced placeholder guns (some ships have so many AA that they fill entire tracer cap i really don't know what to do with this, need some opinion)
-adjusted speeds/turning
Tanks
-some tanks got armor changes due to more historical
-range based on gun
-added thing called by me ammo sequence: tank shoots different ammo types in sequence like ammo belt: AP, APHE, HE, AP, APHE, APCR
-changed speed from placeholder 60 forward 10 reverse to vehicle based
-changed ammorack mechanic still WIP: 57mm ammoracks explode on direct impact from 57mm shells, smaller shells require few hits more. ammorack lower than 57mm have only chance to explode.
-removed transmission fires
-removed fuel tank explosion
-adjusted accuracy now it scales with range. (unit accuracy in mission file should be not changed from 1.0 except when you want very easy mode)
-coaxial secondary guns (m6 37mm) are working.
know issues
-some tanks have problems, they have changed names.
-coaxial tanks machine guns/cannons not working on tanks due to issue created by gaijin at 1.51 (see below)
-AA machine guns on tanks working in strange way due to issue created at 1.51: machine guns no longer use turret as reference point but hull so when target is 12 degree right turret rotate 12 degree, but machine gun also additional 12 degree (24 in total), also that's why coaxial machine guns/cannons don't work as gun thinks that it don't rotate
i cannot directly replace AI units so i created new AI units with small "_cm" add-on to their names like:
"us_105mm_m2a1" --> "us_105mm_m2a1_cm"
All available units are located in Warthunder/content/pkg_user/gameData/units folder. they are in subfolders like: tankmodels
you can copy them directly to your mission.
in order to incorporate that units intro your mission you need to:
0 back up mission!!!
1 open "UserMissions" folder in war thunder directory
2 open you mission using notepad or notepad
now three ways: (remember that some units have special add-ons (like air_only) so use names from units folder.
1 long
go to wanted unit class like: unit_class:t="uk_bunker_light"
add to it end of unit name "_cm" unit_class:t="uk_bunker_light_cm"
now do the same to rest of units
2 short
open ctrl h (to open "replace" tab)
find unit unit_class:t="uk_bunker_light"
replace with unit_class:t="uk_bunker_light_cm"
simple
now do that to other units classes
3 way replace unit_class:t="uk_bunker_light" with unit from list below
unit_class:t="germ_75mm_pak40_cm", remeber unit need to be correct type:
armada{ <--- this is unit type: there are few of them
name:t="armada_01"
tm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-11326.5, -215.25, 2456.5]]
closed_waypoints:b=no
unit_class:t="pbj_1h"