Skip to content

Commit 0be6e7d

Browse files
committed
Add BasicRocket ammunition and integrate with vehicles
Introduces the BasicRocket ammunition type, including models, prefabs, materials, textures, and scripts. Updates vehicle prefabs, assets, and scripts to support the new ammunition type. Also adjusts BasicBullet prefab orientation and particle renderer alignment.
1 parent 02edff9 commit 0be6e7d

File tree

105 files changed

+9373
-173
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+9373
-173
lines changed

Red Strike/Assets/AmmunitionSystem/Ammunitions/Ammunitions/BasicBullet/BasicBullet.prefab

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ Transform:
2626
m_PrefabAsset: {fileID: 0}
2727
m_GameObject: {fileID: 4577570316127484860}
2828
serializedVersion: 2
29-
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
30-
m_LocalPosition: {x: 0, y: 0, z: -0.29}
29+
m_LocalRotation: {x: 0, y: -0.7071068, z: 0, w: 0.7071068}
30+
m_LocalPosition: {x: 0, y: 0, z: 0}
3131
m_LocalScale: {x: 2, y: 2, z: 2}
3232
m_ConstrainProportionsScale: 1
3333
m_Children: []
3434
m_Father: {fileID: 6840558408383050213}
35-
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
35+
m_LocalEulerAnglesHint: {x: 0, y: -90, z: 0}
3636
--- !u!198 &4952563365121360595
3737
ParticleSystem:
3838
m_ObjectHideFlags: 0
@@ -4812,7 +4812,7 @@ ParticleSystemRenderer:
48124812
m_SortingFudge: 0
48134813
m_NormalDirection: 1
48144814
m_ShadowBias: 0
4815-
m_RenderAlignment: 0
4815+
m_RenderAlignment: 2
48164816
m_Pivot: {x: 0, y: 0, z: 0}
48174817
m_Flip: {x: 0, y: 0, z: 0}
48184818
m_EnableGPUInstancing: 1

Red Strike/Assets/AmmunitionSystem/Ammunitions/Ammunitions/BasicRocket.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.

Red Strike/Assets/AmmunitionSystem/Ammunitions/Ammunitions/BasicRocket/BTM_Rockets_Missiles_Bombs.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.

Red Strike/Assets/AmmunitionSystem/Ammunitions/Ammunitions/BasicRocket/BTM_Rockets_Missiles_Bombs/Materials.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.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!21 &2100000
4+
Material:
5+
serializedVersion: 8
6+
m_ObjectHideFlags: 0
7+
m_CorrespondingSourceObject: {fileID: 0}
8+
m_PrefabInstance: {fileID: 0}
9+
m_PrefabAsset: {fileID: 0}
10+
m_Name: RocketsPalletteRed
11+
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
12+
m_Parent: {fileID: 0}
13+
m_ModifiedSerializedProperties: 0
14+
m_ValidKeywords: []
15+
m_InvalidKeywords: []
16+
m_LightmapFlags: 4
17+
m_EnableInstancingVariants: 0
18+
m_DoubleSidedGI: 0
19+
m_CustomRenderQueue: -1
20+
stringTagMap:
21+
RenderType: Opaque
22+
disabledShaderPasses:
23+
- MOTIONVECTORS
24+
m_LockedProperties:
25+
m_SavedProperties:
26+
serializedVersion: 3
27+
m_TexEnvs:
28+
- _BaseMap:
29+
m_Texture: {fileID: 2800000, guid: cd64a42b5204fbe45b6d9f79f669cfe2, type: 3}
30+
m_Scale: {x: 1, y: 1}
31+
m_Offset: {x: 0, y: 0}
32+
- _BumpMap:
33+
m_Texture: {fileID: 0}
34+
m_Scale: {x: 1, y: 1}
35+
m_Offset: {x: 0, y: 0}
36+
- _DetailAlbedoMap:
37+
m_Texture: {fileID: 0}
38+
m_Scale: {x: 1, y: 1}
39+
m_Offset: {x: 0, y: 0}
40+
- _DetailMask:
41+
m_Texture: {fileID: 0}
42+
m_Scale: {x: 1, y: 1}
43+
m_Offset: {x: 0, y: 0}
44+
- _DetailNormalMap:
45+
m_Texture: {fileID: 0}
46+
m_Scale: {x: 1, y: 1}
47+
m_Offset: {x: 0, y: 0}
48+
- _EmissionMap:
49+
m_Texture: {fileID: 0}
50+
m_Scale: {x: 1, y: 1}
51+
m_Offset: {x: 0, y: 0}
52+
- _MainTex:
53+
m_Texture: {fileID: 2800000, guid: cd64a42b5204fbe45b6d9f79f669cfe2, type: 3}
54+
m_Scale: {x: 1, y: 1}
55+
m_Offset: {x: 0, y: 0}
56+
- _MetallicGlossMap:
57+
m_Texture: {fileID: 0}
58+
m_Scale: {x: 1, y: 1}
59+
m_Offset: {x: 0, y: 0}
60+
- _OcclusionMap:
61+
m_Texture: {fileID: 0}
62+
m_Scale: {x: 1, y: 1}
63+
m_Offset: {x: 0, y: 0}
64+
- _ParallaxMap:
65+
m_Texture: {fileID: 0}
66+
m_Scale: {x: 1, y: 1}
67+
m_Offset: {x: 0, y: 0}
68+
- _SpecGlossMap:
69+
m_Texture: {fileID: 0}
70+
m_Scale: {x: 1, y: 1}
71+
m_Offset: {x: 0, y: 0}
72+
- unity_Lightmaps:
73+
m_Texture: {fileID: 0}
74+
m_Scale: {x: 1, y: 1}
75+
m_Offset: {x: 0, y: 0}
76+
- unity_LightmapsInd:
77+
m_Texture: {fileID: 0}
78+
m_Scale: {x: 1, y: 1}
79+
m_Offset: {x: 0, y: 0}
80+
- unity_ShadowMasks:
81+
m_Texture: {fileID: 0}
82+
m_Scale: {x: 1, y: 1}
83+
m_Offset: {x: 0, y: 0}
84+
m_Ints: []
85+
m_Floats:
86+
- _AddPrecomputedVelocity: 0
87+
- _AlphaClip: 0
88+
- _AlphaToMask: 0
89+
- _Blend: 0
90+
- _BlendModePreserveSpecular: 1
91+
- _BumpScale: 1
92+
- _ClearCoatMask: 0
93+
- _ClearCoatSmoothness: 0
94+
- _Cull: 2
95+
- _Cutoff: 0.5
96+
- _DetailAlbedoMapScale: 1
97+
- _DetailNormalMapScale: 1
98+
- _DstBlend: 0
99+
- _DstBlendAlpha: 0
100+
- _EnvironmentReflections: 1
101+
- _GlossMapScale: 1
102+
- _Glossiness: 0.39
103+
- _GlossyReflections: 1
104+
- _Metallic: 0
105+
- _Mode: 0
106+
- _OcclusionStrength: 1
107+
- _Parallax: 0.02
108+
- _QueueOffset: 0
109+
- _ReceiveShadows: 1
110+
- _Smoothness: 0.39
111+
- _SmoothnessTextureChannel: 0
112+
- _SpecularHighlights: 1
113+
- _SrcBlend: 1
114+
- _SrcBlendAlpha: 1
115+
- _Surface: 0
116+
- _UVSec: 0
117+
- _WorkflowMode: 1
118+
- _ZWrite: 1
119+
m_Colors:
120+
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
121+
- _Color: {r: 1, g: 1, b: 1, a: 1}
122+
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
123+
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
124+
m_BuildTextureStacks: []
125+
m_AllowLocking: 1
126+
--- !u!114 &8081599994794376693
127+
MonoBehaviour:
128+
m_ObjectHideFlags: 11
129+
m_CorrespondingSourceObject: {fileID: 0}
130+
m_PrefabInstance: {fileID: 0}
131+
m_PrefabAsset: {fileID: 0}
132+
m_GameObject: {fileID: 0}
133+
m_Enabled: 1
134+
m_EditorHideFlags: 0
135+
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
136+
m_Name:
137+
m_EditorClassIdentifier:
138+
version: 10

Red Strike/Assets/AmmunitionSystem/Ammunitions/Ammunitions/BasicRocket/BTM_Rockets_Missiles_Bombs/Materials/RocketsPalletteRed.mat.meta

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

Red Strike/Assets/AmmunitionSystem/Ammunitions/Ammunitions/BasicRocket/BTM_Rockets_Missiles_Bombs/Models.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.

Red Strike/Assets/AmmunitionSystem/Ammunitions/Ammunitions/BasicRocket/BTM_Rockets_Missiles_Bombs/Models/RMB_16.fbx.meta

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

0 commit comments

Comments
 (0)