Page 12 of 16
Re: How to use bots in your title packs
Posted: 26 Jun 2013, 20:47
by Lethan
Hi guys.
Thx for this documentation. However, examples doesn't work for me too. I took the Melee Script for making a new mode using tips of your documentation. And now it works pretty well.
You can see a short demo here :
http://www.youtube.com/watch?v=eUuF2pW1HME (Don't look at my skill, it is horrible

)
The main objective is to eliminate all bots placed in the map to win the match. It's simple but allows me to use bots. The sintel custom skin works too but not mine (
http://forum.maniaplanet.com/viewtopic. ... 38&t=20546).
I hope the next update will fix all these littles bugs

Re: How to use bots in your title packs
Posted: 03 Jul 2013, 15:14
by steeffeen
okay the bots crashes seem to be fixed, even though they don't play like they used to...

with the version 2013-05-16 the mode ESmDriverBehaviour::IA lets the bot explore pretty much the whole map and let it attack players it's seeing (at least most of the time)
now the IA mode lets the bot barely move, maybe in a radius of 5 meters and after some time it just stays at the same spot... the saunter mode at least lets the bot move around more but it often happens that bots try to get to their target spot and keep falling down from a hill or keep running into a jump pad and getting thrown back again.. i think it would make sense to generate random target spots more often, especially when the last one hasn't been reached for quite some time
the last and way more important fact, bots really rarely attack players they encounter on the way to their target spots, they just run past them and don't even say hello

Re: How to use bots in your title packs
Posted: 03 Jul 2013, 16:25
by Kak0
Here is the changelog for the latest update :
- Crashfix/Bugfix : The game could crash when using a bot in Saunter or Escape behaviour
- Bugfix : Bots could go in the wrong way when disengaging in Patrol behaviour using the Loop mode between the last point and the first point
- Bugfix : Bots have less trouble with slopes
- Bugfix : Bots could act strangely after being respawned in certain cases
- New Feature : You can now set the Field of View of the Bot. This is an angle in radians (in other words a real between 0 and 2Pi) that defines the area in which a Target is considered as visible. The default value is 2Pi/3 (which was also the setting used in previous versions)
- New Feature : Bots now take bumpers into account. They don't realize that bumpers make them go faster, but they understand bumpers can help them reach otherwise unreachable points. Bots don't use air control though, so they will always land in the same area (you can use the helpers available in the Block Property mode in the editor)
The ESmDriverBehaviour::IA isn't a real behaviour for the moment. I understand you somehow need your bots to move randomly on the map in order to debug your scripts, so I'll have a look at it. I thought I settled the problem of the bots not engaging, I'll also check that.
Re: How to use bots in your title packs
Posted: 05 Jul 2013, 17:22
by Fadden
Hi,
I still have many crashes with bots
First, with a gamemode by round, the first round is ok. Then end round, destroyallbotplayers(), everybody respawn and juste at the "1" of the "3-2-1-go", crash to desktop.
so, I tried horde mode, and there is also random crashes. I don't see when exactly, it seems random....
Here is the crashlog :
http://dl.dropboxusercontent.com/u/6764 ... B71213.txt
I hope it will be possible to use bots correctly soon

Re: How to use bots in your title packs
Posted: 05 Jul 2013, 18:42
by faserg1
Win32 Exception : Access violation
Well, I have no crashes. So in horde, so in my script. Maybe sometimes in other games you have also crashes?
-------------
Lol bots script:
http://youtu.be/neTSX_9Is2Y
There is start of writting my own AI. For now I just want to make bots movable.
Re: How to use bots in your title packs
Posted: 05 Jul 2013, 19:02
by Fadden
I played a lot Siege and it never crashes.
I have retried Horde, the game crashes when bots reach the pole...
And I also have a CTD when I close the server, if the game has not crashed before
Re: How to use bots in your title packs
Posted: 05 Jul 2013, 19:11
by faserg1
Hm, did you redownload Horde script after Update #2?
Re: How to use bots in your title packs
Posted: 05 Jul 2013, 20:03
by Fadden
Yes, I have downloaded it today
Re: How to use bots in your title packs
Posted: 07 Jul 2013, 09:05
by faserg1
Maybe you don't have a free memory)
Re: How to use bots in your title packs
Posted: 08 Jul 2013, 15:04
by Fadden
I have 4GB RAM and 2 GB are free when I run Maniaplanet.
I am surprised that you haven't this problem, because I tested on 3 different pcs, and all 3 crashed...