-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
325 lines (265 loc) · 12.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Title-->
<title> Third Person Shooter Player with Shooter NPC AI</title>
<!--Favicon Icon-->
<link rel="icon" type="image/png" href="Images/favicon_py.png">
<!--Styles-->
<style>
html{
background-color: rgb(49, 47, 47);
overflow-x: hidden; /* no horizontal bar*/
}
body{
margin-left: 5%;
margin-right: 5%;
margin-top: 2px;
margin-bottom: 5px;
background-color: black;
border: 2px solid white;
border-radius: 2px 5px 8px 12px;
justify-content: center;
align-items: center;
overflow-x: hidden; /* no horizontal bar*/
text-align: left;
}
h1, h2, h3, h4, h5,p {
color: white;
margin-left: 2%;
margin-right: 2%;
padding: 1%;
font-family: 'Times New Roman', Times, serif;
}
img{
max-width: 96%;
margin-left: 5%;
height: auto;
justify-content: center;
align-content: center;
}
.badge{
margin-left: 0%;
margin-right: 0%;
width: auto;
justify-content: center;
align-content: center;
border: .1px solid white;
border-radius: 1px 2px 4px 5px;
margin-right: 4px;
}
.square-box{
display: block;
background-color: rgb(41, 38, 38);
width: 80%;
height: auto;
margin: auto;
padding: 5%;
justify-content: center; /*Align Vertically center*/
align-items: center; /*Align Horizontally center*/
border: 2px solid white;
border-radius: 2px;
box-shadow: 0 0 8px;
text-align: left;
}
.badge-container{
display: flex;
flex-wrap: wrap; /* Allows items to wrap to the next line */
gap: 10px; /* Adds some space between badges */
flex-direction: row;
margin-left: 2%;
width: fit-content;
padding: 4px;
border-radius: 2px 4px 8px 12px;
box-shadow: rgb(65, 84, 210) 0 0 8px;
justify-content: left;
align-items: left;
}
.youtube-video-container{
display: flex;
max-width: 80%;
height: auto;
flex-direction: column;
margin-left: 2%;
margin-right: 2%;
padding: 1%;
justify-content: center;
align-items: center;
text-align: start;
}
iframe{
max-width: 80%;
height: auto;
padding: 2%;
}
.sponsor-button{
border: 0;
border-radius: 6px;
max-width: 100px;
height: 30px;
padding: 0%;
justify-content: center;
}
li{
color: white;
}
/* Responsive design */
@media screen and (max-width: 600px) {
.badge{
max-height: 20px;
width: auto;
}
}
@media screen and (max-width: 400px) {
.badge{
max-height: 20px;
width: auto;
}
}
</style>
<!--Google Icon-->
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
</head>
<body>
<img src="Recordings/banner.png" alt="ScreenShot1">
<h1>Third Person Shooter with Shooter NPC or AI</h1>
<div class="badge-container">
<img class="badge" src="https://img.shields.io/badge/Unity-v2020-orange" alt="Unity2020 Badge">
<img class="badge" src="https://img.shields.io/badge/-csharp-maker?style=plastic&logo=csharp
" alt="C# Badge">
<img class="badge" src="https://img.shields.io/badge/License-Baponkar%20License-red" alt="License">
<img class="badge" src="https://img.shields.io/github/issues/baponkar/Third-Person-Shooter-With-Shooter-AI" alt="IssueBadge">
<img class="badge" src="https://img.shields.io/github/forks/baponkar/Third-Person-Shooter-With-Shooter-AI" alt="ForksBadge">
<img class="badge" src="https://img.shields.io/github/stars/baponkar/Third-Person-Shooter-With-Shooter-AI" alt="StarsBadge">
<img class="badge" src="https://img.shields.io/github/sponsors/baponkar" alt="Donation Badge">
<img class="badge" src="https://img.shields.io/badge/Copyright-baponkar-orange" alt="Copyright Badge">
<iframe class="sponsor-button" src="https://github.com/sponsors/baponkar/button" title="Sponsor baponkar" height="20" width="100"></iframe>
</div>
<h2>Description :</h2>
<p>
A Third Person Shooting Player with three weapon and a NPC shooter.
This unity packages have some dependency. You need to download and imported inside of this unity project'
s Asset folder.Where only one have external asset a mixamo character and animations.
You are requested to download and put all the dependency in your project otherwise it may not work properly.
</p>
<h2>Watch Youtube demo videos</h2>
<div class="youtube-video-container">
<ol>
<li>
<h2>Version - 1.2.2</h2>
<iframe src="https://www.youtube.com/embed/dSjZmPRB1yg?si=HZ1h0luTl_JySJi9" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</li>
<li>
<h2>Version - 1.1.1</h2>
<iframe src="https://www.youtube.com/embed/M79GJ6gpJvA?si=byIYFmnpC-sPqMi6" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</li>
<li>
<h2>Version - 1.1.0</h2>
<iframe src="https://www.youtube.com/embed/nowBHY_60OA?si=9a-5Qxjgqs19j0Sf" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</li>
<li>
<h2>Version - 1.0.0</h2>
<iframe src="https://www.youtube.com/embed/D0Iv-NGmIcg?si=4xayOTEK-cv5bBnC" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</li>
</ol>
</div>
<h2>Play <a href="https://baponkar.github.io/Demo-Game-Play/">Demo Game</a></h2>
<h3 id="contents-">This package has following characteristics</h3>
<ul>
<li>✓ Third Person Shooter Player(Locomotion with Jump,shoot,reload,weapon change)</li>
<li>✓ First Person Shooter Player</li>
<li>✓ Cross Platform Control</li>
<li>✗ Multiple AI</li>
<li>✗ AI take cover and Hide ability!</li>
<li>✓ Mini Map</li>
<li>✓ Shooter Navmesh AI with different state(Patrol,Find Weapon,Find Target,Death,Attack,ChaseTarget)</li>
<li>✓ Three Raycast Weapon(Pistol,Rifle,Sniper)</li>
<li>✓ Four Demo Scene</li>
<li>✓ Weapon Pickup for player and AI</li>
<li>✓ Demo Scene</li>
</ul>
<h2>Dependency and Credits :</h2>
<ul>
<li>Unity Asset Store Packages</li>
<ol>
<li><a href="https://github.com/Unity-Technologies/Standard-Assets-Characters">Standard Asset Character</a></li>
<li><a href="https://assetstore.unity.com/packages/3d/props/guns/awp-sniper-96523">AWP SNIPER</a></li>
<li><a href="https://assetstore.unity.com/packages/essentials/tutorial-projects/unity-particle-pack-127325#reviews">Unity Particle Pack</a></li>
<li><a href="https://assetstore.unity.com/packages/3d/props/weapons/m9-knife-7597#description">M9 Knife</a></li>
<li><a href="https://assetstore.unity.com/packages/3d/props/guns/pbr-pistol-33838">[PBR] Pistol</a></li>
<li><a href="https://assetstore.unity.com/packages/3d/props/guns/rifle-25668">Rifle</a></li>
<li><a href="https://assetstore.unity.Recordercom/packages/3d/fps-grenade-model-textures-63667#description">FPS Grenade</a></li>
</ol>
<li>Unity Registry Store Assets</li>
<ol>
<li><a href="https://docs.unity3d.com/Packages/com.unity.cinemachine@2.3/manual/index.html">Cinemachine</a></li>
<li><a href="https://docs.unity3d.com/Packages/com.unity.animation.rigging@1.0/manual/index.html">Animation Rigging</a></li>
</ol>
<li>External packages</li>
<ul>
<li>SWAT Character</li>
<li><a href="https://www/mixamo.com">Mixamo</a> </li>
</ul>
<li>Sounds and Effects</li>
<ol>
<li><a href="https://pixabay.com/sound-effects/">Pixabay</a></li>
</ol>
<li>YT Video Tutorials</li>
<ol>
<li><a href="https://www.youtube.com/c/TheKiwiCoder">Kiwi Coder</a></li>
<li><a href="https://www.youtube.com/results?search_query=brackeys">Brackeys</a></li>
</ol>
</ul>
<p><a href="LICENSE.md">LICENSE</a></p>
<div class="square-box">
<p>LICENSE by baponkar</p>
<p>Version 1.0.1, June 2022</p>
<p>Revised 1.0.2, 27, Dec, 2022</p>
<p>Copyright (C)2022 Bapon Kar,</p>
<p>Howrah, India</p>
<p>Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
</p>
<p>Preamble</p>
<p>You can use or copy or distribute the part or full program from this package for non commercial purpose but if you want to use it for commarcial purpose
then you need to donate me minimum $2 before using it.
There is no gurrenty that it will perform good.I or author of this programm don't have any liability for any faulty program or file.
If you download or use this package then you are fully agree with terms and conditions which are written in this License.
</p>
<p>This program uses some external programms which are governed by their corresponding third party licenses.
For any legal action will be undertaken by Indian Penal code Jurisdiction.
</p>
</div>
<h2>Documentation: </h2>
<p>You need to create these Layers :</p>
<img src="Recordings/layers.png" alt="Layers">
<h2>You need to create following Tags : </h2>
<img src="Recordings/tags.png" alt="Tags">
<ol>
<li>Need to assign "Character" Layer to the layers of Player(swat@T-Pose) and _AI_SWAT prefabs.</li>
<li>Need to assign "Pickup" Layer to the all Pickups prefabs.</li>
<li>Need to assign "Minimap" Layer to the minimap prefab.</li>
<li>Need to assign "UI" Layer to the all UI elements.</li>
<li>Need to assign "Everything" Layer to the AudioControl script which attached to the player prefab child object.</li>
</ol>
<p>
Now if you want NPC will attack only the Player not to each other then you need to create **Player** layer and select to the *swat@T-Pose* which is a child object of **_TPS_Player** Prefab.
- After that change layer of AiVisonSensor which is attached to the _AI_SWAT Prefab with **Player** and **Pickup**.
- Then change 35th line of **AiSensoryMemory.cs** script with
int targets = sensor.Filter (characters, "Player");
</p>
<h2 id="info">Info</h2>
<ol>
<li>Project Name - Third Person Shooter Player</li>
<li>Used Unity Version to build this project - 2020.15f2</li>
<li>Developer Name : <a href="https://github.com/baponkar">baponkar</a></li>
<li>Social Site : <img src="https://img.shields.io/twitter/follow/kar_bapon?style=social" alt="twittwr badge"></li>
<li>Contact for Support : gamingjam60@gmail.com</li>
<li>Build Date : 07-07-2022</li>
<li><del>Last Updated : 09-10-2022</del></li>
</ol>
<p>Copyright © <a href="https://github.com/baponkar">baponkar</a></p>
</body>
</html>