I recently spent the last couple weeks learning python by attempting to use the gimkit api without any tutorials. i am not great at coding, as you may be able to tell, but i love learning it. I recently decided to try and make a reinforcement learning tas (tool assisted speedrun), and downloaded the Gymnasium package and have started learning how to use that. My question, however, is is it okay to do that, and if yes, does anyone have any good ideas on how to train an intensive ai, and also how to use gymnasium or some other method to give rewards and possibly show the environment to the ai, by using automated keypresses or some other method. Very sorry if this is a silly or unanswerable question, or if i got anything wrong, as i am relatively new to the deeper parts of machine learning, and am not that great at coding.
You mean by using sentries?
What is a gymnasium package?
if you are talking about sentrys in gimkit, no, i dont think so. i want to train a reinforcement ai to play dont look down. very sorry if my question was unclear.
welcome @Dreadnoughtus to the Gimkit Forums! please check the community guidelines, you even get a badge!
I dont think that is possible here, and its off-topic too. Because we talk about gkc forums, not AI who would play gimkit games. But we can do that in gimkit creative custom made maps. With sentries, would you like more information about it? :3
how would sentrys be able to do machine learning (sorry if that sounded rude)
Gymnasium is a package for the coding language python.
Not machine learning, only moving and attacking
Uhmmm, your gonna use that here?
if i understand your question right, no. the package will be installed on my end, and should have little to no interaction with the gimkit servers.
I’m pretty sure that can’t be used here. Because that came from Python, correct? And if that came from python, and use it here. Python and Gimkit are far away with differences, really sorry
But here in GKC, you can still do stuff from Python, but in different ways. I don’t know what Python looks like. So I might be wrong
hopefully i wont be coding python in gimkit lol, the idea is that it automatically makes keyboard inputs without me touching anything, and it will act like someone else is making keyboard inputs.
I think that is possible with keyboards, but not with the actual game. I meant doing that with the keyboard and do it here. I might be wrong maybe but Thank you!
Keyboard Control Functions — PyAutoGUI documentation this would most likely be the package i use to simulate a keyboard.
Oki dokey! Thank you for being with us! If you don’t have anymore questions. Just click the button with the check symbol :3
the question wasnt answered, i was showing you the autogui package because that would be the thing to control the keyboard proobs. (once again sorry if i sound rude)
What I meant is, if you dont have anymore questions, just mark a solution to close it :3
Wouldnt closing it mean i never got the solution? sorry, i am new here and i dont know how it works.
If I understand your questions correctly:
- Would it be okay to use an ai for a tas.
I’m not an expert on speedrunning, so you could ask others on how they feel. It may not be official, but it’s fine. - It may be possible to insert code using the inspect tool. Since inspect is blocked on my device (and so is many other actions) I can’t tell if you can insert code into gimkit.
However, BH has made mods for it and you can create texture packs, so I would assume it’s possible. - Training the ai… well that would be hard. I suggest learning further on this. To show the ai the environment, you could use map data from inspect, and rewards are just the algorithm. If you’re not familiar with neural networks and the deep aspects of machine learning, etc, this might be too hard. (I’m not familiar with any of that either, I only know JavaScript. Maybe try seeing if Blackhole could do this.)
So conclusion, yes it is probably possible to make this ai for a tas, but its complicated. If inspect works.
(sorry for taking so long, I’m on mobile) (yes I can maybe help with the other idea stuff)