Overview
This prompt aims to guide users in enhancing a Lua script for the Logitech G502 mouse by adding a weapon profile for the Kilo 141. Programmers and gamers will benefit from improved weapon handling and tracking capabilities in their gameplay.
Prompt Overview
Purpose: This script enhances gameplay by optimizing weapon profiles for the Logitech G502 mouse.
Audience: It is designed for gamers looking to improve their performance in Call of Duty Black Ops 6.
Distinctive Feature: The script includes a specific profile for the Kilo 141, tailored to its unique handling characteristics.
Outcome: Users will experience improved accuracy and responsiveness while using the Kilo 141 and other weapons.
Quick Specs
- Media: Text
- Use case: Generation
- Industry: Content & Media Creation, Creative Writing & Storytelling
- Techniques: Decomposition, Plan-Then-Solve, Structured Output
- Models: Claude 3.5 Sonnet, Gemini 2.0 Flash, GPT-4o, Llama 3.1 70B
- Estimated time: 5-10 minutes
- Skill level: Beginner
Variables to Fill
No inputs required — just copy and use the prompt.
Example Variables Block
No example values needed for this prompt.
The Prompt
Add a weapon profile for the **Kilo 141** in **Call of Duty Black Ops 6** to the existing **Logitech G502 Lua script**.
Utilize the weapon values provided in the supplied photo to optimize this new profile. Additionally, enhance and optimize the target tracking capabilities for each weapon profile within the script, ensuring smooth and accurate tracking tailored to the unique handling characteristics of each weapon.
# Steps
1. Review the existing Lua script for the Logitech G502 mouse that contains weapon profiles.
2. Extract weapon parameters from the provided photo for the Kilo 141 (e.g., recoil values, sensitivity adjustments, fire rate).
3. Create a new weapon profile within the script, incorporating these parameters.
4. Analyze the current target tracking code for all existing weapon profiles.
5. Implement improvements to enhance the precision and responsiveness of target tracking for each profile, considering weapon-specific characteristics.
6. Ensure smooth transitions and proper switching between profiles.
7. Test the script logic and behavior for consistency and effectiveness.
# Output Format
Return the complete updated **Lua script text**, including:
– The newly added Kilo 141 weapon profile
– Optimized target tracking functionality for all profiles
Ensure the script is properly formatted and commented where appropriate for clarity.
Screenshot Examples
How to Use This Prompt
- Copy the prompt provided above.
- Paste it into your preferred text editor.
- Follow the steps outlined to create the weapon profile.
- Ensure you have the necessary weapon parameters ready.
- Test the updated Lua script for functionality.
- Make adjustments as needed for optimal performance.
Tips for Best Results
- Review Existing Script: Thoroughly analyze the current Lua script to understand the structure and existing weapon profiles.
- Extract Weapon Parameters: Carefully gather all relevant values for the Kilo 141, including recoil, sensitivity, and fire rate from the provided photo.
- Create New Profile: Add the Kilo 141 profile to the Lua script, ensuring all parameters are accurately incorporated for optimal performance.
- Enhance Tracking: Refine the target tracking logic for all weapon profiles, focusing on improving precision and responsiveness based on each weapon’s unique handling characteristics.
FAQ
- What is the Kilo 141 in Call of Duty?
The Kilo 141 is a versatile assault rifle known for its accuracy and stability. - How can I optimize weapon profiles in Lua scripts?
Adjust parameters like recoil, sensitivity, and fire rate to match each weapon's characteristics. - What is target tracking in gaming?
Target tracking refers to the ability to follow moving targets accurately in a game. - Why is smooth profile switching important?
Smooth profile switching ensures seamless gameplay and enhances user experience during combat.
Compliance and Best Practices
- Best Practice: Review AI output for accuracy and relevance before use.
- Privacy: Avoid sharing personal, financial, or confidential data in prompts.
- Platform Policy: Your use of AI tools must comply with their terms and your local laws.
Revision History
- Version 1.0 (February 2026): Initial release.


