How to use bots in your title packs

Discuss everything related to custom data creation.

Moderator: NADEO

Lethan
Posts: 21
Joined: 20 Jun 2013, 16:01

Re: How to use bots in your title packs

Post 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 :mrgreen: )

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 :D
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: How to use bots in your title packs

Post 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 :(
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    Kak0
    Posts: 156
    Joined: 11 May 2012, 09:25

    Re: How to use bots in your title packs

    Post 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.
    Fadden
    Posts: 181
    Joined: 10 May 2011, 18:21

    Re: How to use bots in your title packs

    Post 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 ;)
    Elle est où la poulette ?
    User avatar
    faserg1
    Posts: 446
    Joined: 06 Jul 2011, 19:54
    Location: Russia
    Contact:

    Re: How to use bots in your title packs

    Post 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.
    Есть вопросы? Только скайп - faserg1.
    Image
    Жизнь - это динамика ритма. Life is dynamic of rhythm.
    Fadden
    Posts: 181
    Joined: 10 May 2011, 18:21

    Re: How to use bots in your title packs

    Post 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
    Elle est où la poulette ?
    User avatar
    faserg1
    Posts: 446
    Joined: 06 Jul 2011, 19:54
    Location: Russia
    Contact:

    Re: How to use bots in your title packs

    Post by faserg1 »

    Hm, did you redownload Horde script after Update #2?
    Есть вопросы? Только скайп - faserg1.
    Image
    Жизнь - это динамика ритма. Life is dynamic of rhythm.
    Fadden
    Posts: 181
    Joined: 10 May 2011, 18:21

    Re: How to use bots in your title packs

    Post by Fadden »

    Yes, I have downloaded it today
    Elle est où la poulette ?
    User avatar
    faserg1
    Posts: 446
    Joined: 06 Jul 2011, 19:54
    Location: Russia
    Contact:

    Re: How to use bots in your title packs

    Post by faserg1 »

    Maybe you don't have a free memory)
    Есть вопросы? Только скайп - faserg1.
    Image
    Жизнь - это динамика ритма. Life is dynamic of rhythm.
    Fadden
    Posts: 181
    Joined: 10 May 2011, 18:21

    Re: How to use bots in your title packs

    Post 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...
    Elle est où la poulette ?
    Post Reply

    Return to “Title Pack & Custom Data Creation”

    Who is online

    Users browsing this forum: No registered users and 0 guests