Results 1 to 10 of 76

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member

    Join Date
    Feb 2018
    Country
    Posts
    77
    Thanked
    136
    Thanks
    157
    MASSIVE update on main post.

    Done:
    • Fixed playback syncing issue.
    • Freshly spawned bots now get a copy of recordings.
    • Fixed /bot sf. Bots are now able to be juggled.
    • Added pushing bots out of way for /bot follow.
    • Fixed crashing when setting a target for /bot follow.
    • Bot now spawns in your team.
    • Added /bot mimic [is_possessing].
    • Added /bot ammo.
    • Lowered hp/ap/ammo to 9999999.
    • Reworked /bot aim and /bot follow. Can now detect nearest enemy.
    • Reworked /bot record and /bot play. Now records/plays mapped key+mouse events.
    • Fixed massives not hitting bots.
    • Added pitch and yaw to /bot counter.

    Todo:
    • Bot recording code is too intertwined with MyZCharacter during prototyping. Use overridden functions in rework. Edit: done.
    • /bot record needs to constantly record the hero's direction, not just only when an action is sent. Edit: Actions list becomes way too bloated and bot can't kstyle anymore. Gonna ignore this unless really needed.
    • Finding the closest enemy currently has time complexity O(n). Use Octrees to reduce to O(log(n)).
    • Add /bot norecoil. Edit: done.
    • Fix bot gunfire doing no damage.
    • Fix lunges not stunning Hero.
    • Implement /bot save and /bot load and load items using saved files.
    • Make bots server-sided.


    I made the big decision to record mapped keys and mouse events instead of the previous Mcommand. This allows physics to affect the bots and makes for a much more interactive human-like playstyle. Additionally the code is far more streamlined for future development, namely AI. The caveat is that the bots are no longer precise in its positioning and can be interrupted by players, terrain, or randomness.










    By following a set of simple rules, you can get very complex results. The rules here are face the nearest enemy and go in one direction.









    Misc Images
    Spoiler!

    Last edited by Frooples; 06-29-2021 at 10:10 PM.

  2. The following 3 users say thank you to Frooples for this useful post:

    Bunny (06-14-2021), Ommadawn (06-14-2021), TopTeam1 (06-14-2021)

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)