Announcement

Collapse
No announcement yet.

projectile going trou bodies (and wall?)

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

    projectile going trou bodies (and wall?)

    im trying to make a projectile that will penetrate bodies but will continue theyr way (if other bodies, they will be penetrated too) of cours they will do domage to those bodies

    anyone has an exmple or can help me on making such a thing please?

    ow and i would like to let it go trou walls too (not sure yet of that)

    i hope you can help me

    #2
    erm....to be honest i never programmed or even know ANYTHING about this area but i would guess, look at instagib script (i dont even know if there is such thing )

    Comment


      #3
      the instant gib projectil is halted when it hits something :s

      Comment


        #4
        oh....what was it i played where it went through bodies:bulb:

        Comment


          #5
          i sadly cant guess for u but if u remember... please tell me

          Comment


            #6
            Change the physics of the projectile so it does not collide with world objects. Thats how we made or ERDW (rail gun) shoot through walls, people, ect

            Comment


              #7
              thanks
              but i knew that
              the question is how :bulb:

              my projectile goes trou bodies now but for walls... ill see later if really needed
              thanks again for ur answere

              Comment


                #8
                I'm just curious,

                Why the hell would you want a projectile go through walls, wouldn't that defeat the purpose of a wall in a game like this.

                I don't mind a body being penertrated, but a wall, nagh, wouldn't be very good GP :down:

                Comment


                  #9
                  well yeah i didnt had thought that
                  i was thinking of armor piercing but....
                  anyway, i have my body piercing, i wont use wall piercing

                  Comment


                    #10
                    Originally posted by jack9911
                    thanks
                    but i knew that
                    the question is how :bulb:

                    my projectile goes trou bodies now but for walls... ill see later if really needed
                    thanks again for ur answere
                    Set
                    bCollideWorld=false

                    (either in the projectiles defaultproperties or else where in your code)

                    Comment


                      #11
                      wow.... that easy???

                      Comment


                        #12
                        Originally posted by jack9911
                        wow.... that easy???
                        Yup

                        Comment


                          #13
                          wel.... thanks

                          Comment


                            #14
                            So with " bCollideWorld=false" when does a projectile stop? When it hit the size limit of a map?

                            If so that means you could have a lot of projectiles moving about, since they don't die when hitting the wall and could still be moving outside of the play area. I'm sure this will degrade the servers performance.

                            Comment


                              #15
                              i would say, with the lifetime?

                              Comment

                              Working...
                              X