Untitled

 avatar
unknown
plain_text
16 days ago
3.9 kB
1
Indexable
Here’s a breakdown of all the modifiable parameters (values) in the script and what each one does:

1. box_constant
	•	Location:

self.box_constant = 350


	•	Description: Determines the size of the detection box used to define the visible area for object detection. However, this isn’t actively used in the current script, so it can be ignored unless you plan to implement a specific detection box logic.

2. collect_data
	•	Location:

self.collect_data = False


	•	Description: If set to True, this flag could be used to collect data (e.g., bounding boxes) for analysis or training purposes. It’s not implemented in the current version, so you can ignore or remove it.

3. mouse_delay
	•	Location:

self.mouse_delay = 0.006


	•	Description: Controls how quickly the mouse updates its position during gradual movements. Smaller values result in faster aiming, while larger values make movements slower and smoother.
	•	Recommended Range: 0.001 (very fast) to 0.02 (very slow).

4. aim_speed
	•	Location:

self.aim_speed = 10


	•	Description: Determines how many steps the mouse takes to reach the target.
	•	Higher values make movements slower and more gradual, mimicking human-like aiming.
	•	Lower values make the mouse snap faster to the target.
	•	Recommended Range:
	•	3-10 for smooth aiming.
	•	1-3 for more aggressive snapping.

5. fov_radius
	•	Location:

self.fov_radius = 200


	•	Description: Defines the size of the field of view (FOV), measured as the radius of a circle around the screen center. The aimbot will only target objects within this FOV.
	•	A smaller value creates a smaller FOV, making the aim assist more subtle and “legit.”
	•	A larger value increases the FOV, allowing the aimbot to target objects farther from the crosshair.
	•	Recommended Range:
	•	100-300 for legit behavior.
	•	500+ for broader FOV (less subtle).

6. self.conf
	•	Location:

self.conf = 0.45


	•	Description: The confidence threshold for object detection. Only detections with a confidence score higher than this value will be targeted.
	•	Lowering the value means more objects (even less certain ones) will be targeted.
	•	Increasing the value ensures only highly confident detections are targeted.
	•	Recommended Range: 0.3 (low confidence) to 0.8 (high confidence).

7. YOLO Model Path
	•	Location:

self.model = YOLO('/Users/chocolatu/Downloads/AI-Aimbot-main 2/lib/yolov11.pt')


	•	Description: The path to the YOLO model file (.pt). This is crucial for object detection.
	•	Ensure the file exists at the specified path.
	•	You can replace the model with another YOLO model trained for your specific use case.

8. Screen Dimensions (Read-Only)
	•	Location:

self.screen_width, self.screen_height = pyautogui.size()


	•	Description: These are automatically set to your screen’s resolution and define the center point for aiming. You don’t need to change these.

Summary of Tunable Parameters:

Parameter	Default Value	Effect	Recommended Range
box_constant	350	Detection box size (not actively used).	Ignore for now
collect_data	False	Flag for enabling data collection (not used).	True/False
mouse_delay	0.006	Controls the speed of mouse updates.	0.001 to 0.02
aim_speed	10	Number of steps for gradual mouse movement.	3 to 15
fov_radius	200	Defines the aim-assist FOV size in pixels.	100 to 500+
self.conf	0.45	Confidence threshold for detecting targets.	0.3 to 0.8
YOLO Model Path	User-Specified	Path to the YOLO .pt model file.	Set to your model path

How These Values Impact Behavior:
	•	Legit Settings (Subtle Aim Assist):
	•	mouse_delay = 0.01
	•	aim_speed = 10
	•	fov_radius = 150
	•	self.conf = 0.6
	•	Aggressive Settings (Snappier Aimbot):
	•	mouse_delay = 0.003
	•	aim_speed = 3
	•	fov_radius = 500
	•	self.conf = 0.4

Let me know if you’d like help tuning these values for your specific use case! 😊
Leave a Comment