You have to carefully pick a ri that has no colliding entities
If you choose some ri that will be destroyed, they will disappear due to collision when moving or spawning, such as some chairs or boxes, and the car will also disappear when things happen, because they are the same item
I have carefully chosen ri_extra__name:t="barbedwire_a_dmg
, this item has no collision volume
This is a skdkfz62 made with this theme, but he shakes when the server game moves, like in the video above, while it looks normal in the local game
Now I don’t need this, going through the new template will completely solve these problems
entity{
_template:t="human_hidden_ui_battle_area+base_fortification_build+ammunition_box_base+resource_box_base+ammunition_box_grenade_resupply+undestroyable_building+vw_kubelwagen+base_sdkfz_251_10+flak_36_sdkfz_6_2_ammo_stowages+resupply_for_ground_vehicle_zone"
transform:m=[[-0.596454, 0.00931413, -0.802594] [0.015548, 0.999879, 4.9049e-05] [0.802497, -0.0124494, -0.596526] [-1652.97, 0.695873, -889.011]]
killLogName:t="germ_sdkfz_6_2_flak36"
animchar__res:t="flak_36_sdkfz_6_2_char"
collres__res:t="flak_36_sdkfz_6_2_collision"
vehicle_net_phys__blk:t="gamedata/gen/units/tanks/flak_36_sdkfz_6_2.blk:VehiclePhys"
particle_phys__blk:t="gamedata/suspension/empty.blk"
dmg_animchar__res:t="flak_36_sdkfz_6_2_dmg_char"
xray_resource__modelName:t="flak_36_sdkfz_6_2"
cockpit__zoomOutFov:r=2.7475
cockpit__zoomInFov:r=5.3955
cockpit__sightName:t="sight_model/default_tank_spg"
cockpit__sightFov:r=20.0
drowningHeight:r=2.24
damage_model__blk:t="gamedata/gen/units/tanks/flak_36_sdkfz_6_2.blk"
item__name:t="items/germ_sdkfz_6_2_flak36"
skin__template:t="flak_36_sdkfz_6_2_skins"
team:i=2
resupply_zone__team:i=2
vehicle_seats__autoDetectRestrictToTeam:b=no
vehicle_seats__restrictToTeam:i=2
sphere_zone__radius:r=12
vehicle__mapIcon:t="map_icon_train"
user_point__icon:t="map_icon_train"
useful_box__hintFull:t="SdKfz6 Resupply Base For Attack Team;Vehicle+Infantry+Engineer;可以补给载具和步兵武器弹药以及工兵材料"
builder_info__team:i=2
battle_area__team:i=2
team:i=2
vehicle_seats__autoDetectRestrictToTeam:b=no
vehicle_seats__restrictToTeam:i=2
buildingRadius:r=5
useful_box__maxUseCount:i=9999999
building_menu__image:t="map_icon_train"
grenadeResupplyItem:t="type_91_incendiary_grenade_item"
ri_extra__name:t="barbedwire_a_dmg"
"turret_gun_flash_fx__flashFx:shared:array"{
turret_gun_flash_fx__flashFx:t="muzzle_ground_20mm"
}
"turretsInitialComponents:array"{
"turretsInitialComponents:object"{
gun__reloadTime:r=1.05
}
}
"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="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="commander"
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.1, 0.1]]
cameraOffset:p3=-3.6, 0.16, 0
name:t="commander"
seatComponent:t="isDriver"
cameraType:t="machinegunner_cockpit"
attachNode:t="commander"
nextSeat:t="main_gunner"
locName:t="vehicle_seats/commander"
ignoreAttachNodeRotation:b=yes
maxPosWithOpenHatch:r=0.4
shouldHideOwner:b=no
seatOwnsEntityControl:b=yes
}
"vehicle_seats__seats:object"{
receiveDamageFromDMPart:t="driver"
attachTm:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [-0.25, -0.25, 0]]
name:t="passenger"
seatComponent:t="isDriver"
attachNode:t="char_driver_pivot"
entranceNode:t="char_driver_landing"
seatOwnsEntityControl:b=yes
locName:t="vehicle_seats/driver"
ignoreAttachNodeRotation:b=yes
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"
}
}
}
"disableDMParts:list<t>"{
item:t="ammo_body_01"
item:t="ammo_body_02"
item:t="ammo_body_03"
item:t="ammo_body_04"
item:t="ammo_body_05"
item:t="ammo_body_06"
item:t="ammo_body_07"
item:t="ammo_body_08"
item:t="ammo_body_09"
item:t="ammo_body_10"
item:t="ammo_body_11"
item:t="ammo_body_12"
item:t="ammo_body_13"
item:t="ammo_turret_01"
item:t="ammo_turret_02"
item:t="fuel_tank"
item:t="fuel_tank_r_01"
item:t="fuel_tank_l_01"
item:t="engine"
item:t="transmission"
}
}