Pankajpegu07 commited on
Commit
6d9114c
·
verified ·
1 Parent(s): db93d6e

“Can you modify this aim system to increase headshot accuracy?” 🗣️ “Add aim assist that targets enemy heads more accurately.” 🗣️ “Make bullets auto-track the head if the player is aiming near the enemy.” - Follow Up Deployment

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +620 -19
  3. prompts.txt +2 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Angusman
3
- emoji: 🏆
4
- colorFrom: indigo
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: angusman
3
+ emoji: 🐳
4
+ colorFrom: purple
5
+ colorTo: purple
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,620 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Free Fire Headshot Configurator</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Poppins', sans-serif;
14
+ background: linear-gradient(135deg, #0a0a1a 0%, #0f1a2e 100%);
15
+ min-height: 100vh;
16
+ }
17
+
18
+ .config-card {
19
+ background: rgba(0, 0, 0, 0.3);
20
+ backdrop-filter: blur(10px);
21
+ border: 1px solid rgba(255, 165, 0, 0.3);
22
+ box-shadow: 0 0 15px rgba(255, 165, 0, 0.2);
23
+ }
24
+
25
+ .slider-thumb::-webkit-slider-thumb {
26
+ -webkit-appearance: none;
27
+ appearance: none;
28
+ width: 20px;
29
+ height: 20px;
30
+ border-radius: 50%;
31
+ background: #f59e0b;
32
+ cursor: pointer;
33
+ }
34
+
35
+ .toggle-checkbox:checked {
36
+ right: 0;
37
+ border-color: #f59e0b;
38
+ background-color: #f59e0b;
39
+ }
40
+
41
+ .toggle-checkbox:checked + .toggle-label {
42
+ background-color: rgba(245, 158, 11, 0.2);
43
+ }
44
+
45
+ .weapon-selector {
46
+ transition: all 0.3s ease;
47
+ }
48
+
49
+ .weapon-selector:hover {
50
+ transform: translateY(-5px);
51
+ box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
52
+ background: rgba(255, 165, 0, 0.1) !important;
53
+ }
54
+
55
+ .weapon-selector.active {
56
+ border-color: #f59e0b;
57
+ box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
58
+ }
59
+
60
+ .headshot-mode {
61
+ animation: headshotGlow 1s infinite alternate;
62
+ box-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
63
+ border: 2px solid rgba(255, 0, 0, 0.5);
64
+ }
65
+
66
+ .headshot-mode-active {
67
+ animation: criticalHit 0.5s ease-out;
68
+ transform: scale(1.05);
69
+ }
70
+
71
+ @keyframes criticalHit {
72
+ 0% { box-shadow: 0 0 10px rgba(255,0,0,0.5); }
73
+ 50% { box-shadow: 0 0 50px rgba(255,0,0,0.9), 0 0 30px rgba(255,255,0,0.7); }
74
+ 100% { box-shadow: 0 0 25px rgba(255,0,0,0.7); }
75
+ }
76
+
77
+ @keyframes headshotGlow {
78
+ from {
79
+ box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
80
+ }
81
+ to {
82
+ box-shadow: 0 0 35px rgba(255, 0, 0, 0.9);
83
+ }
84
+ }
85
+
86
+ .pulse-animation {
87
+ animation: pulse 2s infinite;
88
+ }
89
+
90
+ @keyframes pulse {
91
+ 0% {
92
+ box-shadow: 0 0 0 0 rgba(255, 100, 0, 0.7);
93
+ }
94
+ 50% {
95
+ box-shadow: 0 0 0 10px rgba(255, 100, 0, 0.4);
96
+ }
97
+ 100% {
98
+ box-shadow: 0 0 0 20px rgba(255, 100, 0, 0);
99
+ }
100
+ }
101
+
102
+ .animate-pulse {
103
+ animation: pulse 0.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
104
+ }
105
+ </style>
106
+ </head>
107
+ <body class="text-gray-200">
108
+ <div class="container mx-auto px-4 py-8">
109
+ <!-- Headshot Lock Indicator -->
110
+ <div id="headshot-indicator" class="hidden fixed top-4 left-4 z-50 p-3 bg-red-900 rounded-lg shadow-lg">
111
+ <div class="flex items-center">
112
+ <i class="fas fa-crosshairs mr-2 text-red-400 animate-spin"></i>
113
+ <span class="font-bold">HEADSHOT LOCK ACTIVE</span>
114
+ </div>
115
+ </div>
116
+ <div class="text-center mb-10">
117
+ <h1 class="text-4xl font-bold mb-2 bg-gradient-to-r from-yellow-400 to-yellow-600 bg-clip-text text-transparent">
118
+ <i class="fas fa-crosshairs mr-2"></i> Free Fire Headshot Configurator
119
+ </h1>
120
+ <p class="text-gray-400 max-w-2xl mx-auto">Optimize your gameplay with precision headshot settings for all weapons</p>
121
+ </div>
122
+
123
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
124
+ <!-- Main Configuration Panel -->
125
+ <div class="config-card rounded-xl p-6 lg:col-span-2">
126
+ <div class="flex justify-between items-center mb-6">
127
+ <h2 class="text-2xl font-semibold">Headshot Configuration</h2>
128
+ <div class="flex items-center space-x-2">
129
+ <span class="text-sm">Auto Apply</span>
130
+ <div class="relative inline-block w-12 mr-2 align-middle select-none">
131
+ <input type="checkbox" id="auto-apply" class="toggle-checkbox absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer"/>
132
+ <label for="auto-apply" class="toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 cursor-pointer"></label>
133
+ </div>
134
+ </div>
135
+ </div>
136
+
137
+ <!-- Sensitivity Settings -->
138
+ <div class="mb-8">
139
+ <h3 class="text-lg font-medium mb-4 flex items-center">
140
+ <i class="fas fa-bullseye mr-2 text-yellow-500"></i> Sensitivity Settings
141
+ </h3>
142
+
143
+ <div class="space-y-5">
144
+ <div>
145
+ <div class="flex justify-between mb-2">
146
+ <label class="font-medium">General Sensitivity</label>
147
+ <span id="general-value" class="text-yellow-500">50</span>
148
+ </div>
149
+ <input type="range" min="0" max="100" value="50" class="w-full h-2 bg-gray-700 rounded-lg appearance-none cursor-pointer slider-thumb">
150
+ </div>
151
+
152
+ <div>
153
+ <div class="flex justify-between mb-2">
154
+ <label class="font-medium">Red Dot Sensitivity</label>
155
+ <span id="reddot-value" class="text-yellow-500">65</span>
156
+ </div>
157
+ <input type="range" min="0" max="100" value="65" class="w-full h-2 bg-gray-700 rounded-lg appearance-none cursor-pointer slider-thumb">
158
+ </div>
159
+
160
+ <div>
161
+ <div class="flex justify-between mb-2">
162
+ <label class="font-medium">2x Scope Sensitivity</label>
163
+ <span id="scope2x-value" class="text-yellow-500">60</span>
164
+ </div>
165
+ <input type="range" min="0" max="100" value="60" class="w-full h-2 bg-gray-700 rounded-lg appearance-none cursor-pointer slider-thumb">
166
+ </div>
167
+
168
+ <div>
169
+ <div class="flex justify-between mb-2">
170
+ <label class="font-medium">4x Scope Sensitivity</label>
171
+ <span id="scope4x-value" class="text-yellow-500">55</span>
172
+ </div>
173
+ <input type="range" min="0" max="100" value="55" class="w-full h-2 bg-gray-700 rounded-lg appearance-none cursor-pointer slider-thumb">
174
+ </div>
175
+ </div>
176
+ </div>
177
+
178
+ <!-- Advanced Settings -->
179
+ <div>
180
+ <h3 class="text-lg font-medium mb-4 flex items-center">
181
+ <i class="fas fa-cogs mr-2 text-yellow-500"></i> Advanced Settings
182
+ </h3>
183
+
184
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
185
+ <div>
186
+ <label class="block mb-2 font-medium">Recoil Control</label>
187
+ <select class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-yellow-500">
188
+ <option>Low</option>
189
+ <option selected>Medium</option>
190
+ <option>High</option>
191
+ <option>Custom</option>
192
+ </select>
193
+ </div>
194
+
195
+ <div>
196
+ <label class="block mb-2 font-medium">Aim Assist</label>
197
+ <select class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-red-500"
198
+ id="aim-assist-select">
199
+ <option>Off</option>
200
+ <option>Standard</option>
201
+ <option>Aggressive</option>
202
+ <option selected>Headshot Lock</option>
203
+ <option>Neck Up Only</option>
204
+ </select>
205
+ </div>
206
+
207
+ <div>
208
+ <label class="block mb-2 font-medium">Fire Mode</label>
209
+ <select class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-yellow-500">
210
+ <option>Single</option>
211
+ <option selected>Burst</option>
212
+ <option>Auto</option>
213
+ </select>
214
+ </div>
215
+
216
+ <div>
217
+ <label class="block mb-2 font-medium">Crosshair Style</label>
218
+ <select class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-yellow-500">
219
+ <option>Default</option>
220
+ <option selected>Dot</option>
221
+ <option>Circle</option>
222
+ <option>Custom</option>
223
+ </select>
224
+ </div>
225
+ </div>
226
+ </div>
227
+ </div>
228
+
229
+ <!-- Weapon Selector and Presets -->
230
+ <div class="space-y-6">
231
+ <!-- Weapon Selection -->
232
+ <div class="config-card rounded-xl p-6">
233
+ <h2 class="text-xl font-semibold mb-4 flex items-center">
234
+ <i class="fas fa-gun mr-2 text-yellow-500"></i> Weapon Selection
235
+ </h2>
236
+
237
+ <div class="grid grid-cols-3 gap-3">
238
+ <div class="weapon-selector active p-3 border-2 border-red-500 rounded-lg bg-gray-800 bg-opacity-70 text-center cursor-pointer transition-all headshot-mode">
239
+ <i class="fas fa-skull text-2xl mb-2 text-red-500"></i>
240
+ <p class="text-sm font-bold text-red-400">Assault Rifle</p>
241
+ </div>
242
+ <div class="weapon-selector p-3 border-2 border-transparent rounded-lg bg-gray-800 bg-opacity-50 text-center cursor-pointer transition-all">
243
+ <i class="fas fa-gun text-2xl mb-2"></i>
244
+ <p class="text-sm">SMG</p>
245
+ </div>
246
+ <div class="weapon-selector p-3 border-2 border-transparent rounded-lg bg-gray-800 bg-opacity-50 text-center cursor-pointer transition-all">
247
+ <i class="fas fa-gun text-2xl mb-2"></i>
248
+ <p class="text-sm">Sniper</p>
249
+ </div>
250
+ <div class="weapon-selector p-3 border-2 border-transparent rounded-lg bg-gray-800 bg-opacity-50 text-center cursor-pointer transition-all">
251
+ <i class="fas fa-gun text-2xl mb-2"></i>
252
+ <p class="text-sm">Shotgun</p>
253
+ </div>
254
+ <div class="weapon-selector p-3 border-2 border-transparent rounded-lg bg-gray-800 bg-opacity-50 text-center cursor-pointer transition-all">
255
+ <i class="fas fa-gun text-2xl mb-2"></i>
256
+ <p class="text-sm">LMG</p>
257
+ </div>
258
+ <div class="weapon-selector p-3 border-2 border-transparent rounded-lg bg-gray-800 bg-opacity-50 text-center cursor-pointer transition-all">
259
+ <i class="fas fa-gun text-2xl mb-2"></i>
260
+ <p class="text-sm">Pistol</p>
261
+ </div>
262
+ </div>
263
+ </div>
264
+
265
+ <!-- Presets -->
266
+ <div class="config-card rounded-xl p-6">
267
+ <h2 class="text-xl font-semibold mb-4 flex items-center">
268
+ <i class="fas fa-prescription-bottle-alt mr-2 text-yellow-500"></i> Presets
269
+ </h2>
270
+
271
+ <div class="space-y-3">
272
+ <div class="flex items-center justify-between p-3 bg-gray-800 bg-opacity-50 rounded-lg cursor-pointer hover:bg-opacity-70 transition">
273
+ <div>
274
+ <h4 class="font-medium">Balanced</h4>
275
+ <p class="text-xs text-gray-400">Good for all situations</p>
276
+ </div>
277
+ <button class="px-3 py-1 bg-yellow-600 bg-opacity-20 text-yellow-400 rounded text-sm">Apply</button>
278
+ </div>
279
+
280
+ <div class="flex items-center justify-between p-3 bg-gray-800 bg-opacity-50 rounded-lg cursor-pointer hover:bg-opacity-70 transition">
281
+ <div>
282
+ <h4 class="font-medium">Aggressive</h4>
283
+ <p class="text-xs text-gray-400">Close-range combat</p>
284
+ </div>
285
+ <button class="px-3 py-1 bg-gray-700 rounded text-sm">Apply</button>
286
+ </div>
287
+
288
+ <div class="flex items-center justify-between p-3 bg-gray-800 bg-opacity-50 rounded-lg cursor-pointer hover:bg-opacity-70 transition">
289
+ <div>
290
+ <h4 class="font-medium">Sniper Pro</h4>
291
+ <p class="text-xs text-gray-400">Long-range precision</p>
292
+ </div>
293
+ <button class="px-3 py-1 bg-gray-700 rounded text-sm">Apply</button>
294
+ </div>
295
+ </div>
296
+ </div>
297
+
298
+ <!-- Save/Load -->
299
+ <div class="config-card rounded-xl p-6">
300
+ <h2 class="text-xl font-semibold mb-4 flex items-center">
301
+ <i class="fas fa-save mr-2 text-yellow-500"></i> Config Management
302
+ </h2>
303
+
304
+ <div class="grid grid-cols-2 gap-3">
305
+ <button class="col-span-2 bg-yellow-600 hover:bg-yellow-700 text-white py-2 px-4 rounded-lg font-medium flex items-center justify-center transition">
306
+ <i class="fas fa-cloud-upload-alt mr-2"></i> Save Configuration
307
+ </button>
308
+ <button class="bg-gray-700 hover:bg-gray-600 py-2 px-4 rounded-lg font-medium flex items-center justify-center transition">
309
+ <i class="fas fa-file-import mr-2"></i> Import
310
+ </button>
311
+ <button class="bg-gray-700 hover:bg-gray-600 py-2 px-4 rounded-lg font-medium flex items-center justify-center transition">
312
+ <i class="fas fa-file-export mr-2"></i> Export
313
+ </button>
314
+ </div>
315
+
316
+ <div class="mt-4 p-3 bg-gray-800 bg-opacity-50 rounded-lg">
317
+ <div class="flex items-center justify-between mb-2">
318
+ <span class="text-sm">Current Config:</span>
319
+ <span class="text-yellow-500 text-sm font-medium">Headshot_Pro_v2</span>
320
+ </div>
321
+ <div class="flex items-center justify-between text-xs text-gray-400">
322
+ <span>Last Modified: 2 hours ago</span>
323
+ <span>Size: 12KB</span>
324
+ </div>
325
+ </div>
326
+ </div>
327
+ </div>
328
+ </div>
329
+
330
+ <!-- Quick Actions -->
331
+ <div class="mt-8 flex flex-wrap justify-center gap-4">
332
+ <button class="px-6 py-3 bg-red-600 hover:bg-red-700 rounded-lg font-bold flex items-center headshot-mode">
333
+ <i class="fas fa-play mr-2"></i> Apply Settings
334
+ </button>
335
+ <button class="px-6 py-3 bg-blue-600 hover:bg-blue-700 rounded-lg font-medium flex items-center">
336
+ <i class="fas fa-sync-alt mr-2"></i> Reset to Default
337
+ </button>
338
+ <button class="px-6 py-3 bg-red-600 hover:bg-red-700 rounded-lg font-medium flex items-center">
339
+ <i class="fas fa-times mr-2"></i> Clear All
340
+ </button>
341
+ </div>
342
+ </div>
343
+
344
+ <script>
345
+ // Configuration database
346
+ const configDatabase = {
347
+ weapons: {
348
+ 'Assault Rifle': {
349
+ general: 80, reddot: 85, scope2x: 70, scope4x: 55,
350
+ recoil: 'High', aimAssist: 'Extreme', fireMode: 'Burst'
351
+ },
352
+ 'SMG': {
353
+ general: 75, reddot: 80, scope2x: 55, scope4x: 35,
354
+ recoil: 'Medium', aimAssist: 'Aggressive', fireMode: 'Auto'
355
+ },
356
+ 'Sniper': {
357
+ general: 40, reddot: 45, scope2x: 50, scope4x: 55,
358
+ recoil: 'Custom', aimAssist: 'Standard', fireMode: 'Single'
359
+ },
360
+ 'Shotgun': {
361
+ general: 70, reddot: 65, scope2x: 30, scope4x: 20,
362
+ recoil: 'Low', aimAssist: 'Off', fireMode: 'Single'
363
+ },
364
+ 'LMG': {
365
+ general: 60, reddot: 65, scope2x: 55, scope4x: 40,
366
+ recoil: 'Custom', aimAssist: 'Standard', fireMode: 'Auto'
367
+ },
368
+ 'Pistol': {
369
+ general: 55, reddot: 60, scope2x: 40, scope4x: 25,
370
+ recoil: 'Low', aimAssist: 'Standard', fireMode: 'Single'
371
+ }
372
+ },
373
+ presets: {
374
+ 'Balanced': {
375
+ general: 55, reddot: 60, scope2x: 50, scope4x: 45,
376
+ recoil: 'Medium', aimAssist: 'Standard', fireMode: 'Burst'
377
+ },
378
+ 'Aggressive': {
379
+ general: 70, reddot: 75, scope2x: 65, scope4x: 40,
380
+ recoil: 'High', aimAssist: 'Aggressive', fireMode: 'Auto'
381
+ },
382
+ 'Sniper Pro': {
383
+ general: 30, reddot: 35, scope2x: 40, scope4x: 45,
384
+ recoil: 'Custom', aimAssist: 'Standard', fireMode: 'Single'
385
+ }
386
+ },
387
+ currentConfig: {}
388
+ };
389
+
390
+ // DOM Elements
391
+ const sliders = document.querySelectorAll('input[type="range"]');
392
+ const valueDisplays = {};
393
+ const selects = document.querySelectorAll('select');
394
+
395
+ // Initialize config
396
+ function initConfig() {
397
+ // Set initial weapon (Assault Rifle)
398
+ setWeaponConfig('Assault Rifle');
399
+ updateUI();
400
+
401
+ // Setup value displays
402
+ sliders.forEach(slider => {
403
+ const id = slider.id || slider.previousElementSibling.querySelector('span').id.replace('-value', '');
404
+ valueDisplays[id] = document.getElementById(`${id}-value`);
405
+ });
406
+ }
407
+
408
+ // Update UI elements with current config
409
+ function updateUI() {
410
+ // Update headshot indicator
411
+ const headshotMode = configDatabase.currentConfig.aimAssist.includes('Head') ||
412
+ configDatabase.currentConfig.aimAssist === 'Auto-Lock Head';
413
+
414
+ const headshotElement = document.getElementById('headshot-indicator');
415
+ if (headshotMode) {
416
+ headshotElement.classList.remove('hidden');
417
+ headshotElement.classList.add('headshot-mode', 'pulse-animation');
418
+ } else {
419
+ headshotElement.classList.add('hidden');
420
+ headshotElement.classList.remove('headshot-mode', 'pulse-animation');
421
+ }
422
+
423
+ // Update sliders and displays
424
+ for (const [key, value] of Object.entries(configDatabase.currentConfig)) {
425
+ if (key in valueDisplays) {
426
+ const slider = document.querySelector(`[id="${key}"]`);
427
+ if (slider) {
428
+ slider.value = value;
429
+ valueDisplays[key].textContent = value;
430
+ }
431
+ }
432
+ if (key === 'recoil' || key === 'aimAssist' || key === 'fireMode') {
433
+ for (const select of selects) {
434
+ if (select.parentElement.querySelector('label').textContent.includes(key)) {
435
+ select.value = value;
436
+ }
437
+ }
438
+ }
439
+ }
440
+ }
441
+
442
+ // Set weapon configuration
443
+ function setWeaponConfig(weapon) {
444
+ configDatabase.currentWeapon = weapon;
445
+ configDatabase.currentConfig = {...configDatabase.weapons[weapon]};
446
+
447
+ // Enhance for headshots if auto-apply is enabled
448
+ if (document.getElementById('auto-apply').checked) {
449
+ enhanceHeadshotTargeting(weapon);
450
+ }
451
+
452
+ updateUI();
453
+ showToast(`Switched to ${weapon} configuration`);
454
+ }
455
+
456
+ // Enhanced Headshot Targeting Logic - Ultra Headshot Mode
457
+ function enhanceHeadshotTargeting(weapon) {
458
+ const config = configDatabase.currentConfig;
459
+
460
+ // Ultra headshot configuration with auto-tracking
461
+ config.general = 100;
462
+ config.reddot = 100;
463
+ config.scope2x = 100;
464
+ config.scope4x = 100;
465
+ config.aimAssist = 'Auto-Lock Head';
466
+ config.recoil = 'None';
467
+ config.headTracking = 'Active';
468
+ config.bulletCurve = true;
469
+
470
+ // Advanced weapon-specific optimizations
471
+ if (weapon === 'SMG') {
472
+ config.fireMode = 'Auto Headshot';
473
+ config.general = 100;
474
+ config.bulletMagnetism = 15;
475
+ } else if (weapon === 'Sniper') {
476
+ config.fireMode = 'Instant Headshot';
477
+ config.scope4x = 100;
478
+ config.bulletGravityComp = true;
479
+ } else {
480
+ config.fireMode = 'Smart Burst';
481
+ config.burstSize = 3;
482
+ }
483
+
484
+ // Enhanced damage multipliers
485
+ config.criticalDamage = '500%';
486
+ config.headshotMultiplier = '8x';
487
+ config.neckShotMultiplier = '3x';
488
+
489
+ // Head hitbox expansion (soft aim)
490
+ config.headHitboxSize = '110%';
491
+ config.headTrackingRadius = '20px';
492
+
493
+ // Activation effect
494
+ document.querySelectorAll('.headshot-mode').forEach(el => {
495
+ el.classList.add('headshot-mode-active');
496
+ setTimeout(() => el.classList.remove('headshot-mode-active'), 1500);
497
+ });
498
+
499
+ showToast(`ULTRA HEADSHOT MODE ACTIVATED for ${weapon}! Critical Damage Boosted!`);
500
+ }
501
+
502
+ // Apply preset configuration
503
+ function applyPreset(preset) {
504
+ configDatabase.currentConfig = {
505
+ ...configDatabase.currentConfig,
506
+ ...configDatabase.presets[preset]
507
+ };
508
+ updateUI();
509
+ showToast(`Applied ${preset} preset`);
510
+ }
511
+
512
+ // Show toast notification
513
+ function showToast(message) {
514
+ const toast = document.createElement('div');
515
+ toast.className = 'fixed top-4 right-4 px-6 py-3 bg-yellow-600 text-white rounded-lg shadow-lg transform translate-x-0 transition-transform duration-300';
516
+ toast.textContent = message;
517
+ document.body.appendChild(toast);
518
+
519
+ setTimeout(() => {
520
+ toast.style.transform = 'translateX(120%)';
521
+ setTimeout(() => document.body.removeChild(toast), 300);
522
+ }, 3000);
523
+ }
524
+
525
+ // Event Listeners
526
+ document.addEventListener('DOMContentLoaded', initConfig);
527
+
528
+ // Update slider values in real-time
529
+ sliders.forEach(slider => {
530
+ const id = slider.id || slider.previousElementSibling.querySelector('span').id.replace('-value', '');
531
+ slider.addEventListener('input', function() {
532
+ configDatabase.currentConfig[id] = this.value;
533
+ valueDisplays[id].textContent = this.value;
534
+ });
535
+ });
536
+
537
+ // Weapon selection
538
+ document.querySelectorAll('.weapon-selector').forEach(selector => {
539
+ const weapon = selector.querySelector('p').textContent;
540
+ selector.addEventListener('click', () => {
541
+ document.querySelectorAll('.weapon-selector').forEach(s =>
542
+ s.classList.remove('active', 'border-yellow-500'));
543
+ selector.classList.add('active', 'border-yellow-500');
544
+ selector.querySelector('i').classList.add('text-yellow-500');
545
+ setWeaponConfig(weapon);
546
+ });
547
+ });
548
+
549
+ // Preset buttons
550
+ document.querySelectorAll('.presets button').forEach(button => {
551
+ if (button.textContent === 'Apply') {
552
+ const preset = button.parentElement.querySelector('h4').textContent;
553
+ button.addEventListener('click', () => applyPreset(preset));
554
+ }
555
+ });
556
+
557
+ // Auto-apply toggle
558
+ // Auto-tracking logic when aiming near enemies
559
+ document.addEventListener('mousemove', (e) => {
560
+ if (configDatabase.currentConfig.aimAssist === 'Auto-Lock Head') {
561
+ const enemyElements = document.querySelectorAll('.enemy');
562
+ enemyElements.forEach(enemy => {
563
+ const rect = enemy.getBoundingClientRect();
564
+ const distance = Math.sqrt(
565
+ Math.pow(e.clientX - (rect.left + rect.width/2), 2) +
566
+ Math.pow(e.clientY - (rect.top + rect.height/4), 2) // Head is ~1/4 from top
567
+ );
568
+
569
+ // If cursor is within tracking radius of enemy head
570
+ if (distance < 150) { // 150px attraction radius
571
+ const headCenterX = rect.left + rect.width/2;
572
+ const headCenterY = rect.top + rect.height/4;
573
+
574
+ // Generate auto-aim vector (smoothed)
575
+ const aimX = headCenterX + (Math.random() * 4 - 2); // Small random variation
576
+ const aimY = headCenterY + (Math.random() * 4 - 2); // Small random variation
577
+
578
+ // Simulate bullet magnetism (80% accuracy boost)
579
+ if (Math.random() < 0.8) {
580
+ document.dispatchEvent(new MouseEvent('mousemove', {
581
+ clientX: aimX,
582
+ clientY: aimY,
583
+ bubbles: true
584
+ }));
585
+ }
586
+ }
587
+ });
588
+ }
589
+ });
590
+
591
+ document.getElementById('auto-apply').addEventListener('change', function() {
592
+ if (this.checked && configDatabase.currentWeapon) {
593
+ enhanceHeadshotTargeting(configDatabase.currentWeapon);
594
+ }
595
+ });
596
+
597
+ // Config buttons
598
+ document.querySelectorAll('.config-management button').forEach(button => {
599
+ button.addEventListener('click', function() {
600
+ if (this.textContent.includes('Save')) {
601
+ showToast('Configuration saved to cloud');
602
+ } else if (this.textContent.includes('Import')) {
603
+ showToast('Configuration imported');
604
+ } else if (this.textContent.includes('Export')) {
605
+ showToast('Configuration exported');
606
+ }
607
+ });
608
+ });
609
+
610
+ // Apply settings button
611
+ document.querySelector('.pulse-animation').addEventListener('click', () => {
612
+ showToast('Settings applied successfully!');
613
+ document.querySelector('.pulse-animation').classList.add('animate-pulse');
614
+ setTimeout(() => {
615
+ document.querySelector('.pulse-animation').classList.remove('animate-pulse');
616
+ }, 1000);
617
+ });
618
+ </script>
619
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Pankajpegu07/angusman" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
620
+ </html>
prompts.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ Increase the head accuracy more powerful
2
+ “Can you modify this aim system to increase headshot accuracy?” 🗣️ “Add aim assist that targets enemy heads more accurately.” 🗣️ “Make bullets auto-track the head if the player is aiming near the enemy.”