hello I am asking how to add the T-80 into a map I am making and also if you can change its texture
This code you should to download to file entities.blk and replace _extends:t=“ussr_bt_7a_f32_common”
to _extends:t="uk_sherman_ic_firefly_vanguard_premium"
_extends:t="base_t_80u"
This don t work in multiplayer, if you won to do this in multiplayer you should put this code to scene.blk
` entity{
_template:t=“uk_sherman_ic_firefly_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
}
}
} `
If you be able to use google translate, you can read this themes from russian forum:
https://forum.enlisted.net/t/80-1/116925/7
https://forum.enlisted.net/t/topic/108472/10
https://forum.enlisted.net/t/topic/83538/11
man, I can’t find the entities.blk file in the mod file, only scene.blk, I would ask if you could explain me how to solve this issue or maybe I can give you the file for the map and you can put the T-80 because I don’t understand shit rn.
thank you in advance.
You should create this file
how?
it turns into a .blk file and I can’t write in it
Can you send screenshots?
Use notepad
what if I write in it and then rename it?
you can do that too
so now I just follow the coding lines?
is it normal for the file to be empty at start?
Would be good to know if author need T80 in multiplayer or in local game. Your code works only for local games.
Also use three `
before text code and after it.
entity{
...code
...code
...
}
Hello.
If you want to add tank for local game then use Vik_2701 code. Add it to entities.blk.
It’s okay. You just need select Vik_2701’s all code and copy (ctrl+c) it. And then open empty file and then paste it (ctrl+v).
For multiplayer…
Put this file (t_80u.txt) to userPrefabs folder in main game folder (If you don’t have this folder then create it). Edit file type to blk, file should be like t_80u.blk. And then in editor open prefabs menu and click on t_80u and then use find entity to find your tank.
Or put just this code to your scene.blk file.
entity{
_template:t="ussr_is_2_1944_berlin"
transform:m=[[-0.965926, 0, 0.258819] [0, 1, 0] [-0.258819, 0, -0.965926] [-63.8494, 21.4297, -75.4441]]
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_control__animVars:shared:array"{
"turret_control__animVars:object"{
paramMinYawAngle:t="turret_01_min_yaw_angle"
curPitchParamName:t="gun_01_pitch"
paramYawSpeedMul:t="turret_01_yaw_mul"
paramMaxYawAngle:t="turret_01_max_yaw_angle"
aimActiveParamName:t="aim_01_active"
paramPitchAccel:t="gun_01_pitch_accel"
paramMinPitchAngle:t="turret_01_min_pitch_angle"
paramPitchSpeed:t="gun_01_pitch_speed"
paramYawSpeed:t="turret_01_yaw_speed"
curYawParamName:t="turret_01_yaw"
paramYawAccel:t="turret_01_yaw_accel"
paramMaxPitchAngle:t="turret_01_max_pitch_angle"
wishYawParamName:t="gun_01_aim:targetYaw"
wishPitchParamName:t="gun_01_aim:targetPitch"
gunRecoilParamName:t="gun_01_recoil"
paramPitchSpeedMul:t="gun_01_pitch_mul"
}
"turret_control__animVars:object"{
curPitchParamName:t="gun_02_pitch"
curYawParamName:t="turret_02_yaw"
}
"turret_control__animVars:object"{
paramMinYawAngle:t="turret_03_min_yaw_angle"
curPitchParamName:t="gun_03_pitch"
paramYawSpeedMul:t="turret_03_yaw_mul"
paramMaxYawAngle:t="turret_03_max_yaw_angle"
aimActiveParamName:t="aim_03_active"
paramPitchAccel:t="gun_03_pitch_accel"
paramMinPitchAngle:t="turret_03_min_pitch_angle"
paramPitchSpeed:t="gun_03_pitch_speed"
paramYawSpeed:t="turret_03_yaw_speed"
curYawParamName:t="turret_03_yaw"
paramYawAccel:t="turret_03_yaw_accel"
paramMaxPitchAngle:t="turret_03_max_pitch_angle"
wishYawParamName:t="gun_03_aim:targetYaw"
wishPitchParamName:t="gun_03_aim:targetPitch"
paramPitchSpeedMul:t="gun_03_pitch_mul"
}
}
"turret_control__turretInfo:shared:array"{
"turret_control__turretInfo:object"{
salt:i=1
gun:t="is_2_1944_turret_01_122mm_d25t+tankgun_125mm_2a46_m1_t_80u+turret_with_several_types_of_shells+main_turret"
barrelDm:t="gun_barrel"
breechDm:t="cannon_breech"
turretName:t="turret_01"
verDriveDm:t="drive_turret_v"
horDriveDm:t="drive_turret_h"
}
"turret_control__turretInfo:object"{
salt:i=1
gun:t="is_2_1944_turret_02_7_62mm_dt+tankgun_7_62mm_pkt"
barrelDm:t="gun_barrel_01"
turretName:t="turret_02"
verDriveDm:t="drive_turret_v"
horDriveDm:t="drive_turret_h"
}
"turret_control__turretInfo:object"{
salt:i=1
gun:t="is_2_1944_turret_03_12_7mm_dshk+tankgun_12_7mm_nsv"
barrelDm:t="gun_barrel_02"
turretName:t="turret_03"
verDriveDm:t="drive_turret_v"
horDriveDm:t="drive_turret_h"
}
}
"turretsInitialComponents:array"{
"turretsInitialComponents:object"{
turret__yawSpeed:r=24
gun__shootNodeName:t="bone_gun_barrel"
turret__aimNodeName:t="bone_turret"
turret__limit:p4=-180, 180, -5, 15
turret__pitchSpeed:r=4.4
"turret__limitsTable:list<p4>"{
item:p4=-180, -150, -4, 15
item:p4=-150, 150, -5, 15
item:p4=150, 180, -4, 15
}
"gun__shellsAmmo:array"{
gun__shellsAmmo:i=9
gun__shellsAmmo:i=6
gun__shellsAmmo:i=6
gun__shellsAmmo:i=6
gun__shellsAmmo:i=6
gun__shellsAmmo:i=6
gun__shellsAmmo:i=6
}
}
"turretsInitialComponents:object"{
gun__shootNodeName:t="bone_mg_twin_01"
"gun__shellsAmmo:array"{
gun__shellsAmmo:i=1250
}
}
"turretsInitialComponents:object"{
turret__yawSpeed:r=90
gun__shootNodeName:t="bone_mg_aa_v_01"
turret__aimNodeName:t="bone_mg_aa_h_01"
turret__limit:p4=-180, 180, -5, 60
turret__pitchSpeed:r=90
"gun__shellsAmmo:array"{
gun__shellsAmmo:i=300
}
}
}
"vehicle_seats__seats:shared:array"{
"vehicle_seats__seats:object"{
name:t="driver"
locName:t="vehicle_seats/driver"
seatOwnsEntityControl:b=yes
attachNode:t="driver"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.25, -0.25, 0.0]]
seatComponent:t="isDriver"
nextSeat:t="main_gunner"
shouldHideOwner:b=yes
receiveDamageFromDMPart:t="driver"
cameraNodeName:t="bone_camera_driver"
cockpitTemplate:t="uk_sherman_ic_firefly_driver_cockpit"
cameraOffset:p3=0.15, -0, -0
}
"vehicle_seats__seats:object"{
name:t="main_gunner"
locName:t="vehicle_seats/gunner"
attachNode:t="gunner"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.25, -0.5, 0.0]]
seatComponent:t="isGunner"
nextSeat:t="driver"
shouldHideOwner:b=yes
receiveDamageFromDMPart:t="gunner"
cameraNodeName:t="bone_camera_gunner"
cockpitTemplate:t="ussr_is_2_1944_gunner_cockpit"
"turretNames:array"{
turret:t="turret_01"
turret:t="turret_02"
}
}
"vehicle_seats__seats:object"{
name:t="commander"
locName:t="vehicle_seats/commander"
attachNode:t="commander"
shouldHideOwner:b=yes
hatchRotationAxis:p3=1.4, 0, 0
maxPosWithOpenHatch:r=0.7
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [-0.38, 0.3, 0]]
seatComponent:t="isDriver"
receiveDamageFromDMPart:t="commander"
cockpitTemplate:t="uk_sherman_ic_firefly_commander_cockpit"
cameraNodeName:t="bone_turret"
"hatchNodes:array"{
node:t="hatch_01"
}
"hatchTurretNames:array"{
turret:t="turret_03"
}
}
}
}
And use Find Entity to find your tank.
UPD: Tank works fine in multiplayer, but… Some not very seriously problems with error messages. They will appears after that you changes soldier or seat. It happened because of seat camera. You can’t edit them in multiplayer… And I currently time can’t find ways how to fix these error messages. Probably it will be possible only after that devs give us custom contet.
I need the T-80U for a multiplayer game
So yeah. Use prefab file that i sent. Or scene code. It should work in multiplayer, but will have some problems. Error messages will print when you sit to tank or change soldier seat in tank.
thank you, it worked.
Do you also know how to make custom squad selections with custom equipment?
Full custom squads only for local game. For multiplayer you can turn on event squads. You need modern conflict?
Then create custom_profile and custom_bot_profile entities.
And in properties write: enl/globals/data/modern_squads_bots_profile.json.
Keep in mind that for make it work you will need to turn on Normandy & Berlin campaigns in custom matches settings. And need to set mixed armies, because secondary (axis) team players will unable join to map, because both armies are allies.
If you want test it in editor then… Need to edit teams. They’re should be team_ussr_berlin and team_usa.
I think you can delete old teams and recreate them from Create Entity.
Since both are allies teams… You will need to edit team_id for one of teams.