FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Showing where PD can attack depending on terrain

    Scheduled Pinned Locked Moved Suggestions
    22 Posts 15 Posters 1.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • maudlin27M Offline
      maudlin27 @C-Star
      last edited by

      @c-star Although theoretically possible, storing that information accurately enough (eg checking every 2x2 square) would require a large amount of memory, and take a long rime to load, on larger maps (eg 81kmx81km). The number of calculations would also vastly exceed the number required if a real time calculation was done, even if the calculations could be done upfront/spread out over the first 60s of gametime

      M27AI and M28AI developer; Devlogs and more general AI development guide:
      https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v71-devlog
      https://forum.faforever.com/topic/5331/m28ai-devlog-v130

      1 Reply Last reply Reply Quote 0
      • ZLOZ Offline
        ZLO
        last edited by ZLO

        would simple semi-transparent flat circle, rendered at the height of PD turret help?
        it should clip under terrain in places where PD cannot shoot... this can help, however it does not guarantee anything at all...

        maybe make pd spray fake projectiles (with same ballistic characteristics) and then you will for sure see areas where it can or can't hit (ray tracing lol, can reduce number of projectiles if performance is bad)... however no idea how that supposed to work if you move your mouse around a lot

        TA4Life: "At the very least we are not slaves to the UI" | http://www.youtube.com/user/dimatularus | http://www.twitch.tv/zlo_rd

        1 Reply Last reply Reply Quote 1
        • First post
          Last post