Cuberite Forum
New AI for Mobs - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: New AI for Mobs (/thread-820.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


RE: New AI for Mobs - xoft - 11-11-2013

I would guess that it's caused by rounding errors between the float position / speed and integer block coords for NextBlock. Though it's only a wild guess.


RE: New AI for Mobs - SamJBarney - 11-13-2013

Figured it out. I needed to subtract 1 more from the x and z coords for the next block.

Now all I need to do is figure out how to fix diagonal movement and I can start implementing my pathfinding.

Got it! On to pathfinding.

Out of curiosity, is there anything specific that anyone would like to see improved in the AI?


RE: New AI for Mobs - tonibm19 - 11-13-2013

I'd like cows and sheeps follow you when holding wheat and you could ride pigs and horsesTongue, but that is very difficult. Also, brewing would be good, but I think it's not related to AI


RE: New AI for Mobs - NiLSPACE - 11-13-2013

That isn't realy difficult. Just look at the wolf Smile


RE: New AI for Mobs - tonibm19 - 11-13-2013

I know. What I think it could be difficult is to make horses and pigs ride-able


RE: New AI for Mobs - SamJBarney - 11-14-2013

Well, I was actually thinking about things above and beyond Vanilla, but I think having a list of things that they need to be able to do would be wise as well.

For instance, I'm going to make sure the squids are not so derpy and swim correctly.
I also want to make the villagers a little better, but I wanted to run that by someone first.


RE: New AI for Mobs - bearbin - 11-14-2013

I think better-than-vanilla AI is great, as long as it doesn't eat too much performance.


RE: New AI for Mobs - tonibm19 - 11-15-2013

With actual AI mobs are more inteligent than vanillaTongue. Creepers don't explode because they don't want to die. Animals dont follow you you because they know you're going to feed them and kill them later and wolfs dont attack otger mobs/player because they know they will die.

I think AI could be better than vanilla. Maybe, if your near a sheep and you're holding shears ot a sword, it could see you and start running away to scape from you.


RE: New AI for Mobs - SamJBarney - 12-03-2013

Wooo!!!! I got a working A* algorithm going!


RE: New AI for Mobs - xoft - 12-03-2013

Niiiice! Smile