Using the files from the datamine, I managed to find the T-80 code. And by placing it in the entities.blk file, taking the BT-7A as a basis, im managed to make all the machine guns work correctly, as well as gain access to a new projectile - the 9M119 ATGM.
However, when an ATGM shot is attempted, it explodes in the barrel (the explosion effect is highlighted in the last image)
Code:
ussr_t_80u{
_extends:t=“ussr_bt_7a_f32_common”
killLogName:t=“ussr_t_80u”
animchar__res:t=“t_80u_char”
collres__res:t=“t_80u_collision”
vehicle_net_phys__blk:t=“content/enlisted_extra/gamedata/gen/units/tanks/t_80u.blk:VehiclePhys”
particle_phys__blk:t=“content/enlisted/gamedata/suspension/empty.blk”
dmg_animchar__res:t=“t_80u_dmg_char”
xray_resource__modelName:t=“t_80u”
cockpit__zoomOutFov:r=4.0805
cockpit__zoomInFov:r=18.6453
cockpit__sightName:t=“sight_model/1g_46”
cockpit__sightFov:r=13.5
drowningHeight:r=1.84
damage_model__blk:t=“content/enlisted_extra/gamedata/gen/units/tanks/t_80u.blk”
item__name:t=“items/ussr_t_80u”
skin__template:t=“t_80u_skins”
“turret_gun_flash_fx__flashNodes:shared:array”{
node:t=“emtr_gun_flame”
node:t=“emtr_mg_flame_01”
node:t=“emtr_mg_aa_flame_01”
}
“turret_gun_flash_fx__flashFx:shared:array”{
fx:t=“muzzle_ground_125mm”
fx:t=“muzzle_ground_8mm”
fx:t=“muzzle_ground_15mm”
}
“turret_gun_flash_fx__flashFxScale:shared:array”{
scale:r=1.0
scale:r=1.0
scale:r=1.0
}
“turret_control__emitterNodes:shared:array”{
node:t=“bone_gun_barrel”
node:t=“bone_mg_twin_01”
node:t=“bone_mg_aa_v_01”
}
“turret_control__animVars:shared:array”{
"vars:object"{
curYawParamName:t="turret_01_yaw"
curPitchParamName:t="gun_01_pitch"
aimActiveParamName:t="aim_01_active"
paramYawSpeed:t="turret_01_yaw_speed"
paramYawSpeedMul:t="turret_01_yaw_mul"
paramYawAccel:t="turret_01_yaw_accel"
paramMinYawAngle:t="turret_01_min_yaw_angle"
paramMaxYawAngle:t="turret_01_max_yaw_angle"
paramMinPitchAngle:t="turret_01_min_pitch_angle"
paramMaxPitchAngle:t="turret_01_max_pitch_angle"
paramPitchSpeed:t="gun_01_pitch_speed"
paramPitchSpeedMul:t="gun_01_pitch_mul"
paramPitchAccel:t="gun_01_pitch_accel"
wishYawParamName:t="gun_01_aim:targetYaw"
wishPitchParamName:t="gun_01_aim:targetPitch"
gunRecoilParamName:t="gun_01_recoil"
}
"vars:object"{
curYawParamName:t="turret_02_yaw"
curPitchParamName:t="gun_02_pitch"
}
"vars:object"{
curYawParamName:t="turret_03_yaw"
curPitchParamName:t="gun_03_pitch"
aimActiveParamName:t="aim_03_active"
paramYawSpeed:t="turret_03_yaw_speed"
paramYawSpeedMul:t="turret_03_yaw_mul"
paramYawAccel:t="turret_03_yaw_accel"
paramMinYawAngle:t="turret_03_min_yaw_angle"
paramMaxYawAngle:t="turret_03_max_yaw_angle"
paramMinPitchAngle:t="turret_03_min_pitch_angle"
paramMaxPitchAngle:t="turret_03_max_pitch_angle"
paramPitchSpeed:t="gun_03_pitch_speed"
paramPitchSpeedMul:t="gun_03_pitch_mul"
paramPitchAccel:t="gun_03_pitch_accel"
wishYawParamName:t="gun_03_aim:targetYaw"
wishPitchParamName:t="gun_03_aim:targetPitch"
}
}
“turret_control__turretInfo:shared:array”{
"turretInfo:object"{
turretName:t="turret_01"
gun:t="t_80u_turret_01_125mm_2a46_m1_t_80u+turret_with_several_types_of_shells+main_turret"
barrelDm:t="gun_barrel"
breechDm:t="cannon_breech"
verDriveDm:t="drive_turret_v"
horDriveDm:t="drive_turret_h"
salt:i=1
}
"turretInfo:object"{
turretName:t="turret_02"
gun:t="t_80u_turret_02_7_62mm_pkt"
barrelDm:t="gun_barrel_01"
verDriveDm:t="drive_turret_v"
horDriveDm:t="drive_turret_h"
salt:i=1
}
"turretInfo:object"{
turretName:t="turret_03"
gun:t="t_80u_turret_03_12_7mm_nsv"
barrelDm:t="gun_barrel_02"
verDriveDm:t="drive_turret_v"
horDriveDm:t="drive_turret_h"
salt:i=1
}
}
}
t_80u_turret_01_125mm_2a46_m1_t_80u{
_extends:t=“tankgun_125mm_2a46_m1_t_80u”
gun__shootNodeName:t=“bone_gun_barrel”
turret__yawSpeed:r=24.0
turret__pitchSpeed:r=4.4
turret__aimNodeName:t=“bone_turret”
turret__limit:p4=-180.0, 180.0, -5.0, 15.0
“turret__limitsTable:list”{
lim1:p4=-180.0, -150.0, -4.0, 15.0
lim2:p4=-150.0, 150.0, -5.0, 15.0
lim3:p4=150.0, 180.0, -4.0, 15.0
}
“gun__shellsAmmo:array”{
ammo:i=9
ammo:i=6
ammo:i=6
ammo:i=6
ammo:i=6
ammo:i=6
ammo:i=6
}
}
t_80u_turret_02_7_62mm_pkt{
_extends:t=“tankgun_7_62mm_pkt”
gun__shootNodeName:t=“bone_mg_twin_01”
“gun__shellsAmmo:array”{
ammo:i=1250
}
}
t_80u_turret_03_12_7mm_nsv{
_extends:t=“tankgun_12_7mm_nsv”
gun__shootNodeName:t=“bone_mg_aa_v_01”
turret__yawSpeed:r=90.0
turret__pitchSpeed:r=90.0
turret__aimNodeName:t=“bone_turret”
turret__limit:p4=-180.0, 180.0, -5.0, 60.0
“gun__shellsAmmo:array”{
ammo:i=300
}
}
t_80u_skins{
“skin__unlock:list”{
unlock:t=“t_80u_ussr_camo_czechoslovak_yellow_green”
unlock:t=“t_80u_ussr_camo_desert_syrian_green_brown_yellow”
unlock:t=“t_80u_ussr_camo_desert_yellow_brown”
unlock:t=“t_80u_modern_desert”
unlock:t=“t_80u_modern_forest”
unlock:t=“t_80u_modern_winter”
unlock:t=“t_80u_ussr_camo_finland_polygonal_threecolor”
unlock:t=“t_80u_ussr_camo_deform”
unlock:t=“t_80u_ussr_modern_green”
unlock:t=“t_80u_ussr_camo_modern_desert_deform”
unlock:t=“t_80u_ussr_south_korean_camo”
unlock:t=“t_80u_tank_biathlon_red”
unlock:t=“t_80u_tank_biathlon_green”
unlock:t=“t_80u_tank_biathlon_blue”
unlock:t=“t_80u_tank_biathlon_yellow”
}
“skin__objTexReplace:array”{
"objTexReplace:object"{
"ussr_camo_green*":t="ussr_camo_czechoslovak_yellow_green*"
}
"objTexReplace:object"{
"ussr_camo_green*":t="ussr_camo_desert_syrian_green_brown_yellow*"
}
"objTexReplace:object"{
"ussr_camo_green*":t="ussr_camo_desert_yellow_brown*"
}
"objTexReplace:object"{
"ussr_camo_green*":t="ussr_modern_desert*"
}
"objTexReplace:object"{
"ussr_camo_green*":t="ussr_modern_forest*"
}
"objTexReplace:object"{
"ussr_camo_green*":t="ussr_modern_winter*"
}
"objTexReplace:object"{
"ussr_camo_green*":t="fin_camo_black_green_dark*"
}
"objTexReplace:object"{
"ussr_camo_green*":t="ussr_camo_deform*"
}
"objTexReplace:object"{
"ussr_camo_green*":t="ussr_modern_green*"
}
"objTexReplace:object"{
"ussr_camo_green*":t="ussr_camo_modern_desert_deform*"
}
"objTexReplace:object"{
"ussr_camo_green*":t="ussr_south_korean_camo*"
}
"objTexReplace:object"{
"ussr_camo_green*":t="ussr_camo_biathlon_red*"
}
"objTexReplace:object"{
"ussr_camo_green*":t="ussr_camo_biathlon_green*"
}
"objTexReplace:object"{
"ussr_camo_green*":t="ussr_camo_biathlon_blue*"
}
"objTexReplace:object"{
"ussr_camo_green*":t="ussr_camo_biathlon_yellow*"
}
}
}