Finished the NPC Creator tool

Finished the NPC Creator tool
This commit is contained in:
Schaken-Mods 2023-04-27 18:37:28 -05:00
parent c0b5164915
commit 4ff395c862
1134 changed files with 40767 additions and 32556 deletions

View File

@ -1,6 +1,6 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2098299585065085629
--- !u!1 &3019634392682820448
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -8,95 +8,46 @@ GameObject:
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 55958470065361073}
- component: {fileID: 8241490415873575338}
- component: {fileID: 5102735767760353766}
- component: {fileID: 2473547265090083704}
- component: {fileID: 1458690332090012232}
m_Layer: 0
m_Name: Collision
m_Name: DE_Boots_46462.Shape_LOD3
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &55958470065361073
--- !u!4 &5102735767760353766
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2098299585065085629}
m_GameObject: {fileID: 3019634392682820448}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6839924967371171280}
m_RootOrder: 0
m_Father: {fileID: 4619712442145843634}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &8241490415873575338
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2098299585065085629}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 0.32010573, y: 0.39016253, z: 0.3507359}
m_Center: {x: -0.029948503, y: 0.1593517, z: 0.009779617}
--- !u!1 &4911583679360662994
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6839924967371171280}
- component: {fileID: 6678291887622383140}
- component: {fileID: 2975736454073285351}
- component: {fileID: 2292356280751636481}
- component: {fileID: 7200843160676910537}
- component: {fileID: 7787446641839182525}
m_Layer: 0
m_Name: DE_Boots_46462.Shape
m_TagString: RPG Creation Kit/ItemInWorld
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6839924967371171280
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4911583679360662994}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 55958470065361073}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &6678291887622383140
--- !u!33 &2473547265090083704
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4911583679360662994}
m_Mesh: {fileID: -1283925513645716580, guid: 39d9e26a9efd0cf438499820754def72, type: 3}
--- !u!23 &2975736454073285351
m_GameObject: {fileID: 3019634392682820448}
m_Mesh: {fileID: 4300000, guid: 301f7be6f23b8804fa3e13ec0789421e, type: 2}
--- !u!23 &1458690332090012232
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4911583679360662994}
m_GameObject: {fileID: 3019634392682820448}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
@ -147,6 +98,238 @@ MeshRenderer:
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &3408755501131945207
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8296117083809227350}
- component: {fileID: 3369985500963568054}
- component: {fileID: 3867887983295071825}
m_Layer: 0
m_Name: DE_Boots_46462.Shape_LOD1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8296117083809227350
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3408755501131945207}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4619712442145843634}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &3369985500963568054
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3408755501131945207}
m_Mesh: {fileID: 4300000, guid: 7495015d516d52b4b9058aad860b2f59, type: 2}
--- !u!23 &3867887983295071825
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3408755501131945207}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 3a82ef893cbfb2b4bb66126444745629, type: 2}
- {fileID: 2100000, guid: e0d00838f77a66642a0d63915d15a7b8, type: 2}
- {fileID: 2100000, guid: 7b64a7eb36f1d3542ba7c7c6dbda32c3, type: 2}
- {fileID: 2100000, guid: 8310028f6b7ce5346b67248550128bb7, type: 2}
- {fileID: 2100000, guid: 1457e8a76070353418929e001c3ca7d7, type: 2}
- {fileID: 2100000, guid: b39e95225596e4a40b5250e21a004a2e, type: 2}
- {fileID: 2100000, guid: a97e0e7c5b388054885b0aa24d9a2c04, type: 2}
- {fileID: 2100000, guid: 91a9238b23e508c48b1df3d5a7b45e4e, type: 2}
- {fileID: 2100000, guid: 0a28f331d4bd4e2449b687c7ffb3d76c, type: 2}
- {fileID: 2100000, guid: 8b7383a4a45bc224a99124b64852b5b3, type: 2}
- {fileID: 2100000, guid: 0752e75d377c4ba48baafd15833c4c24, type: 2}
- {fileID: 2100000, guid: c897215a3be417a4aa6016e5314e0199, type: 2}
- {fileID: 2100000, guid: eff1d1167c087bd47970de640a7e9f7d, type: 2}
- {fileID: 2100000, guid: f4d05756bf59cd842a5bbeba8a625c5a, type: 2}
- {fileID: 2100000, guid: 4b6079caa9e8dc34eb66ba0b50f46e63, type: 2}
- {fileID: 2100000, guid: 54725f58af2bc714eb1e3cd23f859852, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &3548649532645204394
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1703019543033919339}
- component: {fileID: 1715565650950585276}
- component: {fileID: 4060033631958558108}
m_Layer: 0
m_Name: DE_Boots_46462.Shape_LOD2
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1703019543033919339
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3548649532645204394}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4619712442145843634}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &1715565650950585276
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3548649532645204394}
m_Mesh: {fileID: 4300000, guid: 9b50d3acb68b5bb40bf34d6c07494f24, type: 2}
--- !u!23 &4060033631958558108
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3548649532645204394}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 3a82ef893cbfb2b4bb66126444745629, type: 2}
- {fileID: 2100000, guid: e0d00838f77a66642a0d63915d15a7b8, type: 2}
- {fileID: 2100000, guid: 7b64a7eb36f1d3542ba7c7c6dbda32c3, type: 2}
- {fileID: 2100000, guid: 8310028f6b7ce5346b67248550128bb7, type: 2}
- {fileID: 2100000, guid: 1457e8a76070353418929e001c3ca7d7, type: 2}
- {fileID: 2100000, guid: b39e95225596e4a40b5250e21a004a2e, type: 2}
- {fileID: 2100000, guid: a97e0e7c5b388054885b0aa24d9a2c04, type: 2}
- {fileID: 2100000, guid: 91a9238b23e508c48b1df3d5a7b45e4e, type: 2}
- {fileID: 2100000, guid: 0a28f331d4bd4e2449b687c7ffb3d76c, type: 2}
- {fileID: 2100000, guid: 8b7383a4a45bc224a99124b64852b5b3, type: 2}
- {fileID: 2100000, guid: 0752e75d377c4ba48baafd15833c4c24, type: 2}
- {fileID: 2100000, guid: c897215a3be417a4aa6016e5314e0199, type: 2}
- {fileID: 2100000, guid: eff1d1167c087bd47970de640a7e9f7d, type: 2}
- {fileID: 2100000, guid: f4d05756bf59cd842a5bbeba8a625c5a, type: 2}
- {fileID: 2100000, guid: 4b6079caa9e8dc34eb66ba0b50f46e63, type: 2}
- {fileID: 2100000, guid: 54725f58af2bc714eb1e3cd23f859852, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &4911583679360662994
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6839924967371171280}
- component: {fileID: 2292356280751636481}
- component: {fileID: 7787446641839182525}
- component: {fileID: 7345553567283332698}
- component: {fileID: 8590092800091828348}
m_Layer: 0
m_Name: DE_Boots_46462.Shape
m_TagString: RPG Creation Kit/ItemInWorld
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6839924967371171280
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4911583679360662994}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 4619712442145843634}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!54 &2292356280751636481
Rigidbody:
m_ObjectHideFlags: 0
@ -163,19 +346,6 @@ Rigidbody:
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!65 &7200843160676910537
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4911583679360662994}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 0.32010573, y: 0.39016253, z: 0.3507359}
m_Center: {x: -0.029948503, y: 0.1593517, z: 0.009779617}
--- !u!114 &7787446641839182525
MonoBehaviour:
m_ObjectHideFlags: 0
@ -191,6 +361,8 @@ MonoBehaviour:
GUIDStr:
rb: {fileID: 2292356280751636481}
Item: {fileID: 11400000, guid: bdf034530ae4cdb439be09533dda94d0, type: 2}
Metadata:
IsOwnedByNPC: 0
Amount: 1
canBeDragged: 1
intentionalDestroy: 0
@ -198,6 +370,8 @@ MonoBehaviour:
isCreatedItem: 0
createdData:
itemID:
Metadata:
IsOwnedByNPC: 0
WorldspaceID:
amount: 0
position: {x: 0, y: 0, z: 0}
@ -209,3 +383,195 @@ MonoBehaviour:
consequences: []
hasBeenTaken: 0
worldspaceID:
--- !u!64 &7345553567283332698
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4911583679360662994}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 4
m_Convex: 1
m_CookingOptions: 30
m_Mesh: {fileID: 4300000, guid: 9b50d3acb68b5bb40bf34d6c07494f24, type: 2}
--- !u!65 &8590092800091828348
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4911583679360662994}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 0.32010573, y: 0.39016253, z: 0.3507359}
m_Center: {x: -0.029948503, y: 0.1593517, z: 0.009779617}
--- !u!1 &7265099537931082041
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4619712442145843634}
- component: {fileID: 1192703775186335906}
m_Layer: 0
m_Name: DE_Boots_46462.Shape
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4619712442145843634
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7265099537931082041}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 5678920415496560596}
- {fileID: 8296117083809227350}
- {fileID: 1703019543033919339}
- {fileID: 5102735767760353766}
m_Father: {fileID: 6839924967371171280}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!205 &1192703775186335906
LODGroup:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7265099537931082041}
serializedVersion: 2
m_LocalReferencePoint: {x: -0.029525943, y: 0.1593517, z: 0.00830213}
m_Size: 0.39016253
m_FadeMode: 1
m_AnimateCrossFading: 1
m_LastLODIsBillboard: 0
m_LODs:
- screenRelativeHeight: 0.391
fadeTransitionWidth: 0
renderers:
- renderer: {fileID: 4722643684487190770}
- screenRelativeHeight: 0.152881
fadeTransitionWidth: 0
renderers:
- renderer: {fileID: 3867887983295071825}
- screenRelativeHeight: 0.059776474
fadeTransitionWidth: 0
renderers:
- renderer: {fileID: 4060033631958558108}
- screenRelativeHeight: 0.00326
fadeTransitionWidth: 0
renderers:
- renderer: {fileID: 1458690332090012232}
m_Enabled: 1
--- !u!1 &7804948425976769563
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5678920415496560596}
- component: {fileID: 8116105085204295337}
- component: {fileID: 4722643684487190770}
m_Layer: 0
m_Name: DE_Boots_46462.Shape_LOD0
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5678920415496560596
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7804948425976769563}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4619712442145843634}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &8116105085204295337
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7804948425976769563}
m_Mesh: {fileID: -1283925513645716580, guid: 39d9e26a9efd0cf438499820754def72, type: 3}
--- !u!23 &4722643684487190770
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7804948425976769563}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 3a82ef893cbfb2b4bb66126444745629, type: 2}
- {fileID: 2100000, guid: e0d00838f77a66642a0d63915d15a7b8, type: 2}
- {fileID: 2100000, guid: 7b64a7eb36f1d3542ba7c7c6dbda32c3, type: 2}
- {fileID: 2100000, guid: 8310028f6b7ce5346b67248550128bb7, type: 2}
- {fileID: 2100000, guid: 1457e8a76070353418929e001c3ca7d7, type: 2}
- {fileID: 2100000, guid: b39e95225596e4a40b5250e21a004a2e, type: 2}
- {fileID: 2100000, guid: a97e0e7c5b388054885b0aa24d9a2c04, type: 2}
- {fileID: 2100000, guid: 91a9238b23e508c48b1df3d5a7b45e4e, type: 2}
- {fileID: 2100000, guid: 0a28f331d4bd4e2449b687c7ffb3d76c, type: 2}
- {fileID: 2100000, guid: 8b7383a4a45bc224a99124b64852b5b3, type: 2}
- {fileID: 2100000, guid: 0752e75d377c4ba48baafd15833c4c24, type: 2}
- {fileID: 2100000, guid: c897215a3be417a4aa6016e5314e0199, type: 2}
- {fileID: 2100000, guid: eff1d1167c087bd47970de640a7e9f7d, type: 2}
- {fileID: 2100000, guid: f4d05756bf59cd842a5bbeba8a625c5a, type: 2}
- {fileID: 2100000, guid: 4b6079caa9e8dc34eb66ba0b50f46e63, type: 2}
- {fileID: 2100000, guid: 54725f58af2bc714eb1e3cd23f859852, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7495015d516d52b4b9058aad860b2f59
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4300000
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9b50d3acb68b5bb40bf34d6c07494f24
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4300000
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 301f7be6f23b8804fa3e13ec0789421e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4300000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -165,7 +165,7 @@ Material:
- _ZWrite: 1
- _ZWriteControl: 0
m_Colors:
- _Diffuse: {r: 1, g: 0, b: 0, a: 1}
- _Diffuse: {r: 1, g: 1, b: 1, a: 1}
- _Emission: {r: 0, g: 0, b: 0, a: 1}
- _Offset: {r: 0, g: 0, b: 0, a: 0}
- _SpecularColor: {r: 0.23137255, g: 0.23137255, b: 0.23137255, a: 1}

File diff suppressed because it is too large Load Diff

View File

@ -72,6 +72,12 @@ namespace RPGCreationKit.AI
Color SkinColor = Color.white;
Color LipsColor = Color.white;
bool HairColorSet = false;
bool SkinColorSet = false;
bool LipsColorSet = false;
bool EditedPrefab = false;
public List<Material> OrigHair;
public List<Material> OrigSkin;
public List<Material> OrigLips;
@ -374,7 +380,8 @@ namespace RPGCreationKit.AI
if (GUILayout.Button("Import Preset", GUILayout.Width(125), GUILayout.Height(20)))
{
// Open file selector
string path = EditorUtility.OpenFilePanel("Select a preset", "", "ini");
ImportPreset(path);
}
EditorGUILayout.EndHorizontal();
@ -422,10 +429,10 @@ namespace RPGCreationKit.AI
EditorGUILayout.PrefixLabel("Is Male?");
isCreatingMale = EditorGUILayout.Toggle(isCreatingMale);
EditorGUILayout.EndHorizontal();
if(EditorGUI.EndChangeCheck())
GenerateNewGFX();
GenerateNewGFX(isCreatingMale);
EditorGUILayout.BeginHorizontal();
EditorGUILayout.PrefixLabel("Is Essential?");
RckAIPrefabComponent.isEssential = EditorGUILayout.Toggle(RckAIPrefabComponent.isEssential);
@ -695,6 +702,7 @@ namespace RPGCreationKit.AI
void SelectHairType(object hairSelection)
{
EditedPrefab = true;
HairSelection hSel = (HairSelection)hairSelection;
hSel.isMale = isCreatingMale;
@ -1155,6 +1163,12 @@ namespace RPGCreationKit.AI
BD.SkinColor = SkinColor;
BD.HairColor = HairColor;
if (EditedPrefab == false) {
OnChangeHairColor(HairColor); // this is a cheap fix for when we change hairs
OnChangeSkinColor(SkinColor);
OnChangeLipsColor(LipsColor);
}
Debug.Log("NewGenerates = "+NewGenerated);
if (NewGenerated == false) {
@ -1248,7 +1262,7 @@ namespace RPGCreationKit.AI
this.Close();
}
/*
/*
if (GUILayout.Button("test Orig names", ButtonStyle)) {
for (int i = 0; i < OrigHair.Count; i++)
Debug.Log(OrigHair[i].name);
@ -1424,6 +1438,7 @@ namespace RPGCreationKit.AI
private void OnSelectedRckAIChanges()
{
EditedPrefab = false;
DestroyImmediate(windowEditor);
if (RckAIPrefab != null)
@ -1474,7 +1489,7 @@ namespace RPGCreationKit.AI
OnChangeLipsColor(LipsColor);
}
private void GenerateNewGFX()
private void GenerateNewGFX(bool TF)
{
NewGenerated = true;
@ -1497,10 +1512,13 @@ namespace RPGCreationKit.AI
// Instanitate a new GFX from the selected race
if(RckAIPrefabComponent.race != null)
{
GameObject newGFX = (GameObject)Instantiate(isCreatingMale ?
RckAIPrefabComponent.race.maleModel.gameObject :
RckAIPrefabComponent.race.femaleModel.gameObject,
RckAIPrefab.transform);
GameObject newGFX = null;
if (TF) {
newGFX = (GameObject)Instantiate(RckAIPrefabComponent.race.maleModel.gameObject, RckAIPrefab.transform);
} else if (!TF) {
newGFX = (GameObject)Instantiate(RckAIPrefabComponent.race.femaleModel.gameObject, RckAIPrefab.transform);
}
newGFX.name = "GFX";
@ -1624,7 +1642,11 @@ namespace RPGCreationKit.AI
}
private void OnChangeHairColor(Color co) {
OrigHair.Clear(); // Lets save originals first
if (HairColorSet == false) {
OrigHair.Clear(); // Lets save originals first
} else {
HairColorSet = true;
}
GameObject OrigGFX = RckAIAsset.transform.Find("GFX").gameObject;
SkinnedMeshRenderer OrigMHair = (OrigGFX).GetComponent<BodyData>().hair;
for (int i = 0; i < OrigMHair.sharedMaterials.Length; i++)
@ -1636,7 +1658,11 @@ namespace RPGCreationKit.AI
}
private void OnChangeLipsColor(Color co) {
OrigLips.Clear(); // Lets save originals first
if (LipsColorSet == false) {
OrigLips.Clear(); // Lets save originals first
} else {
LipsColorSet = true;
}
GameObject OrigGFX = RckAIAsset.transform.Find("GFX").gameObject;
SkinnedMeshRenderer OrigMLips = (OrigGFX).GetComponent<BodyData>().Lips;
for (int i = 0; i < OrigMLips.sharedMaterials.Length; i++)
@ -1648,7 +1674,11 @@ namespace RPGCreationKit.AI
}
private void OnChangeSkinColor(Color co) {
OrigSkin.Clear(); // Lets save originals first
if (SkinColorSet == false) {
OrigSkin.Clear(); // Lets save originals first
} else {
LipsColorSet = true;
}
GameObject OrigGFX = RckAIAsset.transform.Find("GFX").gameObject;
BodyData MBD = (OrigGFX).GetComponent<BodyData>();
@ -1744,5 +1774,149 @@ namespace RPGCreationKit.AI
BD.feet.materials = TempMe;
}
private void ImportPreset(string path) {
EditedPrefab = true;
Debug.Log(path);
using (StreamReader sr = new StreamReader(path)) {
string FullTXT = sr.ReadToEnd();
Debug.Log(FullTXT);
string TempString = "RaceName=";
string TempRace = FullTXT.Split(TempString)[1].Split(";")[0];
TempString = "IsMale=";
string TempSex = FullTXT.Split(TempString)[1].Split(";")[0];
TempString = "HairID=";
string TempHair = FullTXT.Split(TempString)[1].Split(";")[0];
TempString = "EyesID=";
string TempEyes = FullTXT.Split(TempString)[1].Split(";")[0];
TempString = "SkinColor=";
string TempSkinColor = FullTXT.Split(TempString)[1].Split(";")[0];
TempString = "HairColor=";
string TempHairColor = FullTXT.Split(TempString)[1].Split(";")[0];
TempString = "LipsColor=";
string TempLipsColor = FullTXT.Split(TempString)[1].Split(";")[0];
TempString = "[Blendshapes]";
string Blendshapes = FullTXT.Split(TempString)[1].Trim ();
// Find Race - RckAIPrefabComponent.race
Race[] objs = Resources.FindObjectsOfTypeAll<Race>() as Race[];
Race FoundRace = null;
bool Found = false;
for (int i = 0; ((i < objs.Length) && (Found == false)); i++){
if (objs[i].raceName == TempRace) {
Debug.Log("Race Selected: "+objs[i].raceName);
Found = true;
RckAIPrefabComponent.race = objs[i];
FoundRace = objs[i];
}
}
// Find Sex - bool isCreatingMale
if (TempSex == "False") {
isCreatingMale = false;
} else {
isCreatingMale = true;
}
GenerateNewGFX(isCreatingMale);
isCreatingMale = RckAIGfx.GetComponent<BodyData>().isMale;
// Find Hair = TempHair
Hair[] HairObjs = Resources.FindObjectsOfTypeAll<Hair>() as Hair[];
Found = false;
for (int i = 0; ((i < HairObjs.Length) && (Found == false)); i++){
if (HairObjs[i].ID == TempHair) {
Debug.Log("Hair Selected: "+HairObjs[i].hairName);
Found = true;
SelectHairType(HairObjs[i]);
}
}
// set hair index
if (isCreatingMale) {
for (int i = 0; i < FoundRace.maleHairTypes.Count; i++) {
if (FoundRace.maleHairTypes[i].ID == TempHair)
RckAIGfx.GetComponent<BodyData>().hairIndex = i;
}
} else {
for (int i = 0; i < FoundRace.femaleHairTypes.Count; i++) {
if (FoundRace.femaleHairTypes[i].ID == TempHair)
RckAIGfx.GetComponent<BodyData>().hairIndex = i;
}
}
// Find eyes = TempEyes
Eye[] EyesObjs = Resources.FindObjectsOfTypeAll<Eye>() as Eye[];
Found = false;
for (int i = 0; ((i < EyesObjs.Length) && (Found == false)); i++){
Debug.Log("Eyes found: "+EyesObjs[i].ID);
if (EyesObjs[i].ID == TempEyes) {
Debug.Log("Eyes Selected: "+EyesObjs[i].eyesName);
Found = true;
SelectEyeType(EyesObjs[i]);
}
}
// set eye index
for (int i = 0; i < FoundRace.eyeTypes.Count; i++) {
if (FoundRace.eyeTypes[i].ID == TempEyes)
RckAIGfx.GetComponent<BodyData>().eyeIndex = i;
}
//Find Colors
SkinColor = GetColor(TempSkinColor);
HairColor = GetColor(TempHairColor);
LipsColor = GetColor(TempLipsColor);
OnChangeHairColor(HairColor);
OnChangeSkinColor(SkinColor);
OnChangeLipsColor(LipsColor);
//Set Blendshapes
BodyData BD = RckAIGfx.GetComponent<BodyData>();
SkinnedMeshRenderer Face = BD.head;
string[] Content = Blendshapes.Split("=");
for (int i = 1; ((i < Content.Length) && (i < Face.sharedMesh.blendShapeCount)); i++) {
TempString = Content[i].Split(";")[0].Trim();
Face.SetBlendShapeWeight(i, int.Parse(TempString));
}
Face.GetComponent<HeadBlendshapesManager>().AdjustChildBlendshapes();
}
}
private void SelectHairType(Hair hairSelection) {
BodyData bodyData = RckAIGfx.GetComponent<BodyData>();
SkinnedMeshRenderer selectedHead = null;
selectedHead = bodyData.head;
HeadBlendshapesManager HBM = selectedHead.GetComponent<HeadBlendshapesManager>();
GameObject TheHair = hairSelection.mesh;
if(bodyData.hair != null)
DestroyImmediate(bodyData.hair.gameObject);
//bodyData.hairIndex = hSel.index;
bodyData.hair = ((GameObject)Instantiate(TheHair, bodyData.head.transform)).GetComponent<SkinnedMeshRenderer>();
HBM.HairMesh = bodyData.hair;
// Attach
bodyData.hair.transform.parent = bodyData.head.transform;
bodyData.hair.rootBone = bodyData.head.rootBone;
bodyData.hair.bones = bodyData.head.bones;
}
private void SelectEyeType(Eye i) {
BodyData bodyData = RckAIGfx.GetComponent<BodyData>();
bodyData.eyes.sharedMaterial = i.eyes.sharedMaterial;
this.Repaint();
windowEditor.Repaint();
//windowEditor.ReloadPreviewInstances();
windowEditor.Repaint();
this.Repaint();
}
private Color GetColor(string A) {
string[] rgba = A.Substring(5, A.Length - 6).Split(", ");
return new Color(float.Parse(rgba[0]), float.Parse(rgba[1]), float.Parse(rgba[2]), float.Parse(rgba[3]));
}
}
}

View File

@ -17,6 +17,5 @@ namespace RPGCreationKit
public bool canBeFemale;
public GameObject mesh;
// public Material[] materials;
}
}

View File

@ -79,9 +79,6 @@ namespace RPGCreationKit.SaveSystem
// Environment
if (EnvironmentManager == null) {
EnvironmentManager = GameObject.Find("EnvironmentManager");
Debug.Log("EnvironmentManager property has been filled");
} else {
Debug.Log("EnvironmentManager = -"+EnvironmentManager+"-");
}
SunLightManager EnviroMan = EnvironmentManager.GetComponent<SunLightManager>();
saveFile.Environment.TimeOfDay = EnviroMan.TimeOfDay;

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More