So i want to make a Gun Bot in roblox like CS:GO or like this YT vid https://www.youtube.com/watch?v=2o1Mgr4dMVI&t=3s But i dont even know how to start and im confused
How would i go about making this?
So i want to make a Gun Bot in roblox like CS:GO or like this YT vid https://www.youtube.com/watch?v=2o1Mgr4dMVI&t=3s But i dont even know how to start and im confused
How would i go about making this?
AI bots are a complex topic that hasn’t been perfected after many years. However, the first and most important issue in creating a bot like this is determining what the bot will do at any moment. What states are you looking at? What are you evaluating when deciding what the bot should be doing? The next thing, which fortunately is solved somewhat with ROBLOX, is figuring out how a bot should move itself from one point to another. Start with these two issues, though, fair warning, they are complex and challenging issues that depend on the specific game and scenario.
I know what the bots behavior is but whats puzzling me is how the Bot should move. It moves around the map using path finding, and when it hears a sound it hides behind something ready to shoot. sometimes it moves carefully by walking slow. basically like a real person playing. but i genuinely don’t know how to even make that work.
For the pathfinding, you can use Roblox’s PathfindingService, documentation here.
To make the bot seem more intelligent by performing various actions in certain situations (eg. hiding behind cover when attacked), you could use GOAP. Here’s a video that touches on this topic within FPS games.
As for actually programming these things, you’ll need to start by learning how to program each individual action (crouching, shooting, moving, reloading, etc.) before stringing them together into a coherent AI system.
I tried what you provided. for some reason i cant just make it happen. i dont know how to even start