Skip to content

Commit

Permalink
added stabbing weapons mod example
Browse files Browse the repository at this point in the history
  • Loading branch information
muzerly committed Jun 30, 2024
1 parent 0914c20 commit 6dc7ebd
Show file tree
Hide file tree
Showing 19 changed files with 1,171 additions and 280 deletions.
488 changes: 244 additions & 244 deletions Assets/ExampleMapMod/SampleScene.unity

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions Assets/ExampleStabbingWeaponMod.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

245 changes: 245 additions & 0 deletions Assets/ExampleStabbingWeaponMod/BroadSword.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1228029421492651768
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7736794218143963456}
- component: {fileID: 7438578577806934615}
m_Layer: 20
m_Name: Tip
m_TagString: stab
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7736794218143963456
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1228029421492651768}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -0.567}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 5644414950515485458}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!136 &7438578577806934615
CapsuleCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1228029421492651768}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.013399601
m_Height: 0.11589241
m_Direction: 2
m_Center: {x: 0, y: 0.0017724037, z: 0.05244255}
--- !u!1 &2575595621349865082
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5644414950515485458}
- component: {fileID: 3123972045123832049}
- component: {fileID: 7822156763993963802}
- component: {fileID: 6972170704305352825}
- component: {fileID: 4367938966856731773}
- component: {fileID: 7612331933842987130}
m_Layer: 20
m_Name: BroadSword
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5644414950515485458
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2575595621349865082}
serializedVersion: 2
m_LocalRotation: {x: 0.5, y: 0.5, z: 0.5, w: 0.5}
m_LocalPosition: {x: -18.127, y: 2, z: 23.71}
m_LocalScale: {x: 2, y: 2, z: 2}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 7736794218143963456}
- {fileID: 522301071776836932}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 90, z: 90}
--- !u!33 &3123972045123832049
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2575595621349865082}
m_Mesh: {fileID: 1127974556879224161, guid: 0c460ad67523f9f4ba87423d26897ee5, type: 3}
--- !u!23 &7822156763993963802
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2575595621349865082}
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: c983733cbe9784749ab6ec38873ffcef, 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!54 &6972170704305352825
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2575595621349865082}
serializedVersion: 4
m_Mass: 2
m_Drag: 0
m_AngularDrag: 0.05
m_CenterOfMass: {x: 0, y: 0, z: 0}
m_InertiaTensor: {x: 1, y: 1, z: 1}
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_ImplicitCom: 1
m_ImplicitTensor: 1
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 3
--- !u!65 &4367938966856731773
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2575595621349865082}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 0.02759397, y: 0.039278984, z: 0.83786976}
m_Center: {x: 0.0019605756, y: 0.0012612343, z: -0.042847574}
--- !u!65 &7612331933842987130
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2575595621349865082}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 0.038538456, y: 0.2258238, z: 0.04027462}
m_Center: {x: 0.0032173395, y: -0.0006811768, z: 0.18528318}
--- !u!1 &4298870406471022519
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 522301071776836932}
m_Layer: 20
m_Name: Base
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &522301071776836932
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4298870406471022519}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0.085}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 5644414950515485458}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
7 changes: 7 additions & 0 deletions Assets/ExampleStabbingWeaponMod/BroadSword.prefab.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions Assets/ExampleStabbingWeaponMod/Readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

// This file was auto-generated by uMod Build Engine 2.0 for 'ExampleStabbingWeaponMod'

#Requirements

The requirements for 'ExampleStabbingWeaponMod' are as follows:

uMod version: 2.9.7 or newer
Unity version: 2022.3.33f1

#Content

The content types fhat can be included for '%ExampleStabbingWeaponMod' are as follows:

Scene mods: Yes
Prefab mods: Yes
Script mods: Yes

The parent folder of this file called 'ExampleStabbingWeaponMod' is known as the 'Mod Folder' and this is where all mod content should be placed in order for it to be exported.
Any content that is not inside this folder will not be exported unless they are a dependancy for another asset, For example, a material.
You can organize your assets into sub folders but bear in mind that the asset will retain its local path when built so when loading assets dynamically you may need to specify the local path instead of the asset name in order to avoid conflicts.

7 changes: 7 additions & 0 deletions Assets/ExampleStabbingWeaponMod/Readme.txt.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/ExampleStabbingWeaponMod/Sword.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Loading

0 comments on commit 6dc7ebd

Please sign in to comment.