
Closed
Posted
Paid on delivery
I’m building a small shooting game and need a lightweight Lua system that handles enemy behaviour focused on taking cover and firing back at the player. The goal is to drop a single, cleanly-commented script (or module) into my current project folder and have it run with minimal tweaking. Here’s what I expect from the system: • Enemies detect the player’s position within a configurable radius. • When in line-of-sight, an enemy seeks the nearest predefined cover node, moves to it, then alternates between leaning out to shoot and ducking back. • If no cover is available, the enemy should still fire but stay mobile so it doesn’t become an idle target. • All key values (detection range, rate of fire, time in/out of cover, accuracy spread) must be exposed as easy-to-tune variables at the top of the script. • The code must run on the standard Lua interpreter I’m already using—no external libraries other than what comes with vanilla Lua. To help you integrate quickly, I’ll supply: • A sample level with a few cover nodes flagged in a table. • Basic player object with position and health properties. Hand-off package: the Lua file, a short README explaining function calls, and a quick GIF or video clip showing the behaviour in my test map so I can confirm it works exactly as intended.
Project ID: 40756080
82 proposals
Remote project
Active 1 day ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
82 freelancers are bidding on average $122 USD for this job

Hello! I can build this as a clean, self-contained vanilla Lua AI module with no external dependencies. I’ll implement configurable player detection, LOS checks, nearest-cover selection, movement, peek/duck firing behaviour, and mobile fallback when no cover is available. All gameplay parameters will be exposed at the top for easy tuning, with clear comments and simple integration points for your existing player/cover tables. I’ll deliver the Lua file, concise README, and a test GIF/video demonstrating the complete behaviour in your sample map. I can keep the implementation lightweight and straightforward so you can drop it into the project with minimal changes. Meantime, I have following questions: • What game engine or framework (e.g., LOVE2D, Defold, Gideros, or a custom one) are you using? • How does your engine currently handle line-of-sight/raycasting ?
$109 USD in 3 days
8.4
8.4

Hello Dear, I’m Md Toriqul Islam, and I’m excited to partner with you & I can dive into your Lua enemy AI system immediately. I have a few questions: 1. How are cover nodes structured in your table? 2. How is line-of-sight currently detected? 3. How should enemy movement be represented? I understand you need a lightweight vanilla-Lua AI module handling player detection, cover selection, movement, lean-and-shoot behavior, fallback mobility, and configurable combat values. I am skilled in Lua, state machines, game AI, path logic, targeting, combat behavior, and clean modular scripting. I can provide the commented Lua file, concise README, integration guidance, and a test-map behavior recording for verification. Best regards, Md Toriqul Islam.
$100 USD in 3 days
5.8
5.8

As an accomplished Unity Game Developer with over 5 years of solid experience, I have honed my skills to seamlessly facilitate the mechanics you're seeking for your Lua-based, cover-shooting enemy AI system. My expertise extends beyond simple gameplay design; it encompasses creating polished and scalable products that meet specific project requirements- which is precisely what your game needs. From my grasp of Unreal Engine and Roblox Development, I can confidently say I'm well-versed in building effective behavioural systems that rely only on native libraries. This skill is particularly valuable as it ensures seamless integration into your current project with minimal tweaking. With the provision of a sample level and relevant variables by yourself, my task will be to leverage your inputs in creating a system that turns your vision into reality. My approach has always been to create efficient code that remains understandable even after handoff. With me, you gain more than just a coder; you gain a partner committed to bringing value and quality to your project. Let's bring your game to life together!
$140 USD in 7 days
6.6
6.6

Hello, As a result of a detailed review of your enemy AI requirements, I understand you want a lightweight, engine-agnostic Lua module rather than an over-engineered AI framework. I’d structure the behaviour as a small state machine: Detect → Select Cover → Move → Peek/Fire → Duck, with a separate mobile-fire fallback when no valid cover node is available. Detection range, fire rate, cover timing, accuracy spread and related values will be grouped as configurable variables at the top. Cover selection will evaluate the supplied nodes against enemy/player positions, while line-of-sight and movement hooks will remain clearly separated so they can connect cleanly to your existing project functions. The script will use vanilla Lua only, with no external dependencies, and I’ll keep each section clearly commented and easy to modify. Deliverables will include: • Clean Lua module/script • README covering integration and function calls • Test-map GIF/video demonstrating cover selection, peek/fire cycles and no-cover fallback One quick question: does your current project already provide movement and raycast/line-of-sight functions, or should the module expose callbacks for those engine-specific operations? I’m available to start immediately. Best regards, Carlos.
$50 USD in 7 days
5.6
5.6

Hello, I'm Denis, a full-stack developer with deep experience in game AI and Lua scripting, and I have built enemy behaviour systems that feel responsive and run cleanly on lightweight interpreters. You need a single, self-contained Lua module that gives enemies tactical cover-seeking behaviour without external dependencies. The system has to be tunable so you can adjust detection range, fire rate, and cover timing without rewriting code, and it needs to work immediately when dropped into your project folder. I would start by reviewing your cover node setup and player object structure to confirm the integration points. Then I would build the core detection and state machine that handles seeking cover, firing, and fallback movement. I would expose all key variables at the top of the script for easy tuning, write clear comments throughout, and test the behaviour against your sample level to make sure enemies react as expected. The main challenge is keeping the state machine tight and predictable so enemies feel smart without burning CPU cycles. I would use a simple finite state approach with clear transitions between detect, seek, fire, and evade, and make sure the cover-seeking logic handles edge cases like blocked paths or no available nodes. The biggest risk is unclear cover node format or player object properties, so I would confirm those details upfront to avoid rework. I can start working right away. Let's connect and discuss the details. Thanks, Denis.
$30 USD in 3 days
5.3
5.3

Hi there, The core challenge is a lightweight vanilla Lua enemy AI that reliably detects the player, selects nearby cover, alternates firing and ducking, and remains mobile when cover is unavailable. I have strong hands-on experience with Software Architecture and Programming and have solved similar problems involving state-driven game logic and deterministic movement/combat behavior. My approach would be to: * Review the sample level, cover-node table, player object, and current Lua integration points. * Identify the root cause of any compatibility or behavior issues and determine what can be reused versus what needs to be changed. * Implement a clean, maintainable solution using standard Lua with a compact state machine and clearly exposed tuning values. * Test edge cases, reliability, performance, security, and integration behavior, including missing cover, lost line-of-sight, movement fallback, and repeated target detection. * Deploy or integrate the fix without disrupting the existing system, then provide the README and behavior recording. A state machine with explicit cooldowns and cover transitions will prevent conflicting movement and firing decisions while keeping the module easy to tune. I prefer fixing the actual root cause rather than applying temporary patches, and I will keep the implementation simple, stable, and maintainable. I can start by reviewing the sample level, cover nodes, player object, and current setup, then proceed with the most practical so
$250 USD in 5 days
5.1
5.1

I can build a lightweight, well-commented Lua enemy AI system with player detection, cover seeking, peek-and-fire behaviour, and mobile fallback combat, with all key settings easily configurable at the top. I’ll also provide a short README for integration and a quick demo GIF/video from your test map so you can verify the behaviour before final hand-off.
$180 USD in 2 days
5.3
5.3

Hi there, I can build this as a clean, self-contained Lua module that you can drop into the current project with very little setup. I’ll keep the behaviour lightweight and avoid external libraries, with the main tuning values grouped at the top so detection range, shooting, cover timing and accuracy can be changed easily. The AI can handle the full loop: detect the player, check line of sight, select the closest useful cover node, move there, peek and fire, then duck back. When cover isn’t available, it will keep moving while returning fire instead of standing still. I’ll also keep the integration simple around your existing player and cover-node tables, and provide the README plus a short test recording showing the behaviour in action.
$200 USD in 3 days
4.9
4.9

As an experienced freelance developer with a strong background in game design and Lua programming, I am confident that I can deliver the lightweight, efficient system you need for your shooting game. My deep understanding of Lua, including stock functionality, makes me the perfect fit for this project. Through my prior work on AI development, I have a solid grasp of creating systems that optimize game experience while minimizing complexity. My ability to balance performance and functionality will ensure that all key variables such as detection range, rate of fire, time in/out of cover, and accuracy spread are easily adjustable for your specific needs. Furthermore, as someone who emphasizes the importance of clear communication, I can guarantee a well-commented script/module that you can effortlessly incorporate into your current project without any hiccups. Additionally, my skill set expands to include software architecture which will enable me to create an intelligently designed module that is scalable and maintainable. To sum up, with my expertise in Lua programming and game development, my commitment to quality and efficiency, and my dedication to collaborative work, I'm confident that I can surpass your expectations and deliver a Lua system that runs flawlessly in your game.
$140 USD in 2 days
5.3
5.3

Hi, there. "LUA COVER-SHOOTING ENEMY AI" — you need a lightweight vanilla Lua module that detects the player, selects nearby cover, peeks to fire, and stays mobile when no cover exists. I’d structure it as a simple state machine: detect → find cover → move → peek/fire → duck → reposition. Detection range, fire rate, cover timing, accuracy spread, and movement values will be exposed at the top for easy tuning. The module will work with your existing player and cover-node tables without external libraries, with a short README and test recording for integration. How are your cover nodes currently represented in the Lua table? Looking forward to working with you.
$110 USD in 2 days
4.6
4.6

Hello, I can build the Lua enemy AI as a modular system with cover-seeking and shooting logic, keeping it lightweight and easy to integrate. I’ve built a similar cover-based AI in Lua for a small 2D game—enemies used a simple state machine to switch between seeking cover, shooting, and retreating, which worked well even with basic pathfinding. I’d approach this by using a table-driven state machine for enemy behavior, with cover nodes stored in a simple array. The AI will check line-of-sight first, then move to the nearest cover if needed, while still firing if uncovered. All tuning variables will be at the top of the script for quick adjustments. The system will reduce player frustration by making enemies more dynamic—no static snipers, just tactical retreats and ambushes. It’ll also be easy to tweak, since all key values are exposed as variables. Once the script is ready, I’ll include a short README and a test case in a sample level to confirm it works as expected. If this approach fits your needs, I’d be happy to discuss the details further. Thanks, Lazar.
$30 USD in 1 day
4.4
4.4

With over 8 years of experience in the field of information and modern technology, I am confident that I have the skills and expertise you need for your Lua Cover-Shooting Enemy AI project. On top of being a game development and software architecture specialist, I also bring to the table a deep understanding of innovative programming techniques that will help me meet your specific requirements. For your project, I appreciate that you're looking for a lightweight Lua system that runs without the need for external libraries, and maintains clean code while being highly configurable. My extensive exposure to coding sophisticated game mechanics in Lua will enable me to deliver exactly what you're seeking - a cleanly-commented script (or module) promptly integrating into your existing setup with minimal tweaking. Moreover, given my profound grasp of data-driven programming and scripting, I can ensure all key values are comprehensively exposed as easily-tunable variables at the script's outset. In addition to that, my ability to document specific function calls with utmost clarity will ensure an efficient hand-off package: comprising a concise README file, the functional Lua file itself as well as a GIF or video clip demonstrating its behavior in your test map. Choose me to revolutionize and enhance your game project!
$50 USD in 7 days
4.7
4.7

Hello, The main challenge is creating a lightweight vanilla Lua enemy controller that makes cover-based combat feel deliberate while remaining easy to drop into your existing game. The system will detect the player, select the nearest usable cover, alternate between ducking and leaning out to fire, and stay mobile when no cover is available. I will build a clean, commented module with all tuning values exposed at the top, including detection range, fire timing, cover durations, movement behavior, and accuracy spread. It will use your player object and flagged cover-node table without external libraries, keeping integration simple and predictable. Similar work includes gameplay-oriented state machines and AI behavior systems where clear transitions, configurable parameters, and reliable line-of-sight handling were essential. I will align the function calls with your sample level and existing Lua conventions. You will receive the Lua file, concise README, and a short test-map recording demonstrating the complete behavior. I can deliver the first working version within 3 days, followed by integration adjustments and cleanup. Best regards, Bohdan
$150 USD in 3 days
4.2
4.2

Hi, Thank you for posting your project. I'm highly motivated to work on Lua Cover-Shooting Enemy AI and committed to delivering work that exceeds your expectations. I have comprehensive knowledge of C Programming, Game Design, Software Architecture, C++ Programming, Game Development, Lua, Game Programming, Game AI Programming and consistently deliver work that exceeds expectations. My portfolio includes successful projects that reflect years of experience and commitment to excellence. Let's make Lua Cover-Shooting Enemy AI a success together! I'm available to answer any questions you might have. Thank You
$140 USD in 4 days
4.3
4.3

Hi - Adelman here from Texas LUA COVER-BASED ENEMY AI - you need predictable enemy behavior that can detect, take cover, peek, fire, and reposition without external libraries. I would structure the script as a small state machine: detect, select nearest valid cover, move, peek/fire, duck, then repeat. If cover is unavailable, the fallback state would use controlled movement while firing. Detection radius, fire rate, cover timing, and accuracy spread would stay as top-level configuration values for easy tuning. Are the cover nodes defined only by position, or do they also include information such as cover direction and valid peek positions? Looking forward to work with you.
$100 USD in 1 day
3.9
3.9

Hello, I can build a lightweight, cleanly commented vanilla-Lua enemy AI module that fits directly into your existing shooting game with minimal integration work. I’ll implement configurable player detection, line-of-sight behavior, nearest-cover selection, movement to cover, and alternating lean/shoot and duck states. When no cover is available, enemies will continue attacking while maintaining mobile behavior. All important parameters, including detection radius, fire rate, cover timing, and accuracy spread, will be exposed at the top of the script for easy tuning. I’ll integrate against your supplied player object and cover-node table without adding external libraries, then test the behavior in your sample map. The handoff will include the Lua module, concise README with integration/function details, and a short gameplay recording demonstrating the completed behavior. Looking forward to work with you. Thanks
$100 USD in 2 days
3.9
3.9

Hi, Nearest cover isn't always safe cover, so the script will pick the closest node that actually blocks the player's line of sight. Each node also gets reserved by one enemy at a time, so two enemies never crowd behind the same box. Small details like these make the AI feel smart instead of scripted. The behaviour runs as a simple state machine with five states: idle, alert, move to cover, peek and shoot, and reposition. Peek and shoot alternates leaning out and ducking back using your timing values. With no cover available, the enemy strafes while firing and keeps changing direction so it never stands still. Detection range, fire rate, time in and out of cover and accuracy spread all sit at the top of the file as plain variables. Since vanilla Lua has no physics, the script will ask your project for two small functions, one for line of sight and one for moving an enemy. Everything else is pure Lua with no libraries. You just call update(dt) for each enemy every frame. I can deliver the Lua file, a short README and a video from your test map in about 2 days. I've done game work in Lua before, including a FiveM server project where the client said my communication was excellent and the work improved the server's performance. I'm happy to show you more if you contact me. I can start work right away. Contact me to discuss more details. Thanks. Smit
$250 USD in 7 days
2.8
2.8

Hi, I'll start with the cover nodes, detection radius, and tuning variables. Delivering a single Lua module where enemies take cover, alternate between leaning out and ducking, and stay mobile when no cover exists is the goal. Previously I've written game AI where line-of-sight checks, cover selection, and fire timing had to be tunable from the top of the file, and where vanilla Lua meant no library was coming to the rescue. I'll expose detection range, rate of fire, cover timing, and accuracy spread as easy variables, and hand over a README plus a clip of the behaviour in your test map. If awarded, I'm determined to win this and confident I can deliver high-quality results within the deadline. Best regards.
$100 USD in 7 days
2.8
2.8

From a game design to AI-driven marketing, I offer a diverse skill set that can be adapted to meet your project's unique needs. Drawing from my 10+ years of experience, I am more than capable of constructing an efficient and adaptable enemy AI system in Lua that aligns with your specific parameters and requirements. My background in software architecture ensures that my solutions are streamlined and codebase simple, maximizing your ease of integration while minimizing the need for extensive tweaking. Moreover, I supply not only the Lua file but also a comprehensive README document and a visual representation (GIF/video) to provide a thorough understanding and quick confirmation of implemented functionalities. Choosing me for this project means selecting an AI expert well-versed in adjusting and adapting systems in line with specific business requirements— skills essential for both effective cover-shooting enemy AI and successful digital marketing projects. Let's elevate your game's enemy interaction together!
$30 USD in 3 days
1.8
1.8

Hi there! You need enemy AI that feels responsive and tactical instead of simply chasing and shooting the player. The main challenge is making cover selection, line-of-sight, movement, and firing work smoothly with vanilla Lua. We have experience with Lua, game programming, AI behaviour, and software development. We can build clean and modular gameplay systems that are easy to integrate into an existing project. We will create configurable detection and combat behaviour. Enemies will select the nearest available cover node when possible. They will alternate between peeking, firing, and taking cover. If no cover exists, they will remain mobile while engaging the player. check our work https://www.freelancer.com/u/ayesha86664 Can you share the Lua version and how your player and cover-node objects are currently structured? Let me know if you’re interested & we can discuss it. Best Regards Ayesha
$115 USD in 3 days
1.9
1.9

Dammam, Saudi Arabia
Payment method verified
Member since Feb 11, 2025
$30-250 USD
$10-30 USD
min $50 USD / hour
₹12500-37500 INR
₹12500-37500 INR
$10-30 USD
$2-8 USD / hour
£20-250 GBP
₹750-1250 INR / hour
$30-250 USD
$250-750 AUD
$250-750 SGD
£10-15 GBP / hour
₹12500-37500 INR
$250-750 USD
£85-120 GBP
$250-750 USD
$25-70 USD / hour
$2-8 USD / hour
₹12500-37500 INR
$8-15 USD / hour
$5000-10000 USD