Closed Epiccoolduse8282 closed 6 months ago
U should also add it so they loose reward for looking at the wall even tho if they,re looking at the bot, cause this will maybe make it learn to back into a wall and look at the ai, raither than to attack
The wall reward system should be determined by how close the enemy is
My other plan: looking 90 degrees away from ai = - reward, looking 40 - 30 degrees away from ai = no reward or punishment, looking 30 or less == reward, the less deggrees away from there, the more reward
Let me know what you think of this, reminding you that im just trying to help, and not make my own version or stuff at all.
Unfortunately, as much I like to make changes to those AI sword-fighting AIs, my hands are full on updating the DataPredict library itself. Perhaps you can try those yourself and see how it goes.
by the way, version 4 doesnt work
Well, if you're talking about the AI keep moving in circles, that's because I have added "ActorModelParameters" module script under the "MainScript". Currently, all AIs will use that model parameters unless you remove "ActorModelParameters" module script. The AI also uses my own custom model instead of usual AdvantageActorCritic model, so feel free to change it.
no, when i use model 4, it runs for a bit then just stops, idk
søn. 28. apr. 2024 kl. 16:32 skrev Aqwam Harish Aiman < @.***>:
Well, if you're talking about the AI keep moving in circles, that's because I have added "ActorModelParameters" module script under the "MainScript". Currently, all AIs will use that model parameters unless you remove "ActorModelParameters" module script. The AI also uses my own custom model instead of usual AdvantageActorCritic model, so feel free to change it.
— Reply to this email directly, view it on GitHub https://github.com/AqwamCreates/Roblox-Source-Codes/issues/1#issuecomment-2081505620, or unsubscribe https://github.com/notifications/unsubscribe-auth/BH4Q3Z4DWUNE25EDXZVOPLTY7UCA3AVCNFSM6AAAAABG2T6O6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGUYDKNRSGA . You are receiving this because you commented.Message ID: @.***>
it says 17:57:57.515 ServerScriptService.MainScript:85: attempt to concatenate Instance with string - Server - MainScript:85 now
Try to reupdating it again. I just made some changes to it recently.
They seem to just walk in circles
U should make it so it gets rewarded when getting closer tp the enemy, it could also possibly be because of too little reward, i realized that they only attacked eachother when they wrre close to eachother so u can try to maybe change the "in range" and "too close" functions. Keep up the good work, im not planning to steal or anything like that. I kinda just like looking at them learning lol, but ye keep it up bro