Stabilize KAMAZ physics and assign materials

This commit is contained in:
krustophski 2026-06-18 07:29:36 +03:00
parent c5a8002994
commit 0973c909e4
20 changed files with 875 additions and 12 deletions

BIN
Content/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_blue.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.uasset (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Content/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_glass.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_metal.uasset (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
Content/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_red.uasset (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
Content/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_white.uasset (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -78,3 +78,26 @@ AmrPlow58KamazCar::AmrPlow58KamazCar()
Movement->SteeringSetup.SteeringType = ESteeringType::AngleRatio;
Movement->SteeringSetup.AngleRatio = 0.55f;
}
void AmrPlow58KamazCar::BeginPlay()
{
Super::BeginPlay();
static const FName WheelBones[] = {
FName("Phys_Wheel_FL"),
FName("Phys_Wheel_FR"),
FName("Phys_Wheel_ML1"),
FName("Phys_Wheel_ML2"),
FName("Phys_Wheel_MR1"),
FName("Phys_Wheel_MR2"),
FName("Phys_Wheel_RL1"),
FName("Phys_Wheel_RL2"),
FName("Phys_Wheel_RR1"),
FName("Phys_Wheel_RR2"),
};
for (const FName& WheelBone : WheelBones)
{
GetMesh()->SetAllBodiesBelowSimulatePhysics(WheelBone, false, true);
}
}

View file

@ -16,4 +16,7 @@ class AmrPlow58KamazCar : public AmrPlow58Pawn
public:
AmrPlow58KamazCar();
protected:
virtual void BeginPlay() override;
};

View file

@ -0,0 +1,139 @@
import json
from pathlib import Path
import unreal
PROJECT_DIR = Path(unreal.Paths.project_dir())
REPORT_PATH = PROJECT_DIR / "VehicleExports" / "unreal_assign_kamaz_basic_materials_report.json"
MESH_PATH = "/Game/MrPlow/Vehicles/Kamaz/SK_Kamaz_Chassis.SK_Kamaz_Chassis"
MATERIAL_DIR = "/Game/MrPlow/Vehicles/Kamaz/Materials"
MATERIAL_PROFILES = {
"body": {"color": (0.63, 0.58, 0.48, 1.0), "metallic": 0.0, "roughness": 0.58},
"black": {"color": (0.01, 0.011, 0.012, 1.0), "metallic": 0.0, "roughness": 0.72},
"rubber": {"color": (0.005, 0.005, 0.005, 1.0), "metallic": 0.0, "roughness": 0.88},
"metal": {"color": (0.63, 0.64, 0.62, 1.0), "metallic": 0.85, "roughness": 0.28},
"chrome": {"color": (0.9, 0.88, 0.82, 1.0), "metallic": 1.0, "roughness": 0.12},
"glass": {"color": (0.18, 0.32, 0.42, 0.45), "metallic": 0.0, "roughness": 0.08},
"red": {"color": (0.9, 0.03, 0.02, 1.0), "metallic": 0.0, "roughness": 0.22},
"orange": {"color": (1.0, 0.35, 0.02, 1.0), "metallic": 0.0, "roughness": 0.24},
"yellow": {"color": (0.95, 0.78, 0.08, 1.0), "metallic": 0.0, "roughness": 0.3},
"white": {"color": (0.88, 0.86, 0.8, 1.0), "metallic": 0.0, "roughness": 0.35},
"fabric": {"color": (0.12, 0.11, 0.1, 1.0), "metallic": 0.0, "roughness": 0.9},
"blue": {"color": (0.03, 0.12, 0.75, 1.0), "metallic": 0.0, "roughness": 0.32},
}
def classify_slot(slot_name):
name = slot_name.lower()
if "rubber" in name:
return "rubber"
if "glass" in name or "steklo" in name or "mirror" in name:
return "glass"
if "chrom" in name:
return "chrome"
if "alumin" in name or "silver" in name or "radiator" in name:
return "metal"
if "red" in name:
return "red"
if "orange" in name or "catafot" in name or "katafot" in name:
return "orange"
if "yellow" in name or "yeloow" in name:
return "yellow"
if "white" in name or "led_white" in name or "lampa" in name:
return "white"
if "blue" in name:
return "blue"
if "tkan" in name or "sidenia" in name:
return "fabric"
if "black" in name or "plastic" in name:
return "black"
return "body"
def package_path(name):
return f"{MATERIAL_DIR}/M_Kamaz_{name}"
def load_or_create_material(profile_name, profile):
asset_path = package_path(profile_name)
material = unreal.load_asset(asset_path)
if material:
return material
tools = unreal.AssetToolsHelpers.get_asset_tools()
factory = unreal.MaterialFactoryNew()
material = tools.create_asset(f"M_Kamaz_{profile_name}", MATERIAL_DIR, unreal.Material, factory)
if not material:
raise RuntimeError(f"Failed to create material {asset_path}")
color = unreal.MaterialEditingLibrary.create_material_expression(material, unreal.MaterialExpressionConstant4Vector, -400, 0)
color.set_editor_property("constant", unreal.LinearColor(*profile["color"]))
unreal.MaterialEditingLibrary.connect_material_property(color, "", unreal.MaterialProperty.MP_BASE_COLOR)
metallic = unreal.MaterialEditingLibrary.create_material_expression(material, unreal.MaterialExpressionConstant, -400, 160)
metallic.set_editor_property("r", profile["metallic"])
unreal.MaterialEditingLibrary.connect_material_property(metallic, "", unreal.MaterialProperty.MP_METALLIC)
roughness = unreal.MaterialEditingLibrary.create_material_expression(material, unreal.MaterialExpressionConstant, -400, 320)
roughness.set_editor_property("r", profile["roughness"])
unreal.MaterialEditingLibrary.connect_material_property(roughness, "", unreal.MaterialProperty.MP_ROUGHNESS)
if profile["color"][3] < 1.0:
alpha = unreal.MaterialEditingLibrary.create_material_expression(material, unreal.MaterialExpressionConstant, -400, 480)
alpha.set_editor_property("r", profile["color"][3])
unreal.MaterialEditingLibrary.connect_material_property(alpha, "", unreal.MaterialProperty.MP_OPACITY)
material.set_editor_property("blend_mode", unreal.BlendMode.BLEND_TRANSLUCENT)
unreal.MaterialEditingLibrary.layout_material_expressions(material)
unreal.MaterialEditingLibrary.recompile_material(material)
unreal.EditorAssetLibrary.save_loaded_asset(material)
return material
def main():
mesh = unreal.load_asset(MESH_PATH)
if not mesh:
raise RuntimeError(f"Missing mesh: {MESH_PATH}")
materials_by_profile = {
name: load_or_create_material(name, profile)
for name, profile in MATERIAL_PROFILES.items()
}
assignments = []
slots = mesh.get_editor_property("materials")
new_slots = []
for index, slot in enumerate(slots):
slot_name = str(slot.get_editor_property("material_slot_name"))
profile_name = classify_slot(slot_name)
new_slot = unreal.SkeletalMaterial()
new_slot.set_editor_property("material_interface", materials_by_profile[profile_name])
new_slot.set_editor_property("material_slot_name", slot.get_editor_property("material_slot_name"))
try:
new_slot.set_editor_property("imported_material_slot_name", slot.get_editor_property("imported_material_slot_name"))
except Exception:
pass
new_slots.append(new_slot)
assignments.append(
{
"index": index,
"slot": slot_name,
"profile": profile_name,
"material": materials_by_profile[profile_name].get_path_name(),
}
)
mesh.set_editor_property("materials", new_slots)
unreal.EditorAssetLibrary.save_loaded_asset(mesh)
report = {"mesh": MESH_PATH, "assignments": assignments, "ok": True}
REPORT_PATH.parent.mkdir(parents=True, exist_ok=True)
REPORT_PATH.write_text(json.dumps(report, indent=2), encoding="utf-8")
if __name__ == "__main__":
main()

View file

@ -0,0 +1,90 @@
import json
from pathlib import Path
import unreal
PROJECT_DIR = Path(unreal.Paths.project_dir())
REPORT_PATH = PROJECT_DIR / "VehicleExports" / "unreal_vehicle_asset_details_report.json"
ASSETS = {
"kamaz_mesh": "/Game/MrPlow/Vehicles/Kamaz/SK_Kamaz_Chassis.SK_Kamaz_Chassis",
"kamaz_physics": "/Game/MrPlow/Vehicles/Kamaz/SK_Kamaz_Chassis_PhysicsAsset.SK_Kamaz_Chassis_PhysicsAsset",
"offroad_mesh": "/Game/Vehicles/OffroadCar/SKM_Offroad.SKM_Offroad",
"offroad_physics": "/Game/Vehicles/OffroadCar/SKM_Offroad_PhysicsAsset.SKM_Offroad_PhysicsAsset",
}
def path(asset):
return asset.get_path_name() if asset else None
def safe_get(obj, prop):
try:
return obj.get_editor_property(prop)
except Exception as exc:
return f"<missing: {exc}>"
def summarize_mesh(mesh):
if not mesh:
return None
materials = []
for slot in mesh.get_editor_property("materials"):
materials.append(
{
"slot": str(slot.get_editor_property("material_slot_name")),
"material": path(slot.get_editor_property("material_interface")),
}
)
return {
"path": path(mesh),
"physicsAsset": path(mesh.get_editor_property("physics_asset")),
"materials": materials,
}
def summarize_physics(asset):
if not asset:
return None
summary = {
"path": path(asset),
"class": asset.get_class().get_path_name(),
"dirContains": [name for name in dir(asset) if "body" in name.lower() or "constraint" in name.lower()],
}
for prop in [
"skeletal_body_setups",
"SkeletalBodySetups",
"constraint_setup",
"ConstraintSetup",
"body_setup_index_map",
"BodySetupIndexMap",
]:
value = safe_get(asset, prop)
if isinstance(value, list):
summary[prop] = [path(item) or str(item) for item in value]
else:
summary[prop] = str(value)
return summary
def main():
report = {}
for key, asset_ref in ASSETS.items():
asset = unreal.load_asset(asset_ref)
if "mesh" in key:
report[key] = summarize_mesh(asset)
else:
report[key] = summarize_physics(asset)
REPORT_PATH.parent.mkdir(parents=True, exist_ok=True)
REPORT_PATH.write_text(json.dumps(report, indent=2), encoding="utf-8")
if __name__ == "__main__":
main()

View file

@ -0,0 +1,312 @@
{
"mesh": "/Game/MrPlow/Vehicles/Kamaz/SK_Kamaz_Chassis.SK_Kamaz_Chassis",
"assignments": [
{
"index": 0,
"slot": "Base",
"profile": "body",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"index": 1,
"slot": "Base_ncl1_1",
"profile": "body",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"index": 2,
"slot": "alumin_ncl1_1",
"profile": "metal",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_metal.M_Kamaz_metal"
},
{
"index": 3,
"slot": "bezh",
"profile": "body",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"index": 4,
"slot": "logo-horse",
"profile": "body",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"index": 5,
"slot": "yellow_ncl1_1",
"profile": "yellow",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_yellow.M_Kamaz_yellow"
},
{
"index": 6,
"slot": "black_ncl1_2",
"profile": "black",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"index": 7,
"slot": "05_-_Default",
"profile": "body",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"index": 8,
"slot": "Material__38",
"profile": "body",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"index": 9,
"slot": "Material__48",
"profile": "body",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"index": 10,
"slot": "Material__49",
"profile": "body",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"index": 11,
"slot": "Material__50",
"profile": "body",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"index": 12,
"slot": "Material__63",
"profile": "body",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"index": 13,
"slot": "tkan",
"profile": "fabric",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_fabric.M_Kamaz_fabric"
},
{
"index": 14,
"slot": "sidenia",
"profile": "fabric",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_fabric.M_Kamaz_fabric"
},
{
"index": 15,
"slot": "Rubber",
"profile": "rubber",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_rubber.M_Kamaz_rubber"
},
{
"index": 16,
"slot": "black",
"profile": "black",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"index": 17,
"slot": "chrom",
"profile": "chrome",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_chrome.M_Kamaz_chrome"
},
{
"index": 18,
"slot": "steklo_polos",
"profile": "glass",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_glass.M_Kamaz_glass"
},
{
"index": 19,
"slot": "plastik-catafot",
"profile": "orange",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_orange.M_Kamaz_orange"
},
{
"index": 20,
"slot": "steklo_polos_ncl1_1",
"profile": "glass",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_glass.M_Kamaz_glass"
},
{
"index": 21,
"slot": "alumin",
"profile": "metal",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_metal.M_Kamaz_metal"
},
{
"index": 22,
"slot": "silver",
"profile": "metal",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_metal.M_Kamaz_metal"
},
{
"index": 23,
"slot": "Plastic_Black_Matte",
"profile": "black",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"index": 24,
"slot": "black_ncl1_1",
"profile": "black",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"index": 25,
"slot": "catafot-orange",
"profile": "orange",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_orange.M_Kamaz_orange"
},
{
"index": 26,
"slot": "blue-filter",
"profile": "blue",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_blue.M_Kamaz_blue"
},
{
"index": 27,
"slot": "glass",
"profile": "glass",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_glass.M_Kamaz_glass"
},
{
"index": 28,
"slot": "07_-_Default",
"profile": "body",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"index": 29,
"slot": "chrom_ncl1_1",
"profile": "chrome",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_chrome.M_Kamaz_chrome"
},
{
"index": 30,
"slot": "chrom-polos",
"profile": "chrome",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_chrome.M_Kamaz_chrome"
},
{
"index": 31,
"slot": "led_white",
"profile": "white",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_white.M_Kamaz_white"
},
{
"index": 32,
"slot": "led-yeloow",
"profile": "yellow",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_yellow.M_Kamaz_yellow"
},
{
"index": 33,
"slot": "lampa",
"profile": "white",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_white.M_Kamaz_white"
},
{
"index": 34,
"slot": "glass-bump",
"profile": "glass",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_glass.M_Kamaz_glass"
},
{
"index": 35,
"slot": "chrom-yellow",
"profile": "chrome",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_chrome.M_Kamaz_chrome"
},
{
"index": 36,
"slot": "black_ncl1_3",
"profile": "black",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"index": 37,
"slot": "mirror_ncl1_2",
"profile": "glass",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_glass.M_Kamaz_glass"
},
{
"index": 38,
"slot": "Material__928",
"profile": "body",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"index": 39,
"slot": "black_ncl1_4",
"profile": "black",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"index": 40,
"slot": "alumin-bolt_ncl1_1",
"profile": "metal",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_metal.M_Kamaz_metal"
},
{
"index": 41,
"slot": "radiator_ncl1_2",
"profile": "metal",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_metal.M_Kamaz_metal"
},
{
"index": 42,
"slot": "blackMatte",
"profile": "black",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"index": 43,
"slot": "04_-_Default",
"profile": "body",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"index": 44,
"slot": "Material__38_ncl1_1",
"profile": "body",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"index": 45,
"slot": "katafot",
"profile": "orange",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_orange.M_Kamaz_orange"
},
{
"index": 46,
"slot": "redGlass",
"profile": "glass",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_glass.M_Kamaz_glass"
},
{
"index": 47,
"slot": "yellow-orange",
"profile": "orange",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_orange.M_Kamaz_orange"
},
{
"index": 48,
"slot": "white",
"profile": "white",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_white.M_Kamaz_white"
},
{
"index": 49,
"slot": "black_ncl1_5",
"profile": "black",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"index": 50,
"slot": "alumin_ncl1_2",
"profile": "metal",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_metal.M_Kamaz_metal"
}
],
"ok": true
}

View file

@ -10,52 +10,52 @@
{
"bone": "Phys_Wheel_FL",
"wheelClass": "/Script/mrPlow58.mrPlow58KamazWheelFront",
"offset": "<Struct 'Vector' (0x00000178E58527A8) {x: 0.000000, y: 0.000000, z: 0.000000}>"
"offset": "<Struct 'Vector' (0x000002038A8C0C18) {x: 0.000000, y: 0.000000, z: 0.000000}>"
},
{
"bone": "Phys_Wheel_FR",
"wheelClass": "/Script/mrPlow58.mrPlow58KamazWheelFront",
"offset": "<Struct 'Vector' (0x00000178E58525C8) {x: 0.000000, y: 0.000000, z: 0.000000}>"
"offset": "<Struct 'Vector' (0x000002038A8C0BB8) {x: 0.000000, y: 0.000000, z: 0.000000}>"
},
{
"bone": "Phys_Wheel_ML1",
"wheelClass": "/Script/mrPlow58.mrPlow58KamazWheelRear",
"offset": "<Struct 'Vector' (0x00000178E5852508) {x: 0.000000, y: 0.000000, z: 0.000000}>"
"offset": "<Struct 'Vector' (0x000002038A8C0738) {x: 0.000000, y: 0.000000, z: 0.000000}>"
},
{
"bone": "Phys_Wheel_ML2",
"wheelClass": "/Script/mrPlow58.mrPlow58KamazWheelRear",
"offset": "<Struct 'Vector' (0x00000178E5852478) {x: 0.000000, y: 0.000000, z: 0.000000}>"
"offset": "<Struct 'Vector' (0x000002038A8C0588) {x: 0.000000, y: 0.000000, z: 0.000000}>"
},
{
"bone": "Phys_Wheel_MR1",
"wheelClass": "/Script/mrPlow58.mrPlow58KamazWheelRear",
"offset": "<Struct 'Vector' (0x00000178E5852358) {x: 0.000000, y: 0.000000, z: 0.000000}>"
"offset": "<Struct 'Vector' (0x000002038A8C03D8) {x: 0.000000, y: 0.000000, z: 0.000000}>"
},
{
"bone": "Phys_Wheel_MR2",
"wheelClass": "/Script/mrPlow58.mrPlow58KamazWheelRear",
"offset": "<Struct 'Vector' (0x00000178E58522C8) {x: 0.000000, y: 0.000000, z: 0.000000}>"
"offset": "<Struct 'Vector' (0x000002038A8C0348) {x: 0.000000, y: 0.000000, z: 0.000000}>"
},
{
"bone": "Phys_Wheel_RL1",
"wheelClass": "/Script/mrPlow58.mrPlow58KamazWheelRear",
"offset": "<Struct 'Vector' (0x00000178E5852178) {x: 0.000000, y: 0.000000, z: 0.000000}>"
"offset": "<Struct 'Vector' (0x000002038A8C0108) {x: 0.000000, y: 0.000000, z: 0.000000}>"
},
{
"bone": "Phys_Wheel_RL2",
"wheelClass": "/Script/mrPlow58.mrPlow58KamazWheelRear",
"offset": "<Struct 'Vector' (0x00000178E5852028) {x: 0.000000, y: 0.000000, z: 0.000000}>"
"offset": "<Struct 'Vector' (0x000002038A8C0078) {x: 0.000000, y: 0.000000, z: 0.000000}>"
},
{
"bone": "Phys_Wheel_RR1",
"wheelClass": "/Script/mrPlow58.mrPlow58KamazWheelRear",
"offset": "<Struct 'Vector' (0x00000178E5852178) {x: 0.000000, y: 0.000000, z: 0.000000}>"
"offset": "<Struct 'Vector' (0x000002038A8C00D8) {x: 0.000000, y: 0.000000, z: 0.000000}>"
},
{
"bone": "Phys_Wheel_RR2",
"wheelClass": "/Script/mrPlow58.mrPlow58KamazWheelRear",
"offset": "<Struct 'Vector' (0x00000178E58522C8) {x: 0.000000, y: 0.000000, z: 0.000000}>"
"offset": "<Struct 'Vector' (0x000002038A8C0318) {x: 0.000000, y: 0.000000, z: 0.000000}>"
}
],
"boneNames": [

View file

@ -0,0 +1,260 @@
{
"kamaz_mesh": {
"path": "/Game/MrPlow/Vehicles/Kamaz/SK_Kamaz_Chassis.SK_Kamaz_Chassis",
"physicsAsset": "/Game/MrPlow/Vehicles/Kamaz/SK_Kamaz_Chassis_PhysicsAsset.SK_Kamaz_Chassis_PhysicsAsset",
"materials": [
{
"slot": "Base",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"slot": "Base_ncl1_1",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"slot": "alumin_ncl1_1",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_metal.M_Kamaz_metal"
},
{
"slot": "bezh",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"slot": "logo-horse",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"slot": "yellow_ncl1_1",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_yellow.M_Kamaz_yellow"
},
{
"slot": "black_ncl1_2",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"slot": "05_-_Default",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"slot": "Material__38",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"slot": "Material__48",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"slot": "Material__49",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"slot": "Material__50",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"slot": "Material__63",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"slot": "tkan",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_fabric.M_Kamaz_fabric"
},
{
"slot": "sidenia",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_fabric.M_Kamaz_fabric"
},
{
"slot": "Rubber",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_rubber.M_Kamaz_rubber"
},
{
"slot": "black",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"slot": "chrom",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_chrome.M_Kamaz_chrome"
},
{
"slot": "steklo_polos",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_glass.M_Kamaz_glass"
},
{
"slot": "plastik-catafot",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_orange.M_Kamaz_orange"
},
{
"slot": "steklo_polos_ncl1_1",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_glass.M_Kamaz_glass"
},
{
"slot": "alumin",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_metal.M_Kamaz_metal"
},
{
"slot": "silver",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_metal.M_Kamaz_metal"
},
{
"slot": "Plastic_Black_Matte",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"slot": "black_ncl1_1",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"slot": "catafot-orange",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_orange.M_Kamaz_orange"
},
{
"slot": "blue-filter",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_blue.M_Kamaz_blue"
},
{
"slot": "glass",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_glass.M_Kamaz_glass"
},
{
"slot": "07_-_Default",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"slot": "chrom_ncl1_1",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_chrome.M_Kamaz_chrome"
},
{
"slot": "chrom-polos",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_chrome.M_Kamaz_chrome"
},
{
"slot": "led_white",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_white.M_Kamaz_white"
},
{
"slot": "led-yeloow",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_yellow.M_Kamaz_yellow"
},
{
"slot": "lampa",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_white.M_Kamaz_white"
},
{
"slot": "glass-bump",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_glass.M_Kamaz_glass"
},
{
"slot": "chrom-yellow",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_chrome.M_Kamaz_chrome"
},
{
"slot": "black_ncl1_3",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"slot": "mirror_ncl1_2",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_glass.M_Kamaz_glass"
},
{
"slot": "Material__928",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"slot": "black_ncl1_4",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"slot": "alumin-bolt_ncl1_1",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_metal.M_Kamaz_metal"
},
{
"slot": "radiator_ncl1_2",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_metal.M_Kamaz_metal"
},
{
"slot": "blackMatte",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"slot": "04_-_Default",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"slot": "Material__38_ncl1_1",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_body.M_Kamaz_body"
},
{
"slot": "katafot",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_orange.M_Kamaz_orange"
},
{
"slot": "redGlass",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_glass.M_Kamaz_glass"
},
{
"slot": "yellow-orange",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_orange.M_Kamaz_orange"
},
{
"slot": "white",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_white.M_Kamaz_white"
},
{
"slot": "black_ncl1_5",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_black.M_Kamaz_black"
},
{
"slot": "alumin_ncl1_2",
"material": "/Game/MrPlow/Vehicles/Kamaz/Materials/M_Kamaz_metal.M_Kamaz_metal"
}
]
},
"kamaz_physics": {
"path": "/Game/MrPlow/Vehicles/Kamaz/SK_Kamaz_Chassis_PhysicsAsset.SK_Kamaz_Chassis_PhysicsAsset",
"class": "/Script/Engine.PhysicsAsset",
"dirContains": [
"get_constraint_by_bone_names",
"get_constraint_by_name",
"get_constraints"
],
"skeletal_body_setups": "<missing: PhysicsAsset: Failed to find property 'skeletal_body_setups' for attribute 'skeletal_body_setups' on 'PhysicsAsset'>",
"SkeletalBodySetups": "<missing: PhysicsAsset: Property 'SkeletalBodySetups' for attribute 'SkeletalBodySetups' on 'PhysicsAsset' is protected and cannot be read>",
"constraint_setup": "<missing: PhysicsAsset: Failed to find property 'constraint_setup' for attribute 'constraint_setup' on 'PhysicsAsset'>",
"ConstraintSetup": "<missing: PhysicsAsset: Property 'ConstraintSetup' for attribute 'ConstraintSetup' on 'PhysicsAsset' is protected and cannot be read>",
"body_setup_index_map": "<missing: PhysicsAsset: Failed to find property 'body_setup_index_map' for attribute 'body_setup_index_map' on 'PhysicsAsset'>",
"BodySetupIndexMap": "<missing: PhysicsAsset: Failed to find property 'BodySetupIndexMap' for attribute 'BodySetupIndexMap' on 'PhysicsAsset'>"
},
"offroad_mesh": {
"path": "/Game/Vehicles/OffroadCar/SKM_Offroad.SKM_Offroad",
"physicsAsset": "/Game/Vehicles/OffroadCar/SKM_Offroad_PhysicsAsset.SKM_Offroad_PhysicsAsset",
"materials": [
{
"slot": "MI_Vehicle_Advanced_Vehicle_Suspension_Engine",
"material": "/Game/Vehicles/OffroadCar/Materials/MI_OffroadCar_Suspension.MI_OffroadCar_Suspension"
},
{
"slot": "MI_Vehicle_Advanced_Vehicle_Wheels",
"material": "/Game/Vehicles/OffroadCar/Materials/MI_OffroadCar_Wheel.MI_OffroadCar_Wheel"
},
{
"slot": "MI_Vehicle_Advanced_Vehicle_Body",
"material": "/Game/Vehicles/OffroadCar/Materials/MI_OffroadCar_Main.MI_OffroadCar_Main"
}
]
},
"offroad_physics": {
"path": "/Game/Vehicles/OffroadCar/SKM_Offroad_PhysicsAsset.SKM_Offroad_PhysicsAsset",
"class": "/Script/Engine.PhysicsAsset",
"dirContains": [
"get_constraint_by_bone_names",
"get_constraint_by_name",
"get_constraints"
],
"skeletal_body_setups": "<missing: PhysicsAsset: Failed to find property 'skeletal_body_setups' for attribute 'skeletal_body_setups' on 'PhysicsAsset'>",
"SkeletalBodySetups": "<missing: PhysicsAsset: Property 'SkeletalBodySetups' for attribute 'SkeletalBodySetups' on 'PhysicsAsset' is protected and cannot be read>",
"constraint_setup": "<missing: PhysicsAsset: Failed to find property 'constraint_setup' for attribute 'constraint_setup' on 'PhysicsAsset'>",
"ConstraintSetup": "<missing: PhysicsAsset: Property 'ConstraintSetup' for attribute 'ConstraintSetup' on 'PhysicsAsset' is protected and cannot be read>",
"body_setup_index_map": "<missing: PhysicsAsset: Failed to find property 'body_setup_index_map' for attribute 'body_setup_index_map' on 'PhysicsAsset'>",
"BodySetupIndexMap": "<missing: PhysicsAsset: Failed to find property 'BodySetupIndexMap' for attribute 'BodySetupIndexMap' on 'PhysicsAsset'>"
}
}