Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-10-24 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
October 24, 2012, 03:21:26 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Bot Enhancements  (Read 183 times)
Necavi
Full Member
***
Posts: 223


View Profile
« on: November 22, 2011, 01:38:46 AM »

I've been thinking about how horrible bots currently are, they have not a clue what to do about active abilities! Unfortunately it isn't as if we could just have them cast their abilities whenever they're ready, unfortunately, as several abilities are only good in certain situations (You don't want him casting an AoE heal when you only have enemies surrounding you, or AoE Damage when the opposite is true, do you?). So, to prevent that whole snafu, I have decided that adding types to the War3_AddRaceSkill would be a good idea (defaulting to Type=Unknown, so you nice folks don't have to recode all your races just yet) the issue is, its hard to tell precisely which types are needed, I have a few ideas, but not even close to enough.

Unknown = Default for all skills, as well as for skills that don't fit into any other category
SingDamage = Does damage to a single target, currently I believe that it should only attempt to cast it when a player is in a certain range (say...1600 or so) although this does slightly cripple the use of whole map abilities, I may add another type for that
MultDamage = Does damage to multiple targets - will try to use it when multiple enemies are nearby, or if no one else is left
SingControl = Controls a single target (e.g. polymorph, roots) - will try to use when there is a single enemy, I may make it attempt to emphasize casting it when the target is running
MultControl = You can probably understand it from the two above

Obviously there are a lot more...and I want to make ABSOLUTELY CERTAIN that you understand that if/when I implement this, this will in no way, shape or form limit what you're allowed to do with abilities! The only point will be to make the bot able to understand a bit more about what he's doing with his ability, as well as allowing races a way of understanding what other race's active (possibly passive as well) abilities do.

I also want to point out that I will likely ensure that the bot will only attempt to cast an ability when it can see, or has recently seen an enemy, so they won't go shooting people through walls with spells.

Overall this will be pretty easy to implement for the most part, but any ideas you want to pass on to me will be most appreciated.

Logged

Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 413


⠠⠵


View Profile
« Reply #1 on: November 22, 2011, 11:32:32 AM »

I personally feel a race author should code the bot support himself instead of relying on some simple ai mechanism that will be totaly predictable after getting hit by a bot at the same range for the 3rd time in a row.

I coded a few of my races with bot support and I posted some example scripts before to improve gameplay with bots (mainly because I rarely play with real players)
Logged

Necavi
Full Member
***
Posts: 223


View Profile
« Reply #2 on: November 22, 2011, 03:43:16 PM »

That's why, like many of my other enhancements, I am planning on having the ability for races to completely supercede the AI controls I'm planning here, as well as being able to send commands to the bot AI (say, to register a certain behaviour) but the goal is simply to provide a baseline...I mean, how many people really want to code in bot AI to their entire racelist? Even you yourself mention 'a few' of your races supporting it, which seems to indicate that it isn't even a majority.

This is not to mention the possible benefits of races being able to learn such basic information about other race's abilities, I can already imagine a few interesting things to do with this, and I know that others will have even more ideas.
Logged

Vulpone
Full Member
***
Posts: 140



View Profile Email
« Reply #3 on: November 22, 2011, 03:46:48 PM »

Do it.

I'd kill myself if I were to play with bots all day long. I rarely play anyway, but I hate playing with bots.

If doesn't do any harm.
Logged

Sapere aude!
Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 413


⠠⠵


View Profile
« Reply #4 on: November 22, 2011, 04:53:52 PM »

I don't know if anybody but me runs bots with war3source, so I'm unsure if you'd just end up wasting time with this that could be spent refining some other engine.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!