FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    The current pre-release of the client ("pioneer" in the version) is only compatible to itself. So you can only play with other testers. Please be aware!

    Land Units Collison Box Issue

    Scheduled Pinned Locked Moved Modding & Tools
    7 Posts 5 Posters 156 Views
    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.
    • FAoncemoreF Offline
      FAoncemore
      last edited by

      Could anyone help me? (I have a mod called Research FAF)
      I need land units, hundreds of them, run through each other, without any collision box problem, but still could be targeted, SetCollisionShape('None') has no collision problem, but enemy units don't fight any more. Like MA28AI, the air units hold still in one point without any collision issue, how to do that? Thank you in advance!

      1 Reply Last reply Reply Quote 0
      • IndexLibrorumI Offline
        IndexLibrorum Global Moderator
        last edited by IndexLibrorum

        @Jip, @BlackYps or @Ctrl-K might know the answer here. Or since M28 was mentioned, @maudlin27

        "Design is an iterative process. The required number of iterations is one more than the number you have currently done. This is true at any point in time."

        See all my projects:

        1 Reply Last reply Reply Quote 1
        • JipJ Offline
          Jip
          last edited by

          I'm not sure if what the author wants is possible. I've not toyed with this type of behavior, I can't help without spending time on it myself.

          A work of art is never finished, merely abandoned

          1 Reply Last reply Reply Quote 0
          • maudlin27M Offline
            maudlin27
            last edited by

            I interpreted the reference to M28 as being that they wanted it possible to stack land units ontop of each other a bit like how M28 might with its air units; but either way it’s not something I know the answer to

            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-v241

            1 Reply Last reply Reply Quote 0
            • FAoncemoreF Offline
              FAoncemore
              last edited by

              Thank you for all of you, my friend told me to turn Land units to Air units, so I tried if bp.Categories then table.insert(bp.Categories, 'AIR') end, now all land units has AIR features, and the results seems fine for me. At the first beginning I need the effect like Fatboy, it runs through any buildings without any collision issue.

              1 Reply Last reply Reply Quote 0
              • N Offline
                Nomander Balance Team
                last edited by

                I was going to suggest making the hitbox really small and replacing it with an entity that has the correct size and passes the collision check to the unit but I didn't know that the air category disables collisions.

                FAoncemoreF 1 Reply Last reply Reply Quote 1
                • FAoncemoreF Offline
                  FAoncemore @Nomander
                  last edited by

                  @Nomander That was almost the same idea as mine before. I turn land units collision box off and resume it once encounter with enemy . but seemed not good for game performance.

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