Yhekal Posted April 25 Posted April 25 (edited) Hi, Does anyone know how to customize the appearance of armors via mono behaviour files? I must say I am stuck at the moment... I tried to change the main body part/torso of padded armor and swapping it with chainmail main body part/torso. I changed the "MeshName" (to M_HUM_MA05_Body) as well as "m_PathID". But nothing happens... I tested and even with whole "SubMeshSettings" section of below file deleted, the appearance still works... o_O' Why? The only thing I've noticed is that when you change "ModelSuffix" to something else - for instance from "PA01" to "MA05" - it changes the whole appearance of the armor (not only said main body part/torso) Any ideas? What am I doing wrong? Spoiler 0 MonoBehaviour Base 0 PPtr<GameObject> m_GameObject 0 int m_FileID = 0 0 SInt64 m_PathID = 0 1 UInt8 m_Enabled = 1 0 PPtr<MonoScript> m_Script 0 int m_FileID = 0 0 SInt64 m_PathID = -5827726737468822885 1 string m_Name = "a_PA01" 0 FBXModelData ModelData 1 string Model = "Assets/Art/Character/Male/HUM/Body/PA/M_HUM_PA01.fbx" 1 UInt8 ClearOutModel = 0 1 string UnityAssetGuidString = "516551e57e1c88341aecbc61cbd919c1" 1 string OriginalModelPath = "Assets/Art/Character/Male/HUM/Body/PA/" 1 string OriginalModelName = "M_HUM_PA01" 1 string ModelSuffix = "PA01" 1 string ModelBaseFolder = "Assets/Art/Character/" 0 SubMeshSettings SubMeshes 0 Array Array (7 items) 0 int size = 7 [0] 0 SubMeshSettings data 1 string MeshName = "M_HUM_PA01_Belts" 0 PPtr<$Material> MaterialOverride 0 int m_FileID = 1 0 SInt64 m_PathID = 2499094651070918656 0 MaterialState OVSMaterials 0 Array Array (0 items) 0 int size = 0 0 int SubMeshType = 0 0 vector SpecificToSubRaces 0 Array Array (0 items) 0 int size = 0 0 int VFXMeshTag = 0 1 UInt8 Hidden = 0 1 UInt8 IsEmissive = 0 [1] 0 SubMeshSettings data 1 string MeshName = "M_HUM_MA05_Body" 0 PPtr<$Material> MaterialOverride 0 int m_FileID = 1 0 SInt64 m_PathID = -312933973847514511 0 MaterialState OVSMaterials 0 Array Array (0 items) 0 int size = 0 0 int SubMeshType = 0 0 vector SpecificToSubRaces 0 Array Array (0 items) 0 int size = 0 0 int VFXMeshTag = 0 1 UInt8 Hidden = 0 1 UInt8 IsEmissive = 0 [2] 0 SubMeshSettings data 1 string MeshName = "M_HUM_PA01_Pants" 0 PPtr<$Material> MaterialOverride 0 int m_FileID = 1 0 SInt64 m_PathID = -2128724228722567437 0 MaterialState OVSMaterials 0 Array Array (0 items) 0 int size = 0 0 int SubMeshType = 0 0 vector SpecificToSubRaces 0 Array Array (0 items) 0 int size = 0 0 int VFXMeshTag = 0 1 UInt8 Hidden = 0 1 UInt8 IsEmissive = 0 [3] 0 SubMeshSettings data 1 string MeshName = "M_HUM_PA01_Sleeves" 0 PPtr<$Material> MaterialOverride 0 int m_FileID = 1 0 SInt64 m_PathID = -8523245015058995600 0 MaterialState OVSMaterials 0 Array Array (0 items) 0 int size = 0 0 int SubMeshType = 0 0 vector SpecificToSubRaces 0 Array Array (0 items) 0 int size = 0 0 int VFXMeshTag = 0 1 UInt8 Hidden = 0 1 UInt8 IsEmissive = 0 [4] 0 SubMeshSettings data 1 string MeshName = "M_HUM_PA01_Straps" 0 PPtr<$Material> MaterialOverride 0 int m_FileID = 1 0 SInt64 m_PathID = 2499094651070918656 0 MaterialState OVSMaterials 0 Array Array (0 items) 0 int size = 0 0 int SubMeshType = 0 0 vector SpecificToSubRaces 0 Array Array (0 items) 0 int size = 0 0 int VFXMeshTag = 0 1 UInt8 Hidden = 0 1 UInt8 IsEmissive = 0 [5] 0 SubMeshSettings data 1 string MeshName = "M_HUM_PA01_boots" 0 PPtr<$Material> MaterialOverride 0 int m_FileID = 1 0 SInt64 m_PathID = -7172096869361198052 0 MaterialState OVSMaterials 0 Array Array (0 items) 0 int size = 0 0 int SubMeshType = 0 0 vector SpecificToSubRaces 0 Array Array (0 items) 0 int size = 0 0 int VFXMeshTag = 0 1 UInt8 Hidden = 0 1 UInt8 IsEmissive = 0 [6] 0 SubMeshSettings data 1 string MeshName = "M_HUM_PA01_Gloves" 0 PPtr<$Material> MaterialOverride 0 int m_FileID = 0 0 SInt64 m_PathID = 1435059890434776106 0 MaterialState OVSMaterials 0 Array Array (0 items) 0 int size = 0 0 int SubMeshType = 0 0 vector SpecificToSubRaces 0 Array Array (0 items) 0 int size = 0 0 int VFXMeshTag = 0 1 UInt8 Hidden = 0 1 UInt8 IsEmissive = 0 0 FBXModelData FemaleOverrideModelData 1 string Model = "Assets/Art/Character/Female/HUM/Body/PA/F_HUM_PA01.fbx" 1 UInt8 ClearOutModel = 0 1 string UnityAssetGuidString = "04e18d338dd62584ba95453f1cf29fa9" 1 string OriginalModelPath = "Assets/Art/Character/Female/HUM/Body/PA/" 1 string OriginalModelName = "F_HUM_PA01" 1 string ModelSuffix = "PA01" 1 string ModelBaseFolder = "Assets/Art/Character/" 0 SubMeshSettings SubMeshes 0 Array Array (7 items) 0 int size = 7 [0] 0 SubMeshSettings data 1 string MeshName = "F_HUM_PA01_Belts" 0 PPtr<$Material> MaterialOverride 0 int m_FileID = 1 0 SInt64 m_PathID = 2499094651070918656 0 MaterialState OVSMaterials 0 Array Array (0 items) 0 int size = 0 0 int SubMeshType = 0 0 vector SpecificToSubRaces 0 Array Array (0 items) 0 int size = 0 0 int VFXMeshTag = 0 1 UInt8 Hidden = 0 1 UInt8 IsEmissive = 0 [1] 0 SubMeshSettings data 1 string MeshName = "F_HUM_PA01_Body" 0 PPtr<$Material> MaterialOverride 0 int m_FileID = 1 0 SInt64 m_PathID = 1987350283907025281 0 MaterialState OVSMaterials 0 Array Array (0 items) 0 int size = 0 0 int SubMeshType = 0 0 vector SpecificToSubRaces 0 Array Array (0 items) 0 int size = 0 0 int VFXMeshTag = 0 1 UInt8 Hidden = 0 1 UInt8 IsEmissive = 0 [2] 0 SubMeshSettings data 1 string MeshName = "F_HUM_PA01_Boots" 0 PPtr<$Material> MaterialOverride 0 int m_FileID = 1 0 SInt64 m_PathID = -7172096869361198052 0 MaterialState OVSMaterials 0 Array Array (0 items) 0 int size = 0 0 int SubMeshType = 0 0 vector SpecificToSubRaces 0 Array Array (0 items) 0 int size = 0 0 int VFXMeshTag = 0 1 UInt8 Hidden = 0 1 UInt8 IsEmissive = 0 [3] 0 SubMeshSettings data 1 string MeshName = "F_HUM_PA01_Gloves" 0 PPtr<$Material> MaterialOverride 0 int m_FileID = 0 0 SInt64 m_PathID = 1435059890434776106 0 MaterialState OVSMaterials 0 Array Array (0 items) 0 int size = 0 0 int SubMeshType = 0 0 vector SpecificToSubRaces 0 Array Array (0 items) 0 int size = 0 0 int VFXMeshTag = 0 1 UInt8 Hidden = 0 1 UInt8 IsEmissive = 0 [4] 0 SubMeshSettings data 1 string MeshName = "F_HUM_PA01_Pants" 0 PPtr<$Material> MaterialOverride 0 int m_FileID = 1 0 SInt64 m_PathID = -2128724228722567437 0 MaterialState OVSMaterials 0 Array Array (0 items) 0 int size = 0 0 int SubMeshType = 0 0 vector SpecificToSubRaces 0 Array Array (0 items) 0 int size = 0 0 int VFXMeshTag = 0 1 UInt8 Hidden = 0 1 UInt8 IsEmissive = 0 [5] 0 SubMeshSettings data 1 string MeshName = "F_HUM_PA01_Sleeves" 0 PPtr<$Material> MaterialOverride 0 int m_FileID = 1 0 SInt64 m_PathID = -8523245015058995600 0 MaterialState OVSMaterials 0 Array Array (0 items) 0 int size = 0 0 int SubMeshType = 0 0 vector SpecificToSubRaces 0 Array Array (0 items) 0 int size = 0 0 int VFXMeshTag = 0 1 UInt8 Hidden = 0 1 UInt8 IsEmissive = 0 [6] 0 SubMeshSettings data 1 string MeshName = "F_HUM_PA01_Straps" 0 PPtr<$Material> MaterialOverride 0 int m_FileID = 1 0 SInt64 m_PathID = 2499094651070918656 0 MaterialState OVSMaterials 0 Array Array (0 items) 0 int size = 0 0 int SubMeshType = 0 0 vector SpecificToSubRaces 0 Array Array (0 items) 0 int size = 0 0 int VFXMeshTag = 0 1 UInt8 Hidden = 0 1 UInt8 IsEmissive = 0 0 FBXModelData LowPolyModelData 1 string Model = "" 1 UInt8 ClearOutModel = 0 1 string UnityAssetGuidString = "" 1 string OriginalModelPath = "" 1 string OriginalModelName = "" 1 string ModelSuffix = "" 1 string ModelBaseFolder = "" 0 SubMeshSettings SubMeshes 0 Array Array (0 items) 0 int size = 0 0 FBXModelData LowPolyFemaleOverrideModelData 1 string Model = "" 1 UInt8 ClearOutModel = 0 1 string UnityAssetGuidString = "" 1 string OriginalModelPath = "" 1 string OriginalModelName = "" 1 string ModelSuffix = "" 1 string ModelBaseFolder = "" 0 SubMeshSettings SubMeshes 0 Array Array (0 items) 0 int size = 0 0 PPtr<$CharacterModelVisualData> PartialModelVisualData 0 int m_FileID = 0 0 SInt64 m_PathID = 0 1 UInt8 HidesHair = 0 1 UInt8 HidesFacialHair = 0 1 UInt8 PartialHair = 0 1 UInt8 MoveEars = 0 0 float OverrideScale = 0 0 vector HidesSubMeshTypes 0 Array Array (0 items) 0 int size = 0 0 PPtr<$Texture> CharacterCreationThumbnail 0 int m_FileID = 0 0 SInt64 m_PathID = 0 0 VisualEffectModifiersGameDataReference VFXModifiers 1 string GuidString = "00000000-0000-0000-0000-000000000000" Edited April 25 by Yhekal
Yhekal Posted April 25 Author Posted April 25 (edited) I also tried to swap 'a_pa01' file (basic padded armor) within items.unity3d with 'a_waidwen' file details (lax2_characters.unity3d). After armor is equipped the character body is invisible... I changed "m_Name" to "a_PA01", that seems to not be enough. Spoiler { "m_GameObject": { "m_FileID": 0, "m_PathID": 0 }, "m_Enabled": 1, "m_Script": { "m_FileID": 0, "m_PathID": -5827726737468822885 }, "m_Name": "a_PA01", "ModelData": { "Model": "Assets/Art/LAX02/Character/SpecialNPC/Waidwen/LAX02_Waidwen_V01.fbx", "ClearOutModel": 0, "UnityAssetGuidString": "965ba8be5c4e6704c97bc9aa0e1c6a4d", "OriginalModelPath": "Assets/Art/LAX02/Character/SpecialNPC/Waidwen/", "OriginalModelName": "LAX02_Waidwen_V01", "ModelSuffix": "", "ModelBaseFolder": "", "SubMeshes": [ { "MeshName": "ST_w_MA05_BodyB", "MaterialOverride": { "m_FileID": 0, "m_PathID": -4212208712375420872 }, "OVSMaterials": [], "SubMeshType": 0, "SpecificToSubRaces": [], "VFXMeshTag": 0, "Hidden": 0, "IsEmissive": 0 }, { "MeshName": "ST_w_MA05_BodyS", "MaterialOverride": { "m_FileID": 0, "m_PathID": 8044097005641004630 }, "OVSMaterials": [ { "StateName": { "GuidString": "df5f6577-1bbe-4970-9d34-a8fc08a3a882" }, "MaterialOverride": { "m_FileID": 0, "m_PathID": 8044097005641004630 } }, { "StateName": { "GuidString": "081119a7-c461-40b1-a099-acf38ced6dd3" }, "MaterialOverride": { "m_FileID": 0, "m_PathID": 4122934215013449986 } } ], "SubMeshType": 0, "SpecificToSubRaces": [], "VFXMeshTag": 0, "Hidden": 0, "IsEmissive": 0 }, { "MeshName": "ST_w_MA05_Boots", "MaterialOverride": { "m_FileID": 0, "m_PathID": 3813819353919151374 }, "OVSMaterials": [], "SubMeshType": 0, "SpecificToSubRaces": [], "VFXMeshTag": 0, "Hidden": 0, "IsEmissive": 0 }, { "MeshName": "ST_w_MA05_Sleeves", "MaterialOverride": { "m_FileID": 0, "m_PathID": 8845434486887477673 }, "OVSMaterials": [], "SubMeshType": 0, "SpecificToSubRaces": [], "VFXMeshTag": 0, "Hidden": 0, "IsEmissive": 0 }, { "MeshName": "ST_w_PA03_Body", "MaterialOverride": { "m_FileID": 0, "m_PathID": -9025648496632056692 }, "OVSMaterials": [], "SubMeshType": 0, "SpecificToSubRaces": [], "VFXMeshTag": 0, "Hidden": 0, "IsEmissive": 0 }, { "MeshName": "ST_w_PA03_Straps", "MaterialOverride": { "m_FileID": 0, "m_PathID": -7694861838825398493 }, "OVSMaterials": [], "SubMeshType": 0, "SpecificToSubRaces": [], "VFXMeshTag": 0, "Hidden": 0, "IsEmissive": 0 }, { "MeshName": "ST_w_Hair22", "MaterialOverride": { "m_FileID": 0, "m_PathID": 77868594347388818 }, "OVSMaterials": [], "SubMeshType": 0, "SpecificToSubRaces": [], "VFXMeshTag": 0, "Hidden": 0, "IsEmissive": 0 }, { "MeshName": "ST_w_Head02", "MaterialOverride": { "m_FileID": 0, "m_PathID": -6618958643416185060 }, "OVSMaterials": [ { "StateName": { "GuidString": "df5f6577-1bbe-4970-9d34-a8fc08a3a882" }, "MaterialOverride": { "m_FileID": 0, "m_PathID": -6618958643416185060 } }, { "StateName": { "GuidString": "081119a7-c461-40b1-a099-acf38ced6dd3" }, "MaterialOverride": { "m_FileID": 0, "m_PathID": -191777046240576226 } } ], "SubMeshType": 0, "SpecificToSubRaces": [], "VFXMeshTag": 0, "Hidden": 0, "IsEmissive": 0 }, { "MeshName": "ST_w_Head02_Eyes01", "MaterialOverride": { "m_FileID": 0, "m_PathID": 77868594347388818 }, "OVSMaterials": [], "SubMeshType": 0, "SpecificToSubRaces": [], "VFXMeshTag": 0, "Hidden": 0, "IsEmissive": 0 }, { "MeshName": "ST_w_Head02_Lashes01", "MaterialOverride": { "m_FileID": 0, "m_PathID": 77868594347388818 }, "OVSMaterials": [], "SubMeshType": 0, "SpecificToSubRaces": [], "VFXMeshTag": 0, "Hidden": 0, "IsEmissive": 0 } ] }, "FemaleOverrideModelData": { "Model": "", "ClearOutModel": 0, "UnityAssetGuidString": "", "OriginalModelPath": "", "OriginalModelName": "", "ModelSuffix": "", "ModelBaseFolder": "", "SubMeshes": [] }, "LowPolyModelData": { "Model": "", "ClearOutModel": 0, "UnityAssetGuidString": "", "OriginalModelPath": "", "OriginalModelName": "", "ModelSuffix": "", "ModelBaseFolder": "", "SubMeshes": [] }, "LowPolyFemaleOverrideModelData": { "Model": "", "ClearOutModel": 0, "UnityAssetGuidString": "", "OriginalModelPath": "", "OriginalModelName": "", "ModelSuffix": "", "ModelBaseFolder": "", "SubMeshes": [] }, "PartialModelVisualData": { "m_FileID": 0, "m_PathID": 0 }, "HidesHair": 0, "HidesFacialHair": 0, "PartialHair": 0, "MoveEars": 0, "OverrideScale": 0.0, "HidesSubMeshTypes": [], "CharacterCreationThumbnail": { "m_FileID": 0, "m_PathID": 0 }, "VFXModifiers": { "GuidString": "" } } Edited April 25 by Yhekal
Kvellen Posted May 2 Posted May 2 Hmm, you could try swapping the models and materials referenced in that in characters.unity3d around see if that changes anything? Maybe that could work? I dunno though, despite multiple attempts I've never managed to crack editing the contents of assetbundles. Most recently I was trying to swap around some conversation portraits for npcs that use the same portrait. No matter what edits I make to the file paths, nothing changes. I try to understand, but nothing ever changes...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now