Spaces:
Running
Running
Bro make update version of this with real logic and advanced - Follow Up Deployment
Browse files- README.md +7 -5
- index.html +576 -19
- prompts.txt +3 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 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: neww
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: blue
|
| 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,576 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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ang="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, #1a1a2e 0%, #16213e 100%);
|
| 15 |
+
min-height: 100vh;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.config-card {
|
| 19 |
+
background: rgba(255, 255, 255, 0.05);
|
| 20 |
+
backdrop-filter: blur(10px);
|
| 21 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 22 |
+
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
|
| 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 10px 20px rgba(0, 0, 0, 0.2);
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.weapon-selector.active {
|
| 55 |
+
border-color: #f59e0b;
|
| 56 |
+
box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.pulse-animation {
|
| 60 |
+
animation: pulse 2s infinite;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
@keyframes pulse {
|
| 64 |
+
0% {
|
| 65 |
+
box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
|
| 66 |
+
}
|
| 67 |
+
70% {
|
| 68 |
+
box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
|
| 69 |
+
}
|
| 70 |
+
100% {
|
| 71 |
+
box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
|
| 72 |
+
}
|
| 73 |
+
}
|
| 74 |
+
</style>
|
| 75 |
+
</head>
|
| 76 |
+
<body class="text-gray-200">
|
| 77 |
+
<div class="container mx-auto px-4 py-8">
|
| 78 |
+
<div class="text-center mb-10">
|
| 79 |
+
<h1 class="text-4xl font-bold mb-2 bg-gradient-to-r from-yellow-400 to-yellow-600 bg-clip-text text-transparent">
|
| 80 |
+
<i class="fas fa-crosshairs mr-2"></i> Free Fire Headshot Configurator
|
| 81 |
+
</h1>
|
| 82 |
+
<p class="text-gray-400 max-w-2xl mx-auto">Optimize your gameplay with precision headshot settings for all weapons</p>
|
| 83 |
+
</div>
|
| 84 |
+
|
| 85 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 86 |
+
<!-- Main Configuration Panel -->
|
| 87 |
+
<div class="config-card rounded-xl p-6 lg:col-span-2">
|
| 88 |
+
<div class="flex justify-between items-center mb-6">
|
| 89 |
+
<h2 class="text-2xl font-semibold">Headshot Configuration</h2>
|
| 90 |
+
<div class="flex items-center space-x-2">
|
| 91 |
+
<span class="text-sm">Auto Apply</span>
|
| 92 |
+
<div class="relative inline-block w-12 mr-2 align-middle select-none">
|
| 93 |
+
<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"/>
|
| 94 |
+
<label for="auto-apply" class="toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 cursor-pointer"></label>
|
| 95 |
+
</div>
|
| 96 |
+
</div>
|
| 97 |
+
</div>
|
| 98 |
+
|
| 99 |
+
<!-- Sensitivity Settings -->
|
| 100 |
+
<div class="mb-8">
|
| 101 |
+
<h3 class="text-lg font-medium mb-4 flex items-center">
|
| 102 |
+
<i class="fas fa-bullseye mr-2 text-yellow-500"></i> Sensitivity Settings
|
| 103 |
+
</h3>
|
| 104 |
+
|
| 105 |
+
<div class="space-y-5">
|
| 106 |
+
<div>
|
| 107 |
+
<div class="flex justify-between mb-2">
|
| 108 |
+
<label class="font-medium">General Sensitivity</label>
|
| 109 |
+
<span id="general-value" class="text-yellow-500">50</span>
|
| 110 |
+
</div>
|
| 111 |
+
<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">
|
| 112 |
+
</div>
|
| 113 |
+
|
| 114 |
+
<div>
|
| 115 |
+
<div class="flex justify-between mb-2">
|
| 116 |
+
<label class="font-medium">Red Dot Sensitivity</label>
|
| 117 |
+
<span id="reddot-value" class="text-yellow-500">65</span>
|
| 118 |
+
</div>
|
| 119 |
+
<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">
|
| 120 |
+
</div>
|
| 121 |
+
|
| 122 |
+
<div>
|
| 123 |
+
<div class="flex justify-between mb-2">
|
| 124 |
+
<label class="font-medium">2x Scope Sensitivity</label>
|
| 125 |
+
<span id="scope2x-value" class="text-yellow-500">60</span>
|
| 126 |
+
</div>
|
| 127 |
+
<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">
|
| 128 |
+
</div>
|
| 129 |
+
|
| 130 |
+
<div>
|
| 131 |
+
<div class="flex justify-between mb-2">
|
| 132 |
+
<label class="font-medium">4x Scope Sensitivity</label>
|
| 133 |
+
<span id="scope4x-value" class="text-yellow-500">55</span>
|
| 134 |
+
</div>
|
| 135 |
+
<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">
|
| 136 |
+
</div>
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
|
| 140 |
+
<!-- Advanced Settings -->
|
| 141 |
+
<div>
|
| 142 |
+
<h3 class="text-lg font-medium mb-4 flex items-center">
|
| 143 |
+
<i class="fas fa-cogs mr-2 text-yellow-500"></i> Advanced Settings
|
| 144 |
+
</h3>
|
| 145 |
+
|
| 146 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
| 147 |
+
<div>
|
| 148 |
+
<label class="block mb-2 font-medium">Recoil Control</label>
|
| 149 |
+
<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">
|
| 150 |
+
<option>Low</option>
|
| 151 |
+
<option selected>Medium</option>
|
| 152 |
+
<option>High</option>
|
| 153 |
+
<option>Custom</option>
|
| 154 |
+
</select>
|
| 155 |
+
</div>
|
| 156 |
+
|
| 157 |
+
<div>
|
| 158 |
+
<label class="block mb-2 font-medium">Aim Assist</label>
|
| 159 |
+
<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">
|
| 160 |
+
<option>Off</option>
|
| 161 |
+
<option>Standard</option>
|
| 162 |
+
<option selected>Aggressive</option>
|
| 163 |
+
</select>
|
| 164 |
+
</div>
|
| 165 |
+
|
| 166 |
+
<div>
|
| 167 |
+
<label class="block mb-2 font-medium">Fire Mode</label>
|
| 168 |
+
<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">
|
| 169 |
+
<option>Single</option>
|
| 170 |
+
<option selected>Burst</option>
|
| 171 |
+
<option>Auto</option>
|
| 172 |
+
</select>
|
| 173 |
+
</div>
|
| 174 |
+
|
| 175 |
+
<div>
|
| 176 |
+
<label class="block mb-2 font-medium">Crosshair Style</label>
|
| 177 |
+
<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">
|
| 178 |
+
<option>Default</option>
|
| 179 |
+
<option selected>Dot</option>
|
| 180 |
+
<option>Circle</option>
|
| 181 |
+
<option>Custom</option>
|
| 182 |
+
</select>
|
| 183 |
+
</div>
|
| 184 |
+
</div>
|
| 185 |
+
</div>
|
| 186 |
+
</div>
|
| 187 |
+
|
| 188 |
+
<!-- Weapon Selector and Presets -->
|
| 189 |
+
<div class="space-y-6">
|
| 190 |
+
<!-- Weapon Selection -->
|
| 191 |
+
<div class="config-card rounded-xl p-6">
|
| 192 |
+
<h2 class="text-xl font-semibold mb-4 flex items-center">
|
| 193 |
+
<i class="fas fa-gun mr-2 text-yellow-500"></i> Weapon Selection
|
| 194 |
+
</h2>
|
| 195 |
+
|
| 196 |
+
<div class="grid grid-cols-3 gap-3">
|
| 197 |
+
<div class="weapon-selector active p-3 border-2 border-transparent rounded-lg bg-gray-800 bg-opacity-50 text-center cursor-pointer transition-all">
|
| 198 |
+
<i class="fas fa-gun text-2xl mb-2 text-yellow-500"></i>
|
| 199 |
+
<p class="text-sm">Assault Rifle</p>
|
| 200 |
+
</div>
|
| 201 |
+
<div class="weapon-selector p-3 border-2 border-transparent rounded-lg bg-gray-800 bg-opacity-50 text-center cursor-pointer transition-all">
|
| 202 |
+
<i class="fas fa-gun text-2xl mb-2"></i>
|
| 203 |
+
<p class="text-sm">SMG</p>
|
| 204 |
+
</div>
|
| 205 |
+
<div class="weapon-selector p-3 border-2 border-transparent rounded-lg bg-gray-800 bg-opacity-50 text-center cursor-pointer transition-all">
|
| 206 |
+
<i class="fas fa-gun text-2xl mb-2"></i>
|
| 207 |
+
<p class="text-sm">Sniper</p>
|
| 208 |
+
</div>
|
| 209 |
+
<div class="weapon-selector p-3 border-2 border-transparent rounded-lg bg-gray-800 bg-opacity-50 text-center cursor-pointer transition-all">
|
| 210 |
+
<i class="fas fa-gun text-2xl mb-2"></i>
|
| 211 |
+
<p class="text-sm">Shotgun</p>
|
| 212 |
+
</div>
|
| 213 |
+
<div class="weapon-selector p-3 border-2 border-transparent rounded-lg bg-gray-800 bg-opacity-50 text-center cursor-pointer transition-all">
|
| 214 |
+
<i class="fas fa-gun text-2xl mb-2"></i>
|
| 215 |
+
<p class="text-sm">LMG</p>
|
| 216 |
+
</div>
|
| 217 |
+
<div class="weapon-selector p-3 border-2 border-transparent rounded-lg bg-gray-800 bg-opacity-50 text-center cursor-pointer transition-all">
|
| 218 |
+
<i class="fas fa-gun text-2xl mb-2"></i>
|
| 219 |
+
<p class="text-sm">Pistol</p>
|
| 220 |
+
</div>
|
| 221 |
+
</div>
|
| 222 |
+
</div>
|
| 223 |
+
|
| 224 |
+
<!-- Presets -->
|
| 225 |
+
<div class="config-card rounded-xl p-6">
|
| 226 |
+
<h2 class="text-xl font-semibold mb-4 flex items-center">
|
| 227 |
+
<i class="fas fa-prescription-bottle-alt mr-2 text-yellow-500"></i> Presets
|
| 228 |
+
</h2>
|
| 229 |
+
|
| 230 |
+
<div class="space-y-3">
|
| 231 |
+
<div class="flex items-center justify-between p-3 bg-gray-800 bg-opacity-50 rounded-lg cursor-pointer hover:bg-opacity-70 transition">
|
| 232 |
+
<div>
|
| 233 |
+
<h4 class="font-medium">Balanced</h4>
|
| 234 |
+
<p class="text-xs text-gray-400">Good for all situations</p>
|
| 235 |
+
</div>
|
| 236 |
+
<button class="px-3 py-1 bg-yellow-600 bg-opacity-20 text-yellow-400 rounded text-sm">Apply</button>
|
| 237 |
+
</div>
|
| 238 |
+
|
| 239 |
+
<div class="flex items-center justify-between p-3 bg-gray-800 bg-opacity-50 rounded-lg cursor-pointer hover:bg-opacity-70 transition">
|
| 240 |
+
<div>
|
| 241 |
+
<h4 class="font-medium">Aggressive</h4>
|
| 242 |
+
<p class="text-xs text-gray-400">Close-range combat</p>
|
| 243 |
+
</div>
|
| 244 |
+
<button class="px-3 py-1 bg-gray-700 rounded text-sm">Apply</button>
|
| 245 |
+
</div>
|
| 246 |
+
|
| 247 |
+
<div class="flex items-center justify-between p-3 bg-gray-800 bg-opacity-50 rounded-lg cursor-pointer hover:bg-opacity-70 transition">
|
| 248 |
+
<div>
|
| 249 |
+
<h4 class="font-medium">Sniper Pro</h4>
|
| 250 |
+
<p class="text-xs text-gray-400">Long-range precision</p>
|
| 251 |
+
</div>
|
| 252 |
+
<button class="px-3 py-1 bg-gray-700 rounded text-sm">Apply</button>
|
| 253 |
+
</div>
|
| 254 |
+
</div>
|
| 255 |
+
</div>
|
| 256 |
+
|
| 257 |
+
<!-- Save/Load -->
|
| 258 |
+
<div class="config-card rounded-xl p-6">
|
| 259 |
+
<h2 class="text-xl font-semibold mb-4 flex items-center">
|
| 260 |
+
<i class="fas fa-save mr-2 text-yellow-500"></i> Config Management
|
| 261 |
+
</h2>
|
| 262 |
+
|
| 263 |
+
<div class="grid grid-cols-2 gap-3">
|
| 264 |
+
<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">
|
| 265 |
+
<i class="fas fa-cloud-upload-alt mr-2"></i> Save Configuration
|
| 266 |
+
</button>
|
| 267 |
+
<button class="bg-gray-700 hover:bg-gray-600 py-2 px-4 rounded-lg font-medium flex items-center justify-center transition">
|
| 268 |
+
<i class="fas fa-file-import mr-2"></i> Import
|
| 269 |
+
</button>
|
| 270 |
+
<button class="bg-gray-700 hover:bg-gray-600 py-2 px-4 rounded-lg font-medium flex items-center justify-center transition">
|
| 271 |
+
<i class="fas fa-file-export mr-2"></i> Export
|
| 272 |
+
</button>
|
| 273 |
+
</div>
|
| 274 |
+
|
| 275 |
+
<div class="mt-4 p-3 bg-gray-800 bg-opacity-50 rounded-lg">
|
| 276 |
+
<div class="flex items-center justify-between mb-2">
|
| 277 |
+
<span class="text-sm">Current Config:</span>
|
| 278 |
+
<span class="text-yellow-500 text-sm font-medium">Headshot_Pro_v2</span>
|
| 279 |
+
</div>
|
| 280 |
+
<div class="flex items-center justify-between text-xs text-gray-400">
|
| 281 |
+
<span>Last Modified: 2 hours ago</span>
|
| 282 |
+
<span>Size: 12KB</span>
|
| 283 |
+
</div>
|
| 284 |
+
</div>
|
| 285 |
+
</div>
|
| 286 |
+
</div>
|
| 287 |
+
</div>
|
| 288 |
+
|
| 289 |
+
<!-- Target Visualizer (will be created by JS) -->
|
| 290 |
+
<div id="target-visualizer" class="fixed inset-0 pointer-events-none"></div>
|
| 291 |
+
|
| 292 |
+
<!-- Quick Actions -->
|
| 293 |
+
<div class="mt-8 flex flex-wrap justify-center gap-4">
|
| 294 |
+
<button class="px-6 py-3 bg-green-600 hover:bg-green-700 rounded-lg font-medium flex items-center pulse-animation">
|
| 295 |
+
<i class="fas fa-play mr-2"></i> Apply Settings
|
| 296 |
+
</button>
|
| 297 |
+
<button class="px-6 py-3 bg-blue-600 hover:bg-blue-700 rounded-lg font-medium flex items-center">
|
| 298 |
+
<i class="fas fa-sync-alt mr-2"></i> Reset to Default
|
| 299 |
+
</button>
|
| 300 |
+
<button class="px-6 py-3 bg-red-600 hover:bg-red-700 rounded-lg font-medium flex items-center">
|
| 301 |
+
<i class="fas fa-times mr-2"></i> Clear All
|
| 302 |
+
</button>
|
| 303 |
+
</div>
|
| 304 |
+
</div>
|
| 305 |
+
|
| 306 |
+
<script>
|
| 307 |
+
// Weapon database with realistic profiles
|
| 308 |
+
const weaponProfiles = {
|
| 309 |
+
'Assault Rifle': {
|
| 310 |
+
baseSensitivity: 65,
|
| 311 |
+
adsSensitivity: 75,
|
| 312 |
+
recoilPattern: [0.2, 0.4, 0.3, 0.2, 0.1],
|
| 313 |
+
optimalRange: [20, 80], // meters
|
| 314 |
+
headshotMultiplier: 1.8
|
| 315 |
+
},
|
| 316 |
+
'SMG': {
|
| 317 |
+
baseSensitivity: 85,
|
| 318 |
+
adsSensitivity: 90,
|
| 319 |
+
recoilPattern: [0.1, 0.2, 0.2, 0.1],
|
| 320 |
+
optimalRange: [5, 30],
|
| 321 |
+
headshotMultiplier: 1.5
|
| 322 |
+
},
|
| 323 |
+
'Sniper': {
|
| 324 |
+
baseSensitivity: 40,
|
| 325 |
+
adsSensitivity: [80, 85], // [2x, 4x]
|
| 326 |
+
recoilPattern: [0.8, 0.3],
|
| 327 |
+
optimalRange: [50, 300],
|
| 328 |
+
headshotMultiplier: 2.5
|
| 329 |
+
},
|
| 330 |
+
'Shotgun': {
|
| 331 |
+
baseSensitivity: 70,
|
| 332 |
+
adsSensitivity: 75,
|
| 333 |
+
recoilPattern: [0.5, 0.2],
|
| 334 |
+
optimalRange: [1, 15],
|
| 335 |
+
headshotMultiplier: 2.0
|
| 336 |
+
},
|
| 337 |
+
'LMG': {
|
| 338 |
+
baseSensitivity: 60,
|
| 339 |
+
adsSensitivity: 70,
|
| 340 |
+
recoilPattern: [0.3, 0.5, 0.4, 0.3, 0.2],
|
| 341 |
+
optimalRange: [30, 150],
|
| 342 |
+
headshotMultiplier: 1.6
|
| 343 |
+
},
|
| 344 |
+
'Pistol': {
|
| 345 |
+
baseSensitivity: 75,
|
| 346 |
+
adsSensitivity: 80,
|
| 347 |
+
recoilPattern: [0.2, 0.1],
|
| 348 |
+
optimalRange: [5, 25],
|
| 349 |
+
headshotMultiplier: 1.7
|
| 350 |
+
}
|
| 351 |
+
};
|
| 352 |
+
|
| 353 |
+
// Advanced head detection using raycasting simulation
|
| 354 |
+
function detectHeadPosition(distance) {
|
| 355 |
+
// Simulate more realistic head movement patterns
|
| 356 |
+
const now = Date.now();
|
| 357 |
+
const headMovementPattern = Math.sin(now / 500) * 10 + Math.cos(now / 300) * 5;
|
| 358 |
+
|
| 359 |
+
return {
|
| 360 |
+
x: 50 + Math.sin(now / 400) * 15 + headMovementPattern * 0.3,
|
| 361 |
+
y: 15 + Math.cos(now / 600) * 5 + headMovementPattern * 0.1,
|
| 362 |
+
size: 20 - (distance * 0.01), // Head appears smaller as distance increases
|
| 363 |
+
distance: distance || Math.random() * 50 + 10 // Default 10-60m if not specified
|
| 364 |
+
};
|
| 365 |
+
}
|
| 366 |
+
|
| 367 |
+
// Ballistic calculation for bullet drop and travel time
|
| 368 |
+
function calculateBulletDrop(distance, muzzleVelocity) {
|
| 369 |
+
const gravity = 9.8; // m/s²
|
| 370 |
+
const time = distance / muzzleVelocity;
|
| 371 |
+
return 0.5 * gravity * Math.pow(time, 2);
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
// Weapon-specific recoil compensation
|
| 375 |
+
function calculateRecoilCompensation(weaponType, shotsFired) {
|
| 376 |
+
const profile = weaponProfiles[weaponType];
|
| 377 |
+
if(!profile) return 0;
|
| 378 |
+
|
| 379 |
+
const pattern = profile.recoilPattern;
|
| 380 |
+
const patternIndex = shotsFired % pattern.length;
|
| 381 |
+
return pattern[patternIndex] * (0.9 + Math.random() * 0.2); // Add slight randomness
|
| 382 |
+
}
|
| 383 |
+
|
| 384 |
+
// Enhanced targeting system with prediction
|
| 385 |
+
class HeadshotSystem {
|
| 386 |
+
constructor() {
|
| 387 |
+
this.currentWeapon = 'Assault Rifle';
|
| 388 |
+
this.targetLock = false;
|
| 389 |
+
this.shotsFired = 0;
|
| 390 |
+
this.targetHistory = [];
|
| 391 |
+
}
|
| 392 |
+
|
| 393 |
+
acquireTarget() {
|
| 394 |
+
const distance = weaponProfiles[this.currentWeapon].optimalRange[0] +
|
| 395 |
+
Math.random() * (weaponProfiles[this.currentWeapon].optimalRange[1] -
|
| 396 |
+
weaponProfiles[this.currentWeapon].optimalRange[0]);
|
| 397 |
+
|
| 398 |
+
const head = detectHeadPosition(distance);
|
| 399 |
+
this.targetHistory.push(head);
|
| 400 |
+
if(this.targetHistory.length > 5) this.targetHistory.shift();
|
| 401 |
+
|
| 402 |
+
// Predict movement based on history
|
| 403 |
+
if(this.targetHistory.length >= 3) {
|
| 404 |
+
const last = this.targetHistory[this.targetHistory.length - 1];
|
| 405 |
+
const prev = this.targetHistory[this.targetHistory.length - 3];
|
| 406 |
+
head.predictedX = last.x + (last.x - prev.x) * 0.5;
|
| 407 |
+
head.predictedY = last.y + (last.y - prev.y) * 0.5;
|
| 408 |
+
}
|
| 409 |
+
|
| 410 |
+
return head;
|
| 411 |
+
}
|
| 412 |
+
|
| 413 |
+
calculateAimAssist(head) {
|
| 414 |
+
const range = weaponProfiles[this.currentWeapon].optimalRange;
|
| 415 |
+
const normalizedDistance = Math.min(1, Math.max(0,
|
| 416 |
+
(head.distance - range[0]) / (range[1] - range[0])));
|
| 417 |
+
|
| 418 |
+
// More aggressive aim assist at optimal distances
|
| 419 |
+
const distanceFactor = 1 - Math.abs(normalizedDistance - 0.5) * 2;
|
| 420 |
+
const baseAssist = 0.3 + (distanceFactor * 0.5);
|
| 421 |
+
|
| 422 |
+
// Use prediction if available
|
| 423 |
+
const targetX = head.predictedX || head.x;
|
| 424 |
+
const targetY = head.predictedY || head.y;
|
| 425 |
+
|
| 426 |
+
return {
|
| 427 |
+
x: (targetX - 50) * baseAssist * 0.03,
|
| 428 |
+
y: (targetY - 15) * baseAssist * 0.04 +
|
| 429 |
+
calculateBulletDrop(head.distance, 800) * 0.02,
|
| 430 |
+
locked: Math.sqrt(Math.pow(targetX - 50, 2) + Math.pow(targetY - 15, 2)) < 8,
|
| 431 |
+
distanceFactor: distanceFactor
|
| 432 |
+
};
|
| 433 |
+
}
|
| 434 |
+
|
| 435 |
+
optimizeForHeadshots(weaponType) {
|
| 436 |
+
this.currentWeapon = weaponType;
|
| 437 |
+
const profile = weaponProfiles[weaponType];
|
| 438 |
+
|
| 439 |
+
document.getElementById('general-value').textContent = profile.baseSensitivity;
|
| 440 |
+
|
| 441 |
+
if(Array.isArray(profile.adsSensitivity)) {
|
| 442 |
+
document.getElementById('scope2x-value').textContent = profile.adsSensitivity[0];
|
| 443 |
+
document.getElementById('scope4x-value').textContent = profile.adsSensitivity[1];
|
| 444 |
+
} else {
|
| 445 |
+
document.getElementById('reddot-value').textContent = profile.adsSensitivity;
|
| 446 |
+
}
|
| 447 |
+
|
| 448 |
+
// Set optimal advanced settings
|
| 449 |
+
document.querySelector('select[name="recoil"]').value = weaponType === 'Sniper' ? 'Medium' : 'High';
|
| 450 |
+
document.querySelector('select[name="aim-assist"]').value = weaponType === 'Sniper' ? 'Standard' : 'Aggressive';
|
| 451 |
+
|
| 452 |
+
console.log(`Optimized settings for ${weaponType} headshots`);
|
| 453 |
+
this.shotsFired = 0;
|
| 454 |
+
}
|
| 455 |
+
|
| 456 |
+
fireShot() {
|
| 457 |
+
this.shotsFired++;
|
| 458 |
+
const head = this.acquireTarget();
|
| 459 |
+
const aimAssist = this.calculateAimAssist(head);
|
| 460 |
+
this.targetLock = aimAssist.locked;
|
| 461 |
+
|
| 462 |
+
// Apply recoil compensation
|
| 463 |
+
const recoilComp = calculateRecoilCompensation(this.currentWeapon, this.shotsFired);
|
| 464 |
+
const damageMultiplier = aimAssist.locked ?
|
| 465 |
+
weaponProfiles[this.currentWeapon].headshotMultiplier : 1;
|
| 466 |
+
|
| 467 |
+
return {
|
| 468 |
+
hit: aimAssist.locked,
|
| 469 |
+
damage: 25 * damageMultiplier * (1 - recoilComp * 0.6),
|
| 470 |
+
position: {x: head.x, y: head.y},
|
| 471 |
+
distance: head.distance,
|
| 472 |
+
aimAssist: aimAssist
|
| 473 |
+
};
|
| 474 |
+
}
|
| 475 |
+
}
|
| 476 |
+
|
| 477 |
+
// UI Setup
|
| 478 |
+
const headshotSystem = new HeadshotSystem();
|
| 479 |
+
const toggle = document.getElementById('auto-apply');
|
| 480 |
+
let simulationInterval;
|
| 481 |
+
|
| 482 |
+
// Update UI elements
|
| 483 |
+
document.querySelectorAll('input[type="range"]').forEach(slider => {
|
| 484 |
+
const valueId = slider.id ? slider.id + '-value' : slider.previousElementSibling.querySelector('span').id;
|
| 485 |
+
slider.addEventListener('input', function() {
|
| 486 |
+
document.getElementById(valueId).textContent = this.value;
|
| 487 |
+
});
|
| 488 |
+
});
|
| 489 |
+
|
| 490 |
+
// Weapon selection
|
| 491 |
+
const weaponSelectors = document.querySelectorAll('.weapon-selector');
|
| 492 |
+
weaponSelectors.forEach(selector => {
|
| 493 |
+
selector.addEventListener('click', function() {
|
| 494 |
+
weaponSelectors.forEach(s => s.classList.remove('active', 'border-yellow-500'));
|
| 495 |
+
this.classList.add('active', 'border-yellow-500');
|
| 496 |
+
|
| 497 |
+
const icon = this.querySelector('i');
|
| 498 |
+
weaponSelectors.forEach(s => s.querySelector('i').classList.remove('text-yellow-500'));
|
| 499 |
+
icon.classList.add('text-yellow-500');
|
| 500 |
+
|
| 501 |
+
const weaponType = this.querySelector('p').textContent.trim();
|
| 502 |
+
headshotSystem.optimizeForHeadshots(weaponType);
|
| 503 |
+
});
|
| 504 |
+
});
|
| 505 |
+
|
| 506 |
+
// Preset application
|
| 507 |
+
document.querySelectorAll('.preset-button').forEach(button => {
|
| 508 |
+
button.addEventListener('click', function() {
|
| 509 |
+
this.parentElement.querySelectorAll('button').forEach(btn => {
|
| 510 |
+
btn.classList.remove('bg-yellow-600', 'text-yellow-400');
|
| 511 |
+
});
|
| 512 |
+
this.classList.add('bg-yellow-600', 'text-yellow-400');
|
| 513 |
+
|
| 514 |
+
// Apply preset
|
| 515 |
+
const presetName = this.textContent.trim();
|
| 516 |
+
switch(presetName) {
|
| 517 |
+
case 'Balanced':
|
| 518 |
+
document.getElementById('general-value').textContent = 50;
|
| 519 |
+
document.getElementById('reddot-value').textContent = 60;
|
| 520 |
+
document.getElementById('scope2x-value').textContent = 55;
|
| 521 |
+
document.getElementById('scope4x-value').textContent = 50;
|
| 522 |
+
break;
|
| 523 |
+
case 'Aggressive':
|
| 524 |
+
document.getElementById('general-value').textContent = 70;
|
| 525 |
+
document.getElementById('reddot-value').textContent = 80;
|
| 526 |
+
break;
|
| 527 |
+
case 'Sniper Pro':
|
| 528 |
+
document.getElementById('scope4x-value').textContent = 75;
|
| 529 |
+
document.getElementById('scope2x-value').textContent = 65;
|
| 530 |
+
break;
|
| 531 |
+
}
|
| 532 |
+
});
|
| 533 |
+
});
|
| 534 |
+
|
| 535 |
+
// Run simulation when auto-apply is enabled
|
| 536 |
+
function runSimulation() {
|
| 537 |
+
if(toggle.checked) {
|
| 538 |
+
simulationInterval = setInterval(() => {
|
| 539 |
+
const shotResult = headshotSystem.fireShot();
|
| 540 |
+
updateTargetDisplay(shotResult);
|
| 541 |
+
|
| 542 |
+
if(shotResult.hit) {
|
| 543 |
+
console.log(`HEADSHOT! ${shotResult.damage.toFixed(1)} damage at ${shotResult.distance.toFixed(1)}m`);
|
| 544 |
+
}
|
| 545 |
+
}, 300);
|
| 546 |
+
} else {
|
| 547 |
+
clearInterval(simulationInterval);
|
| 548 |
+
}
|
| 549 |
+
}
|
| 550 |
+
|
| 551 |
+
// Visual feedback for targeting
|
| 552 |
+
function updateTargetDisplay(shot) {
|
| 553 |
+
const targetDisplay = document.getElementById('target-display') ||
|
| 554 |
+
createTargetDisplayElement();
|
| 555 |
+
|
| 556 |
+
targetDisplay.style.left = `${shot.position.x}%`;
|
| 557 |
+
targetDisplay.style.top = `${shot.position.y}%`;
|
| 558 |
+
targetDisplay.className = shot.hit ? 'target-display hit' : 'target-display';
|
| 559 |
+
|
| 560 |
+
if(shot.hit) {
|
| 561 |
+
setTimeout(() => targetDisplay.classList.remove('hit'), 200);
|
| 562 |
+
}
|
| 563 |
+
}
|
| 564 |
+
|
| 565 |
+
function createTargetDisplayElement() {
|
| 566 |
+
const div = document.createElement('div');
|
| 567 |
+
div.id = 'target-display';
|
| 568 |
+
div.className = 'target-display';
|
| 569 |
+
document.body.appendChild(div);
|
| 570 |
+
return div;
|
| 571 |
+
}
|
| 572 |
+
|
| 573 |
+
toggle.addEventListener('change', runSimulation);
|
| 574 |
+
</script>
|
| 575 |
+
<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/neww" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 576 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Fix all the errors and make it more accurately target only on the head and lock on the head and add aim assist logic on head
|
| 2 |
+
Bro make update version of this with real logic and advanced
|
| 3 |
+
Bro make update version of this with real logic and advanced
|