Hello,
I've been thinking about creating some kind of OP bots 4 fun and training. They should be as good as possible, allowed to cheat, e.g. have complete game information, 100% hitscan shoot accuracy etc.
So far I've managed to give them an almost 100% accuracy with this:
Hmm one great addition of the bots would be the ability for them to randomly roam around even without waypoints.
There's an unfinished feature which lets bots do that and create waypoints as they go. But this process still needs some optimization as it's creating way too much waypoints without deleting them, iirc.
If you don't mind, could you rewrite the code? Someone is trying to test, but maybe it doesn't work, and if you put things copied from the written history of git, it could be a mess for which I tried to know what the code is doing. Like +, @@ things...
Please rewrite it but without having these things, put the entire code, if you take it from a file, say the name of the file and from which lines they come.
// this function should be called after bot_aim so the aim is reset the next frame
@@ -203,6 +206,21 @@ void bot_aimdir(entity this, vector v, float maxfiredeviation)
if (this.bot_prevaimtime == time)
return;
08-03-2020, 12:33 PM (This post was last modified: 08-03-2020, 12:45 PM by LegendGuard.)
(08-03-2020, 11:19 AM)Kotangens Wrote:
(08-03-2020, 07:48 AM)drummyfish Wrote: And recompile xonotic. Then simply play singleplayer vs bot (set to godlike just to be sure)
how to recompile?
If you don't know something like programming, you'll have to study how computer works, C programming, how compiler does, ...
To compile: https://gitlab.com/xonotic/xonotic/-/wik...-compiling
If you can't help someone, don't need to say you can't, just don't say anything and that's it. Everybody does. There is no need to overstrain if someone asks for help of what you don't know. The community recommends you use IRC chat or Discord if you have little questions like that, they can help you. Here the chat:
08-06-2020, 10:25 AM (This post was last modified: 08-06-2020, 10:35 AM by drummyfish.)
I've duelled the bot literally 130 times so far and no win lol, I'm fkn frustrated. I came pretty close at some 12:12 but then he got the vort and that's game over. I'm not gonna play online till I beat this bot.
Could anyone perhaps put these on a server so that others can try? The setup should be this: 10 minute dm vs 1 bot, infinite frag limit, g_powerups 0 (no strength) = like duel, finalrage (no electro, no space, ...).
Sorry for the spam but there is another important update:
Dodger himself has duelled the bot. What would you think the result was? Of course, no one can beat Dodger! But the bot actually did pretty well, scored a few frags! I will have to improve the bot for the next human vs machine match.
Remember Dodger had constant pl because this was on my shitty home server There were two matches: the first match on finalrage the bot did pretty well, the second one on stormkeep (Dodger's favorite map) not so much. Here are the demos and a video for convenience.
(08-29-2020, 03:00 PM)drummyfish Wrote: Sorry for the spam but there is another important update:
Dodger himself has duelled the bot. What would you think the result was? Of course, no one can beat Dodger! But the bot actually did pretty well, scored a few frags! I will have to improve the bot for the next human vs machine match.
Remember Dodger had constant pl because this was on my shitty home server There were two matches: the first match on finalrage the bot did pretty well, the second one on stormkeep (Dodger's favorite map) not so much. Here are the demos and a video for convenience.
I've looked at the post again. I've thought it's SUPERINTERESTING that it may be possible to reach that level to improve the system for training players.
drummyfish, good job making progress for bots, it will make the player training more tenacious.
Let's see if with the improvements that are being made and if the bot can reach the Dodger, Xonotic champions, Mirio and Mario level and win the matches against them. If the score is higher for the bot against them and it's in first place, lol