What I think is going wrong with missiles verring off near enemy jets

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

    #1

    What I think is going wrong with missiles verring off near enemy jets

    Disclaimer: When it comes to maths and me, the wheels going but the hamsters dead.

    I'm thinking it's a signed/unsigned problem. Let's imagine we have our missiles bearing in x,y,z. As it gets closer to its target, these reduce until they're on or abouts 0,0,0.

    Of the update code means that a collision is detected after it hits it's destination, with signed numbers, they'd be something like -4, -8, -10. Probably still inside the hit box and boom...

    If someone did something silly and used unsigned (can't have negative numbers), the values jump to the other end of the scale, potentially:

    2093820938,203283228,230230820382

    Which may well explain why the missile suddenly goes "I have to be over there now", which, by sods law is a teammate or ice-cream van.

    Just a thought. Probably wrong.
  • JonnyMacFred102
    Member
    • Aug 2005
    • 1995

    #2
    Re: What I think is going wrong with missiles verring off near enemy jets

    I see them violently turn away a split second and a few feet from when they would normally hit. It's extremely poor coding IMO. No flares.

    Comment

    • Ind1go

      #3
      Re: What I think is going wrong with missiles verring off near enemy jets

      interesting idea, but surely if the missile's co-ordinates change over time (i.e. assuming level flight in the same direction only it's X co-ordinate changes) then if it had a sudden change in location co-ordinates from say 1,2,3 to 20000,20000,20000 then it wouldn't veer off, it would disappear and re-appear at those new co-ordinates.

      what I mean, if that's not clear, is that when the engine says the missile is at 1,2,3 it draws the missile there. When it moves to 1,2,4 it draws it at the new location. Changing the co-ordinates means it's suddenly drawn somewhere else rather than have a new "target" it had to reach.

      Comment

      • Papi4baby
        Member
        • Aug 2005
        • 1189

        #4
        Re: What I think is going wrong with missiles verring off near enemy jets

        mmmmm chocolate mmmmmmm

        Comment

        • Vasquez

          #5
          Re: What I think is going wrong with missiles verring off near enemy jets

          Originally posted by Ind1go
          interesting idea, but surely if the missile's co-ordinates change over time (i.e. assuming level flight in the same direction only it's X co-ordinate changes) then if it had a sudden change in location co-ordinates from say 1,2,3 to 20000,20000,20000 then it wouldn't veer off, it would disappear and re-appear at those new co-ordinates.

          what I mean, if that's not clear, is that when the engine says the missile is at 1,2,3 it draws the missile there. When it moves to 1,2,4 it draws it at the new location. Changing the co-ordinates means it's suddenly drawn somewhere else rather than have a new "target" it had to reach.
          True, but I may have explained myself badly. I was talking about the missile's destination as opposed to it's actual location. Clearly, it should still "collide" with the aircraft, even if it's intended destination changes. However, I'm betting the "intended" destination is the exhaust of the jet, which is probably right on the boundaries of the collision-box, meaning a sudden change in destination might very well leave the jet untouched....

          Comment

          • apreasher

            #6
            Re: What I think is going wrong with missiles verring off near enemy jets

            nice idea i exprienced that once.

            Comment

            • Hemmorhage

              #7
              Re: What I think is going wrong with missiles verring off near enemy jets

              they problem with Air2Air and Ground2Air missles is the ping.
              On lan, they hit 8 out of 10 Times.

              Online, its the problem, that those missles remain clientside, which results in the very same thing as with every other weapon.
              If you want to hit, lets say a Jeep moving from left to right in 500m distance, you have to shoot in fromt of him, not only to because the Shell isn instant hit, but also count in the Ping.
              Your gfx will display that you clearly missed your target, but you will get the hit indicator.(and the other way round... you hit a Soldier in the head with your Shell and see the explosion..but nothing happens, because the soldier "isnt there" anymore.. its < your ping > milliseconds ahead to where he was running)

              And thats what ruining the Missles online.. you cannot aim in front of them..the missle does its own thing.

              You fire your missle, its going straight after the enemy and then suddenly veers of to some random direction.

              this is because the missle thinks it hit the target, but the server says "no no, your ping is 30, the planes ping is also 30, so the plane is actually 60ms ahead of where you see it"
              this sure isnt _ALOT_ but its enough to render those missles nigh useless online.

              Ofc, i dont know whats up with the random "slamming into the ground instead of hitting the Transport chopper taht is 100m away, hovering over a flag, whos pilot is afk or doesnt know the flares button"



              but as said above..on lan, Anti Air, is totally Imba.

              Comment

              • Beerman

                #8
                Re: What I think is going wrong with missiles verring off near enemy jets

                AA missles suck ass.

                Comment

                • nikolaf7

                  #9
                  Re: What I think is going wrong with missiles verring off near enemy jets

                  I play on LAN and online(30-90 ping),and they do the same thing,miss when they shouldnt hit and kill when i think i wasted another missile....more weird things happened to me on lan then online

                  Comment

                  • nikolaf7

                    #10
                    Re: What I think is going wrong with missiles verring off near enemy jets

                    I play on LAN and online(30-90 ping),and they do the same thing,miss when they shouldnt hit and kill when i think i wasted another missile....more weird things happened to me on lan then online

                    Comment

                    • JonnyMacFred102
                      Member
                      • Aug 2005
                      • 1995

                      #11
                      Re: What I think is going wrong with missiles verring off near enemy jets

                      IT has nothign to do with lag, its the half ass collision in the game for aircraft. EVeryone gets that problem (i hate it).

                      Comment

                      • JonnyMacFred102
                        Member
                        • Aug 2005
                        • 1995

                        #12
                        Re: What I think is going wrong with missiles verring off near enemy jets

                        IT has nothign to do with lag, its the half ass collision in the game for aircraft. EVeryone gets that problem (i hate it).

                        Comment

                        • raceacontari

                          #13
                          Re: What I think is going wrong with missiles verring off near enemy jets

                          As i have said many times in these "crap aa" topics. Solution to shooting down aircraft since the AA sucks:

                          1) locate enemy aircraft
                          2) look around surrounding area, find rock
                          3) pick up rock
                          4) throw rock at aircraft
                          5) repeat steps 2-4

                          Comment

                          • raceacontari

                            #14
                            Re: What I think is going wrong with missiles verring off near enemy jets

                            As i have said many times in these "crap aa" topics. Solution to shooting down aircraft since the AA sucks:

                            1) locate enemy aircraft
                            2) look around surrounding area, find rock
                            3) pick up rock
                            4) throw rock at aircraft
                            5) repeat steps 2-4

                            Comment

                            • darkarchon22

                              #15
                              Re: What I think is going wrong with missiles verring off near enemy jets

                              I find it to great advantage knowing how to shoot the jet down with just the cannon.

                              Comment

                              Working...