Skip to content

Commit 6dc7ebd

Browse files
committed
added stabbing weapons mod example
1 parent 0914c20 commit 6dc7ebd

19 files changed

+1171
-280
lines changed

Assets/ExampleMapMod/SampleScene.unity

Lines changed: 244 additions & 244 deletions
Large diffs are not rendered by default.

Assets/ExampleStabbingWeaponMod.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 245 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,245 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!1 &1228029421492651768
4+
GameObject:
5+
m_ObjectHideFlags: 0
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
serializedVersion: 6
10+
m_Component:
11+
- component: {fileID: 7736794218143963456}
12+
- component: {fileID: 7438578577806934615}
13+
m_Layer: 20
14+
m_Name: Tip
15+
m_TagString: stab
16+
m_Icon: {fileID: 0}
17+
m_NavMeshLayer: 0
18+
m_StaticEditorFlags: 0
19+
m_IsActive: 1
20+
--- !u!4 &7736794218143963456
21+
Transform:
22+
m_ObjectHideFlags: 0
23+
m_CorrespondingSourceObject: {fileID: 0}
24+
m_PrefabInstance: {fileID: 0}
25+
m_PrefabAsset: {fileID: 0}
26+
m_GameObject: {fileID: 1228029421492651768}
27+
serializedVersion: 2
28+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
29+
m_LocalPosition: {x: 0, y: 0, z: -0.567}
30+
m_LocalScale: {x: 1, y: 1, z: 1}
31+
m_ConstrainProportionsScale: 0
32+
m_Children: []
33+
m_Father: {fileID: 5644414950515485458}
34+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
35+
--- !u!136 &7438578577806934615
36+
CapsuleCollider:
37+
m_ObjectHideFlags: 0
38+
m_CorrespondingSourceObject: {fileID: 0}
39+
m_PrefabInstance: {fileID: 0}
40+
m_PrefabAsset: {fileID: 0}
41+
m_GameObject: {fileID: 1228029421492651768}
42+
m_Material: {fileID: 0}
43+
m_IncludeLayers:
44+
serializedVersion: 2
45+
m_Bits: 0
46+
m_ExcludeLayers:
47+
serializedVersion: 2
48+
m_Bits: 0
49+
m_LayerOverridePriority: 0
50+
m_IsTrigger: 0
51+
m_ProvidesContacts: 0
52+
m_Enabled: 1
53+
serializedVersion: 2
54+
m_Radius: 0.013399601
55+
m_Height: 0.11589241
56+
m_Direction: 2
57+
m_Center: {x: 0, y: 0.0017724037, z: 0.05244255}
58+
--- !u!1 &2575595621349865082
59+
GameObject:
60+
m_ObjectHideFlags: 0
61+
m_CorrespondingSourceObject: {fileID: 0}
62+
m_PrefabInstance: {fileID: 0}
63+
m_PrefabAsset: {fileID: 0}
64+
serializedVersion: 6
65+
m_Component:
66+
- component: {fileID: 5644414950515485458}
67+
- component: {fileID: 3123972045123832049}
68+
- component: {fileID: 7822156763993963802}
69+
- component: {fileID: 6972170704305352825}
70+
- component: {fileID: 4367938966856731773}
71+
- component: {fileID: 7612331933842987130}
72+
m_Layer: 20
73+
m_Name: BroadSword
74+
m_TagString: Untagged
75+
m_Icon: {fileID: 0}
76+
m_NavMeshLayer: 0
77+
m_StaticEditorFlags: 0
78+
m_IsActive: 1
79+
--- !u!4 &5644414950515485458
80+
Transform:
81+
m_ObjectHideFlags: 0
82+
m_CorrespondingSourceObject: {fileID: 0}
83+
m_PrefabInstance: {fileID: 0}
84+
m_PrefabAsset: {fileID: 0}
85+
m_GameObject: {fileID: 2575595621349865082}
86+
serializedVersion: 2
87+
m_LocalRotation: {x: 0.5, y: 0.5, z: 0.5, w: 0.5}
88+
m_LocalPosition: {x: -18.127, y: 2, z: 23.71}
89+
m_LocalScale: {x: 2, y: 2, z: 2}
90+
m_ConstrainProportionsScale: 0
91+
m_Children:
92+
- {fileID: 7736794218143963456}
93+
- {fileID: 522301071776836932}
94+
m_Father: {fileID: 0}
95+
m_LocalEulerAnglesHint: {x: 0, y: 90, z: 90}
96+
--- !u!33 &3123972045123832049
97+
MeshFilter:
98+
m_ObjectHideFlags: 0
99+
m_CorrespondingSourceObject: {fileID: 0}
100+
m_PrefabInstance: {fileID: 0}
101+
m_PrefabAsset: {fileID: 0}
102+
m_GameObject: {fileID: 2575595621349865082}
103+
m_Mesh: {fileID: 1127974556879224161, guid: 0c460ad67523f9f4ba87423d26897ee5, type: 3}
104+
--- !u!23 &7822156763993963802
105+
MeshRenderer:
106+
m_ObjectHideFlags: 0
107+
m_CorrespondingSourceObject: {fileID: 0}
108+
m_PrefabInstance: {fileID: 0}
109+
m_PrefabAsset: {fileID: 0}
110+
m_GameObject: {fileID: 2575595621349865082}
111+
m_Enabled: 1
112+
m_CastShadows: 1
113+
m_ReceiveShadows: 1
114+
m_DynamicOccludee: 1
115+
m_StaticShadowCaster: 0
116+
m_MotionVectors: 1
117+
m_LightProbeUsage: 1
118+
m_ReflectionProbeUsage: 1
119+
m_RayTracingMode: 2
120+
m_RayTraceProcedural: 0
121+
m_RenderingLayerMask: 1
122+
m_RendererPriority: 0
123+
m_Materials:
124+
- {fileID: 2100000, guid: c983733cbe9784749ab6ec38873ffcef, type: 2}
125+
m_StaticBatchInfo:
126+
firstSubMesh: 0
127+
subMeshCount: 0
128+
m_StaticBatchRoot: {fileID: 0}
129+
m_ProbeAnchor: {fileID: 0}
130+
m_LightProbeVolumeOverride: {fileID: 0}
131+
m_ScaleInLightmap: 1
132+
m_ReceiveGI: 1
133+
m_PreserveUVs: 0
134+
m_IgnoreNormalsForChartDetection: 0
135+
m_ImportantGI: 0
136+
m_StitchLightmapSeams: 1
137+
m_SelectedEditorRenderState: 3
138+
m_MinimumChartSize: 4
139+
m_AutoUVMaxDistance: 0.5
140+
m_AutoUVMaxAngle: 89
141+
m_LightmapParameters: {fileID: 0}
142+
m_SortingLayerID: 0
143+
m_SortingLayer: 0
144+
m_SortingOrder: 0
145+
m_AdditionalVertexStreams: {fileID: 0}
146+
--- !u!54 &6972170704305352825
147+
Rigidbody:
148+
m_ObjectHideFlags: 0
149+
m_CorrespondingSourceObject: {fileID: 0}
150+
m_PrefabInstance: {fileID: 0}
151+
m_PrefabAsset: {fileID: 0}
152+
m_GameObject: {fileID: 2575595621349865082}
153+
serializedVersion: 4
154+
m_Mass: 2
155+
m_Drag: 0
156+
m_AngularDrag: 0.05
157+
m_CenterOfMass: {x: 0, y: 0, z: 0}
158+
m_InertiaTensor: {x: 1, y: 1, z: 1}
159+
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
160+
m_IncludeLayers:
161+
serializedVersion: 2
162+
m_Bits: 0
163+
m_ExcludeLayers:
164+
serializedVersion: 2
165+
m_Bits: 0
166+
m_ImplicitCom: 1
167+
m_ImplicitTensor: 1
168+
m_UseGravity: 1
169+
m_IsKinematic: 0
170+
m_Interpolate: 0
171+
m_Constraints: 0
172+
m_CollisionDetection: 3
173+
--- !u!65 &4367938966856731773
174+
BoxCollider:
175+
m_ObjectHideFlags: 0
176+
m_CorrespondingSourceObject: {fileID: 0}
177+
m_PrefabInstance: {fileID: 0}
178+
m_PrefabAsset: {fileID: 0}
179+
m_GameObject: {fileID: 2575595621349865082}
180+
m_Material: {fileID: 0}
181+
m_IncludeLayers:
182+
serializedVersion: 2
183+
m_Bits: 0
184+
m_ExcludeLayers:
185+
serializedVersion: 2
186+
m_Bits: 0
187+
m_LayerOverridePriority: 0
188+
m_IsTrigger: 0
189+
m_ProvidesContacts: 0
190+
m_Enabled: 1
191+
serializedVersion: 3
192+
m_Size: {x: 0.02759397, y: 0.039278984, z: 0.83786976}
193+
m_Center: {x: 0.0019605756, y: 0.0012612343, z: -0.042847574}
194+
--- !u!65 &7612331933842987130
195+
BoxCollider:
196+
m_ObjectHideFlags: 0
197+
m_CorrespondingSourceObject: {fileID: 0}
198+
m_PrefabInstance: {fileID: 0}
199+
m_PrefabAsset: {fileID: 0}
200+
m_GameObject: {fileID: 2575595621349865082}
201+
m_Material: {fileID: 0}
202+
m_IncludeLayers:
203+
serializedVersion: 2
204+
m_Bits: 0
205+
m_ExcludeLayers:
206+
serializedVersion: 2
207+
m_Bits: 0
208+
m_LayerOverridePriority: 0
209+
m_IsTrigger: 0
210+
m_ProvidesContacts: 0
211+
m_Enabled: 1
212+
serializedVersion: 3
213+
m_Size: {x: 0.038538456, y: 0.2258238, z: 0.04027462}
214+
m_Center: {x: 0.0032173395, y: -0.0006811768, z: 0.18528318}
215+
--- !u!1 &4298870406471022519
216+
GameObject:
217+
m_ObjectHideFlags: 0
218+
m_CorrespondingSourceObject: {fileID: 0}
219+
m_PrefabInstance: {fileID: 0}
220+
m_PrefabAsset: {fileID: 0}
221+
serializedVersion: 6
222+
m_Component:
223+
- component: {fileID: 522301071776836932}
224+
m_Layer: 20
225+
m_Name: Base
226+
m_TagString: Untagged
227+
m_Icon: {fileID: 0}
228+
m_NavMeshLayer: 0
229+
m_StaticEditorFlags: 0
230+
m_IsActive: 1
231+
--- !u!4 &522301071776836932
232+
Transform:
233+
m_ObjectHideFlags: 0
234+
m_CorrespondingSourceObject: {fileID: 0}
235+
m_PrefabInstance: {fileID: 0}
236+
m_PrefabAsset: {fileID: 0}
237+
m_GameObject: {fileID: 4298870406471022519}
238+
serializedVersion: 2
239+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
240+
m_LocalPosition: {x: 0, y: 0, z: 0.085}
241+
m_LocalScale: {x: 1, y: 1, z: 1}
242+
m_ConstrainProportionsScale: 0
243+
m_Children: []
244+
m_Father: {fileID: 5644414950515485458}
245+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

Assets/ExampleStabbingWeaponMod/BroadSword.prefab.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
// This file was auto-generated by uMod Build Engine 2.0 for 'ExampleStabbingWeaponMod'
3+
4+
#Requirements
5+
6+
The requirements for 'ExampleStabbingWeaponMod' are as follows:
7+
8+
uMod version: 2.9.7 or newer
9+
Unity version: 2022.3.33f1
10+
11+
#Content
12+
13+
The content types fhat can be included for '%ExampleStabbingWeaponMod' are as follows:
14+
15+
Scene mods: Yes
16+
Prefab mods: Yes
17+
Script mods: Yes
18+
19+
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.
20+
Any content that is not inside this folder will not be exported unless they are a dependancy for another asset, For example, a material.
21+
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.
22+

Assets/ExampleStabbingWeaponMod/Readme.txt.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/ExampleStabbingWeaponMod/Sword.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
64.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)