Announcement

Collapse
No announcement yet.

flying guard-drone

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    flying guard-drone

    Hi There,

    I´m wondering how to code a flying drone that strolling through the level.
    How can I tell the drone to fly reasonably without bumping into all the walls??

    Any Ideas

    Thx in advance
    Faceless

    #2
    Make it follow flight pathnodes?

    Comment


      #3
      What class am I supposed to extend from?

      What do you suggest?

      Comment


        #4
        Actor, I guess. There's nothing close to it. You'd have to try to make some sense of the bot navigation code and copy some relevant stuff in, and whichever way you'd have to do some pretty non-trivial coding yourself. You sure you're ready for something this complex?

        Comment


          #5
          How can I make it fly at all.
          I made a new Class from Actor, set the Physics to fly and set the velocity to 50, 100 or 5000.
          all that hapens is that the object falls down on the floor.
          Though UDN say that actors with physics set to fly will not be affected by the gravity!!
          Why does it fall down?

          I just want to do little steps like have it fly in one direction and so on.

          thanks
          Faceless

          Comment


            #6
            if you want it as a monster you could try extending from the GasBag

            I made a probe droid using one of Qx9`s models
            you can take a look at my script if it helps

            ProbeDroid.uc

            Probe DroidAmmo.uc

            the mesh i used is available here

            Comment


              #7
              The redeemer warhead is a good exaple of a flying pawn. Maybe you can study it to make something similar, in terms of the flying part. Then I am guessing you can attach an AIController to your pawn, and have it follow path nodes in the sky.

              Comment


                #8
                thanks for all the answers and sorry for my hysteric shout for help.
                I run into probs because I used an old mesh with some scripting.
                And in that script I set the physics to falling right after the game starts. I wrote the script 4 monthe ago.....

                faceless

                Comment

                Working...
                X