[General bot combat questions] Lets talk about a combat system... menu

User Tag List

Results 1 to 2 of 2
  1. #1
    Därkness's Avatar Active Member
    Reputation
    22
    Join Date
    Jul 2009
    Posts
    113
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [General bot combat questions] Lets talk about a combat system...

    Background:
    For the past week or so my project has been behavior trees, and with the help of aigamedev, apoc's treesharp, and a bunch of articles by game developers I managed to complete the bare-bones of a simple BT in delphi.

    So its testing time . Long-term goal: make a PvP bot with a great AI/pathfinding/combat. I was looking at creating a "combat sub-tree", which has branches account for different situations like moving, stunned, not moving, and target is at x distance etc, each branch with a priority based selector, with children loaded from a file (different abilities key presses etc. Each will have decorators for conditions).

    tl;dr: I'm trying to make a bot to trial a combat system, to send a keypress to use an ability at the right moment (not on cooldown, can use it, best for situation etc).

    So my question:
    How do you guys implement a more "complex" combat system?

    Also what are the different branches i should have?

    "I shall call him Tufty," - Raest, Malazan Book of the Fallen.

    [General bot combat questions] Lets talk about a combat system...
  2. #2
    Come Undone's Avatar Contributor
    Reputation
    98
    Join Date
    May 2008
    Posts
    239
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would have the main branch based on movement:

    Let's call the first one, running after the health- and enemystate checks; canmove.
    If it's possible to move, we have no problems at the moment and we can hit them - carry on to next state check; hasbuffs, or perhaps -had-buffs.

    Reading from former buffs(debuffs) you had which made your character not passing the canmove check, which would generally have cooldowns if cast by enemy players (yeah, it's pvp right?). Making a file with enemy stuns, hamstrings cooldowns could make it possible for you to calculate how much time your automa controlled character have to perform actions until next stun. And so on, it will never be reliable though, since it's PvP and many players can interact in combat. So it's something really tough to perfect... And very complex.

    Something you WOULD want, and with ease could have is: a check on how many opponents are near eachother, and if your automa would stand a chance, or rather prioritize finding other opponents.

    Good luck, and try not to make something too complex, simplicity often wins.
    "World of Warcraft could seriously be played by monkeys if the raid bosses dropped bananas instead of shiny epics" - Thomas R.



Similar Threads

  1. Lets talk about Dracolich loot bug/exploit
    By oxyelite in forum Neverwinter
    Replies: 3
    Last Post: 10-14-2021, 11:22 PM
  2. I want to acces chat channel mirc to talk about bot . having prob.
    By bopoiu in forum Diablo 3 Bots and Programs
    Replies: 0
    Last Post: 08-27-2012, 08:16 PM
  3. General Botting Questions:
    By shaggsdope in forum Hardware
    Replies: 0
    Last Post: 07-09-2012, 01:06 PM
  4. Replies: 2
    Last Post: 06-07-2012, 06:01 AM
  5. General Bot Questions.
    By OldManGrant in forum WoW Bots Questions & Requests
    Replies: 2
    Last Post: 04-02-2012, 09:37 PM
All times are GMT -5. The time now is 04:41 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search