Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    So, help.

    Help
    2
    18
    546
    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.
    • SirBots
      SirBots last edited by

      I have a working targeting system, but every time I get attacked by the bots, my team focuses on me instead of the bots.

      Your local coder who is working around the clock to make sure great games are made

      The_True_Odst 2 Replies Last reply Reply Quote 1
      • The_True_Odst
        The True ODST Best Forum Helpers @SirBots last edited by

        @sirbots, hello!

        Since I’m working on an AI myself, I could help!

        Just send the link and add notes/comments to the ones you want me to fix.
        Also explain the coding blocks you think I may not understand, if there are any.

        ODST: Orbital Drop Ship Trooper
        (Halo Reference)

        SirBots 1 Reply Last reply Reply Quote 1
        • SirBots
          SirBots @The_True_Odst last edited by

          @011830-0a42ef84 https://play.creaticode.com/projects/67a4fbae37d5f05663875cf7

          Your local coder who is working around the clock to make sure great games are made

          SirBots 1 Reply Last reply Reply Quote 0
          • SirBots
            SirBots @SirBots last edited by

            @sirbots There’s the ai for both sides.

            Your local coder who is working around the clock to make sure great games are made

            The_True_Odst 1 Reply Last reply Reply Quote 0
            • The_True_Odst
              The True ODST Best Forum Helpers @SirBots last edited by

              @sirbots How do I start it? I press play and nothing happens

              ODST: Orbital Drop Ship Trooper
              (Halo Reference)

              SirBots 1 Reply Last reply Reply Quote 0
              • SirBots
                SirBots @The_True_Odst last edited by

                @011830-0a42ef84 Its just the AI. Nothing else.

                Your local coder who is working around the clock to make sure great games are made

                The_True_Odst 1 Reply Last reply Reply Quote 0
                • The_True_Odst
                  The True ODST Best Forum Helpers @SirBots last edited by

                  @sirbots Can you send me the game that has the bug?

                  ODST: Orbital Drop Ship Trooper
                  (Halo Reference)

                  SirBots 1 Reply Last reply Reply Quote 0
                  • SirBots
                    SirBots @The_True_Odst last edited by

                    @011830-0a42ef84 The current version I’m working on has the bug. The released version rn does not.

                    Your local coder who is working around the clock to make sure great games are made

                    The_True_Odst 2 Replies Last reply Reply Quote 0
                    • The_True_Odst
                      The True ODST Best Forum Helpers @SirBots last edited by

                      @sirbots, Let me program an AI in my game so I can have the feel of friendly units.

                      I have problems with cloning blocks and working them into it so it may take a while. I’m waiting on @Tyller_ to make my game with clones.

                      ODST: Orbital Drop Ship Trooper
                      (Halo Reference)

                      1 Reply Last reply Reply Quote 0
                      • The_True_Odst
                        The True ODST Best Forum Helpers @SirBots last edited by

                        @sirbots, Do your units on your team have inf range detection?

                        I mean this as in if you get shot by an enemy, do ALL friendlies on the map (that aren’t dead) hear it?

                        ODST: Orbital Drop Ship Trooper
                        (Halo Reference)

                        SirBots 1 Reply Last reply Reply Quote 0
                        • SirBots
                          SirBots @The_True_Odst last edited by

                          @011830-0a42ef84 They don’t use sound. its only when they are in a certain distance of each other.

                          Your local coder who is working around the clock to make sure great games are made

                          1 Reply Last reply Reply Quote 0
                          • The_True_Odst
                            The True ODST Best Forum Helpers @SirBots last edited by

                            @sirbots said in So, help.:

                            I have a working targeting system, but every time I get attacked by the bots, my team focuses on me instead of the bots.

                            I thought you said that they target the enemy if you are attacked. How far is the detection range on this?

                            ODST: Orbital Drop Ship Trooper
                            (Halo Reference)

                            SirBots 1 Reply Last reply Reply Quote 0
                            • SirBots
                              SirBots @The_True_Odst last edited by

                              @011830-0a42ef84 No, my team shoots at me when I get attacked by the bots.

                              Your local coder who is working around the clock to make sure great games are made

                              The_True_Odst 1 Reply Last reply Reply Quote 0
                              • The_True_Odst
                                The True ODST Best Forum Helpers @SirBots last edited by

                                @sirbots, oh, I get what you mean now.

                                What I would do is add a sprite that works as a zone for the bot’s detection range. When it targets an enemy, make sure that it won’t target the player by using the 'If (touching player)"

                                This may bug when there are multiple bots in the area, so you could add a thin sprite that is a line that connects to the eyes of the bot, so when it sees multiple bots in the original zone, it will turn to target the closest one (the one with the least amt of turning to target). If it is the player, the bot will move on to the other target

                                ODST: Orbital Drop Ship Trooper
                                (Halo Reference)

                                SirBots 1 Reply Last reply Reply Quote 0
                                • SirBots
                                  SirBots @The_True_Odst last edited by

                                  @011830-0a42ef84 Huh.

                                  Your local coder who is working around the clock to make sure great games are made

                                  The_True_Odst 1 Reply Last reply Reply Quote 0
                                  • The_True_Odst
                                    The True ODST Best Forum Helpers @SirBots last edited by

                                    @sirbots Does it work?

                                    ODST: Orbital Drop Ship Trooper
                                    (Halo Reference)

                                    SirBots 1 Reply Last reply Reply Quote 0
                                    • SirBots
                                      SirBots @The_True_Odst last edited by

                                      @011830-0a42ef84 No, I might have to share the unfinished version with you.

                                      Your local coder who is working around the clock to make sure great games are made

                                      SirBots 1 Reply Last reply Reply Quote 0
                                      • SirBots
                                        SirBots @SirBots last edited by

                                        @sirbots The best I can do rn is to just have them shoot at random bots anywhere on the map based on the coordinates on both teams, sadly. It’s still better than randomly firing at stuff

                                        Your local coder who is working around the clock to make sure great games are made

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