3rd person - Gaz 72 aa
Based on Erika’s work and codes of Tommy, and fixed their bugs!
Fixed the problem of wrong sound effect!
Also Fixed!
entity{
_template:t="germ_flak_36_sdkfz_6_2"
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [911.076, 7.50106, 325.961]]
animchar__res:t="gaz_mm_72k_char"
collres__res:t="gaz_mm_72k_collision"
damage_model__blk:t="gamedata/gen/units/tanks/gaz_mm_72k.blk"
dmg_animchar__res:t="gaz_mm_72k_dmg_char"
item__name:t="items/ussr_gaz_mm_72k"
killLogName:t="ussr_gaz_mm_72k"
skin__template:t="gaz_mm_72k_skins"
vehicle_net_phys__blk:t="gamedata/gen/units/tanks/gaz_mm_72k.blk:VehiclePhys"
xray_resource__modelName:t="gaz_mm_72k"
"turret_control__turretInfo:shared:array"{
"turret_control__turretInfo:object"{
salt:i=1
gun:t="as_42_metropolitana_turret_01_20mm_breda_20_65_m35+base_37mm_flak36+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"
}
}
"vehicle_seats__seats:shared:array"{
"vehicle_seats__seats:object"{
receiveDamageFromDMPart:t="driver"
attachTm:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [-0.25, -0.5, 0]]
name:t="driver"
seatComponent:t="isDriver"
cameraNodeName:t="bone_camera_driver"
attachNode:t="driver"
seatOwnsEntityControl:b=yes
nextSeat:t="main_gunner"
locName:t="vehicle_seats/driver"
ignoreAttachNodeRotation:b=yes
shouldHideOwner:b=no
}
"vehicle_seats__seats:object"{
receiveDamageFromDMPart:t="gunner"
attachTm:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [-0.25, -0.5, 0]]
cameraOffset:p3=-2.2, 0.6, 0
name:t="main_gunner"
seatComponent:t="isGunner"
cameraNodeName:t="bone_camera_gunner"
cameraType:t="machinegunner_cockpit"
attachNode:t="gunner"
nextSeat:t="driver"
locName:t="vehicle_seats/gunner"
ignoreAttachNodeRotation:b=yes
shouldHideOwner:b=no
"turretNames:array"{
turretNames:t="turret_01"
}
}
"vehicle_seats__seats:object"{
receiveDamageFromDMPart:t="commander"
attachTm:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [-0, -0.5, 0.1]]
cameraOffset:p3=-5, 0.29, 0
name:t="commander"
seatComponent:t="isDriver"
cameraType:t="machinegunner_cockpit"
attachNode:t="commander"
locName:t="vehicle_seats/commander"
ignoreAttachNodeRotation:b=yes
maxPosWithOpenHatch:r=0.4
shouldHideOwner:b=no
}
"vehicle_seats__seats:object"{
receiveDamageFromDMPart:t="loader"
attachTm:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [-0, -0, 0]]
seatComponent:t="isPassenger"
cameraNodeName:t="bone_camera_driver"
attachNode:t="loader"
locName:t="vehicle_seats/loader"
ignoreAttachNodeRotation:b=yes
shouldHideOwner:b=no
"loaderTurretNames:array"{
loaderTurretNames:t="turret_01"
}
}
}
}
![image|1000x604](upload://yierJP3dqfLHTYJ4rLEnzBLDbvw.jpeg)